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/1broseidon/oneagent/agents-mdgit clone --depth 1 https://github.com/1broseidon/oneagentWhat 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.00540 | $0.00540 |
| Opus 5 | $0.00270 | $0.00270 |
| Sonnet 5 | $0.00108 | $0.00108 |
| Haiku 4.5 | $0.00054 | $0.00054 |
Grade A, and why
oneagent 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 — 42 lines — stays where its author put it; the contents beside it link to each section on GitHub.
oneagent
Config-driven multi-agent CLI. One interface for Claude, Codex, OpenCode, Pi, and any future agent.
What this is
A Go library and CLI that wrap AI agent CLIs behind one normalized interface. Built-in backend defaults ship for Claude, Codex, OpenCode, and Pi, with optional overrides in ~/.config/oneagent/backends.json. New backends are added by config, not by code.
Repo: https://github.com/1broseidon/oneagent
Docs
README.md— landing page and CLI quick startdocs/library.md— detailed Go embedding guidedocs/config.md— backend config schema and examplesdocs/examples/consumer.md— concrete consumer example
Architecture
oneagent.go— core runtime. DefinesClient, builds backend commands, executes them, normalizes JSON and JSONL output, and emits streaming events.config.go— backend config compiler. Turns the compact JSON config schema into canonicalBackendstructs.thread.go— portable thread storage, native-session reuse, cross-backend replay, thread compaction, and the pluggable thread-store interface/default filesystem store.cmd/oa/main.go— thin CLI wrapper. Defaults to plain text output, with--jsonfor final machine output and--stream --jsonor--jsonlfor normalized JSONL events.- Template variables:
{prompt},{model},{cwd},{session}— substituted into command arrays. Empty variables drop themselves and their preceding flag. - Two output formats:
json(single blob) andjsonl(line-delimited events with configurable activity/delta/result/session/error selectors). - Match conditions support dot-paths and
&for AND:type=message_update&assistantMessageEvent.type=text_delta - The normalized stream is intentionally small:
session, optionalactivity, optionaldelta, thendoneorerror. - Activity templates can interpolate JSON fields with
{...}placeholders, including array indexes like{message.content.0.name}. - Package-level helpers remain backward-compatible wrappers over a default
Clientand filesystem-backed thread store.
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 · 42 lines · 540 tokens per session scan A e98f52b73621
oneagent AGENTS.md is an instructions file published in the GitHub repository 1broseidon/oneagent (5 stars, last pushed 5mo ago), licensed MIT. It adds 540 tokens to every session, about $0.0027 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-31.
Other instructions, from other repositories
adk-java GEMINI.md
Gemini CLI instructions for google/adk-java, covering gemini code assistant context, project overview, building and running, maven commands and development workflow.
adk-python AGENTS.md
Instructions for google/adk-python, covering project overview, key components, adk knowledge, architecture, and style, project architecture and development setup.
agent-framework copilot-instructions.md
Instructions for microsoft/agent-framework, covering github copilot instructions, repository structure and architectural decision records (adrs).
agent-framework python.instructions.md
Instructions for microsoft/agent-framework: See AGENTS.md for project structure and package documentation. Detailed conventions are in the agent skills under .github/skills/.
MultiGen CLAUDE.md
Instructions for lingyuanli/MultiGen, covering claude.md, architecture, development commands, full stack (docker) and api (local).
pi-fabric AGENTS.md
Instructions for monotykamary/pi-fabric, covering agents.md, golden rule: build when done, before committing and commits.