AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Xhs Batch

skill-chenxiachan-xhs-claude-skills-xhs-batch · by chenxiachan

批量提取小红书帖子,整理为本地 Markdown 知识库

— No reviews yet
0 installs
37 views
0.0% view→install

Install

$ agentstack add skill-chenxiachan-xhs-claude-skills-xhs-batch

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • ✓ Prompt-injection patterns
  • ✓ Secret / credential exfiltration
  • ✓ Dangerous shell & filesystem operations
  • ✓ Untrusted network calls
  • ✓ Known-malicious package signatures

What it can access

  • ✓ Network access No
  • ✓ Filesystem access No
  • ✓ Shell / process execution No
  • ✓ Environment & secrets No
  • ✓ Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-chenxiachan-xhs-claude-skills-xhs-batch)

Reliability & compatibility

✓ Security review passed
0 installs to date
— no reviews yet
● 3mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Xhs Batch? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

用户希望批量提取多个小红书帖子。请按以下步骤处理:

常量定义

  • Cookies 文件: ~/cookies.json
  • Obsidian 保存目录: ~/Documents/Obsidian Vault/xhs
  • Whisper 模型: mlx-community/whisper-large-v3-turbo

输入

用户提供的链接列表: $ARGUMENTS

流程

步骤 1:解析链接

从输入中提取所有小红书链接(支持多行、空格分隔、逗号分隔)。 每个链接提取帖子 ID 和 xsec_token。

步骤 2:检查 Cookies

检查 ~/cookies.json 是否存在。如不存在,按 /xhs 的步骤 0 引导用户导出。

步骤 3:逐个提取

对每个链接,执行 /xhs 的完整提取流程(步骤 2-4):

  • 请求页面 → 解析 __INITIALSTATE_
  • 视频帖子做语音转录
  • 按 Peter Thiel 风格整理
  • 保存为 {YYYY-MM-DD} {短标题}.md

每个帖子之间间隔 3 秒,避免触发反爬。

步骤 4:汇总报告

全部完成后,输出简短汇总:

  • 成功/失败数量
  • 每个帖子的文件名和一句话摘要

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.