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/CLAUDE.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/claude-md)<a href="https://agentmods.dev/instructions/bobbyjohnstx/tinycode/claude-md"><img src="https://agentmods.dev/badge/instructions/bobbyjohnstx/tinycode/claude-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/claude-md"><img src="https://agentmods.dev/badge/instructions/bobbyjohnstx/tinycode/claude-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.01540 | $0.01540 |
| Opus 5.5 | $0.00616 | $0.00616 |
| Sonnet 5.5 | $0.00308 | $0.00308 |
| Haiku 4.5 | $0.00154 | $0.00154 |
Grade A, and why
tinycode CLAUDE.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 — 80 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
Shared project rules for coding agents. Keep this file in sync with AGENTS.md, except the Agent Delegation section at the end.
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 61155a9dfb78
- 25d ago Changed · -3 tokens per session b64c36045b1e
- 29d ago Changed · +26 lines · +492 tokens per session 52e091bbd85c
- 1mo ago Changed · +3 lines · +143 tokens per session 23277318a23f
- 1mo ago Changed · +1 lines · +51 tokens per session f506baed8167
- 1mo ago Changed · -117 lines · -2,719 tokens per session scan C → A 6cc3eec917f8
- 2mo ago Changed · +1 lines · +223 tokens per session 47ed8db0f27f
- 2mo ago First seen · 166 lines · 3,321 tokens per session scan C fe813a1f90a5
tinycode CLAUDE.md is an instructions file published in the GitHub repository bobbyjohnstx/tinycode (3 stars, last pushed 2d ago), licensed MIT. It adds 1,540 tokens to every session, about $0.0062 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 CLAUDE.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| tinycode CLAUDE.mdbobbyjohnstx/tinycode | Instructions file | 3 | 2d ago | MIT | A | 1,540 | Claude Code |
| 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 |