Borrowing it
Nothing to install: this file belongs to yschimke/compose-ai-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/yschimke/compose-ai-tools/main/AGENTS.mdgit clone --depth 1 https://github.com/yschimke/compose-ai-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/yschimke/compose-ai-tools/agents-md)<a href="https://agentmods.dev/instructions/yschimke/compose-ai-tools/agents-md"><img src="https://agentmods.dev/badge/instructions/yschimke/compose-ai-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/yschimke/compose-ai-tools/agents-md"><img src="https://agentmods.dev/badge/instructions/yschimke/compose-ai-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.03855 | $0.03855 |
| Opus 5.5 | $0.01542 | $0.01542 |
| Sonnet 5.5 | $0.00771 | $0.00771 |
| Haiku 4.5 | $0.00385 | $0.00385 |
Grade C, and why
compose-ai-tools 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 8d 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.
Hidden instructionshighPrompt injection
Directives inside HTML comments, invisible characters or bidirectional overrides are read by the model and not by the person reviewing the file.
<!-- build-brief:instructions:start --> How it starts
The opening of the file, as written. The whole thing — 253 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
The instruction file every coding agent working on this repository reads. It is deliberately short and deliberately duplicated nowhere: it carries the rules that are enforced by CI, plus a map to where everything else lives.
Keep it small. Codex CLI embeds at most project_doc_max_bytes of this file into
its first-turn instructions — 32 KiB by default, silently truncating the rest
— and every agent pays for it on every turn. Detail, rationale and worked
examples belong in docs/AGENT_GUIDE.md and the rest of
docs/, which agents read on demand. How each agent resolves
its way here, and what that costs, is measured in
docs/AGENT_ENTRYPOINTS.md.
What this project is
A Gradle plugin (ee.schimke.composeai.preview) plus supporting tools that
discover @Preview composables in compiled Kotlin classes and render them to PNG
outside Android Studio — Jetpack Compose (Android, via Robolectric) and Compose
Multiplatform Desktop (via ImageComposeScene). The renderers, the render daemons and
the data extractors themselves live in
yschimke/compose-preview-daemon
and are consumed here at the composeai-preview-daemon pin. Architecture, commands, state
seams and the load-bearing constraints: docs/AGENT_GUIDE.md.
The CI-enforced invariants
Break one of these and the pull request goes red. They are stated here, once, and cited — never restated — everywhere else.
Git history must never attribute work to an AI agent
Non-negotiable. Commits are attributed solely to the human committer. Two things are rejected:
- a
Co-authored-by:trailer, at trailer position, naming an agent (Claude / Codex / ChatGPT / Copilot / Gemini) or using an agent email; and - a commit whose author or committer identity is an agent — an
@anthropic.com/@openai.comemail, or an agent name set as the identity.
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.
- 8d ago Changed · +2 lines · +61 tokens per session 3bb6ae5f7609
- 11d ago Changed · +1 lines · +18 tokens per session a81268985733
- 12d ago Changed · +1 lines · +4 tokens per session e5005b5bc2d0
- 17d ago Changed · +14 lines · +199 tokens per session d91691f7c70a
- 1mo ago Changed · +1 lines · +34 tokens per session 9beabc09f9d9
- 1mo ago Changed · +16 lines · +199 tokens per session 1a6c732427a1
- 1mo ago Changed · +31 lines · +526 tokens per session scan A → C 6ae32b8e9672
- 1mo ago Changed · +5 lines · +103 tokens per session fae8ee74312a
- 1mo ago Changed · +11 lines · +223 tokens per session abb3010057e6
- 1mo ago First seen · 171 lines · 2,488 tokens per session scan A 907faf643113
compose-ai-tools AGENTS.md is an instructions file published in the GitHub repository yschimke/compose-ai-tools (121 stars, last pushed today), licensed Apache-2.0. It adds 3,855 tokens to every session, about $0.0154 per session on Opus 5.5. A static security scan graded it C with 1 finding (hidden instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
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.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode copilot-instructions.md
Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).
deno copilot-instructions.md
Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.