xiaohongshu-posting

xiaohongshu-posting is a skill for Claude Code, Codex from Illuminated2020/DeepAgents-AutoGLM. It costs 79 tokens per session (2,749 once invoked), scanned A, original, Apache-2.0.

A Chinese-language workflow for publishing posts on Xiaohongshu, a social media app. It guides phone-based posting for either a short text card or a longer article converted into images.

In plain words
What is it for?
Use it to publish short text notes or longer image-based articles, including choosing a card style, adding a title, entering the full text, and completing publication.
Why use it?
It helps keep each post type within Xiaohongshu’s required format and guides the navigation through the app’s publishing screens. It also prevents the short preview text from being used accidentally as the full post.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to publish short text notes or longer image-based articles, including choosing a card style, adding a title, entering the full text, and completing publication.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/illuminated2020/deepagents-autoglm/xiaohongshu-posting
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Illuminated2020/DeepAgents-AutoGLM --skill xiaohongshu-posting
Clone the repo
git clone --depth 1 https://github.com/Illuminated2020/DeepAgents-AutoGLM

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for xiaohongshu-posting

README.md
[![agentmods](https://agentmods.dev/badge/skills/illuminated2020/deepagents-autoglm/xiaohongshu-posting/github.svg)](https://agentmods.dev/skills/illuminated2020/deepagents-autoglm/xiaohongshu-posting)
Your own site
<a href="https://agentmods.dev/skills/illuminated2020/deepagents-autoglm/xiaohongshu-posting"><img src="https://agentmods.dev/badge/skills/illuminated2020/deepagents-autoglm/xiaohongshu-posting/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for xiaohongshu-posting

Your own site · 80×15
<a href="https://agentmods.dev/skills/illuminated2020/deepagents-autoglm/xiaohongshu-posting"><img src="https://agentmods.dev/badge/skills/illuminated2020/deepagents-autoglm/xiaohongshu-posting.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,749 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00079 $0.02749
Opus 5 $0.00039 $0.01375
Sonnet 5 $0.00016 $0.00550
Haiku 4.5 $0.00008 $0.00275

Measured 11d ago against content hash 1a64e788044f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

xiaohongshu-posting scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

examples/skills/xiaohongshu-posting/SKILL.md · 225 lines

How it starts

The opening of the file, as written. The whole thing — 225 lines — stays where its author put it; the contents beside it link to each section on GitHub.

小红书自动发帖

概述

此技能通过AutoGLM的手机控制能力实现小红书APP的自动发帖功能。提供两种发帖类型的结构化工作流程:普通笔记(写想法)和长文笔记(写长文)。从内容创作到最终发布,全程指导AutoGLM完成发帖流程。

工作流程决策树

在开始任何发帖流程之前,首先与用户确认帖子类型:

  1. 普通笔记(写想法) - 以卡片样式展示的内容

    • "写想法"预览内容必须简洁(十字以内)
    • "写想法"内容会在首页大图展示给其他用户
    • 最终发布时需要输入完整的正文内容
    • 适合快速分享想法、更新或内容
    • 使用卡片模板进行视觉呈现
  2. 长文笔记(写长文) - 转换为图片的详细内容

    • 内容必须充实(至少100字)
    • 文字转换为图片以提供更好的阅读体验
    • 包含自动排版和布局选项
    • 需要添加与图片内容不同的正文摘要

决策流程:

  • 询问用户:"您想发布哪种类型的笔记?普通笔记(简短内容)还是长文(详细内容)?"
  • 根据回答,执行下面相应的工作流程

工作流程一:发布普通笔记

当用户想要发布短内容作为普通笔记时使用此流程。

步骤1:打开小红书并进入发布界面

  1. 确保手机上小红书APP已打开
  2. 点击屏幕底部中央的红色加号按钮
  3. 从选项中选择"写文字"

步骤2:输入"写想法"预览内容

  1. 定位并点击"写想法"输入框
  2. 输入简洁的预览内容
    • 关键约束:内容必须简洁,十字以内
    • 重要说明:这个内容会在首页大图展示给其他用户
    • 应该提炼核心观点或吸引眼球的短句
    • 这不是最终的正文内容,只是预览
    • 完整的正文内容将在后续步骤中输入

步骤3:选择卡片风格

  1. 输入预览内容后,点击"下一步"
  2. 浏览可用的卡片样式模板
  3. 选择卡片风格
    • 可以询问用户:想要哪一种卡片风格
    • 考虑:配色方案、字体样式、布局设计
    • 建议选择可读性好、与内容调性匹配的卡片
  4. 选择完成后再次点击"下一步"

步骤4:添加标题、输入正文并发布

  1. 点击"添加标题"

  2. 输入一个总结内容的吸引人标题

    • 保持简洁且引人注目
    • 使用相关关键词以提高可发现性
  3. 重新输入完整的正文内容

    • 关键说明:正文内容默认显示的是"写想法"栏的内容(只有十字)
    • 必须操作:使用真正需要发布的完整内容覆盖当前的正文内容
    • 定位正文输入框(通常在标题下方)
    • 删除或覆盖默认的短内容
    • 输入完整的、用户想要发布的正文内容
    • 正文可以比"写想法"预览内容更详细、更长
  4. 完成标题和正文后,点击"发布笔记"

  5. 等待确认帖子已成功发布

工作流程二:发布长文笔记

当用户想要发布详细、充实的内容作为长文时使用此流程。

步骤1:打开小红书并进入发布界面

  1. 确保手机上小红书APP已打开
  2. 点击屏幕底部中央的红色加号按钮
  3. 从选项中选择"写文字"

步骤2:进入长文编辑器

  1. 定位并点击"写长文"按钮
  2. 这将打开长文编辑界面

步骤3:输入标题和内容

重要提示:标题和正文是两个独立的输入框,不要将正文内容接着标题输入!

  1. 在标题栏输入文章标题

    • 标题应具有描述性和吸引力
    • 反映文章的主要话题
    • 输入完标题后,不要继续输入正文内容
  2. 在标题下方找到正文输入框并输入主要内容

    • 关键识别:正文输入框显示"粘贴到这里或输入文字,内容将自动保存"
    • 操作方式:点击该占位符文字偏下方的位置(而非直接点击文字),确保光标在正文区域
    • 点击位置说明:点击占位符文字下方约50-100像素的位置,避免误触到标题输入框
    • 关键约束:内容必须至少100字
    • 此内容将被转换为图片以提供更好的阅读体验
    • 内容应该详细且全面
    • 使用适当的格式(段落、换行)提高可读性

步骤4:应用自动排版

  1. 点击右上角的"一键排版"
  2. 等待系统处理并生成格式化的布局选项
  3. 浏览可用的排版模板
  4. 选择一个能增强内容可读性的美观布局
  5. 选择布局后点击"下一步"

步骤5:添加正文摘要并发布

  1. 定位"添加正文"输入框
  2. 输入摘要或补充文字
    • 关键约束:此文字不能与图片内容重复
    • 图片内容更详细;此摘要提供背景或重点
    • 用户通常更倾向于阅读图片中的内容
    • 使用此空间:预告内容或提供额外背景
    • 话题标签:仅在用户明确要求时添加(如用户指定了需要添加的标签)

Read the full file on GitHub · 225 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 225 lines · 79 tokens per session scan A 1a64e788044f

Subscribe to this mod's changes

xiaohongshu-posting is a skill published in the GitHub repository Illuminated2020/DeepAgents-AutoGLM (120 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 79 tokens to every session and 2,749 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

debug-optimize-lcp

Guides debugging and optimizing Largest Contentful Paint (LCP) using Chrome DevTools MCP tools. Use this skill whenever the user asks about LCP performance, slow page loads, Core Web Vitals optimization, or wants to understand why their page's main content takes too long to appear. Also use when the user mentions…

ChromeDevTools/chrome-devtools-mcp · 99 tokens

opencli-sitemap-author

Use when creating or maintaining OpenCLI site sitemaps: agent-facing navigation, page-state, action, workflow, API-reference, pitfall, and fallback knowledge for a website. Use after browser exploration discovers durable site context, when a sitemap is stale, or when promoting local site knowledge into the repo.

jackwener/OpenCLI · 67 tokens

interactive-login

How to complete browser/interactive logins (aws / gh / glab / gcloud). The platform backgrounds the login poller so it survives the human's browser round-trip — and when that does NOT work.

yc-software/qm · 46 tokens

pinchtab-mcp

Use this skill when a task requires browser automation through PinchTab's MCP server connected to a remote browser instance. Covers navigation, element interaction, data extraction, form filling, multi-step flows, and session management via MCP tools.

pinchtab/pinchtab · 52 tokens

azure-messaging-webpubsub-java

Build real-time web applications with Azure Web PubSub SDK for Java. Use when implementing WebSocket-based messaging, live updates, chat applications, or server-to-client push notifications.

microsoft/skills · 43 tokens

google-safe-browsing

Prevent and fix Google Safe Browsing "Dangerous site" flags. Use when launching a public web app, buying/picking a domain, building a login or signup page, or when any site shows a red "Dangerous site" / "Deceptive site" warning in Chrome, Brave, Safari, Firefox, or Edge. Triggers on "dangerous site", "deceptive…

davidondrej/skills · 105 tokens