Borrowing it
Nothing to install: this file belongs to code-yeongyu/senpi. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/code-yeongyu/senpi/main/AGENTS.mdgit clone --depth 1 https://github.com/code-yeongyu/senpiWrote 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.
[](https://agentmods.dev/instructions/code-yeongyu/senpi/agents-md)<a href="https://agentmods.dev/instructions/code-yeongyu/senpi/agents-md"><img src="https://agentmods.dev/badge/instructions/code-yeongyu/senpi/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.
<a href="https://agentmods.dev/instructions/code-yeongyu/senpi/agents-md"><img src="https://agentmods.dev/badge/instructions/code-yeongyu/senpi/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.05222 | $0.05222 |
| Opus 5.5 | $0.02089 | $0.02089 |
| Sonnet 5.5 | $0.01044 | $0.01044 |
| Haiku 4.5 | $0.00522 | $0.00522 |
Grade A, and why
senpi 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 3d 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.
How it starts
The opening of the file, as written. The whole thing — 180 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Senpi Repository Guide
Generated: 2026-08-24
Commit: baf15a54d
Branch: initdeep-refresh-20260824
Senpi is an extension-first coding-agent monorepo. Keep changes scoped, preserve upstream mergeability, and read the nearest AGENTS.md plus every applicable changes.md before editing.
MANDATORY EXECUTION PROTOCOLS — NON-NEGOTIABLE
PROTOCOL 1 — EXPLICITLY REQUESTED MODIFICATIONS
WHEN A PATCH MUST BE MADE TO THIS REPOSITORY AND THE USER HAS EXPLICITLY INSTRUCTED THE MODIFICATION, THE FOLLOWING SEQUENCE IS ABSOLUTE AND BINDING. EXECUTE EVERY STEP, IN THIS EXACT ORDER. SKIPPING, REORDERING, OR ABBREVIATING ANY STEP IS A DEFECT:
- EXPLORE — READ EVERY FILE, SYMBOL, AND TEST THE CHANGE TOUCHES BEFORE WRITING A SINGLE LINE.
- MAKE A PLAN — A DECISION-COMPLETE PLAN EXISTS BEFORE ANY CODE.
- ADD TODOS IN ULTRA-DETAIL — MIRROR EVERY ATOMIC PLAN STEP INTO THE TODO LIST.
- MAKE A NEW WORKTREE — NEVER IMPLEMENT IN THE SHARED WORKTREE.
- MAKE A PR AND WORK UNTIL IT GETS MERGED — AN UNMERGED PR IS UNFINISHED WORK.
- SET A GOAL AND RUN THE ULW LOOP — EVERY SUCCESS CRITERION PASSES WITH CAPTURED EVIDENCE.
- MANAGE TODOS OBSESSIVELY — UPDATE ON EVERY STATE TRANSITION. A STALE TODO LIST IS A DEFECT.
DELIVERY STOP INVARIANT: UNDER PROTOCOL 1, “PR OPENED” IS NEVER A VALID STOP CONDITION, GOAL SUCCESS CRITERION, OR FINAL TODO. DELIVERY ENDS ONLY WHEN GITHUB REPORTS MERGED AND THE TASK WORKTREE IS REMOVED. WHILE GATES ARE PENDING, KEEP MERGE/CLEANUP TODOS OPEN, MONITOR TO COMPLETION, THEN MERGE-COMMIT AND CLEAN UP BEFORE THE FINAL RESPONSE.
PROTOCOL 2 — USER-REQUESTED PR REVIEWS
WHEN THE USER REQUESTS A PR REVIEW, YOU MUST:
- MAKE A NEW WORKTREE — CREATE A DEDICATED GIT WORKTREE AND PULL THE PR BRANCH INTO IT. NEVER CHECK THE PR OUT IN THE SHARED WORKTREE.
- REVIEW INSIDE THAT WORKTREE — RUN THE FULL REVIEW (READ, BUILD, TEST, QA) THERE.
- CLEAN UP WHEN THE REVIEW IS DONE — THE MOMENT THE REVIEW IS FINISHED, REMOVE THE WORKTREE (
git worktree removeTHENgit worktree prune). A LEFTOVER REVIEW WORKTREE IS A DEFECT.
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.
- 3d ago Changed · +8 tokens per session 3492f4e91388
- 13d ago Changed · +1 lines · +181 tokens per session 6a98b5b72acd
- 15d ago Changed · +9 tokens per session 571e1b297c74
- 24d ago Changed · -69 tokens per session f8147bb8f623
- 1mo ago Changed · +11 lines · +412 tokens per session 073f45e72108
- 1mo ago Changed · -42 tokens per session 1cb70385f9b1
- 1mo ago Changed · +88 tokens per session b486d0bd4467
- 1mo ago Changed · +2 lines · +80 tokens per session 3a4e96c8a833
- 1mo ago Changed · +1 lines · +198 tokens per session 75c652de8e6d
- 2mo ago First seen · 165 lines · 4,357 tokens per session scan A bdecd4dfab69
senpi AGENTS.md is an instructions file published in the GitHub repository code-yeongyu/senpi (511 stars, last pushed yesterday), licensed MIT. It adds 5,222 tokens to every session, about $0.0209 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-30.
senpi AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| senpi AGENTS.mdcode-yeongyu/senpi | Instructions file | 511 | yesterday | MIT | A | 5,222 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |