tiktok-web-skills
TikTok 网页操作 Skill 集,给 Agent 调用 chrome-devtools MCP 时使用。支持发评论(tiktok-post-comment)和按关键词搜索视频(tiktok-search)。登录由用户手动完成。DOM 选择器必须先 probe 后落库。
Skill by 271642183
Chalk Labs
Need help deploying tiktok-web-skills?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/271642183-tiktok-web-skills
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Node.js package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/tiktok-web-skills
What's inside
- Skill name
tiktok-web-skills- Description
- TikTok 网页操作 Skill 集,给 Agent 调用 chrome-devtools MCP 时使用。支持发评论(tiktok-post-comment)和按关键词搜索视频(tiktok-search)。登录由用户手动完成。DOM 选择器必须先 probe 后落库。
- License
- MIT
- Instructions
- 79 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Agent Skills spec issues
- body: contains an absolute path from the author's machine
Files (11)
- .gitignore
- AGENTS.md
- CLAUDE.md
- LICENSE
- README.md
- SKILL.md
- manual-reset.md · docs/
- lib.mjs
- context.mjs · scripts/probes/
- search-full.mjs · scripts/probes/
- search.mjs · scripts/probes/
SKILL.md (first lines)
## ⚠️ 前置条件
每个 `tiktok-*` task 跑前必须满足前置条件。流程图:
```mermaid
flowchart TD
V["V: 验证环境<br/>chrome-devtools CLI + daemon"] --> L["L: tiktok-ensure-login<br/>用户手动登录"]
V -->|daemon 不通| VR["重置链 stop+start (≤3 次)"]
VR -->|仍失败| VRC["提示用户手动清理 profile<br/>不自动 rm -rf"]
VR -->|恢复| V
L -->|未登录| M["提示用户在 Chrome 手动登录<br/>每 2s 轮询, ≤3 轮"]
M -->|登录完成| L
M -->|超时| HALT["abort"]
L -->|已登录| N["N: tiktok-browser-navigate-to-video"]
N -->|最终 URL 非视频页| HALT
N --> H["H: selector 健康检查<br/>输入框/提交按钮可见"]
H -->|selector 失效| P["probe-deep<br/>人工确认后落库"]
P --> H
H -->|OK| C["C: tiktok-post-comment<br/>清空 + 粘贴 + 点击"]
C -->|检测到验证码/verify| A["用户手动通过验证<br/>不自动重试"]
A --> C
C --> R["R: 验证评论流出现新评论<br/>(≤15s)"]
R -->|verified| Z["完成"]
R -->|未出现| F["submission_unverified<br/>返回 reason + nextAction"]
R -->|歧义| F2["ambiguous_verification<br/>不自动重发"]
style VR fill:#ffe4b5
style VRC fill:#ffe4b5
style M fill:#e0f0e0
style A fill:#e0f0e0
style HALT fill:#ffcccc
style F fill:#ffcccc
style F2 fill:#ffcccc
```
## 启动 daemon
```javascript
import { ensureCli, startDaemon, listPages } from 'file:///Users/jianze/Developer/tiktok-web-skills/lib.mjs';
// 前置校验:chrome-devtools CLI 必须在 PATH
ensureCli();
// userDataDir 必传(不传抛错)—— 不传时 CLI 的 --isolated 默认 true 创建临时 profile
startDaemon({
userDataDir: '$HOME/Library/Application Support/tiktok-web-skills/chrome-profile'
});
listPages(); // 不通 → 走流程图 VR 路径
```
> chrome-devtools CLI 错误通常不返回非零 exit code;`listPages` / `stopDaemon` / `status` 卡死 10s 超时抛 `CliTimeoutError`(typed error,`code='ETIMEDOUT'`)。`startDaemon` 30s。
## 调用约定
- Agent 调 skill 时读取 `skills/<skill-name>/SKILL.md`,按 `input` / `depends` / `操作步骤` 执行
- **优先调 `lib.mjs` 里的 wrapper** —— wrapper 固定命令结构 + 透传参数 + 结构性排除坏 flag
- TikTok 评论 selector 已填(probe + 端到端验证),参见 [skills/tiktok-post-comment/SKILL.md](skills/tiktok-post-comment/SKILL.md) 顶部 selector 段
- 登录由用户手动完成,skill 不做自动化登录
- **不**捕获网络请求作为 tiktok-post-comment 成功信号(TikTok 走 WebSocket)—— 唯一成功信号 = 评论流出现新评论
## 重置 daemon
破坏性操作:参见 [docs/manual-reset.md](docs/manual-reset.md)。Agent skill 默认不自动 `rm -rf profile` —— 3 次 `stop+start` 仍失败时停下来让用户处理。
## 不做(v1 + v2 范围外)
- scrape comments(抓评论列表)
- open-dm / send-dm
- 评论 API 直连
- 自动登录
- 自动绕过验证码
- `.gitnexus/` 索引
- `token-report.md`From 271642183/tiktok-web-skills, MIT.
More from 271642183/tiktok-web-skills
- 0.529score
tiktok-post-comment
271642183
Use when an agent needs to post a single comment under a specific TikTok video by URL — handles Draft.js editor state, submit verification, and ambiguous…
SkillBFreshness: BClaude Code +9 - 0.529score
tiktok-search
271642183
Use when an agent needs to enumerate TikTok videos by keyword without paying the 240KB raw API body token cost — projects to summary/detail/trace profiles or…
SkillBFreshness: BClaude Code +9 - 0.524score
tiktok-ensure-login
271642183
Use when a TikTok task requires an authenticated session but current login state is unknown — detects via DOM avatar/login button and prompts the user to log…
SkillBFreshness: BClaude Code +9 - 0.512score
tiktok-browser-navigate-to-video
271642183
校验 TikTok 视频 URL 并导航到视频页
SkillBFreshness: BClaude Code +9 - 0.510score
browser-paste
271642183
在当前焦点元素上执行粘贴操作(Ctrl+V / Cmd+V)
SkillBFreshness: BClaude Code +9 - 0.507score
browser-wait-for-selector
271642183
等待 DOM 中指定选择器的元素出现
SkillBFreshness: BClaude Code +9 - 0.507score
browser-scroll-to-element
271642183
滚动页面使目标元素进入可视区域
SkillBFreshness: BClaude Code +9 - 0.285score
browser-navigate
271642183
导航到指定 URL
SkillBFreshness: BClaude Code +9 - 0.285score
clipboard-write
271642183
将文本内容写入系统剪贴板
SkillBFreshness: BClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit
- Aug 10, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/271642183/tiktok-web-skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from 271642183
- 0.529score
tiktok-post-comment
271642183
Use when an agent needs to post a single comment under a specific TikTok video by URL — handles Draft.js editor state, submit verification, and ambiguous…
SkillBFreshness: BClaude Code +9 - 0.529score
tiktok-search
271642183
Use when an agent needs to enumerate TikTok videos by keyword without paying the 240KB raw API body token cost — projects to summary/detail/trace profiles or…
SkillBFreshness: BClaude Code +9 - 0.524score
tiktok-ensure-login
271642183
Use when a TikTok task requires an authenticated session but current login state is unknown — detects via DOM avatar/login button and prompts the user to log…
SkillBFreshness: BClaude Code +9 - 0.512score
tiktok-browser-navigate-to-video
271642183
校验 TikTok 视频 URL 并导航到视频页
SkillBFreshness: BClaude Code +9 - 0.510score
browser-paste
271642183
在当前焦点元素上执行粘贴操作(Ctrl+V / Cmd+V)
SkillBFreshness: BClaude Code +9 - 0.507score
browser-scroll-to-element
271642183
滚动页面使目标元素进入可视区域
SkillBFreshness: BClaude Code +9
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get tiktok-web-skills running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
tiktok-web-skills. Agent Mart. https://agentmart.dev/skills/271642183-tiktok-web-skills (last updated 2026-10-24)