tiktok

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

A TikTok data connection that retrieves videos, profiles, posts, searches, comments, trends, creator information, and shop results through TikHub.

In plain words
What is it for?
Use it to inspect videos or creators, search TikTok, collect comments, study trends and creator activity, or search TikTok Shop.
Why use it?
It gives code-based access to many kinds of TikTok data instead of requiring separate manual lookups for each task.

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 inspect videos or creators, search TikTok, collect comments, study…

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/tikhub/tikhub-plugin/tiktok
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 tiktok
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 tiktok

README.md
[![agentmods](https://agentmods.dev/badge/skills/tikhub/tikhub-plugin/tiktok.svg)](https://agentmods.dev/skills/tikhub/tikhub-plugin/tiktok)
Your own site
<a href="https://agentmods.dev/skills/tikhub/tikhub-plugin/tiktok"><img src="https://agentmods.dev/badge/skills/tikhub/tikhub-plugin/tiktok.svg" alt="Measured on agentmods" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 987 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.00065 $0.00987
Opus 5 $0.00032 $0.00494
Sonnet 5 $0.00013 $0.00197
Haiku 4.5 $0.00006 $0.00099

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

Security

Grade A, and why

tiktok 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 "https://api.tikhub.io/api/v1/tiktok/app/v3/fetch_user_post_videos?sec_user_id=SEC_UID&count=20&max_cursor=0" \
skills/tiktok/SKILL.md · 66 lines

How it starts

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

TikTok (via TikHub)

Deep coverage of TikTok. For exhaustive endpoints use tikhub-endpoint-discovery (tikhub-find-endpoint "<goal>" --platform tiktok). For outcomes (download, analyze a creator, trends), hand off to the task skills noted below.

Setup gate

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

Coverage: App-V3, Ads, Creator, Analytics, Shop-Web. (TikTok-Web is de-scoped — reach it via discovery.)

Key endpoints

Goal Method + path Key params
One video GET /api/v1/tiktok/app/v3/fetch_one_video aweme_id
Video by share URL GET /api/v1/tiktok/app/v3/fetch_one_video_by_share_url share_url
User profile GET /api/v1/tiktok/app/v3/handler_user_profile sec_user_id | unique_id
User's videos GET /api/v1/tiktok/app/v3/fetch_user_post_videos sec_user_id, max_cursor, count
Video search GET /api/v1/tiktok/app/v3/fetch_video_search_result keyword, offset, count, sort_type, publish_time
User search GET /api/v1/tiktok/app/v3/fetch_user_search_result keyword, offset, count
Video comments GET /api/v1/tiktok/app/v3/fetch_video_comments aweme_id, cursor, count
Hashtag video list GET /api/v1/tiktok/app/v3/fetch_hashtag_video_list ch_id, cursor, count
Popular trends GET /api/v1/tiktok/ads/get_popular_trends period, country_code, page, limit
Trending hashtags GET /api/v1/tiktok/ads/get_trends_hashtag_list time_range, country_code, page
Hashtag detail GET /api/v1/tiktok/ads/get_trends_hashtag_detail hashtag_id, country_code
Sound rank GET /api/v1/tiktok/ads/get_sound_rank_list period, rank_type, page
Search creators GET /api/v1/tiktok/ads/search_creators keyword, sort_by, creator_country
Creator video analytics POST /api/v1/tiktok/creator/get_video_analytics_summary JSON body
Comment keywords GET /api/v1/tiktok/analytics/fetch_comment_keywords item_id
Product detail GET /api/v1/tiktok/shop/web/fetch_product_detail_v3 product_id, region

Read the full file on GitHub · 66 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 · 66 lines · 65 tokens per session scan A 92267d833430

Subscribe to this mod's changes

tiktok is a skill published in the GitHub repository TikHub/tikhub-plugin (6 stars, last pushed 2mo ago), licensed MIT. It adds 65 tokens to every session and 987 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