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/bobbyjohnstx/tinycode/claude-mdgit clone --depth 1 https://github.com/bobbyjohnstx/tinycodeWhat 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.03321 | $0.03321 |
| Opus 5 | $0.01661 | $0.01661 |
| Sonnet 5 | $0.00664 | $0.00664 |
| Haiku 4.5 | $0.00332 | $0.00332 |
Grade C, and why
tinycode CLAUDE.md scanned grade C with 2 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.
Downloads and executes remote codehighSupply chain
curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.
> **Note:** End users install tinycode via `curl -fsSL https://raw.githubusercontent.com/bobbyjohnstx/tinycode/main/install.sh | sh` or `npx tinycode-ai`. The `bun install` path below is for **development** only. Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
> **Note:** End users install tinycode via `curl -fsSL https://raw.githubusercontent.com/bobbyjohnstx/tinycode/main/install.sh | sh` or `npx tinycode-ai`. The `bun install` path below is for **development** only. How it starts
The opening of the file, as written. The whole thing — 166 lines — stays where its author put it; the contents beside it link to each section on GitHub.
CLAUDE.md
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
Commands
Note: End users install tinycode via
curl -fsSL https://raw.githubusercontent.com/bobbyjohnstx/tinycode/main/install.sh | shornpx tinycode-ai. Thebun installpath below is for development only.
# Install dependencies (from repo root, development only)
bun install
# Run in development (TUI mode)
bun dev
bun dev <directory> # run against a different directory
bun dev . # run against repo root
# Other dev modes
bun dev serve # headless API server (port 4096)
bun dev web # server + open web interface
bun dev acp # Agent Client Protocol mode (IDE integration, stdio transport)
bun run --cwd packages/app dev # web UI only (requires server running)
bun run --cwd packages/desktop dev # Electron desktop app
# Lint
bun run lint # oxlint across all packages
# Type check (run from a package directory, not root)
bun typecheck # from e.g. packages/tinycode
# Tests (run from a package directory, never from root)
bun test # from e.g. packages/tinycode
bun test --timeout 30000 path/to/file.test.ts # single test file
# Build standalone binary
./packages/tinycode/script/build.ts --single
# Regenerate SDK after API changes (server.ts changes → run this)
./script/generate.ts
# Export session to JSON or HTML
tinycode export --format json <session-id> # JSON format (default)
tinycode export --format html <session-id> # Self-contained HTML file
Tests cannot run from repo root (
do-not-run-tests-from-rootguard). Alwayscdinto a package first.
Testing
Mock LLM Provider
For deterministic testing of session logic, use MockLanguageModel from test/fake/mock-language-model.ts. It accepts a sequence of scenarios that define responses for successive LLM calls:
import { MockLanguageModel, type MockScenario } from "@/test/fake/mock-language-model"
const scenarios: MockScenario[] = [
{ type: "text", content: "First response" },
{ type: "text", content: "Second response" },
{
type: "tool-call",
calls: [{ id: "call-1", name: "tool-name", args: { key: "value" } }],
},
{ type: "error", error: new Error("Simulated failure") },
]
const model = new MockLanguageModel(scenarios)
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 · 166 lines · 3,321 tokens per session scan C fe813a1f90a5
tinycode CLAUDE.md is an instructions file published in the GitHub repository bobbyjohnstx/tinycode (11 stars, last pushed 4d ago), licensed MIT. It adds 3,321 tokens to every session, about $0.0166 per session on Opus 5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other instructions, from other repositories
oh-my-pi AGENTS.md
Instructions for can1357/oh-my-pi, covering development rules, default context, package structure, github and code quality.
kana AGENTS.md
Instructions for longyijdos/kana, covering agents.md, scope and workflow, implementation, tests and documentation.
gini-agent AGENTS.md
AGENTS.md instructions for Open-Curiosity/gini-agent, covering gini agent instructions, shape, adrs, boundaries and branches.
hatch3r CLAUDE.md
Instructions for hatch3r/hatch3r, covering hatch3r — development instructions, architecture, development commands, two-axis pillar framework (2.0.0) and orchestrator self-discipline (bypass protection).
agentconfig.org AGENTS.md
Instructions for agentconfig/agentconfig.org, covering agent instructions for agentconfig.org, project overview, target audience, site structure and tech stack.
rosetta command-versions-vs-presence.instructions.md
Instructions for tikoci/rosetta, a project described as: MCP Server with RouterOS docs + commands + products + changelogs, using SQLite-as-RAG, sourced from MikroTik.