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.
npx agentmods add skills/tikhub/tikhub-plugin/comments-analysisnpx skills add TikHub/tikhub-plugin --skill comments-analysisgit clone --depth 1 https://github.com/TikHub/tikhub-pluginWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00066 | $0.00446 |
| Opus 5 | $0.00033 | $0.00223 |
| Sonnet 5 | $0.00013 | $0.00089 |
| Haiku 4.5 | $0.00007 | $0.00045 |
Grade A, and why
comments-analysis 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 3d 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.
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.
What it actually says
Comments Analysis
Mine a single post's comment section for sentiment and themes.
Setup gate
[ -z "${TIKHUB_API_KEY:-}" ] && echo "Set TIKHUB_API_KEY first (see tikhub-onboarding)."
Workflow
- Identify the post (platform + id/URL).
- Fetch comments, paginating to a target count (cap it):
- TikTok:
app/v3/fetch_video_comments(aweme_id,cursor). Douyin:app/v3/fetch_video_comments(aweme_id,cursor). - Instagram:
v2/fetch_post_comments(+fetch_comment_replies). - YouTube:
web_v2/get_video_comments(+get_video_comment_replies). - Twitter:
web/fetch_post_comments. Xiaohongshu:app_v2/get_note_comments.
- TikTok:
- Optional fast keywords: TikTok
analytics/fetch_comment_keywords(item_id) gives a comment keyword summary directly. - Analyze: sentiment breakdown, top themes with example quotes, most-liked comments, and any recurring questions/complaints.
- Deliver a summary with cited example comments.
Cost awareness
Each comment page (and reply page) is a billed call. Cap pages; warn for viral posts with huge
threads. Estimate via calculate_price.
Verification gate
- Comments fetched and tied to the right post.
- Themes/sentiment backed by quoted comments.
- Report the sample size (comments analyzed vs. total).
Red flags
- Summarizing 50 comments on a 50k-comment post as representative — disclose the sample.
- Unbounded reply pagination.
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.
- 3d ago First seen · 45 lines · 66 tokens per session scan A 0ba5a8945727
comments-analysis is a skill published in the GitHub repository TikHub/tikhub-plugin (6 stars, last pushed 2mo ago), licensed MIT. It adds 66 tokens to every session and 446 once invoked, about $0.0003 per session on Opus 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-31.
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…
analyze-social
Use when the user shares a social video/post link or local video and wants it understood — an Instagram (instagram.com), TikTok (tiktok.com), YouTube or YouTube Shorts (youtube.com/youtu.be), or X/Twitter (x.com/twitter.com) URL, or a local .mp4/.mov file, OR when they say "analyze/watch/transcribe this…
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.
comfyui-node-registry
Authoring & publishing ComfyUI custom nodes to the Comfy Registry, covering node structure, pyproject.toml spec, comfy-cli publishing, and CI.
flux-txt2img
Build Flux txt2img workflows with Flux.1 Dev (SRPO), Flux 2 Klein 9B, Turbo LoRAs, FluxGuidance, and DualCLIPLoader patterns.
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).