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/gominimal/minimal/agents-mdgit clone --depth 1 https://github.com/gominimal/minimalWhat 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.04068 | $0.04068 |
| Opus 5 | $0.02034 | $0.02034 |
| Sonnet 5 | $0.00814 | $0.00814 |
| Haiku 4.5 | $0.00407 | $0.00407 |
Grade C, and why
minimal AGENTS.md scanned grade C 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 3d 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
`rm -rf .scratch` wholesale). How it starts
The opening of the file, as written. The whole thing — 245 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
Orientation for coding agents and contributors working in this repository.
Tool-neutral and canonical: tool-specific instruction files (e.g.
CLAUDE.md) include or link this document rather than restating it.
Orientation
Minimal is a declarative, content-addressed package/build system plus a session plane for sandboxed development environments. The system is two cooperating planes: the build plane (declarative packages → dependency graph → sandboxed builds → content-addressed cache) and the session plane (long-lived isolated dev environments, natively on Linux or inside a libkrun microVM). Start with docs/architecture.md.
Four binaries come out of this workspace:
| Binary | Role | Reference |
|---|---|---|
min |
Session CLI (built from the minimal crate; its [[bin]] target is min) |
docs/reference/cli-min.md |
mip |
Package/build CLI | docs/reference/cli-mip.md |
minimald |
Session daemon: SSH server hosting sessions and task/sandbox executions | docs/reference/cli-minimald.md |
minvmd |
MicroVM host daemon: boots Linux guests via libkrun, bridges host UDS to in-VM vsock | docs/reference/cli-minvmd.md |
The CLI reference overview is docs/reference/cli.md.
Crate map
31 crates. One line each; the long-form map with plane assignments is in docs/architecture.md §3.
| Crate | Role |
|---|---|
args |
Types for the argument schema of tasks and sideload parameters. |
async-dialog |
Interactive terminal prompts over any async reader/writer (no TTY required). |
check |
mip check linting of minimal.toml, packages, profiles, and stacks. |
checkouts |
Git checkouts of upstream layer repositories at pinned versions. |
common |
Common types and utilities (e.g. SpecHash) used across the codebase. |
decode |
Evaluates a Nickel config layer into in-memory packages/profiles/stacks. |
diagnostics |
App-agnostic machinery for diagnostic support bundles. |
graph |
In-memory dependency graph; its planner module orders builds. |
lcache |
Local cache of built artifacts, keyed by SpecHash. |
mctx |
Top-level 'minimal context' API tying configuration, decoding, graph, and cache together. |
mfile |
Finding and reading the minimal.toml file. |
minimal |
The min session CLI, which pairs with and talks to minimald. |
minimal-client |
SSH client transport to minimald over the UDS bridge, shared by min and the TUI. |
minimal-tui |
min dash: the session-manager TUI (ratatui/crossterm, Elm-style loop). |
minimald |
The session daemon: an SSH server hosting sessions and task/sandbox executions. |
minimald-rpc |
Wire contract for minimald's oneshot SSH RPCs and the exec channel's request vocabulary. |
minvmd |
Host daemon that boots Linux microVMs via libkrun and bridges host UDS to in-VM vsock. |
mip |
The Minimal package/build CLI. |
mlog |
JSON file-log layer both minimald and minvmd write through; one definition of the on-disk log format. |
op |
Complex operations over the graph and packages (builds, cache object construction). |
orchestrator |
Runtime orchestration of builds behind a pluggable Backend. |
ot |
Operation tracking for progress rendering (render-agnostic core + drivers). |
paths |
Realm-tagged path types distinguishing host, sandbox, and daemon filesystems. |
rcache |
Remote cache: fetch/upload build artifacts over the network. |
remote-client |
Client for the Remote Execution Service, driving remote builds against the graph. |
remote-proto |
Protobuf / wire types for the Remote Execution Service (RES). |
sandbox2 |
Low-level sandbox implementation (Linux user + mount namespaces). |
sessions |
Session primitives: lifecycle hooks, loadouts, and the composition pipeline. |
stdlib |
The embedded Minimal standard library. |
switch |
gvproxy-switch primitives: subnet arithmetic, MAC derivation, vsock constants, config rendering. |
version |
Shared build-time version identity for min, mip, minimald, and minvmd. |
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.
- 3d ago First seen · 245 lines · 4,068 tokens per session scan C 88a781a242c2
minimal AGENTS.md is an instructions file published in the GitHub repository gominimal/minimal (71 stars, last pushed 3d ago), licensed Apache-2.0. It adds 4,068 tokens to every session, about $0.0203 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
timoni AGENTS.md
AGENTS.md instructions for stefanprodan/timoni, covering agents.md, what timoni is, common commands, architecture and cmd/timoni/ — cli (cobra).
dev-machine-guard AGENTS.md
Instructions for step-security/dev-machine-guard, covering dev machine guard — coding guidelines, 0. prime directives, 1. project shape & where code goes, 2. cross-platform code and 2.1 the os boundary is executor.executor.
flox AGENTS.md
AGENTS.md instructions for flox/flox, covering claude.md, project overview, development setup, already in dev shell (innixshell is set) — run directly and not in dev shell — wrap with nix develop -c.
lola AGENTS.md
Instructions for LobsterTrap/lola, covering lola — agent instructions, working in this repo, development commands, python and go.
aguara CLAUDE.md
Instructions for garagon/aguara, covering claude.md, project status, build & test commands, single package test and single test function.
nxv AGENTS.md
Instructions for utensils/nxv, covering agents.md, project overview, development environment, build commands and nix flake outputs.