xiaohongshu-auto-ops-assistant: Instructions file for Codex

AGENTS.md

xiaohongshu-auto-ops-assistant AGENTS.md is an instructions file for Codex, OpenCode from Sen-platotech/xiaohongshu-auto-ops-assistant. It costs 600 tokens per session, scanned A, original, Apache-2.0.

Repository instructions for a Xiaohongshu content workflow that keeps a person responsible for final review and publishing. Xiaohongshu is a Chinese social-media platform for posts containing text, images, and videos.

In plain words
What is it for?
Guiding content generation, manual review, compliance scanning, approval records, and controlled publication or troubleshooting for the Xiaohongshu workflow.
Why use it?
They prevent accidental or unauthorized publishing by requiring a frozen review record, explicit wording for approval, and checks before any post is sent.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md.

This is Sen-platotech/xiaohongshu-auto-ops-assistant's own configuration. It tells Codex and OpenCode how to work on xiaohongshu-auto-ops-assistant itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything xiaohongshu-auto-ops-assistant configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Sen-platotech/xiaohongshu-auto-ops-assistant. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Sen-platotech/xiaohongshu-auto-ops-assistant/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/Sen-platotech/xiaohongshu-auto-ops-assistant

Made for: Codex, OpenCode.

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-auto-ops-assistant AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/sen-platotech/xiaohongshu-auto-ops-assistant/agents-md/github.svg)](https://agentmods.dev/instructions/sen-platotech/xiaohongshu-auto-ops-assistant/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/sen-platotech/xiaohongshu-auto-ops-assistant/agents-md"><img src="https://agentmods.dev/badge/instructions/sen-platotech/xiaohongshu-auto-ops-assistant/agents-md/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-auto-ops-assistant AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/sen-platotech/xiaohongshu-auto-ops-assistant/agents-md"><img src="https://agentmods.dev/badge/instructions/sen-platotech/xiaohongshu-auto-ops-assistant/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 600 This file is loaded in full into every session.
When invoked 600 The same file — it is already loaded in full.
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.00600 $0.00600
Opus 5.5 $0.00240 $0.00240
Sonnet 5.5 $0.00120 $0.00120
Haiku 4.5 $0.00060 $0.00060

Measured 2mo ago against content hash 008dc6bc3095, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

xiaohongshu-auto-ops-assistant AGENTS.md 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 2mo 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.

AGENTS.md · 14 lines

What it actually says

小红书发布安全规则

  1. 默认状态永远是 GENERATE_ONLY:可以生成文案、配图、审核单和发布包,但不得据此调用 publish_content、publish_with_video、评论、回复、点赞、收藏或删除 Cookie。
  2. 发布前必须生成不可变审核单,至少列出:审核单 ID、目标账号、完整标题/正文/标签、媒体绝对路径与顺序、每个媒体 SHA256、可见范围、原创声明、AI 内容声明建议、立即或定时发布、manifest SHA256。
  3. 只有用户在同一任务中逐字说出审核单 authorization.required_phrase(格式为“确认发布审核单 到账号 <账号>(公开/仅自己/仅互关)”)才构成一次性发布授权。“继续”“可以”“按你看着办”等含糊表达不构成授权。
  4. 文案、标签、媒体、顺序、账号、可见范围、声明或发布时间发生任何变化,原授权立即失效,必须重新生成审核单并再次确认。
  5. 发布调用无论成功、失败还是超时,授权都立即失效。失败或超时不得自动重试;先由用户在 App 或个人主页查重,并核对可见范围及声明状态。
  6. is_original 只代表原创声明,不代表“笔记含 AI 合成内容”。涉及完全或部分 AI 生成内容时,公开发布前必须保留真人声明步骤。
  7. 不做无人值守批量发布、自动评论、自动点赞、自动收藏或模拟真人互动。所有账号互动均需针对具体对象与具体内容单独授权。
  8. MCP 只允许连接 http://127.0.0.1:18060/mcp,不得暴露到局域网、公网或隧道;仅在使用窗口短时启动,用完立即停止。
  9. 合规扫描只用于发现风险和辅助语义改写。禁止用拆字、插入符号、拼音、首字母、同形字或外语替换来规避 OCR、审核或平台规则;无法合规表达时阻断发布并交由用户复核。
  10. 标题、正文或标签的发布前人工修改,必须通过 tools/xhs-review 保存修订并冻结为新审核单;禁止在 MCP 调用参数中临时改文案。
  11. 任何 publish_content 或 publish_with_video 调用前,必须对当次审核单运行 tools/xhs-review verify <manifest.json> 并成功;已被新版替代、已有发布尝试、文件/媒体哈希不一致或标签超过 10 个时必须阻断。
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. 2mo ago First seen · 14 lines · 600 tokens per session scan A 008dc6bc3095

Subscribe to this mod's changes

xiaohongshu-auto-ops-assistant AGENTS.md is an instructions file published in the GitHub repository Sen-platotech/xiaohongshu-auto-ops-assistant (0 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 600 tokens to every session, about $0.0024 per session on Opus 5.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-31.

Related

xiaohongshu-auto-ops-assistant AGENTS.md compared with instructions from other repositories

xiaohongshu-auto-ops-assistant AGENTS.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
xiaohongshu-auto-ops-assistant AGENTS.mdSen-platotech/xiaohongshu-auto-ops-assistantInstructions file02mo agoApache-2.0A600Codex, OpenCode
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode