← 返回 Skills 市场
jmin1113

小红书转Obsidian

作者 JMin1113 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
86
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install xhs-to-obsidian
功能描述
Extract Xiaohongshu (小红书) posts into Obsidian notes. Use when user shares a Xiaohongshu link and wants to save it as a markdown note. Supports single posts,...
安全使用建议
This skill appears to do what it says (scrape Xiaohongshu posts and optionally transcribe videos), but exercise caution before installing/using it: - Sensitive cookies: The tool requires you to export your Xiaohongshu cookies (session tokens) and save them to a local JSON file. Those cookies grant access to your account and should be treated like a password — do NOT share them. Consider creating a throwaway account if you are unsure. - Plaintext storage: Cookies are stored in plaintext in your home directory by default; remove or rotate them after use and restrict file permissions (chmod 600) if you keep them. - TLS verification disabled: extract_post.py creates an SSL context with certificate verification disabled (ssl.CERT_NONE). This reduces protection against network-level interception (MITM). If you only run this on trusted networks, risk is lower, but ideally the script should be modified to enable verification. - Inconsistent defaults: SKILL.md and extract_post.py disagree on the default cookie path; always pass explicit --cookies and --output arguments to avoid surprises. - Review code before running: The repository is small and readable — inspect the scripts yourself or run them in a sandboxed environment first. If you accept the risks, run with an account you can afford to expose and remove stored cookies after use. If you want, I can point out the exact lines to change to re-enable SSL verification and to harmonize the default cookie path.
功能分析
Type: OpenClaw Skill Name: xhs-to-obsidian Version: 1.0.0 The skill contains a security vulnerability in `scripts/extract_post.py` where SSL certificate verification is explicitly disabled (`ssl.CERT_NONE`), which facilitates potential Man-in-the-Middle (MITM) attacks during data extraction. Additionally, the skill requires users to manually export and provide sensitive session cookies as described in `SKILL.md`. While these behaviors are technically aligned with the stated goal of scraping authenticated content from Xiaohongshu, the intentional bypass of transport security and the handling of authentication tokens represent high-risk patterns.
能力评估
Purpose & Capability
The code (extract_post.py + video_transcribe.sh) implements scraping Xiaohongshu posts and saving Markdown to an Obsidian folder, which is coherent with the name/description. It legitimately uses cookies for authenticated scraping. However, the SKILL.md and the script disagree on the default cookie path (SKILL.md: ~/.openclaw/xhs-cookies.json; script default: ~/cookies.json), which is an inconsistency the user should be aware of.
Instruction Scope
Instructions explicitly ask the user to export their Xiaohongshu cookies (containing session/auth tokens) and save them to disk; the code reads those cookies and uses them to fetch pages. This is expected for authenticated scraping but is sensitive (storing auth cookies plaintext is risky). The code fetches HTML and video URLs and downloads video content locally; that behavior matches the stated purpose and does not show hidden network destinations. However, extract_post.py disables TLS verification (ssl.CERT_NONE), which weakens security and could allow MITM attacks — this is a notable implementation concern.
Install Mechanism
No install spec (instruction-only + included scripts). Optional dependencies (ffmpeg, mlx-whisper/whisper) are invoked only for transcription; installing via brew/pip is suggested. Nothing is downloaded from unknown third-party URLs in an install step.
Credentials
The skill requests no environment variables but requires a cookie file to be created by the user; that is proportional to the task. Still: cookies contain sensitive session data stored unencrypted on disk, and that risk is not called out in the SKILL.md. Also the mismatch in default cookie path between docs and script could lead to confusion or accidental exposure.
Persistence & Privilege
The skill is not always-enabled and does not request elevated or cross-skill privileges. It writes notes to the user-specified Obsidian folder and temporary files under /tmp, which is consistent with its purpose.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install xhs-to-obsidian
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /xhs-to-obsidian 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release
元数据
Slug xhs-to-obsidian
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

小红书转Obsidian 是什么?

Extract Xiaohongshu (小红书) posts into Obsidian notes. Use when user shares a Xiaohongshu link and wants to save it as a markdown note. Supports single posts,... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 86 次。

如何安装 小红书转Obsidian?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install xhs-to-obsidian」即可一键安装,无需额外配置。

小红书转Obsidian 是免费的吗?

是的,小红书转Obsidian 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

小红书转Obsidian 支持哪些平台?

小红书转Obsidian 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 小红书转Obsidian?

由 JMin1113(@jmin1113)开发并维护,当前版本 v1.0.0。

💬 留言讨论