xiaohongshu-douyin-last-30-days
Skill5 starsChanged 57 days agoMITView on GitHub
近30天小红书 / 抖音在说什么 (Last 30 days on Xiaohongshu & Douyin). 给一个话题、产品、品牌或人名,搜小红书和抖音最近 30 天(可调)发的帖子,读出每条里说的话(视频口播、图上的字)和点赞、评论、收藏数,按互动排序,交给 agent 写一份带出处的简报:大家在说什么、谁说的、哪天、多少人赞。用于做选题、看产品口碑、会前查一个话题。英文社区(Reddit、X、YouTube)有开源技能 last30days 在做;这个只做小红书和抖音。搜索找到的是网页已收录的帖子,通常只有几条,不是全量。不登录平台、不要 Cookie。需要 LinkDigest API Key(注册送 10 积分)。
- Reads credentials
In this repository40 other files it gives its agents.
- bilibili-course-notesSkill
- bilibili-subtitle-textSkill
- bilibili-video-summarySkill
- bilibili-video-to-textSkill
- douyin-batch-to-textSkill
- douyin-creator-cardSkill
- douyin-search-to-textSkill
- douyin-subtitle-textSkill
- douyin-video-summarySkill
- douyin-video-to-textSkill
- hongguo-drama-researchSkill
- instagram-to-textSkill
- linkdigest-script-rewriteSkill
- linkdigestSkill
- linkdigest-video-transcriptSkill
- linkdigest-viral-breakdownSkill
- linkdigest-wechat-article-readerSkill
- linkdigest-xhs-note-ocrSkill
- linkdigest-xiaohongshu-douyin-readerSkill
- linkdigest-youtube-summarySkill
- long-video-transcriptSkill
- overseas-pain-pointsSkill
- podcast-to-textSkill
- tiktok-transcriptSkill
- toutiao-to-textSkill
- twitter-to-textSkill
- video-to-articleSkill
- video-to-mindmapSkill
- video-to-notesSkill
- video-transcript-translateSkill
- viral-video-remakeSkill
- weibo-to-textSkill
- xiaohongshu-batch-exportSkill
- xiaohongshu-consumer-insightSkill
- xiaohongshu-daily-draftSkill
- xiaohongshu-douyin-compareSkill
- xiaohongshu-note-summarySkill
- xiaohongshu-note-to-textSkill
- xiaohongshu-pain-point-radarSkill
- xiaohongshu-search-to-textSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 6 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 45
every item is ranked by code: engagement on a fixed scale per platform, freshness inside the window, and how much of the topic its own …
- Distinctive: line 52
When you pass the report on: keep the warnings at its top, keep the ✓ quotes as they are, and do not add claims the report does not make.
- Distinctive: line 67
Start with the numbers from the header: which platforms were searched, how many posts were inside the window, how many were read.
- Distinctive: line 74
Do not add what the posts did not say, and do not fill a thin result with general knowledge.
- Distinctive: line 78
Run on 2026-11-26 for "Claude Code", 30 days: Xiaohongshu search found 7 posts, 3 inside the window.
- Distinctive: line 95
No account, cookie or login is used, and nothing is posted or downloaded.
- Very specific: line 99
Only the topic and the links go to linkdigest.dev.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
近 30 天,小红书和抖音在说什么 (the last 30 days on Xiaohongshu and Douyin)
For English-language communities there are skills that gather a month of discussion from Reddit, X and YouTube. Chinese discussion mostly happens on two apps a server cannot simply open: a Xiaohongshu note is images with the text drawn on them, a Douyin video has no captions. This skill finds the recent posts on a topic, reads what each one says, and hands the agent an evidence pack to write from.
One command
export LINKDIGEST_API_KEY=ld_live_... # https://linkdigest.dev/signin?ref=skill-xiaohongshu-douyin-last-30-days&next=/app/keys
python3 {baseDir}/scripts/last30.py "Claude Code"| Option | Does |
--days 14 | The window, 1 to 365 days. Default 30. |
--read 4 | How many of the newest posts to read. Default 6. 0 lists what was found and reads nothing. |
--platforms douyin | One platform. Default is both, xiaohongshu,douyin. |
--max-credits 6 | The most one read may cost; a dearer post is skipped and not charged. Default 8. |
--format json | The pack as data. |
Each post's date comes from its own id, so the window is exact. Posts are read newest first, taking turns between the two platforms. Douyin videos are read for speech only (the cheapest read).
One call, with the brief already written (--brief)
python3 {baseDir}/scripts/last30.py "Claude Code" --brief # 小红书 + 抖音, 30 days, 6 posts
python3 {baseDir}/scripts/last30.py "露营车" --brief --days 14 --read 12 # a 14-day window, 12 posts
python3 {baseDir}/scripts/last30.py "Claude Code" --brief --hackernews # plus Hacker News stories (free)With --brief the server does the whole run (LinkDigest's Topic Pulse, 近期热议, POST /api/v1/pulse) and the script prints its report:
- the searches are asked with the window, and a post dated outside it is dropped before any credit is spent on reading it;
- every item is ranked by code: engagement on a fixed scale per platform, freshness inside the window, and how much of the topic its own words carry; posts telling the same story are merged;
- a summary and up to six themes, each quoting its posts word for word. Every quote is checked against the post's own text by code and marked ✓; a quote that is not found is marked ✗ and counts for nothing;
- a coverage table per platform. A platform that could not be searched is said to have failed. It is never reported as quiet;
- a share link that opens without signing in (30 days).
Window 1 to 90 days. --read picks the size: up to 6 posts, up to 12, or 24. A run takes about 2 to 5 minutes. Use --format json for the data. Without --brief the script works as described below and the agent writes the brief itself.
When you pass the report on: keep the warnings at its top, keep the ✓ quotes as they are, and do not add claims the report does not make.
Measured on 2026-11-27, "Claude Code", 30 days, --brief --platforms xiaohongshu --hackernews: 43 seconds and 7 credits (the four Xiaohongshu posts had been read before, so only the search and the brief were charged; an hour earlier the same run with fresh reads took 194 seconds and 12 credits). 6 posts found, 4 inside the window, 10 Hacker News stories; four themes, two of them quoting Xiaohongshu; 9 quotes, all checked.
What comes back
A Markdown pack, most-engaged first (likes + 2 × comments + saves + shares):
- a header that says how many posts each search found and how many fell inside the window;
- per post: title, author, date, the like / comment / save / share counts, the link, up to four key points, and two or three lines quoted from the speech (with
[mm:ss]) or from the images; - the posts that could not be read, each with the reason;
- the links that were found but not read.
Writing the brief (for the agent)
- Start with the numbers from the header: which platforms were searched, how many posts were inside the window, how many were read. Three posts are three posts. Never present them as "the internet" or "everyone".
- Group what the posts say into themes. Every claim names the post it comes from by number, with its date and its like count, and quotes a line when one is there.
- Order themes by engagement, and say when one post dominates (a note with ten thousand likes next to two with a few hundred).
- Name what is missing: a platform that returned nothing, posts outside the window, a side of the topic nobody covered.
- Offer the next step: a wider window (
--days 90), a more specific wording, or reading the remaining links. - Say what the run cost (the header has the credits).
Do not add what the posts did not say, and do not fill a thin result with general knowledge. A short honest brief is the right answer to a thin search.
What to expect, measured
Run on 2026-11-26 for "Claude Code", 30 days: Xiaohongshu search found 7 posts, 3 inside the window; Douyin found 1, 0 inside. The 3 were read in about two and a half minutes for 17 credits in all. The most-engaged had 10,400 likes, 535 comments and 16,900 saves.
That is typical. The search goes through what the open web has indexed, so it returns a handful of posts, the newest ones can be days late, and a narrow topic can return none. This skill is a way to read the best of what is findable, not a census.
Price of --brief
The same parts, added up by the server and said before the run starts: 4 credits per platform search that finds posts, each post at its normal price (capped at 5 a post), and 2 to 4 credits for the brief. Typical: about 22 credits for 6 posts on both platforms, 35 for 12, 60 for 24; posts someone already read are free. Fewer than 3 items inside the window: no brief is written or charged. Hacker News is free.
Price
A search that finds posts is 4 credits per platform; one that finds nothing is free. Each read is priced like any other: an image note from 1 credit, a video 1 credit plus 1 per started minute (speech only on Douyin: 1 per started 2 minutes). A post someone already read is 0. Sign-up gives 10 credits once; top-ups are one-time and never expire: 50 credits ¥9.9 (支付宝) / $1.50, 250 credits ¥36 / $5.
Limits
- Xiaohongshu and Douyin only. No Bilibili or Weibo search.
- Notes Xiaohongshu shows only inside its app, deleted posts and private posts cannot be read; they are listed under 没读成的 and cost nothing.
- Counts are as of the read. Speech recognition can misspell names and numbers: check them before quoting.
- No account, cookie or login is used, and nothing is posted or downloaded.
Privacy
Only the topic and the links go to linkdigest.dev. https://linkdigest.dev/privacy · Remote MCP: https://linkdigest.dev/mcp (search_links, digest_url) · support@linkdigest.dev
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
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.

