Borrowing it
Nothing to install: this file belongs to drakulavich/iago. 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/drakulavich/iago/main/CLAUDE.mdgit clone --depth 1 https://github.com/drakulavich/iagoWrote 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/drakulavich/iago/claude-md)<a href="https://agentmods.dev/instructions/drakulavich/iago/claude-md"><img src="https://agentmods.dev/badge/instructions/drakulavich/iago/claude-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/drakulavich/iago/claude-md"><img src="https://agentmods.dev/badge/instructions/drakulavich/iago/claude-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.01769 | $0.01769 |
| Opus 5.5 | $0.00708 | $0.00708 |
| Sonnet 5.5 | $0.00354 | $0.00354 |
| Haiku 4.5 | $0.00177 | $0.00177 |
Grade A, and why
iago CLAUDE.md scanned grade A with 1 finding 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
Full install options (`curl`, `--target`, `--version`, `doctor`) and end-user How it starts
The opening of the file, as written. The whole thing — 134 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
Single source of truth for every coding agent (Claude Code, Codex, Cursor, Aider, Copilot, Gemini, …) working on or with this repo. When this file and any other doc disagree, this file wins.
Project overview
Iago is a skill for AI coding agents that appends a Mermaid diagram
(sequence / flow / class / entity-relation) to a GitHub pull request's /review
comment. The host agent draws the diagram with the LLM it's already running;
Iago's helper posts it via gh. The diagram type is auto-detected from the diff
(overridable).
It is skill-first, distributed three ways:
- skill folders (
iago/,squawk/) copied into an agent's skills dir, - a Claude Code plugin (
.claude-plugin/), - a TypeScript installer CLI (
cli/, published as@drakulavich/iago).
Critical rules (read before changing anything)
- No GitHub Action. Iago used to ship a server-side Action with its own LLM-provider SDKs + a heuristic fallback. That was removed deliberately. Do not reintroduce an Action, an API-key/provider path, or a heuristic diagram generator — the diagram is always drawn by the host agent's LLM.
- Runtime is bun + gh, nothing else. The helper (
iago/scripts/post.ts) is TypeScript run bybun; GitHub writes go through authenticatedgh. The oldinstall.sh(shell) andsanitize_mermaid.py(Python) were removed — don't bring shell/python back into the skill runtime. - The skill folder stays dependency-free.
iago/scripts/*.tsmay import only Node built-ins (node:*) + each other. Never add apackage.jsonornode_modulesunderiago/— the folder is copied verbatim into agent dirs. - Mermaid: never use reserved keywords as participant/node ids.
loop,alt,opt,par,note,end,activate(case-insensitive) break GitHub's renderer. (Incident: aparticipant Loopmadesequence.mdfail to render.) Likewise never start an unquoted flowchart node label with@— Mermaid lexes[@as edge-ID/shape syntax (incident:N[@utils/utils -> …]killed a posted diagram;sanitize.tsnow auto-quotes these). Repo example diagrams are parse-validated bycd cli && bun test(cli/tests/mermaid-validation.test.ts); field rendering incidents go intocli/tests/fixtures/mermaid/{valid,invalid}/verbatim. post.tsgh PATCH uses-f(raw-field), not-F.gh api -F/--fieldtreats a leading@as a file-read; comment bodies starting with@mentionwould break.-f/--raw-fieldis the safe static-string flag. Keep it.- Never commit local dev state.
.omc/,.claude/,.codegraph/are gitignored. Do notgit add -A— stage files explicitly. (These dirs were once swept into a PR bygit add -A.) - Versions stay aligned.
cli/package.json,.claude-plugin/plugin.json, and.claude-plugin/marketplace.json(bothversionfields) move together. - No eval suite. Diagram quality is validated by dogfooding (run
/iagoon real PRs when the rubric changes), not a formal benchmark — a deterministic classifier no longer exists in skill-first, and an LLM-judge harness is overkill here. Don't rebuildevals/.
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.
- 2mo ago First seen · 134 lines · 1,769 tokens per session scan A c59eb94c3c26
iago CLAUDE.md is an instructions file published in the GitHub repository drakulavich/iago (3 stars, last pushed 1mo ago), licensed MIT. It adds 1,769 tokens to every session, about $0.0071 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other instructions, from other repositories
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).
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.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).
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.
vscode copilot-instructions.md
Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).
deno copilot-instructions.md
Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.