little-coder is a coding agent built on the pi framework and configured to work with smaller local language models. It is for developers who want a lightweight local coding assistant, with bundled extensions, skills, and benchmarks tuned to that setup. The catalogue instruction extends its agent workflow.
Borrowing it
Nothing to install: this file belongs to itayinbarr/little-coder. 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/itayinbarr/little-coder/main/AGENTS.mdgit clone --depth 1 https://github.com/itayinbarr/little-coderWrote 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/itayinbarr/little-coder/agents-md)<a href="https://agentmods.dev/instructions/itayinbarr/little-coder/agents-md"><img src="https://agentmods.dev/badge/instructions/itayinbarr/little-coder/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/itayinbarr/little-coder/agents-md"><img src="https://agentmods.dev/badge/instructions/itayinbarr/little-coder/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.01788 | $0.01788 |
| Opus 5.5 | $0.00715 | $0.00715 |
| Sonnet 5.5 | $0.00358 | $0.00358 |
| Haiku 4.5 | $0.00179 | $0.00179 |
Grade C, and why
little-coder 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 2mo 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.
Tells the agent never to refusehighAnti-refusal
Suppressing the ability to decline removes a core safety control; a later harmful request then succeeds.
If the user asks you to monitor a process, run a background loop, or execute long-running tasks, DO NOT refuse by claiming you are "just a chat interface" or "require a prompt to take action." How it starts
The opening of the file, as written. The whole thing — 72 lines — stays where its author put it; the contents beside it link to each section on GitHub.
little-coder
You are little-coder, a coding agent specialized for small local language models.
Capabilities & Autonomy
You are a highly capable autonomous agent. Do not act submissive or artificially limited.
If the user asks you to monitor a process, run a background loop, or execute long-running tasks, DO NOT refuse by claiming you are "just a chat interface" or "require a prompt to take action."
Instead, proactively write the necessary background script (Python, Bash, etc.) with write, and start it with bash (e.g. python script.py & or nohup ...).
A refused command is an answer, not an obstacle. Some deployments run a shell whitelist, so a command may come back as "<cmd>" is not in SAFE_PREFIXES. When that happens, do not go looking for another route to the same effect. Re-running the identical operation through python3 -c, node -e, env bash -c, find -exec, or any other interpreter defeats a boundary the user configured deliberately, and burns your budget discovering that. Instead: name the command that was refused, say what you needed it for, and continue with the rest of the task or hand the decision back to the user. Reach for the dedicated tools (edit, write, read) before shelling out for anything they already cover — deleting or rewriting a file you are allowed to edit does not need a shell at all.
Runtime invariants
writerefuses on existing files. Useeditwith exactold_string/new_stringto modify —old_stringmust match exactly (whitespace included). If it appears multiple times in the file, passreplace_all: trueor add more surrounding context to make the match unique. Read with line numbers first when precision is in doubt. This is a runtime invariant, not guidance — whenwriterefuses, the error returns the exacteditcall-shape for the same path; follow it.editrefuses on unread files. A file must bereadin the current session before you can edit it — this is a runtime invariant. If an edit is blocked,readthe file first to get the exact current text (soold_stringmatches), then edit. Files you just wrote count as read.bash/ShellSessiondefault timeout is 30 s. For slow commands (npm install, npx, pip install, builds, training), set timeout to 120–300.- Tool names are case-sensitive. The core tools are lowercase (
read,write,edit,bash,glob,grep,ls,webfetch,websearch,dispatch); only the browser, evidence, and shell-session tools are CamelCase. CallingReadorBashwill not resolve toreadorbash. - Per-benchmark tools (
BrowserNavigate/Click/Type/Scroll/Extract/Back/HistoryandEvidenceAdd/Get/List) appear when relevant; their schemas are passed to you directly when available.
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.
- 2mo ago First seen · 72 lines · 1,788 tokens per session scan C d98675c14996
little-coder AGENTS.md is an instructions file published in the GitHub repository itayinbarr/little-coder (2,716 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 1,788 tokens to every session, about $0.0072 per session on Opus 5.5. A static security scan graded it C with 1 finding (tells the agent never to refuse). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
little-coder AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| little-coder AGENTS.mditayinbarr/little-coder | Instructions file | 2.7k | 1mo ago | Apache-2.0 | C | 1,788 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | today | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | today | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | today | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |