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

xiaohongshu

Skill8 starsChanged 6 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

9 other projects use a version of this.

Adopted by

Most recently taken up by

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 4 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 4 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.