← Back to Skills Marketplace
jovijovi

xiaohongshu-extract

by jovijovi · GitHub ↗ · v1.0.0
cross-platform ✓ Security Clean
1806
Downloads
1
Stars
6
Active Installs
1
Versions
Install in OpenClaw
/install xiaohongshu-extract
Description
Extract metadata from Xiaohongshu (XHS) share or discovery URLs by parsing window.__INITIAL_STATE__ and returning note details. Use when asked to fetch XHS page content, note metadata, video info, or engagement stats from a public XHS link.
Usage Guidance
This skill appears to do what it claims (fetch an XHS page and parse window.__INITIAL_STATE__). Before installing or invoking it: (1) Be careful what URLs you provide — the script will make HTTP requests to any given URL and could fetch internal/metadata endpoints (SSRF risk). Do not pass sensitive or private URLs. (2) The script returns streaming URLs it finds but does not itself download video files. (3) Ensure the runtime has Python and the requests package available and run the skill in an isolated environment if you are concerned about network exposure. If you need stricter safety, require or validate that input URLs belong to official Xiaohongshu domains before invocation.
Capability Analysis
Type: OpenClaw Skill Name: Developer: Version: Description: OpenClaw Agent Skill Suspicious High-Entropy/Eval files: 1 The OpenClaw skill 'xiaohongshu-extract' is designed to extract metadata from Xiaohongshu URLs. The `SKILL.md` provides clear, benign instructions for the agent to use the bundled Python script `scripts/xiaohongshu_extract.py`. The Python script uses the `requests` library to fetch the user-provided URL and parses the HTML to extract JSON data. It includes standard features like writing output to a file, which is not indicative of malicious intent. There is no evidence of data exfiltration, malicious execution, persistence, or prompt injection attempts against the agent to perform actions outside the stated purpose.
Capability Assessment
Purpose & Capability
The name/description state that the skill extracts XHS metadata. The bundled Python script issues an HTTP GET, locates window.__INITIAL_STATE__, parses JSON, and returns structured/flattened fields (note, user, interact, video). No unrelated credentials, binaries, or system paths are requested.
Instruction Scope
SKILL.md instructs running the script with a user-provided URL and writing/printing JSON. That matches the code. However, the skill will perform arbitrary outbound HTTP requests to whatever URL is supplied; SKILL.md does not restrict inputs to official XHS domains. This introduces SSRF-like risk: if invoked with internal or otherwise sensitive URLs (e.g., 169.254.169.254, internal IPs, management endpoints), the agent will fetch and may return data from those endpoints. The script does not download video content itself (it only returns stream URLs), but it follows redirects and returns final_url/status_code.
Install Mechanism
There is no install spec (instruction-only skill + included script). That is low-risk. The script requires a Python runtime and the 'requests' library, but no installer or external downloads are performed by the skill itself.
Credentials
The skill declares no environment variables, credentials, or config paths and the code does not read environment secrets. It sets a custom User-Agent header for requests (expected). No disproportionate credential access is requested.
Persistence & Privilege
The skill is not marked always:true and does not modify other skills or system configs. It runs on invocation and does not request persistent platform-level privileges.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install xiaohongshu-extract
  3. After installation, invoke the skill by name or use /xiaohongshu-extract
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
- Initial release of xiaohongshu-extract. - Extracts rich metadata from Xiaohongshu (XHS) share or discovery URLs, including note details, user info, engagement stats, tags, and video stream information. - Provides flexible JSON output options, including flattened records and error reporting. - Includes command-line script with multiple output modes for integration and downstream analysis.
Metadata
Slug xiaohongshu-extract
Version 1.0.0
License
All-time Installs 6
Active Installs 6
Total Versions 1
Frequently Asked Questions

What is xiaohongshu-extract?

Extract metadata from Xiaohongshu (XHS) share or discovery URLs by parsing window.__INITIAL_STATE__ and returning note details. Use when asked to fetch XHS page content, note metadata, video info, or engagement stats from a public XHS link. It is an AI Agent Skill for Claude Code / OpenClaw, with 1806 downloads so far.

How do I install xiaohongshu-extract?

Run "/install xiaohongshu-extract" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is xiaohongshu-extract free?

Yes, xiaohongshu-extract is completely free (open-source). You can download, install and use it at no cost.

Which platforms does xiaohongshu-extract support?

xiaohongshu-extract is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created xiaohongshu-extract?

It is built and maintained by jovijovi (@jovijovi); the current version is v1.0.0.

💬 Comments