SkillsLib.ai

Xhs Cli

Search, read, and interact with Xiaohongshu from the terminal

4.4(53 reviews)
1,000+ downloads
Updated Oct 2026
Verified SafeSecurity VerifiedThis skill was analyzed by our AI security scanner for harmful content including data exfiltration, system manipulation, credential theft, and prompt injection. No threats were detected.

What You Can Do

This skill provides terminal-based access to Xiaohongshu's core features using a headless browser approach. You can search for notes, retrieve detailed post content with comments, view user profiles, and perform engagement actions—all without leaving your CLI. The headless browser method prioritizes resilience against detection compared to API-based alternatives.

Features

Search notes

Query Xiaohongshu by keyword and get rich table output or raw JSON results

Read posts with context

Retrieve full note details including comments and metadata using note IDs

Browse user profiles

Look up creator profiles by user ID and view their published notes

Engagement actions

Like, favorite, and comment on posts directly from the terminal

Flexible authentication

Support for saved cookies, Chrome auto-detection, and QR code login

JSON output option

Export search and read results in machine-readable JSON format for automation

Session management

Check login status and manage authentication tokens via xhs status command

Example Output

Search Result:

code
$ xhs search "咖啡"
┌─────────────────────────────────────────────────┐
│ Note ID        │ Title           │ Author      │
├─────────────────────────────────────────────────┤
│ 7a8b9c0d1e2f3g │ 咖啡品鉴指南    │ @CoffeeGeek │
│ 2f3g4h5i6j7k8l │ 手冲咖啡技巧    │ @BaristaArt │
└─────────────────────────────────────────────────┘

Note Details:

code
$ xhs read 7a8b9c0d1e2f3g --comments
Title: 咖啡品鉴指南
Author: @CoffeeGeek (ID: a1b2c3d4e5f6)
Description: A comprehensive guide to coffee tasting...
Likes: 2,341 | Comments: 156 | Shares: 89

Top Comments:
- "Great tips! Tried the pour-over method." — @User123
- "Where did you source these beans?" — @User456

What's Included

  • SKILL.md: Complete xhs-cli installation and command reference
  • Authentication guide: Cookie management, Chrome auto-detection, and QR code login instructions
  • Command cheat sheet: Search, read, user profile, and engagement command syntax with options
  • JSON output templates: Raw JSON response formats for search, posts, and profile data
  • Example workflows: Copy-paste terminal commands for common tasks (search → read → comment)

Who It's For

  • Social media researchers — Analyze trends and content from Xiaohongshu at scale via CLI automation
  • Content creators — Monitor engagement metrics and manage posts from terminal-based workflows
  • Data engineers — Extract and process XHS data for analytics pipelines and datasets
  • Developers — Build automation scripts and integrations using XHS as a data source
  • Marketing analysts — Research competitor content and audience sentiment programmatically

Best For

  • Batch searching and monitoring — Automate keyword research and track trending topics across notes
  • Content discovery workflows — Systematically explore user profiles and note collections
  • Engagement automation — Like, favorite, and comment on content at scale from scripts
  • Data extraction — Pull note metadata, comments, and user information for analysis
  • Terminal-first development — Integrate XHS interactions into CI/CD pipelines and headless systems

You might also like

Property Claims Adjuster Analyst
$35
Property3.3(3)
Property Claims Adjuster Analyst

This skill helps insurance adjusters process property claims faster by automating damage assessment, identifying fraud patterns, and analyzing coverage requirements. You get structured damage documentation, fraud risk scores, settlement calculations, and regulatory-compliant reports—enabling faster, more accurate claim decisions.

Liability Exposure Assessment and Reserve Valuation
$35
Liability3.5(4)
Liability Exposure Assessment and Reserve Valuation

Analyze liability claims data and business scenarios to generate comprehensive exposure assessments and reserve valuations. You'll receive detailed risk quantification, reserve calculations by coverage type, and compliance-ready documentation that helps finance teams and risk managers make data-driven decisions about liability exposure and capital allocation.

File Reading
$45
Backend4.4(50)
File Reading

When a user uploads a file to Claude, you can intelligently detect its type and read it using the appropriate method. Instead of blindly running cat on binary files or loading massive CSVs into context, this skill routes each file type to the right tool, reading only what's needed to answer the user's question. You'll extract text from PDFs, parse structured data from CSVs and JSON, process images, and decompress archives—all without wasting context or producing garbage output.

Medical Claims Analysis & Denial Rationale Generator
$25
Medical3.6(5)
Medical Claims Analysis & Denial Rationale Generator

Systematically evaluate medical claims against coverage policies, identify denial criteria, and generate compliant denial rationales with documented medical necessity assessments. You'll produce clear, legally defensible documentation that supports utilization review decisions and formal appeal processes, reducing manual review time while ensuring regulatory compliance.

Liability Claims Analyzer
$15
Liability3.0(4)
Liability Claims Analyzer

You can systematically evaluate liability claims by organizing evidence, synthesizing facts, and determining fault with clear reasoning chains that withstand scrutiny. The skill synthesizes incident details, witness statements, and supporting documentation into structured liability findings. You'll generate defensible determinations with explicit reasoning that supports both coverage decisions and defense strategies.

Auto Fraud Case Analyzer
$35
Auto Fraud Case Analyzer

Analyze insurance claims against 50+ documented fraud indicators, automatically organize evidence into searchable timelines, and generate comprehensive investigation narratives that connect claim details to suspicious patterns. You'll identify red flags faster, structure case evidence systematically, and produce investigation narratives that SIU teams can immediately act on—cutting analysis time from hours to minutes while maintaining rigorous documentation standards.

Workers' Comp Fraud Red Flag Analysis
$25
Workers' Comp Fraud Red Flag Analysis

Automatically analyze workers' compensation claims for fraud indicators and suspicious patterns. This skill evaluates medical narratives, claim timelines, claimant statements, and supporting documentation to assign risk scores and generate prioritized investigation recommendations. Get objective, data-driven assessments that help your team focus resources on the most suspicious cases.

Screenpipe Api
$25
Backend4.4(49)
Screenpipe Api

Query your local Screenpipe instance to retrieve screen recordings, audio transcriptions, UI element accessibility trees, keyboard/mouse input logs, and productivity analytics. You can search by keywords, filter by content type (audio, OCR, accessibility, input), set time ranges, and extract structured data about your applications, meetings, and work sessions without sending data to external servers.

$28.00$35.00