Agent skill

Xiaohongshu User Profile

by browser-act in browser-act/skills

Fetch Xiaohongshu (RedNote / xhs) user profile information and their published notes list by user ID, returning nickname, bio, follower/following counts, engagement totals, tags, and paginated notes…

MITAuto-check passedMarketing & SEO

Install Xiaohongshu User Profile

skills CLI
$ npx skills add browser-act/skills --skill xiaohongshu-user-profile -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install browser-act/skills xiaohongshu-user-profile --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/browser-act/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/solutions/social-listening/xiaohongshu-user-profile .claude/skills/xiaohongshu-user-profile && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
xiaohongshu-user-profile
GitHub stars
6.1k
Token cost
~2k tokens
SKILL.md length
891 words
Files
3 (incl. scripts)
Skills in repo
87
Repo updated
First seen
Licence
MIT

At a glance

Fetch Xiaohongshu (RedNote / xhs) user profile information and their published notes list by user ID, returning nickname, bio, follower/following counts, engagement totals, tags, and paginated notes…

  • Works in 2 steps: Tool Readiness → Login Verification
  • User mentions user profile xiaohongshu
  • SKILL.md covers Language, Objective, Prerequisites and Pre-execution Checks, plus 6 more sections
  • Runs Python scripts from its folder; calls python; reaches xiaohongshu.com

What it does

Xiaohongshu User Profile is an agent skill from browser-act/skills. Fetch Xiaohongshu (RedNote / xhs) user profile information and their published notes list by user ID, returning nickname, bio, follower/following counts, engagement totals, tags, and paginated notes with engagement stats. Use when user mentions user profile xiaohongshu, rednote creator profile, xhs influencer data, scrape xiaohongshu user, get blogger notes, xiaohongshu author info, KOL discovery xiaohongshu, rednote user stats, creator profile rednote, xiaohongshu blogger analysis, get xhs user followers…

Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including scripts (for example `scripts/extract-user-notes.py` and `scripts/extract-user-profile.py`).

It sits in Marketing & SEO, covering Web scraping, Influencer and creator marketing and Social media marketing. It works with Xiaohongshu. The repository describes itself as: Browser automation CLI built for AI agents. Break through anti-bot walls, hand off to humans across platforms when stuck. Parallel multi-task execution, independent multi-session… The licence is MIT.

When your agent uses it

  • User mentions user profile xiaohongshu
  • Rednote creator profile
  • Xhs influencer data
  • Scrape xiaohongshu user

Example prompts

  • “/xiaohongshu-user-profile”

Requirements

  • Python 3

Workflow steps

2 steps, taken from the step headings in SKILL.md.

  1. Tool Readiness
  2. Login Verification

What it can do on your machine

Read from SKILL.md and the folder at commit 11c057b. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • xiaohongshu.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Xiaohongshu User Profile loads about 2k tokens when it runs. Until then it costs about 172 tokens; SKILL.md has 891 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~172
When it runs · the whole SKILL.md, loaded when a task matches
~2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from browser-act/skills at commit 11c057b, republished under its MIT licence (© browser-act). 891 words, ~2,003 tokens.

Download SKILL.mdSave it as .claude/skills/xiaohongshu-user-profile/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
xiaohongshu-user-profile
description
Fetch Xiaohongshu (RedNote / xhs) user profile information and their published notes list by user ID, returning nickname, bio, follower/following counts, engagement totals, tags, and paginated notes with engagement stats. Use when user mentions user profile xiaohongshu, rednote creator profile, xhs influencer data, scrape xiaohongshu user, get blogger notes, xiaohongshu author info, KOL discovery xiaohongshu, rednote user stats, creator profile rednote, xiaohongshu blogger analysis, get xhs user followers, rednote influencer profile, xiaohongshu account info, xhs creator data, user notes list xiaohongshu, rednote account scrape, xiaohongshu KOL research.

Xiaohongshu — User Profile & Notes

user_id → profile info (nickname, followers, bio, tags) + published notes list

Language

All process output to user (progress updates, process notifications) follows the user's language.

Objective

Navigate to a Xiaohongshu user profile page and extract the user's basic information, social stats, and their published notes list.

Prerequisites

  • Browser opened to https://www.xiaohongshu.com/user/profile/{user_id}
  • User is logged in (avatar or username visible in the left sidebar)

Pre-execution Checks

1. Tool Readiness

If browser-act has been confirmed available in the current session → skip this step.

Invoke browser-act via Skill tool to load usage. If installation or configuration issues arise, follow its guidance to resolve then retry.

2. Login Verification

If login status for Xiaohongshu has been confirmed in the current session → skip this step.

Otherwise: open https://www.xiaohongshu.com and observe the left sidebar:

  • User avatar or "Me" entry visible → logged in, continue execution
  • "Login" button visible → not logged in, inform the user that login is required, use remote-assist to let the user scan the QR code

User refuses or cannot log in → terminate execution.

Capability Components

This Skill's operational boundary = what the user can manually do in their browser. It only reads data already displayed to the user on the page, never bypassing authentication or access controls. Its role is equivalent to copy-pasting on the user's behalf — the data is already on screen, automation merely saves time. JS code is encapsulated in Python files under the scripts/ directory, invoked via eval "$(python scripts/xxx.py {params})". $(...) is bash syntax; it is recommended to use the bash tool for execution.

Below are all atomic capabilities discovered and verified during the exploration phase, listed by command template with parameters. Simply invoke them as needed — no need to read scripts/*.py source code or re-verify. Only inspect scripts when execution fails for troubleshooting. Combine freely as needed during execution.

DOM: extract user profile

Navigate to the user profile page, wait for Vue SSR state to populate, then extract from window.__INITIAL_STATE__.user.userPageData:

  1. navigate https://www.xiaohongshu.com/user/profile/{user_id}
  2. wait stable
  3. eval "$(python scripts/extract-user-profile.py {user_id})"

Parameters:

  • {user_id}: user ID (from note detail userId field or from the profile URL)

Output example:

json
{
  "userId": "5bac4e3f7a4c7300016a6b88",
  "nickname": "LaLaIrene",
  "desc": "Personal bio text...",
  "gender": 1,                   // 0=unknown, 1=male, 2=female
  "ipLocation": "Shanghai",
  "avatar": "https://sns-avatar-...",
  "follows": "361",
  "fans": "23904",
  "interaction": "1086463",      // total likes + collects received
  "tags": ["travel", "food"]
}

Error handling: if error: true is returned, verify the page URL is a user profile page and wait stable has completed.

DOM: extract user notes list

After navigating to the profile page (same page as user profile), extract notes already loaded into Vue state:

eval "$(python scripts/extract-user-notes.py --limit {limit})"

Parameters:

  • --limit: max notes to return from current state, default 30

Output example:

json
{
  "total": 24,
  "hasMore": false,
  "notes": [
    {
      "id": null,
      "type": "normal",
      "title": "Not Switzerland! This is a natural grassland in Fujian!!",
      "likedCount": "5149",
      "collectedCount": "4170",
      "commentCount": "390",
      "coverUrl": "https://sns-..."
    }
  ]
}

Error handling: if error: true is returned, ensure the user profile page is loaded first (steps 1–2 above).

Composite: get full user data (profile + notes)

Run both extractions on the same page load — no additional navigation needed:

  1. navigate https://www.xiaohongshu.com/user/profile/{user_id}
  2. wait stable
  3. eval "$(python scripts/extract-user-profile.py {user_id})"
  4. eval "$(python scripts/extract-user-notes.py --limit {limit})"

Merge results by userId field.

Pagination

DOM Pagination (notes list): Initial page load pre-populates visible notes. To load more:

  1. scroll down --amount 3000
  2. wait stable
  3. eval "$(python scripts/extract-user-notes.py --limit {limit})"

Each scroll triggers the page to load additional notes into user.notes[0]. Re-running the extraction script after each scroll retrieves the full accumulated list. Termination: hasMore: false in extraction output.

Success Criteria

profile.userId is non-null AND profile.nickname is non-null AND notes.total >= 0

Show full SKILL.md (352 more words)Show less

Known Limitations

  • Accessing user profiles requires login; without login the page shows a QR code overlay and userPageData is empty
  • Notes list only includes notes from the default "Notes" tab; collected notes and liked notes are on separate tabs not covered by this capability
  • Note id is always null in user profile notes state — the Vue state for user profile notes does not populate individual note IDs; use xiaohongshu-search to obtain note IDs and xsecTokens for downstream detail lookup
  • interaction count combines total likes and collects received by all the user's notes — it is not a standalone likes-only or collects-only metric

Execution Efficiency

  • Batch orchestration: Write a bash script to loop through the command templates serially within a single session; do not parallelize within one browser (prone to triggering anti-scraping restrictions). Refer to rate information in "Known Limitations" above to add appropriate intervals. To increase throughput, open multiple stealth browser sessions and distribute work across them — each session has an independent fingerprint so rate limits apply per session
  • Test before batch execution: After writing a batch script, you must first test with 1-2 items to verify the script runs correctly; only then run the full batch. Never skip testing and execute in batch directly
  • Reduce redundant pre-operations: When multiple steps depend on the same prerequisite state, complete them in batch under that state to avoid repeatedly establishing the same state
  • Error resumption: Save results item by item during batch processing; on failure, resume from the breakpoint rather than starting over

Experience Notes

Path: {working-directory}/browser-act-skill-forge-memories/xiaohongshu-data-xiaohongshu-user-profile.memory.md (working directory is determined by the Agent running the Skill, typically the project root or current working directory)

Before execution: If the file exists, read it first — it records unexpected situations encountered during past executions (e.g., a strategy has become ineffective); adjust strategy order accordingly.

After execution: If an unexpected situation is encountered (strategy became ineffective, page redesigned, anti-scraping upgraded, better path discovered), append a line: {YYYY-MM-DD}: {what happened} → {conclusion}

Normal execution does not write to the file. Do not record what user IDs were fetched or how many notes were returned — those are task outputs, not experience.

© browser-act, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (scripts) in solutions/social-listening/xiaohongshu-user-profile of browser-act/skills.

  • SKILL.md
  • scripts/extract-user-notes.py
  • scripts/extract-user-profile.py

Open the folder on GitHubat commit 11c057b

Compare with similar skills

Xiaohongshu User Profile next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Xiaohongshu User Profile compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Xiaohongshu User Profile this skillbrowser-act/skills6.1k—~2kAutomated safety check: PassMIT
Apify Influencer Discoverysickn33/agentic-awesome-skills47k2 repos~1.3kAutomated safety check: NotesMIT
Apify Influencer Brand Collabsapify/awesome-skills266—~1.8kAutomated safety check: PassApache-2.0
Effect Monitoringvivy-yi/xiaohongshu-skills4811 repos~4.5kAutomated safety check: PassNone
Xiaohongshu Title Formula Matcherdontbesilent2025/dbskill11k1 repos~3.4kAutomated safety check: PassCustom licence
Content Amplifieraaron-he-zhu/aaron-marketing-skills2.9k1 repos~6.5kAutomated safety check: PassApache-2.0

Similar skills

  • Apify Influencer Discovery

    sickn33/agentic-awesome-skills

    Find and evaluate influencers for brand partnerships, verify authenticity, and track collaboration performance across Instagram, Facebook, YouTube, and TikTok.

    47k GitHub starsUsed in 2 repos~1.3k tokens
    Marketing & SEOAuto-check: notes
  • Apify Influencer Brand Collabs

    apify/awesome-skills

    Official

    Discover Instagram brand–creator partnerships by chaining Apify Actors.

    266 GitHub stars~1.8k tokensUpdated 17 days ago
    Marketing & SEOAuto-check passed
  • Effect Monitoring

    vivy-yi/xiaohongshu-skills

    A skill your agent uses when monitoring Xiaohongshu marketing campaign performance, tracking promotion effectiveness, analyzing advertising ROI, measuring influencer collaboration results…

    481 GitHub starsUsed in 1 repo~4.5k tokens
    Marketing & SEOAuto-check passed
  • Xiaohongshu Title Formula Matcher

    dontbesilent2025/dbskill

    Matches a Xiaohongshu post topic to the best-fitting formulas from a library of 75 proven title patterns, rather than freely generating a title from scratch.

    11k GitHub starsUsed in 1 repo~3.4k tokens
    Marketing & SEOAuto-check passed
  • Content Amplifier

    aaron-he-zhu/aaron-marketing-skills

    A skill your agent uses when the user asks to "amplify influencer content with paid media", "set up whitelisting or Spark Ads", "decide which posts to boost", "repurpose influencer content", "turn…

    2.9k GitHub starsUsed in 1 repo~6.5k tokens
    Marketing & SEOAuto-check passed
  • Trend Spotter

    aaron-he-zhu/aaron-marketing-skills

    A skill your agent uses when the user asks to "find trending topics", "what trends should my brand jump on", or "time a campaign around a cultural moment"; produces a ranked trend report with…

    2.9k GitHub stars~2.7k tokensUpdated today
    Marketing & SEOAuto-check passed

More from browser-act/skills

All 87 skills in this repo
  • Amazon ASIN Lookup

    browser-act/skills

    Fetches structured Amazon product details such as title, price, ratings and availability for a given ASIN through BrowserAct's lookup API template.

    6.1k GitHub starsUsed in 1 repo~1.5k tokens
    Auto-check passed
  • Amazon Best Sellers Finder

    browser-act/skills

    Extracts structured Amazon product data for a keyword and marketplace through the BrowserAct API, including titles, prices, ratings, reviews, sales volume and promotions.

    6.1k GitHub starsUsed in 1 repo~1.5k tokens
    Auto-check passed
  • Amazon Buy Box Monitor

    browser-act/skills

    Pulls Amazon product details, competing seller prices and seller ratings for a given ASIN through the BrowserAct API, without browser automation.

    6.1k GitHub starsUsed in 1 repo~1.6k tokens
    Auto-check passed
  • Analyzes a competitor's Amazon listing by ASIN with BrowserAct data extraction, then reports what it does well, where the market has gaps and opportunity points for your own listing.

    6.1k GitHub starsUsed in 1 repo~3.2k tokens
    Auto-check passed
  • Pulls structured Amazon search results (titles, ASINs, prices, ratings, specifications) for a keyword and brand through BrowserAct's Amazon Product API template.

    6.1k GitHub starsUsed in 1 repo~1.5k tokens
    Auto-check passed
  • Collects structured product data from Amazon search results for a keyword and optional brand, using a BrowserAct script, for market and competitor research.

    6.1k GitHub starsUsed in 1 repo~1.6k tokens
    Auto-check passed

Works with

Questions about Xiaohongshu User Profile

What does Xiaohongshu User Profile do?

Fetch Xiaohongshu (RedNote / xhs) user profile information and their published notes list by user ID, returning nickname, bio, follower/following counts, engagement totals, tags, and paginated notes…. Xiaohongshu User Profile is an agent skill from browser-act/skills. Fetch Xiaohongshu (RedNote / xhs) user profile information and their published notes list by user ID, returning nickname, bio, follower/following counts, engagement totals, tags, and paginated notes with engagement stats.

When should I use Xiaohongshu User Profile?

Xiaohongshu User Profile fits situations like: user mentions user profile xiaohongshu; rednote creator profile; xhs influencer data; scrape xiaohongshu user.

How do I install Xiaohongshu User Profile in Claude Code?

Run `npx skills add browser-act/skills --skill xiaohongshu-user-profile -a claude-code`. Or copy the skill folder (solutions/social-listening/xiaohongshu-user-profile in browser-act/skills) into .claude/skills/xiaohongshu-user-profile in your project. Claude Code loads it when a task matches its description.

How do I install Xiaohongshu User Profile in Codex?

Run `npx skills add browser-act/skills --skill xiaohongshu-user-profile -a codex`. Or copy the skill folder (solutions/social-listening/xiaohongshu-user-profile in browser-act/skills) into .agents/skills/xiaohongshu-user-profile in your project. Codex loads it when a task matches its description.

Can I use Xiaohongshu User Profile in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add browser-act/skills --skill xiaohongshu-user-profile -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/xiaohongshu-user-profile, .gemini/skills/xiaohongshu-user-profile, .github/skills/xiaohongshu-user-profile and .opencode/skills/xiaohongshu-user-profile in your project.

What does Xiaohongshu User Profile need to run?

Going by SKILL.md and its folder, Xiaohongshu User Profile needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3.

Does Xiaohongshu User Profile access the network?

SKILL.md names 1 domain. In commands or code: xiaohongshu.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Xiaohongshu User Profile safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Xiaohongshu User Profile use?

Xiaohongshu User Profile is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Xiaohongshu User Profile use?

About 2k tokens (SKILL.md is roughly 8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Xiaohongshu User Profile?

Skills that share tags, products or a category with Xiaohongshu User Profile: Apify Influencer Discovery (sickn33/agentic-awesome-skills, 47k stars), Apify Influencer Brand Collabs (apify/awesome-skills, 266 stars), Effect Monitoring (vivy-yi/xiaohongshu-skills, 481 stars) and Xiaohongshu Title Formula Matcher (dontbesilent2025/dbskill, 11k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Xiaohongshu User Profile?

browser-act (a GitHub organization) maintains it in browser-act/skills, which has 6,126 GitHub stars. The repository holds 87 skills in this directory. The repository was last updated on August 24, 2026.

Source: browser-act/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.