# Post Comment Skill

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

- Skill: `tomevault-io/post-comment-skill` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/post-comment-skill`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/post-comment-skill/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Integrations & APIs
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/post-comment-skill

---


# 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

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

### Environment Variables

Pass parameters via environment variables:

```bash
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](https://tomevault.io/claim/ibreez3) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-11 -->

