Community编程与开发github.com

xcbbdg1-maker/post-to-xhs

小红书图文/视频发布、内容检索与创作者数据看板 Codex Skill

post-to-xhs 是什么?

post-to-xhs is a Codex agent skill that 小红书图文/视频发布、内容检索与创作者数据看板 Codex Skill.

兼容平台~Claude Code✓Codex CLI~Cursor
npx skills add xcbbdg1-maker/post-to-xhs

Installed? Explore more 编程与开发 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

在你喜欢的 AI 中提问

打开一个已预加载此 Agent Skill 的新对话。

文档

post-to-xhs 是做什么的?

Xiaohongshu (RED) image-text/video posting, content search, and creator data dashboard Codex Skill

Overview

This skill allows AI agents to interact with the Xiaohongshu (RED) platform. It provides capabilities for:

  • Posting: Create and publish image-text articles and videos to Xiaohongshu.
  • Content Search: Search for posts, tags, and user content on the platform.
  • Creator Dashboard: Retrieve analytics and performance data for your creator account.

Usage

Prerequisites

  • A valid Xiaohongshu developer account or API key.
  • Authentication credentials (configurable via environment variables).

Commands

  • post-image-text [file] [caption] — Post an image-text article.
  • post-video [file] [title] [description] — Upload a video with metadata.
  • search [query] — Search for content on Xiaohongshu.
  • dashboard — Retrieve creator account statistics and insights.

Configuration

Set the following environment variables:

  • XHS_API_KEY — Your Xiaohongshu API key.
  • XHS_SECRET — Your API secret.
  • XHS_ACCOUNT_ID — Your creator account ID.

Example

# Post an image-text article
post-image-text ./image.jpg "My latest travel adventure"

# Search for trending tags
search "digital marketing"

Notes

  • Ensure you comply with Xiaohongshu's terms of service when using this skill.
  • Rate limiting may apply; check the API documentation for limits.

相关技能