Borrowing it
Nothing to install: this file belongs to VictorTomaili/agent-cli. 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/VictorTomaili/agent-cli/main/AGENTS.mdgit clone --depth 1 https://github.com/VictorTomaili/agent-cliWrote 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/victortomaili/agent-cli/agents-md)<a href="https://agentmods.dev/instructions/victortomaili/agent-cli/agents-md"><img src="https://agentmods.dev/badge/instructions/victortomaili/agent-cli/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/victortomaili/agent-cli/agents-md"><img src="https://agentmods.dev/badge/instructions/victortomaili/agent-cli/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.00950 | $0.00950 |
| Opus 5.5 | $0.00380 | $0.00380 |
| Sonnet 5.5 | $0.00190 | $0.00190 |
| Haiku 4.5 | $0.00095 | $0.00095 |
Grade A, and why
agent-cli 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 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.
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 — 68 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
Instructions for any AI coding agent (Claude Code, Codex, Cursor, etc.) working in this repo. Humans: see README.md for the user-facing docs and ARCHITECTURE.md for the full layer-by-layer map.
What this is
agent-cli (npm: @victortomaili/agent-cli, bin: agent-cli) manages AGENTS.md-style
instruction files and syncs them across every AI coding tool a user has installed. Node.js
= 22, ESM (
"type": "module"), zero build step —src/cli.jsruns directly.
Install / update / init
These are the commands a user (or an agent driving npm/agent-cli on a user's behalf) runs
against the published package, not this checkout:
npm install -g @victortomaili/agent-cli # install
npm update -g @victortomaili/agent-cli # update to latest published version
agent-cli init # bootstrap ~/AGENTS.md + pointer stubs (idempotent)
Don't confuse that npm update with agent-cli update / agent-cli upgrade — the latter apply
shipped-default content (seed files, managed instruction blocks) to an already-installed
user's ~/.agents/ brain and are unrelated to the package version.
Working in this checkout
npm install # dependencies
npm link # global `agent-cli` command backed by this checkout (for manual testing)
npm run check # syntax-check every src/*.js file (= npm run lint = npm run build)
npm test # node --test test/*.test.js
Run npm run check && npm test before considering any change done — CI (.github/workflows/ci.yml)
runs the same two commands on the ubuntu/windows × Node 22/24 matrix, and .github/workflows/publish.yml
publishes to npm automatically on every main push whose package.json version isn't on the
registry yet, so a broken check/test blocks a real release, not just a PR.
Conventions to preserve
- Layering (
src/cli.js→src/commands/*.js→src/*.jslib;src/api/index.jsis a read-only SDK over lib;src/skills/**is self-contained). Enforced bytest/import-boundaries.test.js— read it before adding a new cross-module import. - DI pattern: every command module exports
registerXCommands(program, deps);src/cli.jsbuildsdepsonce. Keep command files thin — parse options, call lib functions, format output. - Cross-cutting invariants (see ARCHITECTURE.md's "do not weaken these"): atomic writes
(
util.js), locked config writes (cross-process CAS inconfig.js), path containment on any write/delete driven by untrusted input, pointer-only deletion inunlink, secrets never synced/snapshotted/searched. - npm publish surface: only what's listed in
package.json's"files"array (src,seed,README.md,LICENSE,docs/contract.md) ships in the tarball. Note the allowlist namesdocs/contract.mdas a single path, not thedocs/folder: everything else underdocs/is a local working analysis (gitignored, see.gitignore) and must never ship.ARCHITECTURE.mdand.spec/never do — don't assume a new root-level doc is visible to an installed user. .spec/— single local-only folder for the project's spec-driven-dev workflow AND internal planning notes (README.md,constitution.md,specs/,plans/,tasks/,templates/,ROADMAP.md,findings.md). Gitignored, never committed, never shipped in the tarball. The CLI'sspectcommand points here. Don't recreate these docs at the repo root.
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 · 68 lines · 950 tokens per session scan A bfe9987f6b98
agent-cli AGENTS.md is an instructions file published in the GitHub repository VictorTomaili/agent-cli (1 stars, last pushed 7d ago), licensed MIT. It adds 950 tokens to every session, about $0.0038 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-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.