# Publish Image Text Skill

> Publish image/text content to Xiaohongshu (Little Red Book) via HTTP API Use when this capability is needed.

- Skill: `tomevault-io/publish-image-text-skill` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/publish-image-text-skill`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/publish-image-text-skill/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- 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/publish-image-text-skill

---


# Publish Image/Text to Xiaohongshu Skill

Publish image/text content to Xiaohongshu using the xiaohongshu-mcp HTTP API.

## Parameters

This skill receives the following parameters:

- **title**: Content title (max 20 characters)
- **content**: Body text
- **images**: Array of image paths or URLs
- **tags**: Optional array of topic tags
- **schedule_at**: Optional scheduled publish time

## Execution

### Run the publish script

Execute the Node.js script to publish content:

```bash
node skills/publish-image-text-skill/scripts/publish.mjs
```

The script will:
1. Read parameters from the environment or stdin
2. Make HTTP POST request to xiaohongshu-mcp server
3. Return the result

### Environment Variables

Pass parameters via environment variables:

```bash
export XIAOHONGSHU_TITLE="标题"
export XIAOHONGSHU_CONTENT="正文内容"
export XIAOHONGSHU_IMAGES='["path1.jpg","path2.jpg"]'
export XIAOHONGSHU_TAGS='["标签1","标签2"]'
node skills/publish-image-text-skill/scripts/publish.mjs
```

### Return the result

After execution, return the result to the caller:
- **Success**: display the published content URL
- **Failure**: show the error details

---
> 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 -->

