Post Comment Skill

Post a comment to a Xiaohongshu feed via HTTP API Use when this capability is needed.

tomevault-io e26c633 2 files · 1.7 KB Updated

File contents

Post Comment Skill

Post a comment to a Xiaohongshu feed using the xiaohongshu-mcp HTTP API.

Parameters

This skill receives the following parameters:

  • feed_id: The feed ID to comment on (required)
  • xsec_token: Access token for the feed (required)
  • content: Comment content (required)

Execution

Run the script

node skills/post-comment-skill/scripts/post-comment.mjs

Environment Variables

Pass parameters via environment variables:

export XIAOHONGSHU_FEED_ID="feed_id_here"
export XIAOHONGSHU_XSEC_TOKEN="token_here"
export XIAOHONGSHU_COMMENT_CONTENT="评论内容"
node skills/post-comment-skill/scripts/post-comment.mjs

Return the result

After execution, return the result to the caller.


Converted and distributed by TomeVault — claim your Tome and manage your conversions.

tomevault-io/skills-registry/tree/main/ibreez3--xiaohongshu-skill--post-comment-skill commit e26c633b17

Frequently asked questions

npx skillmds@latest add tomevault-io/post-comment-skill