xiaohongshu-user-profile
できること
Xiaohongshuのユーザーのプロフィールを開き、プロフィールの詳細とそのユーザーのノートを返します。クリエイターを探すマーケターや、特定のアカウントを調べる研究者向けです。
使う場面
- ✓Xiaohongshuのクリエイターのフォロワー数と自己紹介を確認したいとき。
- ✓特定のユーザーが公開したノートの一覧が必要なとき。
- ✓ある分野のクリエイターを探して、その数字を比べたいとき。
スキルのリンク
https://github.com/browser-act/skills/blob/main/solutions/social-listening/xiaohongshu-user-profile/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“このXiaohongshuのクリエイターのプロフィールと最新のノートを、フォロワー数と自己紹介を含めて見せてください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
スキルは、ログインしているブラウザーでユーザーのプロフィールページを開きます。ニックネーム、自己紹介、フォロワー数とフォロー数、反応の合計、タグ、ノートの一覧とその指標を返します。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)をGitHubからそのまま表示しています。
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-assistto 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 viaeval "$(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:
navigate https://www.xiaohongshu.com/user/profile/{user_id}wait stableeval "$(python scripts/extract-user-profile.py {user_id})"
Parameters:
{user_id}: user ID (from note detailuserIdfield or from the profile URL)
Output example:
{
"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, default30
Output example:
{
"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:
navigate https://www.xiaohongshu.com/user/profile/{user_id}wait stableeval "$(python scripts/extract-user-profile.py {user_id})"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:
scroll down --amount 3000wait stableeval "$(python scripts/extract-user-notes.py --limit {limit})"
Each scroll triggers the page to load additional notes into `user.n
よくある質問
何を渡す必要がありますか?
ユーザーのIDが必要です。プロフィールのリンクの一部になっています。
ログインしている必要がありますか?
はい。スキルは、ログイン済みのXiaohongshuのセッションを確認します。
ノートも含まれますか?
はい。公開されたノートを、反応の指標とともにページごとに返します。
詳細
作者による元の説明
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
repo: browser-act/skills
人気
- GitHubのスター
- 6.3k
- ランキング
- #14327
- ライセンス
- MIT
- 更新日
- 2026/8/24
コメント
- …
このリポジトリの他のスキル
browser-act-skill-forge
6.3k一度サイトを調べて、スクリプト付きの再利用できるスキルを保存するのを支援します。そのサイトからのデータ取得が次回から速くなります。
browser-act
6.3kブラウザー自動化ツールで、ページを開いて内容を読んだり、フォーム入力、スクリーンショット、ログイン状態の維持を行えるよう支援します。
1688-product-detail
6.3k1688.comの卸売ページから、価格帯、バリエーション、販売者の評価、属性などの商品詳細を取得するのを支援します。
airbnb-listing-detail
6.3kAirbnbの掲載IDから、写真、設備、評価、宿泊ルールなど、公開されている詳細情報を取得するのを支援します。
似ているスキル
xurl
394k認証済みのxurlツールを使い、Xに投稿、返信、検索、閲覧し、ダイレクトメッセージを送り、メディアをアップロードするようエージェントを支援します。
connections-optimizer
280kソーシャルネットワークのつながりを改善します。フォローやフォロー解除の候補を提案し、パーソナライズされたメッセージの作成を支援して、ネットワークを広げます。
content-engine
280kさまざまなプラットフォーム向けのコンテンツを作成します。X、LinkedIn、YouTubeなどのネットワークで効果的な投稿、台本、コンテンツカレンダーの作成を支援します。