Token导航 LogoToken导航

Agent Skill · 研究检索

rednote-cli(rednote CLI 搜索)

rednote-cli 用于处理浏览器自动化、网页检查和页面信息提取,适合在 OpenClaw 中需要让 Agent 打开页面、读取网页或验证前端流程时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

rednote-cli 是研究检索类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为操作浏览器;许可证为 MIT-0,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 5,133。

总安装 27,656周安装 1,108GitHub Stars 4下载 8,953核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
0.1.14

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:rednote-cli(rednote CLI 搜索)
来源仓库:https://github.com/darknoah/rednote-cli
安装命令:
openclaw skills install rednote-cli
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install rednote-cli

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

通过终端 CLI 操作小红书平台,实现浏览器自动化与登录管理。适用于无头环境下的脚本化操作与批量任务执行。支持环境设置、页面跳转与基础交互验证。rednote-cli 属于研究检索类 Skill,可作为该场景下的辅助能力补充。需确保系统具备浏览器驱动支持与必要依赖库。

操作前请检查 macOS 或 Linux 环境兼容性。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install rednote-cli;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要操作浏览器,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

rednote-cli 怎么安装?

在终端执行 openclaw skills install rednote-cli。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

rednote-cli 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

rednote-cli 需要什么权限?

权限级别是操作浏览器。该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

rednote-cli 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

rednote-cli 用的人多吗?

公开数据是累计安装 27,656 次,近一周安装 1,108 次,下载 8,953 次,GitHub 4 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

rednote-cli 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
rednote-cli

rednote CLI 搜索 · 本页

27,6564操作浏览器MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
rednote
description
Use when the user wants to operate Xiaohongshu (RedNote) from the terminal with the @skills-store/rednote CLI, including browser setup, login, environment checks, feed browsing, note inspection, profile lookup, and publishing.

Rednote Commands

Use this skill only for the CLI command surface of @skills-store/rednote when the user wants to operate Xiaohongshu from the terminal.

Focus on:

  • the exact command to run
  • the minimum required flags
  • the correct command order
  • practical, copy-paste-ready examples

Preferred command style

Prefer global-install examples first:

npm install -g @skills-store/rednote
bun add -g @skills-store/rednote
rednote <command> [...args]

Only mention npx -y @skills-store/rednote ... if the user explicitly asks for one-off execution without global installation.

Only show local repo commands if the user is explicitly developing the CLI.

Use rednote --version when the user wants to confirm the installed @skills-store/rednote version before troubleshooting or upgrading.

For Xiaohongshu operation commands, default to omitting --instance. Assume the CLI uses the current or default connected instance unless the user explicitly asks to target a named instance.

If browser list shows no custom instance yet, tell the user to create one first with rednote browser create --name <NAME> .... A name is required; prefer a short, stable name such as seller-main.

Feature overview

CommandPurposeKey required flagsRecommended whenNotes
browserManage reusable browser instancescreate requires --nameThe user needs to create, inspect, or connect a browser profileSee references/browser.md for detailed subcommands
--versionShow installed CLI versionNoneThe user is checking install state or troubleshootingUseful before upgrade/debugging
envCheck local runtime and dependenciesNoneThe user is debugging setup or installationSupports JSON output with --save
statusCheck current instance and login stateNoneThe user wants a quick health check before running other commandsGood after browser connect
check-loginVerify whether the current session is still validNoneThe user only wants to know whether login is still activeLighter than full login flow
loginLog in to Xiaohongshu in the connected browserNoneThe browser is connected but not authenticatedOn success, show the returned QR code image to the user
homeRead the current recommendation feedNoneThe user wants candidate notes from the personalized feedGood starting point before detail lookup
searchSearch notes by keyword--keywordThe user wants notes for a topic or queryUse before choosing a note to inspect
get-feed-detailFetch structured note detailPrefer --id; --url only if the user only has a URLThe user wants title, content, stats, media, or comments for one notePrefer internal note ID for stability
get-profileFetch author/account profile data--idThe user wants author info or the author's notesSupports --mode profile and --mode notes
interactLike, collect, or comment on one notePrefer --id; keep --url as fallback, plus one of --like, --collect, --commentThe user wants to engage with a noteUse get-feed-detail first if they want to inspect before acting
publishPublish or save draftsDepends on content typeThe user wants to post image, video, or article contentUsually requires connected and logged-in browser

Core workflow

Use this sequence for most live Xiaohongshu operations:

  1. rednote env
  2. rednote browser list; if no custom instance exists, create one with rednote browser create --name seller-main --browser chrome --port 9222
  3. rednote browser connect
  4. rednote login or rednote check-login
  5. rednote status
  6. Run home, search, get-feed-detail, get-profile, publish, or interact

If the user needs exact browser subcommands, flags, or examples, open ./references/browser.md.

If the instance is blocked by a stale profile lock, check ./references/browser.md for the force reconnect command.

Common use cases

Find posts from the home feed

Read the current recommendation feed:

rednote home --format md
rednote home --format json --save ./output/home.jsonl

Use home when the user wants to browse candidate posts from the personalized feed before choosing one to inspect or comment on.

Find posts by keyword

Search by keyword:

rednote search --keyword 护肤
rednote search --keyword 护肤 --format json --save ./output/search.json

Use search when the user wants candidate notes for a topic instead of the home feed.

Get one note's detail

Prefer the internal note ID:

rednote get-feed-detail --id NOTE_ID
rednote get-feed-detail --id NOTE_ID --format json --save ./output/feed-detail.json
rednote get-feed-detail --id NOTE_ID --comments --format json --save ./output/feed-detail-with-comments.json
rednote get-feed-detail --id NOTE_ID --comments 100 --format json --save ./output/feed-detail-100-comments.json

Only use --url if the user only has a note URL and does not have the internal ID yet.

rednote get-feed-detail --url "https://www.xiaohongshu.com/explore/xxx?xsec_token=yyy"

Use get-feed-detail after home or search when the user wants the title, content, interaction data, and media before taking an action. Add --comments only when comment data is needed.

Interact with one note

Prefer the internal note ID:

rednote interact --id NOTE_ID --like --collect
rednote interact --id NOTE_ID --like --collect --comment "内容写得很清楚,步骤也很实用,感谢分享。"

Only use --url if the user only has a note URL and does not have the internal ID yet.

rednote interact --url "https://www.xiaohongshu.com/explore/xxx?xsec_token=yyy" --like --collect

Use interact when the user wants one command entrypoint for like, collect, or comment. Recommend --id first because it is the preferred and more stable input; keep --url as a fallback. Combine --like, --collect, and --comment TEXT to perform multiple operations in one command. Use --comment TEXT for replies; there is no standalone comment command.

Publish content

Publish content for an authenticated instance.

Video note:

rednote publish --type video --video ./note.mp4 --title 标题 --content 描述 --tag 穿搭 --tag 日常 --publish

Image note:

rednote publish --type image --image ./1.jpg --image ./2.jpg --title 标题 --content 描述 --tag 探店 --publish

Article:

rednote publish --type article --title 标题 --content $'# 一级标题\
\
正文' --publish

Use publish when the user wants to post or save drafts from an authenticated browser instance.

End-to-end examples

Home → detail → interact comment

Find a post, inspect it, then reply:

rednote home --format md
rednote get-feed-detail --id NOTE_ID
rednote interact --id NOTE_ID --comment "谢谢分享,信息整理得很完整,对我很有帮助。"

Home → detail → like or collect

Inspect a post, then like or collect it:

rednote home --format md
rednote get-feed-detail --id NOTE_ID
rednote interact --id NOTE_ID --like --collect

Search → detail → interact comment

Start from a keyword, then inspect the note and reply:

rednote search --keyword 低糖早餐 --format md
rednote get-feed-detail --id NOTE_ID --comments --format json --save ./output/feed-detail-with-comments.json
rednote get-feed-detail --id NOTE_ID --comments 100 --format json --save ./output/feed-detail-100-comments.json
rednote interact --id NOTE_ID --comment "这份搭配看起来很实用,食材和步骤都写得很清楚。"

Inspect profile after finding a post

Check the author before engaging:

rednote get-feed-detail --id NOTE_ID --format json --save ./output/feed-detail.json
rednote get-profile --id USER_ID --mode profile
rednote get-profile --id USER_ID --mode notes --format json --save ./output/profile-notes.json

Command reference

browser

Use browser list to inspect default browsers, custom instances, stale locks, and the current lastConnect target.

Use browser create to create a reusable named browser profile for later account-scoped commands. Creation requires --name; if the user has no custom instance yet, tell them to pick a name first and then create it, for example rednote browser create --name seller-main --browser chrome --port 9222.

For exact browser subcommands, flags, and examples, open references/browser.md.

version

rednote --version

Use --version when the user wants to check the installed @skills-store/rednote version.

env

rednote env
rednote env --format json --save ./output/env.json

Use env when the user is debugging installation or local setup.

status

rednote status

Use status to confirm whether the instance exists, is running, and appears logged in.

check-login

rednote check-login

Use check-login when the user only wants to verify whether the session is still valid.

login

rednote login

Use login after browser connect if the account is not authenticated yet. If login succeeds and returns rednote.qrCodePath, show the QR code image to the user instead of only repeating the path so they can scan it immediately.

home

rednote home --format md --save

Use home when the user wants the current home feed and optionally wants to save it.

search

rednote search --keyword 护肤
rednote search --keyword 护肤 --format json --save ./output/search.json

Use search when the user wants notes by keyword.

get-feed-detail

Prefer the internal note ID:

rednote get-feed-detail --id NOTE_ID
rednote get-feed-detail --id NOTE_ID --format json --save ./output/feed-detail.json
rednote get-feed-detail --id NOTE_ID --comments --format json --save ./output/feed-detail-with-comments.json
rednote get-feed-detail --id NOTE_ID --comments 100 --format json --save ./output/feed-detail-100-comments.json

Only fall back to URL input when the user does not have the internal note ID:

rednote get-feed-detail --url "https://www.xiaohongshu.com/explore/xxx?xsec_token=yyy"

Use get-feed-detail when the user wants structured detail data for one note. Recommend --id first because it is the preferred and more stable input; use --url only as a fallback.

  • Without --comments, the saved JSON contains only the note item array.
  • With --comments, each item may include a comments array with reduced comment fields only, using only the comments already loaded on the page. It does not scroll.
  • With --comments COUNT, the CLI scrolls .note-scroller until it has collected about COUNT comments, reaches the end, or times out.
  • In JSON mode, --save PATH is required, and the saved file contains only the note items array instead of the full wrapper object.

get-profile

rednote get-profile --id USER_ID
rednote get-profile --id USER_ID --mode profile
rednote get-profile --id USER_ID --mode notes
rednote get-profile --id USER_ID --mode notes --format json --save ./output/profile-notes.json

Use get-profile when the user wants author or account profile information.

  • --mode profile returns only the normalized profile.user data. This is the default mode.
  • --mode notes returns only the normalized profile.notes list.
  • When --format json is used, --save PATH is required, and the saved JSON contains only the selected mode data instead of the full wrapper object.

interact

Prefer the internal note ID:

rednote interact --id NOTE_ID --like --collect
rednote interact --id NOTE_ID --like --collect --comment "内容写得很清楚,感谢分享。"

Only fall back to URL input when the user does not have the internal note ID:

rednote interact --url "https://www.xiaohongshu.com/explore/xxx?xsec_token=yyy" --like --collect

Use interact when the user wants a unified command for like, collect, or comment. Recommend --id first because it is the preferred and more stable input; use --url only as a fallback. Use --comment TEXT for replies.

publish

rednote publish --type video --video ./note.mp4 --title 标题 --content 描述 --publish
rednote publish --type image --image ./1.jpg --title 标题 --content 描述 --publish
rednote publish --type article --title 标题 --content $'# 一级标题\
\
正文' --publish

Use publish when the user wants to publish or save a draft.

JSON save rules

When the user asks for --format json, remember these CLI rules:

  • env, home, search, get-feed-detail, and get-profile require --save PATH in JSON mode.
  • The command prints only the saved file path plus a field-format example; the full payload is written to disk.
  • get-profile --mode profile saves only the normalized user object.
  • get-profile --mode notes saves only the normalized notes array.
  • get-feed-detail saves only the normalized note items array; add --comments to include reduced comment data from the currently loaded comments, or --comments COUNT to scroll for more comments.

Flag guidance

  • --instance NAME picks the browser instance for account-scoped commands.
  • --format json is best for scripting.
  • --format md is best for direct reading.
  • --save PATH is required in JSON mode for env, home, search, get-feed-detail, and get-profile.
  • --keyword is required for search.
  • Prefer --id for get-feed-detail; use --url only when the internal note ID is unavailable.
  • Prefer --id for interact; use --url only when the internal note ID is unavailable.
  • interact uses --comment TEXT for comment content; there is no standalone comment command.
  • interact requires either --id or --url, plus at least one of --like, --collect, or --comment TEXT.
  • --id is required for get-profile.
  • --type, --title, --content, --video, --image, --tag, and --publish are the main publish flags.
  • publish usually requires a connected and logged-in instance before running; without --publish, it saves a draft.

Response style

When answering users:

  • lead with the exact command they should run
  • include only the flags needed for that task
  • prefer one happy-path example first
  • mention browser connect and login if the command requires an authenticated instance
  • if no custom instance exists yet, first tell the user to create one and call out that --name is required
  • recommend home or search first when the user still needs to find a post
  • recommend get-feed-detail before interact --comment when the user wants to inspect the post before replying
  • for get-feed-detail, recommend --id first and treat --url as a fallback only
  • for interact, recommend --id first and treat --url as a fallback only

Troubleshooting

If a command fails, check these in order:

  • the instance name is correct
  • the browser instance was created or connected; if no custom instance exists yet, create one first with rednote browser create --name NAME ...
  • login was completed for that instance
  • the profile was not blocked by a stale lock; if it was, run rednote browser connect --instance NAME --force
  • the user provided the required flag such as --keyword, --id or --url, --comment, or --content

平台分布

OpenClaw

83.13%
按下载量换算7,443

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills