Borrowing it
Nothing to install: this file belongs to adamw7/tools. 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/adamw7/tools/main/AGENTS.mdgit clone --depth 1 https://github.com/adamw7/toolsWrote 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/adamw7/tools/agents-md)<a href="https://agentmods.dev/instructions/adamw7/tools/agents-md"><img src="https://agentmods.dev/badge/instructions/adamw7/tools/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/adamw7/tools/agents-md"><img src="https://agentmods.dev/badge/instructions/adamw7/tools/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.26582 | $0.26582 |
| Opus 5.5 | $0.10633 | $0.10633 |
| Sonnet 5.5 | $0.05316 | $0.05316 |
| Haiku 4.5 | $0.02658 | $0.02658 |
Grade A, and why
tools 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 23d 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 — 1,594 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
Guidance for AI coding agents working in this repository. Human contributors may
find it useful too. This file follows the agents.md
convention and is the single source of truth for agent instructions; CLAUDE.md
defers to it.
Detail that only matters while working on one area lives in the project skills
under .claude/skills/ (see Agent configuration). Prefer loading the
relevant skill over re-deriving a convention; this file states the rule, the
skill carries the reasoning and the worked example.
Project overview
tools is a multi-module Maven library of Java tooling:
- Code generation (
code/protogen-maven-plugin) — a Maven plugin that generates protobuf builders which detect a missing required field at compile time instead of runtime (shift-left). proto2requiredfields are enforced by the builder chain; proto3 has no required fields, so its chain holds only therepeatedandmapfields (steps in every syntax), with presence-awarehasXxx()accessors for message fields and explicitoptionalfields only; aoneofgroup gets agetXxxCase()discriminator and aclearXxx()that resets the whole group. Skill:protogen. - Context engineering (
code/context) — a fast, regex-based finder that builds the tree of classes a given class uses, plus aProjectTreeBuilderthat scans a whole Java project into a tree of folders, files and dependencies, to assemble context for gen-AI agents. The same tree can be emitted as a bundle in Google's Open Knowledge Format (OKF) v0.2 — a directory of markdown concept documents with YAML frontmatter, in theio.github.adamw7.context.okfpackage. An MCP server (io.github.adamw7.context.mcp) exposes the project-tree, context-finder, token-estimation and OKF-bundle tools. Skill:context-finder. - Data (
data) — data sources (CSV, GZip, JDBC, Parquet, JSON, YAML, TOON), each in an in-memory and an iterative variant. Parquet is read through an in-process DuckDB engine, so it exposes columns and rows like any other JDBC-backed source. Sources that know their columns up front implementColumnarDataSource, a narrower contract thanIterableDataSource, so a caller that needs the schema — such as the uniqueness check — cannot be handed a forward-only source (JSON/YAML/TOON) that would only answernull. A read that breaks part-way through fails instead of reading as a short file: theScanner-backed sources checkScanner.ioException()before reporting the end of the data, so a truncated transfer or a corrupt GZip member cannot pass for a clean end and leave the uniqueness check calling a column unique on half a file. Also a uniqueness checker (does a subset of columns form a key, and is there a smaller one), open-addressing collections (OpenAddressingMap,OpenAddressingSet, the primitiveIntKeyOpenAddressingMap), and an MCP server exposing the uniqueness checker. Skill:data-sources. - Claude Code adoption (
adopt) — an ordered pipeline that adopts Claude Code into a GitHub repository. Skill:adopt-pipeline. Summarised below.
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.
- 23d ago Changed · +31 lines · +555 tokens per session 242b211d9ebb
- 25d ago Changed · +4 lines · +64 tokens per session 53e0db5e7198
- 26d ago Changed · -15 lines · -236 tokens per session 3a26d0eac038
- 1mo ago Changed · +19 lines · +303 tokens per session db57c9bcff5b
- 1mo ago Changed · +15 lines · +272 tokens per session a4699700be94
- 1mo ago Changed · +9 lines · +152 tokens per session 89c6cdb894ac
- 1mo ago Changed · +3 tokens per session b70de3f29793
- 1mo ago Changed · +44 lines · +818 tokens per session 56d922370c75
- 1mo ago First seen · 1,487 lines · 24,651 tokens per session scan A baba836b85cd
tools AGENTS.md is an instructions file published in the GitHub repository adamw7/tools (11 stars, last pushed today), licensed MIT. It adds 26,582 tokens to every session, about $0.1063 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.
Other instructions, from other repositories
vibetags com-example-service-OrderService.instructions.md
Instructions for PIsberg/vibetags, covering copilot instructions for orderservice, rules for method calculatetax, rules for method processpayment, rules for method validateorder and context & focus.
vibetags com-example-security-SecurityConfig.instructions.md
Instructions for PIsberg/vibetags, covering copilot instructions for securityconfig, locked status, rules for method getencryptionalgorithm, rules for method getkeyrotationhours and rules for method getmaxloginattempts.
vibetags com-example-service-TransactionalPaymentService.instructions.md
Instructions for PIsberg/vibetags, covering copilot instructions for transactionalpaymentservice and strict exception handling.
vibetags com-example-config-AsyncTestConfig.instructions.md
Instructions for PIsberg/vibetags, covering copilot instructions for asynctestconfig and immutable type.
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.