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/btraceio/btrace/agents-mdgit clone --depth 1 https://github.com/btraceio/btraceWhat 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.00890 | $0.00890 |
| Opus 5 | $0.00445 | $0.00445 |
| Sonnet 5 | $0.00178 | $0.00178 |
| Haiku 4.5 | $0.00089 | $0.00089 |
Grade A, and why
btrace 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 yesterday.
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 — 66 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Repository Guide for Coding Agents
Start here
BTrace is a Java tracing tool: the client compiles and sends a script, the agent instruments the target JVM, and the runtime emits results. The root project is a multi-module Gradle build.
btrace-agent— attachable agent, script lifecycle, and bytecode instrumentation/weavingbtrace-compiler— script verification and compilationbtrace-runtime/btrace-core— script APIs, runtime support, and protocolbtrace-client— CLI and attachment clientbtrace-dist— distribution assembly;integration-tests— end-to-end testsbtrace-extensions/*— extension API and implementations
For the developer command reference and code-navigation pointers, see CLAUDE.md. For user and contributor documentation, start at docs/README.md.
Non-negotiable rules
- Do not commit unless the changes are fully tested or the user explicitly requests a commit.
- Preserve unrelated working-tree changes.
- In Java code, import types and use simple names; do not introduce fully qualified type names in source.
- Main code targets Java 8 and uses the Java 11 toolchain. Follow Spotless/Google Java Format.
- Unit tests live in
src/test/javaand use*Test; integration tests live inintegration-tests/src/test/java. - Changes to user-visible behavior that crosses modules or process boundaries must include end-to-end functional coverage in
integration-tests; unit and component tests are required where useful but are not a substitute for exercising the real client, agent, target JVM, and protocol interaction. - Confirm that a new test or build gate fails when it should, not only that it passes. Run it against the unfixed code, or against input it must reject, and check the failure is the expected one. A check that cannot fail reports success regardless of what the code does, and reads as coverage while providing none. Where a revert is used to produce the failure, revert only the code under test: reverting too much fails for an unrelated reason and proves nothing about the behavior being asserted.
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.
- yesterday First seen · 66 lines · 890 tokens per session scan A 1bb964182dd8
btrace AGENTS.md is an instructions file published in the GitHub repository btraceio/btrace (5,991 stars, last pushed 8d ago), licensed Apache-2.0. It adds 890 tokens to every session, about $0.0044 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
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.
SHAFT_ENGINE CLAUDE.md
Claude Code instructions for ShaftHQ/SHAFT_ENGINE, covering claude adapter and graphify.
toBeBetterJavaer AGENTS.md
AGENTS.md instructions for itwanger/toBeBetterJavaer, covering 工具权限设置, 工具使用规则, 获取网页内容 and 图片生成 / 文章配图.
Sighthound AGENTS.md
Instructions for Corgea/Sighthound, covering claude, commands, python / django test naming and agent skill.
deptrust AGENTS.md
Instructions for clidey/deptrust, covering what this is, commands, architecture, adding an ecosystem and distribution.