Borrowing it
Nothing to install: this file belongs to bobbyjohnstx/tinycode. 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/bobbyjohnstx/tinycode/main/AGENTS.mdgit clone --depth 1 https://github.com/bobbyjohnstx/tinycodeWrote 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/bobbyjohnstx/tinycode/agents-md)<a href="https://agentmods.dev/instructions/bobbyjohnstx/tinycode/agents-md"><img src="https://agentmods.dev/badge/instructions/bobbyjohnstx/tinycode/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/bobbyjohnstx/tinycode/agents-md"><img src="https://agentmods.dev/badge/instructions/bobbyjohnstx/tinycode/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.01460 | $0.01460 |
| Opus 5.5 | $0.00584 | $0.00584 |
| Sonnet 5.5 | $0.00292 | $0.00292 |
| Haiku 4.5 | $0.00146 | $0.00146 |
Grade A, and why
tinycode 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 17d 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 — 70 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Shared project rules for coding agents. Keep this file in sync with CLAUDE.md. CLAUDE.md also has a Claude-only agent delegation section.
Commands
# Build
make build # builds dist/tinycode
# Run
./dist/tinycode # TUI mode
./dist/tinycode <directory> # TUI against a different directory
./dist/tinycode serve # headless API proxy
./dist/tinycode acp # Agent Client Protocol (IDE integration, stdio)
# Tests
go test ./... -count=1 # all tests (or: make test)
go test ./internal/tui/... -count=1 # single package
# Lint
make lint # go vet + staticcheck (make test-race for -race)
# Embed web app into binary (requires packages/app built first)
make embed-webapp
Commits and PR Titles
Use conventional commit-style messages and PR titles: type(scope): summary.
Valid types are feat, fix, docs, chore, refactor, and test. Scopes: tui, server, llm, session, provider, config, tool, plugin, acp, permission, mcp, vcs, bus, storage, agent, skill, command, project.
Style Guide
- Follow standard Go conventions (
gofmt,go vet) - Prefer early returns over
elseblocks - Keep functions focused and small; extract helpers when they name a real concept
- Use
slogfor structured logging (already used throughout) - Error handling: return errors up the stack with
fmt.Errorf("context: %w", err). Don't swallow errors silently. - Prefer value receivers for bubbletea
Update/Viewmethods (required by thetea.Modelinterface) - Use pointer receivers for methods that mutate state (e.g.
resize(),setFocus()) - Test files live next to source:
foo.go/foo_test.go
Testing
- Use table-driven tests where appropriate
- Test names:
TestFunctionName_ScenarioDescription - Run from repo root:
go test ./...or target a package:go test ./internal/tui/...
Pitfalls
Things that break silently if you guess wrong.
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.
- 17d ago Changed · +32 tokens per session 2e2f23a6a15d
- 25d ago Changed · -3 tokens per session b9ef737ff5e7
- 29d ago Changed · +40 lines · +1,020 tokens per session a571404ff9cc
- 1mo ago Changed · +7 lines · +104 tokens per session 55c6f96df613
- 1mo ago Changed · -110 lines · -686 tokens per session 9626a985cf56
- 2mo ago First seen · 133 lines · 993 tokens per session scan A cebd7192459e
tinycode AGENTS.md is an instructions file published in the GitHub repository bobbyjohnstx/tinycode (3 stars, last pushed 2d ago), licensed MIT. It adds 1,460 tokens to every session, about $0.0058 per session on Opus 5.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.
tinycode AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| tinycode AGENTS.mdbobbyjohnstx/tinycode | Instructions file | 3 | 2d ago | MIT | A | 1,460 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |