agentleFS
TikHubTikHub/tikhub-plugin/skills/tiktok/SKILL.md

tiktok

Skill7 starsChanged 5 months agoMITView on GitHub

Work with TikTok data via TikHub — fetch videos, user profiles and post lists, run search, pull trends/ads insights, creator analytics, comment keywords, and shop search. Use when the task targets TikTok specifically. Covers the App-V3, Ads, Creator, Analytics, and Shop APIs.

  • Reads credentials

10 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use linkedin, gmail and 1 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • kkoppenhaverSkill

    linkedin

    Write LinkedIn posts in Keanan's voice. Use when drafting LinkedIn content, creating professional posts, or sharing builder-focused insights. Triggers include requests to "write a LinkedIn post", "draft something for LinkedIn", "help me post on LinkedIn", or any LinkedIn content creation. Generates upbeat, builder-centric content mixing practical how-tos with candid humor.

    Also in 3 projects that use this

  • refly-aiSkill

    gmail

    Integrate with Gmail for email management and automation. Use when you need to: (1) send and compose emails with attachments, (2) read and search emails by criteria, (3) manage drafts and email labels, or (4) reply to email threads and conversations.

    Also in 3 projects that use this

  • AnthropicSkill

    slack

    Also in 3 projects that use this

The file

Files
SKILL.md

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

GoalMethod + pathKey params
One videoGET /api/v1/tiktok/app/v3/fetch_one_videoaweme_id
Video by share URLGET /api/v1/tiktok/app/v3/fetch_one_video_by_share_urlshare_url
User profileGET /api/v1/tiktok/app/v3/handler_user_profilesec_user_id | unique_id
User's videosGET /api/v1/tiktok/app/v3/fetch_user_post_videossec_user_id, max_cursor, count
Video searchGET /api/v1/tiktok/app/v3/fetch_video_search_resultkeyword, offset, count, sort_type, publish_time
User searchGET /api/v1/tiktok/app/v3/fetch_user_search_resultkeyword, offset, count
Video commentsGET /api/v1/tiktok/app/v3/fetch_video_commentsaweme_id, cursor, count
Hashtag video listGET /api/v1/tiktok/app/v3/fetch_hashtag_video_listch_id, cursor, count
Popular trendsGET /api/v1/tiktok/ads/get_popular_trendsperiod, country_code, page, limit
Trending hashtagsGET /api/v1/tiktok/ads/get_trends_hashtag_listtime_range, country_code, page
Hashtag detailGET /api/v1/tiktok/ads/get_trends_hashtag_detailhashtag_id, country_code
Sound rankGET /api/v1/tiktok/ads/get_sound_rank_listperiod, rank_type, page
Search creatorsGET /api/v1/tiktok/ads/search_creatorskeyword, sort_by, creator_country
Creator video analyticsPOST /api/v1/tiktok/creator/get_video_analytics_summaryJSON body
Comment keywordsGET /api/v1/tiktok/analytics/fetch_comment_keywordsitem_id
Product detailGET /api/v1/tiktok/shop/web/fetch_product_detail_v3product_id, region

Example

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" \
  -H "Authorization: Bearer $TIKHUB_API_KEY"

Pagination

User/video lists use max_cursor (start 0) + count; search uses offset + count; comments and hashtag video lists use cursor + count. Read the next cursor and has_more from the response; loop until exhausted. Each page is billed — cap it.

Hand off to task skills

  • Download videos → social-media-downloader
  • Analyze an account → creator-analytics
  • Trends/hashtags/sounds → trend-research, hashtag-research
  • Comment mining → comments-analysis
  • Large list pulls → bulk-data-export

Red flags

  • Need sec_user_id (not the @handle) for user endpoints — resolve via handler_user_profile with unique_id first.
  • Unbounded max_cursor loops burn credits.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.