laohan-douyinsousuo

laohan-douyinsousuo is a skill for Claude Code, Codex from hanzhcn/laohan-skills. It costs 109 tokens per session (2,163 once invoked), scanned A, original, MIT.

A TikTok keyword-search adapter that uses an already installed and signed-in OpenCLI connection. It returns structured evidence such as descriptions, authors, URLs, video IDs, dates, and available engagement fields.

In plain words
What is it for?
Use it for standalone TikTok searches or to collect TikTok evidence for the topic-selection stage of a spoken-video episode.
Why use it?
It provides reproducible TikTok search evidence without adding a crawler, copying browser cookies, or deciding the final topic.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for standalone TikTok searches or to collect TikTok evidence for the topic-selection stage of a spoken-video episode.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/hanzhcn/laohan-skills/laohan-douyinsousuo
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add hanzhcn/laohan-skills --skill laohan-douyinsousuo
Clone the repo
git clone --depth 1 https://github.com/hanzhcn/laohan-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for laohan-douyinsousuo

README.md
[![agentmods](https://agentmods.dev/badge/skills/hanzhcn/laohan-skills/laohan-douyinsousuo/github.svg)](https://agentmods.dev/skills/hanzhcn/laohan-skills/laohan-douyinsousuo)
Your own site
<a href="https://agentmods.dev/skills/hanzhcn/laohan-skills/laohan-douyinsousuo"><img src="https://agentmods.dev/badge/skills/hanzhcn/laohan-skills/laohan-douyinsousuo/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for laohan-douyinsousuo

Your own site · 80×15
<a href="https://agentmods.dev/skills/hanzhcn/laohan-skills/laohan-douyinsousuo"><img src="https://agentmods.dev/badge/skills/hanzhcn/laohan-skills/laohan-douyinsousuo.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 109 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,163 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00109 $0.02163
Opus 5.5 $0.00044 $0.00865
Sonnet 5.5 $0.00022 $0.00433
Haiku 4.5 $0.00011 $0.00216

Measured 7d ago against content hash bfb32ad7dee3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

laohan-douyinsousuo scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/search-evidence.mjs, tests/test-search-evidence.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

laohan-douyinsousuo/SKILL.md · 108 lines

How it starts

The opening of the file, as written. The whole thing — 108 lines — stays where its author put it; the contents beside it link to each section on GitHub.

抖音搜索

这是工作流里的抖音搜索编排接口。只使用宿主已安装且已登录的 OpenCLI,不自带爬虫、浏览器、cookie 复制、独立 profile 或 Python runtime。

输入

  • query:必填,搜索关键词。
  • limit:可选,1—30,默认 10。
  • episode:可选,本期 episodes/<slug> 路径;三稿研究阶段用互斥的--workspace <研究目录>复用同一包装器,不伪造episode。只允许写 00-抖音搜索证据.json 与 .md,不得写 candidates、source-health 或 00-选题.*。

执行

1. 预检

opencli doctor
opencli douyin whoami -f json

Browser Bridge 可连接且 logged_in=true 时执行搜索。任一预检失败时,episode 模式仍写出 UNAVAILABLE 证据与原始错误供①继续判断;独立搜索请求则如实报告当前不可用。不要抽取或复制 Chrome cookie,也不要安装新工具。

2. 搜索

Episode 模式用确定性包装器一次执行 1—3 个短名单查询并原子写 JSON/Markdown:

node ~/Documents/laohan-skills/laohan-douyinsousuo/scripts/search-evidence.mjs \
  --episode episodes/<slug> \
  --query "关键词一" \
  --query "关键词二" \
  --limit 10

独立单查询可直接执行:

opencli douyin search "$QUERY" --limit "$LIMIT" -f json --trace retain-on-failure

包装器对平台侧瞬时失败自带退避重试(最多 3 次,间隔 30 秒、60 秒,DOUYIN_SEARCH_BACKOFF_MS 可覆盖)并在每次失败时保留 trace 现场;直接执行 opencli 时按下方「3. 失败降级」第 0 步的间隔人工重试,不要立即连发。

结果必须是 JSON 数组,并逐条保留 OpenCLI 返回的 rank、desc、author、url、aweme_id、发布时间及可用互动字段。稳定 id 优先使用 aweme_id 或 URL 中的 /video/<id>;两者都没有时才用 sha256(url + desc)[:12]。排名不得参与稳定 id;不要按缺失字段重排,也不要把 OpenCLI 的结果顺序描述成“按点赞排行”。

3. 失败降级

按顺序执行,成功即停:

  1. 先分类再动手(2026-11-23 判例):COMMAND_EXEC 且 message 含 did not render result cards within the timeout(或 Execution context was destroyed 一类导航期错误)= 平台侧瞬时降级——已登录的搜索页没在适配器 15 秒内渲染出结果卡,不是 adapter 缺陷;opencli doctor 正常时不要去改适配器。判据:同命令稍后重放即恢复。处置=退避重试:间隔 ≥30 秒再试,总尝试 ≤3 次。立即连发无效——判例:23:47:58–23:49:05 两次(间隔 23 秒)全败,20 分钟后同命令重放 4 次全成功(单次 10–14 秒,doctor 全绿,非并发非关键词)。包装器已内置此逻辑;直接执行 opencli 时照此间隔重试。
  2. 仅当失败可稳定复现(退避重试与换关键词都失败)时,同一命令加 --trace retain-on-failure 取现场,使用 OpenCLI autofix 修复现有 adapter;总尝试最多 3 次。瞬时错误不适用本步。
  3. 若 opencli doctor 仍正常但 adapter 持续失败,使用 opencli browser douyin-search bind 绑定用户当前已登录的抖音标签页,仅做读取和取证。执行浏览器降级前说明会操作当前标签页。
  4. 仍失败则记录失败层级和原始错误。episode 模式标记平台数据 UNAVAILABLE 并返回证据文件,不把它升级为①的卡点;独立搜索请求报告本次未取得结果。不得临时安装 DrissionPage、Playwright、浏览器或自制爬虫。

Read the full file on GitHub · 108 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago Changed · +4 lines bfb32ad7dee3
  2. 1mo ago Changed · +2 lines dfe0c5656020
  3. 2mo ago Changed 05cef131e005
  4. 3mo ago First seen · 102 lines · 109 tokens per session scan A 9ab09c10e744

Subscribe to this mod's changes

laohan-douyinsousuo is a skill published in the GitHub repository hanzhcn/laohan-skills (17 stars, last pushed 2d ago), licensed MIT. It adds 109 tokens to every session and 2,163 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

laohan-douyinsousuo compared with skills from other repositories

laohan-douyinsousuo next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
laohan-douyinsousuohanzhcn/laohan-skillsSkill172d agoMITA109Claude Code, Codex
baijiahao-uploaddreammis/social-auto-uploadSkill17k4d agoMITA49Claude Code, Codex
hupu-uploaddreammis/social-auto-uploadSkill17k4d agoMITA42Claude Code, Codex
xiaohongshu-uploaddreammis/social-auto-uploadSkill17k4d agoMITA95Claude Code, Codex
Email Marketing Command CenterLeoYeAI/openclaw-master-skillsSkill2.2k9d agoMITA29Claude Code, Codex
Freelance EmpireLeoYeAI/openclaw-master-skillsSkill2.2k9d agoMITA71Claude Code, Codex
Vibe Coding MasteryLeoYeAI/openclaw-master-skillsSkill2.2k9d agoMITA61Claude Code, Codex