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 agentmods add instructions/adamw7/tools/agents-mdgit clone --depth 1 https://github.com/adamw7/toolsWhat 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 | $0.24651 | $0.24651 |
| Opus 5 | $0.12326 | $0.12326 |
| Sonnet 5 | $0.04930 | $0.04930 |
| Haiku 4.5 | $0.02465 | $0.02465 |
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 2d 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,487 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 builders are all-optional 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.
- 2d 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 4d ago), licensed MIT. It adds 24,651 tokens to every session, about $0.1233 per session on Opus 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
conductor AGENTS.md
AGENTS.md instructions for conductor-oss/conductor, covering agents.md, project overview, setup commands, java version references and code style.
conductor CLAUDE.md
Claude Code instructions for conductor-oss/conductor, covering claude.md — conductor (server repo), writing documentation, for each content type, start here, when you can't verify and key source locations.
spiceai copilot-instructions.md
Copilot instructions for spiceai/spiceai, covering spice.ai agent instructions, data correctness — absolute top priority, evidence — no claim without a reproduction, build, test, lint (expensive — read first) and git & prs.
hoop CLAUDE.md
Claude Code instructions for hoophq/hoop, covering claude.md, project overview, toolchain & prerequisites, architecture and module breakdown.
Cobalt CLAUDE.md
Instructions for Auties00/Cobalt, covering cobalt, build, maven modules, architecture and client hierarchy.
imgui-java CLAUDE.md
Instructions for SpaiR/imgui-java: This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.