Spider_XHS
小红书爬虫数据采集,小红书全域运营解决方案
Spider_XHS is an agent skill that provides comprehensive data scraping and content publishing capabilities for Xiaohongshu (Little Red Book), China's popular lifestyle and e-commerce platform. It reverse-engineers the platform's PC and creator endpoints to expose authenticated APIs for collecting notes, user data, KOL analytics, and publishing content—all without browser automation. The skill is purpose-built as a data foundation layer for AI-powered content marketing agents that need to harvest competitor posts, analyze trends, and automatically publish AI-rewritten content at scale. It supports Skills-based integration with tools like Clawbot, Claude Code, and Codex through the companion XhsSkills repository.
Key Features
Use Cases
- 01Scrape competitor content from Xiaohongshu, pass to GPT/Claude for AI rewriting, and auto-publish to creator accounts
- 02Monitor trending keywords and hashtags, then use AI to analyze sentiment and content patterns
- 03Collect KOL (influencer) data and profiles, feed to AI for brand-match scoring and collaboration targeting
- 04Build automated multi-account content pipelines that harvest, optimize images with AI, and schedule posts
- 05Extract user engagement metrics (likes, comments, followers) for market research and audience analysis
- 06Integrate with AI agents like Clawbot or Claude Code to enable conversational Xiaohongshu data queries and publishing
Related Skills
View moresuperpowers
An agentic skills framework & software development methodology that works.
skills
Skills for Real Engineers. Straight from my .agents directory.
skills
Public repository for Agent Skills
ponytail
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Spider_XHS — FAQ
What is Spider_XHS?+
Spider_XHS is an agent skill that provides authenticated APIs for scraping data and publishing content on Xiaohongshu (Little Red Book), designed to serve as the data layer for AI-powered marketing and content automation agents.
How do I install Spider_XHS?+
Clone the repository, install Python 3.10+ and Node.js 20+ dependencies with pip install -r requirements.txt and npm install, then configure your login method (QR code, phone, or cookie) in spider/spider.py before running python -m spider.spider.
Which AI clients and agent frameworks work with Spider_XHS?+
Spider_XHS supports Skills-based integration with Clawbot, Claude Code, and Codex through the XhsSkills companion repository. You can also call its Python APIs directly from any AI agent or LLM workflow that executes Python code.
Do I need API keys or a Xiaohongshu account?+
Yes, you need valid Xiaohongshu account credentials (PC and/or creator account). No official API keys exist; the skill reverse-engineers web endpoints. Login is handled via QR scan, phone verification, or cookie import.
Is Spider_XHS free to use?+
Yes, the code is MIT-licensed and free. However, the project is explicitly marked for educational and research purposes only, with commercial use prohibited by the author.
Does it require a browser or Selenium?+
No. Spider_XHS generates all authentication signatures (a1, b1, X-s, X-t, websectiga, profileData) locally using Node.js computation, eliminating the need for browser automation or headless drivers.
How do I install Spider_XHS?+
Open the source repository on GitHub and follow its README. Spider_XHS is a skill — MCP Agents Market links you directly to the official repo.
Is Spider_XHS free?+
Spider_XHS is an open-source project hosted on GitHub. Check the repository for its license and any usage requirements.