shisan-xinuo-workflow: Instructions file for Codex

AGENTS.md

shisan-xinuo-workflow AGENTS.md is an instructions file for Codex, OpenCode from zxc663/shisan-xinuo-workflow. It costs 1,016 tokens per session, scanned A, original, MIT.

A project instruction file for AI contributors to the shisan-xinuo-workflow repository. It explains the repository's workflow rules, memory files, skill-maintenance process, release checks, and safety boundaries.

In plain words
What is it for?
Use it when maintaining skills, reviewing project state, synchronizing copies, running release verification, or handling sensitive changes such as publishing and migrations.
Why use it?
It gives contributors a defined process for choosing the right work level, preserving project knowledge, and checking changes before release.

Instructions file for CodexOpenCode

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

This is zxc663/shisan-xinuo-workflow's own configuration. It tells Codex and OpenCode how to work on shisan-xinuo-workflow 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 shisan-xinuo-workflow configures →

Reuse

Borrowing it

Nothing to install: this file belongs to zxc663/shisan-xinuo-workflow. 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/zxc663/shisan-xinuo-workflow/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/zxc663/shisan-xinuo-workflow

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 shisan-xinuo-workflow AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/zxc663/shisan-xinuo-workflow/agents-md/github.svg)](https://agentmods.dev/instructions/zxc663/shisan-xinuo-workflow/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/zxc663/shisan-xinuo-workflow/agents-md"><img src="https://agentmods.dev/badge/instructions/zxc663/shisan-xinuo-workflow/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 shisan-xinuo-workflow AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/zxc663/shisan-xinuo-workflow/agents-md"><img src="https://agentmods.dev/badge/instructions/zxc663/shisan-xinuo-workflow/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,016 This file is loaded in full into every session.
When invoked 1,016 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.01016 $0.01016
Opus 5 $0.00508 $0.00508
Sonnet 5 $0.00203 $0.00203
Haiku 4.5 $0.00102 $0.00102

Measured 4d ago against content hash 8f93d9621c18, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

shisan-xinuo-workflow 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 4d 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 · 29 lines

What it actually says

项目级 Agent 规则 · shisan-xinuo-workflow(本仓库)

本仓库 = 十三希诺 Agent 工作流 Skill 的源库与标本合库。本文件是项目级注入(每会话自动进入),与平台全局硬注入(injection-core,负责通用纪律)互补:项目级管「本仓库特有信息 + 项目承载 + 维护纪律」。内容精简,细节按需读 docs/project-info.md(导航)。

工作流在场(本仓库会话)

  • 开工序列六步(与全局硬注入一致,SKILL §2.0):①复述理解(无条件先行)②扫描工作区+形态判定 ③定承载根 ④承载创建(memory/ 骨架已建,缺则自动补)⑤读 memory/(state → experience-mustread → experience → preferences)⑥判级速查+三问选道;命 L3(密钥/删除/迁移/发布/架构/超预算)先问。
  • 本仓库默认不 git push:本地 commit + 备份优先,推送须用户明确批准。
  • 改 Skill 产物后:全仓 grep 承载点口径(细则条数/类数/版本号/在场提示)→ 跑 scripts/verify-release.ps1(内容锚点/hooks/版本/泄漏 4 项门禁)→ 同步各副本(python scripts/syncer.py,WorkBuddy 侧加 --dest)。
  • 细则引用统一完整前缀 details #N / 细则 #N禁裸 #N——与 GitHub issue 编号同形异义,假阳性 9/10 实证)。
  • 判级/红线权威源顺序:references/injection-core.md(每会话在场)→ SKILL.md(可执行细节)→ 项目信息.md(决策史)→ docs/project-info.md(导航索引)。

维护纪律(本 Skill 正文 vs 史料——开发本 Skill 时的写作规范)

  • 本 Skill 交付物正文(skill/ 下 SKILL.md/references/templates)只写规则本身 + ≤1 句为什么;版本出处 / 拍板人 / 日期 / 路测轮次只入本仓库决策史(项目信息.md / CHANGELOG / task-log / EVIDENCE),不入 Skill 正文
  • details 条目尾部 *来源/晋升* 字段与节首来源注记 = 豁免(双击晋升准入证据,史料属性合法)。
  • 注入核心自包含:injection-core.md 内禁悬空跨文件指针(须自包含或写全文件名)。
  • 门禁:verify-release E 项(常驻/模板面)+ 全仓 grep 承载点口径,改动后必跑。
  • 新增机制条款不带版本号/拍板人署名(决策记录写项目信息.md §三)。

项目承载(已就绪)

  • memory/:会话记忆(state / experience-mustread / experience / preferences / task-log)——gitignore 本地承载,不随仓分发
  • docs/project-info.md:项目导航六节(架构/目标/模块表/调研导航/参考资源/签章)。
  • 项目信息.md:决策与发布史(权威,46KB)。
  • dist/versions/personal-zh/.trae/:本地/私有,不随仓分发或按 gitignore 处理。

本仓库底线(区别于通用纪律)

  • 密钥/令牌绝不写入本仓库任何文件(verify-release 泄漏红线 D 项会拦);机密文档仅存本机专用机密目录(位置不在此写出、不随仓,以 memory/state.md 最新记录为准)。
  • 发行动作(npm / GitHub Release / Gitee / ClawHub / About)必须先获用户批准 + verify-release 6/6 PASS + 观测阶段。
  • 下一轮路测基线 = 本版(v2.3.0);跑前确认注入副本已重部署且新会话读到「在场提示 · v2.3.0」。
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. 4d ago Changed · +7 lines · +266 tokens per session 8f93d9621c18
  2. 9d ago First seen · 22 lines · 750 tokens per session scan A 1c85e6d0e398

Subscribe to this mod's changes

shisan-xinuo-workflow AGENTS.md is an instructions file published in the GitHub repository zxc663/shisan-xinuo-workflow (21 stars, last pushed 6d ago), licensed MIT. It adds 1,016 tokens to every session, about $0.0051 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 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

spec-kit AGENTS.md

AGENTS.md instructions for github/spec-kit, covering agents.md, about spec kit and specify, quickstart — add a new integration in 5 steps, integration architecture and integrationmanifest — file tracking.

github/spec-kit · 7,104 tokens