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 $0.00300 $0.00300
Sonnet 5 $0.00120 $0.00120
Haiku 4.5 $0.00060 $0.00060

Measured 9d ago against content hash 008dc6bc3095, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, 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 9d 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_contentpublish_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_contentpublish_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. 9d 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 27d ago), licensed Apache-2.0. It adds 600 tokens to every session, about $0.0030 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-31.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 3,735 tokens