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

xiaohongshu

Skill7 starsChanged 5 months agoMITView on GitHub

Work with Xiaohongshu / RedNote (小红书) data via TikHub — fetch image and video note details, user info and posted notes, search notes/users/products/images, and pull note comments and sub-comments. Use when the task targets Xiaohongshu. Covers the Xiaohongshu App-V2 API.

  • Reads credentials

12 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use bilibili.

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.
  • sigcliSkill

    bilibili

    Interact with Bilibili (B站) — browse trending videos, view video details, read comments, search videos and users, view user profiles, like, coin, and favorite videos. Use this skill whenever the user mentions Bilibili, B站, wants to browse Bilibili content, search Bilibili videos, read Bilibili comments, look up Bilibili users, or interact with Bilibili content. Also trigger when the user pastes a Bilibili URL (e.g. bilibili.com/video/BV...) or mentions a BV ID.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 0

    Distinctive

    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
  1. Very specific:

    Search/product/keyword research → hashtag-research, social-listening

    line 50

“Common” is measured: kept by at least 6 in 10 of the 5 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Xiaohongshu / RedNote / 小红书 (via TikHub)

Coverage via the App-V2 API. Exhaustive endpoints: tikhub-find-endpoint "<goal>" --platform xiaohongshu.

Setup gate

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

Coverage: Xiaohongshu-App-V2. (Web V1/V2/V3 and App V1 are de-scoped — reach them via discovery.)

Key endpoints

GoalMethod + pathKey params
Video note detailGET /api/v1/xiaohongshu/app_v2/get_video_note_detailnote_id, share_text
Image note detailGET /api/v1/xiaohongshu/app_v2/get_image_note_detailnote_id, share_text
User infoGET /api/v1/xiaohongshu/app_v2/get_user_infouser_id, share_text
User's notesGET /api/v1/xiaohongshu/app_v2/get_user_posted_notesuser_id, cursor
Search notesGET /api/v1/xiaohongshu/app_v2/search_noteskeyword, page, sort_type, note_type
Search usersGET /api/v1/xiaohongshu/app_v2/search_userskeyword, page
Search productsGET /api/v1/xiaohongshu/app_v2/search_productskeyword, page
Search imagesGET /api/v1/xiaohongshu/app_v2/search_imageskeyword, page
Note commentsGET /api/v1/xiaohongshu/app_v2/get_note_commentsnote_id, cursor, index
Note sub-commentsGET /api/v1/xiaohongshu/app_v2/get_note_sub_commentsnote_id, comment_id, cursor

Example

curl -s "https://api.tikhub.io/api/v1/xiaohongshu/app_v2/search_notes?keyword=护肤&page=1&sort_type=general" \
  -H "Authorization: Bearer $TIKHUB_API_KEY"

Pagination

Note/comment lists use cursor (+index for comments); search uses page. Loop until the response signals no more results. Each page is billed — cap it.

Hand off to task skills

  • Download note media → social-media-downloader
  • Analyze a creator → creator-analytics
  • Search/product/keyword research → hashtag-research, social-listening
  • Comment mining → comments-analysis
  • Large pulls → bulk-data-export

Red flags

  • Many App-V2 endpoints accept a share_text (the shared note text/URL) as an alternative to ids — pass whichever you have.
  • Comment paging needs both cursor and index.

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.