douyin

douyin is a skill for Claude Code from TikHub/tikhub-plugin. It costs 62 tokens per session (852 once invoked), scanned A, original, MIT.

A connection to Douyin, the Chinese short-video platform, through TikHub, for retrieving videos, profiles, post lists, comments, and search results.

In plain words
What is it for?
Use it to look up videos, creators, creator posts, comments, or search results on Douyin using an API key.
Why use it?
It provides a defined way to work with Douyin data instead of manually collecting information from the site. It also covers Douyin's dedicated search methods.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the tikhub-plugin plugin — 19 skills, 7 MCP servers shipped together

Good fit Use it to look up videos, creators, creator posts, comments, or search results on Douyin using an API key.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tikhub/tikhub-plugin/douyin
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 TikHub/tikhub-plugin --skill douyin
Clone the repo
git clone --depth 1 https://github.com/TikHub/tikhub-plugin

Made for: Claude Code.

Or install tikhub-plugin, the plugin that ships this one along with the rest of its 19 skills, 7 MCP servers.

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 douyin

README.md
[![agentmods](https://agentmods.dev/badge/skills/tikhub/tikhub-plugin/douyin.svg)](https://agentmods.dev/skills/tikhub/tikhub-plugin/douyin)
Your own site
<a href="https://agentmods.dev/skills/tikhub/tikhub-plugin/douyin"><img src="https://agentmods.dev/badge/skills/tikhub/tikhub-plugin/douyin.svg" alt="Measured on agentmods" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 852 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00062 $0.00852
Opus 5 $0.00031 $0.00426
Sonnet 5 $0.00012 $0.00170
Haiku 4.5 $0.00006 $0.00085

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

Security

Grade A, and why

douyin scanned grade A with 1 finding 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.

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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s -X POST "https://api.tikhub.io/api/v1/douyin/search/fetch_video_search_v2" \
skills/douyin/SKILL.md · 68 lines

How it starts

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

Douyin / 抖音 (via TikHub)

Deep coverage of Douyin. Exhaustive endpoints: tikhub-find-endpoint "<goal>" --platform douyin.

Setup gate

[ -z "${TIKHUB_API_KEY:-}" ] && echo "Set TIKHUB_API_KEY first (see tikhub-onboarding)."

Coverage: App-V3 (video/user/comments) and the dedicated Douyin Search series. (Douyin-Web, Douyin-Creator, Douyin-Index, Xingtu, and Billboard are de-scoped — reach them via discovery.)

Search note: Douyin has its own specialized search series (/douyin/search/..., POST with a JSON body). Prefer it over the App-V3 search endpoints.

Key endpoints

Goal Method + path Key params
One video GET /api/v1/douyin/app/v3/fetch_one_video_v2 aweme_id
Video by share URL GET /api/v1/douyin/app/v3/fetch_one_video_by_share_url share_url
User profile GET /api/v1/douyin/app/v3/handler_user_profile sec_user_id
User's videos GET /api/v1/douyin/app/v3/fetch_user_post_videos sec_user_id, max_cursor, count
Video comments GET /api/v1/douyin/app/v3/fetch_video_comments aweme_id, cursor, count
Video search POST /api/v1/douyin/search/fetch_video_search_v2 body: keyword, cursor, sort_type, publish_time
User search POST /api/v1/douyin/search/fetch_user_search_v2 body: keyword, cursor
General search POST /api/v1/douyin/search/fetch_general_search_v2 body: keyword, cursor, sort_type

Example

# Video search — POST with a JSON body
curl -s -X POST "https://api.tikhub.io/api/v1/douyin/search/fetch_video_search_v2" \
  -H "Authorization: Bearer $TIKHUB_API_KEY" -H "Content-Type: application/json" \
  -d '{"keyword": "美食"}'

# One video by id
curl -s "https://api.tikhub.io/api/v1/douyin/app/v3/fetch_one_video_v2?aweme_id=7637462264047710705" \
  -H "Authorization: Bearer $TIKHUB_API_KEY"

Pagination

App-V3 user/video lists use max_cursor + count; comments use cursor + count; the Search series pages via a cursor field in the JSON body. Loop on the returned cursor/has_more. Cap pages — each is billed.

Read the full file on GitHub · 68 lines

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 First seen · 68 lines · 62 tokens per session scan A f6cce8822d2c

Subscribe to this mod's changes

douyin is a skill published in the GitHub repository TikHub/tikhub-plugin (6 stars, last pushed 2mo ago), licensed MIT. It adds 62 tokens to every session and 852 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

reelminner

Scrape Instagram reels + followers via a Playwright user session. MCP tools manage the full application — jobs, sessions, results, settings, proxies, and status — plus the core scraping tools scrapereels, getstatus, importcookies, stopscrape, exportresults. Use for reel metadata extraction, follower counts, music…

ilovekushgola/reelminner · 86 tokens

ideogram-ultra

Build Ideogram 4 (Ideogram Ultra) txt2img and img2img workflows with the local open-weights model, dual conditional/unconditional models with DualModelGuider, Qwen3-VL text encoder, and structured JSON ("compositional deconstruction") prompts for strong text rendering and layout control.

artokun/comfyui-mcp · 68 tokens

model-compatibility

Model family compatibility matrix covering loaders, resolutions, samplers, CFG, VAE, ControlNet, and LoRA compatibility for SD 1.5, SDXL, Flux, SD3, and video models.

artokun/comfyui-mcp · 47 tokens

flux-txt2img

Build Flux txt2img workflows with Flux.1 Dev (SRPO), Flux 2 Klein 9B, Turbo LoRAs, FluxGuidance, and DualCLIPLoader patterns.

artokun/comfyui-mcp · 44 tokens

panel-node-pack-sync

Keep the ComfyUI sidebar panel node-pack (comfyui-agent-panel) in step with the orchestrator after comfyui-mcp updates. Use this whenever the orchestrator was just updated (installcomfyui (action:"selfupdate"), npm i -g comfyui-mcp, a new version in the ENVIRONMENT line), when a panel/bridge command fails in a way…

artokun/comfyui-mcp · 206 tokens

civitai

Discover Civitai models with the BUILT-IN downloadmodel action:"searchcivitai" and install/generate them locally. Find a checkpoint/LoRA/embedding on Civitai, download it into ComfyUI, and use its trigger words. Optionally pair the official Civitai MCP for community features (images browsing, posting, collections).

artokun/comfyui-mcp · 76 tokens