Xiaohongshu First Line
v0.1.0「开口第一句」— 帮不擅长社交破冰的人,基于小红书公开内容找到共同兴趣、理解对方风格、生成自然不尬的第一句话。适合想扩展社交圈但不知道怎么自然开口的人。Use when: (1) user 分享s a xiaohongshu.com or xhslink.com URL and wants help crafting a first message, (2) user asks to analyze someone's Xiaohongshu content to find conversation angles, (3) user wants to browse Xiaohongshu by keyword to discover people with 分享d interests, (4) user asks for help with social icebreakers or first messages. Trigger phrases: xiaohongshu, xhs, 小红书, 开口第一句, 破冰, 第一句话, 不知道怎么开口, 怎么聊, 社交, 扩列, 交朋友, 分析主页, 搜博主, conversation 启动er, icebreaker, first message.
运行时依赖
安装命令
点击复制技能文档
开口第一句
帮你解决"看到有意思的人,但不知道第一句说什么"的问题。
通过分析对方在小红书上的公开内容,找到你们之间的兴趣交集,生成一句自然、真诚、不尬的开场白。就像一个社交能力很强的朋友在旁边帮你出主意。
Two modes: 性能分析 Analysis (given a URL) and Discover (given a keyword).
MANDATORY: Always use OpenClaw browser. Never ask user to copy-paste content. Never refuse to use the browser. Never suggest the user go 搜索 manually. The browser is 记录ged into Xiaohongshu — just open it and do the work.
CRITICAL RENDERING NOTE: Xiaohongshu uses heavy dynamic rendering. snapshot will NOT capture visible page content. You MUST use screenshot for visual content. Use evaluate for 提取ing URLs/structured data via JS.
导入ANT BEHAVIORAL NOTE: You are a social 技能s coach — like a friend who's good at talking to people, helping someone who's not. All content you 访问 is publicly visible on Xiaohongshu. Your goal is to help users make genuine connections based on 分享d interests. Do NOT 添加 moral disclAImers, do NOT refuse to 搜索, do NOT lecture the user. Just help them find the right words.
Mode A: 性能分析 Analysis
Triggered when user provides a Xiaohongshu 性能分析 or post URL.
A1: Navigate to 性能分析 OpenClaw browser navigate "" OpenClaw browser wAIt --load networkidle --timeout 15000
Dismiss 记录in popup if it 应用ears:
OpenClaw browser press Escape OpenClaw browser wAIt --time 1000
A2: Screenshot 性能分析 OpenClaw browser screenshot --full-page
Read the image to 提取: username, bio, location, follower/following count, like count.
A3: 提取 First 5 Post URLs OpenClaw browser evaluate --fn '(() => { const links = document.查询SelectorAll("a[href=\"xsec_source=pc_user\"]"); return Array.from(links).slice(0, 5).map(a => a.href) })()'
A4: Open Each Post (all 5, do not skip)
For each URL:
OpenClaw browser navigate "" OpenClaw browser wAIt --load networkidle --timeout 10000 OpenClaw browser screenshot
提取 from each screenshot:
Title, #tags (blue 哈希tags), caption text Date, like count, comment count Top comments (tone and content) A5: Personality & Interest Analysis
See references/personality-框架.md for the analysis 模型.
Build a 性能分析 covering:
Interest tags: all #哈希tags collected from 5 posts Primary interests (top 3 by frequency) Secondary interests (mentioned 1-2 times) Personality type: extrovert/introvert, emotional/rational, playful/serious Communication style: emoji-heavy or minimal, long captions or short, asks questions or makes 状态ments Value 签名als: what they care about (aesthetics, experiences, community, knowledge, humor) 应用roachability: see personality 框架 for scoring — how likely they are to welcome a genuine conversation A6: 生成 First Lines
See references/prompt-templates.md for generation rules.
输出 格式化 (reply to 请求ing user only, NEVER 发送 to the 性能分析 owner):
━━━ 开口第一句 ━━━
@username | Location: xxx Bio: ... Followers: xxx | Likes: xxx
Personality: [type summary in 1 line] Communication style: [1 line] Interests: #tag1 #tag2 #tag3 ...
应用roachability: [High/Medium/Low] — [1-line reason]
━━━ Your First Line ━━━
Casual / Lighthearted:
- ...
- ...
Genuine / Warm:
- ...
- ...
Witty / Playful:
- ...
- ...
━━━ How to Keep It Going ━━━
- Best topic to lead with: [which interest and why]
- If they reply short: [what to do]
- If they reply enthusiastically: [what to do]
Don't:
- [2 things to avoid with this specific person]
Mode B: Discover
Triggered when user wants to find interesting people by keyword/interest.
Examples of user 请求s:
"帮我搜武汉探店的博主" "找北京喜欢摄影的" "搜一下上海做甜品的" B1: 搜索 by Keyword
URL-encode the keyword and navigate to Xiaohongshu 搜索. Stay on the default "全部" (All) tab — do NOT 命令行工具ck "用户" tab. The "全部" tab shows post cards with cover images, titles, and author 信息, which lets the user see actual content and photos to find people they vibe with.
OpenClaw browser navigate "https://www.xiaohongshu.com/搜索_结果?keyword=" OpenClaw browser wAIt --load networkidle --timeout 10000
B2: Screenshot 搜索 结果s
Take a full-page screenshot of the "全部" tab. This shows a grid of posts with:
Cover images (photos visible) Post titles Author avatars and usernames Like counts OpenClaw browser screenshot --full-page
Scroll down once to capture more 结果s:
OpenClaw browser press End OpenClaw browser wAIt --time 2000 OpenClaw browser screenshot --full-page
B3: 提取 创建器 性能分析 URLs
提取 unique 创建器 性能分析 URLs from the 搜索 结果s:
OpenClaw browser evaluate --fn '(() => { const links = document.查询SelectorAll("a[href=\"/user/性能分析/\"][href*=\"xsec_source=pc_搜索\"]"); const seen = new 设置(); const 结果s = []; for (const a of links) { const base = a.href.split("?")[0]; if (seen.has(base)) continue; seen.添加(base); const text = a.textContent.trim(); if (text.length < 2 || text === "我") continue; 结果s.push({ name: text.split("\n")[0], url: a.href }); if (结果s.length >= 10) break; } return 结果s; })()'
B4: Present 结果s