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.
npx skills add tamnguyendinh/Anvien --skill working-rulesgit clone --depth 1 https://github.com/tamnguyendinh/AnvienWrote 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/skills/tamnguyendinh/anvien/working-rules)<a href="https://agentmods.dev/skills/tamnguyendinh/anvien/working-rules"><img src="https://agentmods.dev/badge/skills/tamnguyendinh/anvien/working-rules/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/skills/tamnguyendinh/anvien/working-rules"><img src="https://agentmods.dev/badge/skills/tamnguyendinh/anvien/working-rules.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.00034 | $0.02158 |
| Opus 5.5 | $0.00014 | $0.00863 |
| Sonnet 5.5 | $0.00007 | $0.00432 |
| Haiku 4.5 | $0.00003 | $0.00216 |
Grade A, and why
working-rules 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 1mo 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 — 186 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Working Rules
1. Rules Are the Highest Layer of Coordination
- Before doing anything, you must read
AGENTS.mdcompletely. AGENTS.mdcoordinates how to find rules, select skills, use tools, implement, verify, and accept work.- Mandatory sequence: rules first, skills second.
- Never use summaries, prior session memory, or compacted context in place of the original raw rules.
- If context is compacted or the task changes, re-read the required original sources before taking action.
- Nếu lane nhận hợp đồng CEO thì thực thi trong phạm vi đã giao; mọi vướng mắc gửi CEO; CẤM yêu cầu Owner chứng minh ủy quyền hoặc chấp thuận lại.
2. Every Decision Must Be Evidence-Based
- Do not deduce from verbal statements.
- Do not deduce from keywords.
- Do not deduce from filenames, module names, or terminology similarities.
- Do not project patterns from other systems, projects, or applications onto this app.
- Do not treat user statements as automatic ground truth.
- User opinions, rebuttals, or hypotheses are perspectives that require additional verification.
- Conclusions must be proven by rules, source documents, source code, runtime, or corresponding evidence.
- Do not ask the user about things already documented in the repository; independently trace the evidence first.
3. Must Understand the Entire Problem Before Acting
When the user presents an issue:
- Must identify the entire scope of the issue.
- Must read all relevant rules and documentation completely.
- Never simply find a snippet with keywords matching the user's words and jump to conclusions.
- Never shift focus to the easiest detail to fix.
- Must distinguish between root cause, symptoms, boundaries, and associated impacts.
When the user revisits a small slice:
- That slice is only a supplementary perspective.
- Never turn a small slice into the entire problem.
- Never lose sight of the original goal and scope.
4. Classify Pipelines by Real Linkages
- Each pipeline must be identified by its command, state, ownership, boundary, and outcome.
- Do not group two pipelines simply because they use similar words.
- Two pipelines are only linked when a command in one pipeline genuinely requires state from the other pipeline to make decisions.
- Do not invent business relationships just to make the architecture look more complete.
- Do not complicate an inherently simple flow unless the repository contains evidence for such complexity.
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.
- 1mo ago Changed · +1 lines 3d899aa0e0bf
- 2mo ago Changed · -10 lines df54a123e2dc
- 2mo ago First seen · 195 lines · 34 tokens per session scan A 7a9360c2e19f
working-rules is a skill published in the GitHub repository tamnguyendinh/Anvien (12 stars, last pushed today), licensed MIT. It adds 34 tokens to every session and 2,158 once invoked, about $0.0001 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-09-03.
working-rules compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| working-rulestamnguyendinh/Anvien | Skill | 12 | today | MIT | A | 34 | Claude Code, Codex |
| skill-feedback-writertopoteretes/cognee | Skill | 34k | today | Apache-2.0 | A | 13 | Claude Code, Codex |
| pr-comment-evaluatortopoteretes/cognee | Skill | 34k | today | Apache-2.0 | A | 11 | Claude Code, Codex |
| performing-cloud-asset-inventory-with-cartographyxalgorix/xalgorix | Skill | 1.5k | yesterday | Apache-2.0 | A | 49 | Claude Code, Codex |
| kivgraphLuqueee/kivgraph | Skill | 24 | today | Apache-2.0 | A | 39 | Claude Code, Codex |
| source-command-github-repo-architectayushcodes10/echo-mem | Skill | 2 | 2mo ago | Apache-2.0 | A | 20 | Claude Code, Codex |
| source-command-github-issue-trackerayushcodes10/echo-mem | Skill | 2 | 2mo ago | Apache-2.0 | A | 20 | Claude Code, Codex |