post-comment-skill

Post comments to Xiaohongshu feeds via the xiaohongshu-mcp HTTP JSON-RPC interface.

21|8|Updated Feb 1, 2026
One-click install
npx skills add https://github.com/ibreez3/xiaohongshu-skill --skill post-comment-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: post-comment-skill
Source: https://github.com/ibreez3/xiaohongshu-skill/tree/main/skills/post-comment-skill
Command: npx skills add https://github.com/ibreez3/xiaohongshu-skill --skill post-comment-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Posting comments to Xiaohongshu feed URLs typically requires manual interaction with tokens and UI workflows, which is slow and hard to automate.

Core Features & Use Cases

  • Post a comment to a specific feed: Submit text content to the Xiaohongshu feed identified by feed_id.
  • Token-based authorization: Uses xsec_token to authenticate the comment request.
  • Use Case: When you have a list of feeds from prior searches or automation, you can automatically add consistent engagement comments to each feed.

Quick Start

Set XIAOHONGSHU_FEED_ID, XIAOHONGSHU_XSEC_TOKEN, and XIAOHONGSHU_COMMENT_CONTENT, then run the skill script to post your comment.

Frequently Asked Questions about post-comment-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate posting comments on Xiaohongshu feeds?

Automating Xiaohongshu comments involves submitting user-provided text to a specific feed via the xiaohongshu-mcp HTTP JSON-RPC interface. You need to set environment variables for feed_id, xsec_token, and content to execute the tools/call request.

What is the xiaohongshu-mcp JSON-RPC interface used for?

The xiaohongshu-mcp JSON-RPC interface enables automated Xiaohongshu interactions like posting comments to feeds. It processes tools/call requests with specific arguments to submit content without manual UI workflows.

Do I need an xsec_token to submit a comment to a Xiaohongshu feed?

Yes, an xsec_token is required for token-based authorization when posting a comment to a Xiaohongshu feed. It authenticates the automated request sent through the MCP HTTP JSON-RPC interface.

How do I configure environment variables for Xiaohongshu comment automation?

To configure Xiaohongshu comment automation, set XIAOHONGSHU_FEED_ID, XIAOHONGSHU_XSEC_TOKEN, and XIAOHONGSHU_COMMENT_CONTENT environment variables. The script uses these values to execute the post_comment_to_feed MCP tool invocation.

Can I use this automation for bulk content engagement on Xiaohongshu?

Yes, this automation applies to workflows where you have a list of feeds from prior searches. You can automatically add consistent engagement comments to each feed by providing the corresponding feed identifier and access token.