codemap: Skill for Claude Code

.agents/skills/tracer-bullets/SKILL.md

tracer-bullets is a skill for Claude Code from stainless-code/codemap. It costs 53 tokens per session (710 once invoked), scanned A, original, MIT.

A method for planning features as small vertical slices that pass through every needed layer, such as the command line, parsing, database, tests, and documentation. A vertical slice delivers one working behavior across the system.

In plain words
What is it for?
Use it to plan new file-format support, database schema changes, command-line flags, and other features that span multiple parts of the codebase.
Why use it?
It reduces the risk of building disconnected layers that do not work together or agree about the feature.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: installed under .agents/ (shared by several agents).

This is stainless-code/codemap's own configuration. It tells Claude Code how to work on codemap itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything codemap configures →

Reuse

Borrowing it

Nothing to install: this file belongs to stainless-code/codemap. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/stainless-code/codemap/main/.agents/skills/tracer-bullets/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/stainless-code/codemap

Made for: Claude Code.

Wrote 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.

agentmods badge for tracer-bullets

README.md
[![agentmods](https://agentmods.dev/badge/skills/stainless-code/codemap/tracer-bullets/github.svg)](https://agentmods.dev/skills/stainless-code/codemap/tracer-bullets)
Your own site
<a href="https://agentmods.dev/skills/stainless-code/codemap/tracer-bullets"><img src="https://agentmods.dev/badge/skills/stainless-code/codemap/tracer-bullets/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.

agentmods 80×15 button for tracer-bullets

Your own site · 80×15
<a href="https://agentmods.dev/skills/stainless-code/codemap/tracer-bullets"><img src="https://agentmods.dev/badge/skills/stainless-code/codemap/tracer-bullets.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 710 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00053 $0.00710
Opus 5.5 $0.00021 $0.00284
Sonnet 5.5 $0.00011 $0.00142
Haiku 4.5 $0.00005 $0.00071

Measured 1mo ago against content hash 23d99d6ca49d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tracer-bullets 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 1mo 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.

.agents/skills/tracer-bullets/SKILL.md · 60 lines

How it starts

The opening of the file, as written. The whole thing — 60 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Tracer bullets — codemap feature layers and examples

Always-on rule: .agents/rules/tracer-bullets.md (the 5 rules + lite-harden). This skill carries the codemap layer map and worked examples.

Feature layers in this project

A typical vertical slice for codemap touches these layers top-to-bottom:

  1. CLI / orchestration — src/cli/ (bootstrap.ts, main.ts, lazy cmd-* chunks; entry src/index.ts)
  2. Workers / parsing — src/parse-worker.ts / parse-worker-node.ts, parse-worker-core.ts, src/parser.ts, src/css-parser.ts, src/adapters/
  3. Persistence — src/db.ts (schema, inserts, SCHEMA_VERSION)
  4. Config / runtime — src/config.ts, src/runtime.ts, resolver
  5. Tests — src/*.test.ts
  6. Docs — docs/*.md when behavior is user-visible

Example 1: Support a new source extension

Bad — building in layers:

  • Update every glob, parser, and docs in one giant change
  • Hope CI and the index agree

Good — tracer bullet:

  1. constants + adapter — LANG_MAP + builtin adapter extensions + extractFileData — commit, bun run check, small test parsing a one-line file
  2. Resolver — resolver extensions if needed — commit, validate
  3. Docs — docs/architecture.md table row — commit, validate

Example 2: Add a new SQLite column or table

Bad — schema + all call sites + benchmarks in one unreviewable diff.

Good — tracer bullet:

  1. Schema + insert path — db.ts + one write path exercised by a test or CLI run — commit, validate
  2. Readers / query UX — expose in query or docs — commit, validate
  3. Benchmark / fixtures — if numbers matter — separate commit

Example 3: New CLI flag

Bad — flag parsing, help text, config, and tests all speculative.

Good — tracer bullet:

  1. Parse flag + minimal behavior — e.g. --dry-run that only logs — commit, test
  2. Wire to real work — connect to indexer — commit, validate
  3. Document — README / docs/architecture.md — commit

Read the full file on GitHub · 60 lines

Changes

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.

  1. 1mo ago First seen · 60 lines · 53 tokens per session scan A 23d99d6ca49d

Subscribe to this mod's changes

tracer-bullets is a skill published in the GitHub repository stainless-code/codemap (8 stars, last pushed yesterday), licensed MIT. It adds 53 tokens to every session and 710 once invoked, about $0.0002 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-31.

Related

Other skills, from other repositories

roam

Codebase comprehension via roam-code CLI. Use when exploring codebases, planning modifications, debugging failures, assessing PR risk, or checking architecture health. Triggers on: understanding project structure, pre-change safety checks, finding symbols/files, blast radius analysis, affected tests, health scoring…

Cranot/roam-code · 86 tokens

mako-database

TRIGGER when: user asks about database schema, RLS policies, foreign keys, stored procedures, or table DDL directly. Covers dbping, dbcolumns, dbfk, dbrls, dbrpc, dbtableschema.

drhalto/agentmako · 53 tokens

mako-neighborhoods

TRIGGER when: user wants entity-wide context for a table, route, or RPC -- schema + RLS + readers + writers + downstream touches all at once. Covers tableneighborhood, routecontext, rpcneighborhood.

drhalto/agentmako · 48 tokens

timescaledb-hyperfunctions

Use this skill when writing analytical SQL over time-series data with the TimescaleDB Toolkit (timescaledbtoolkit extension) hyperfunctions: approximate percentiles, statistical summaries, time-weighted averages, counter/gauge rates, uptime/heartbeat tracking, state durations, OHLC candlesticks, approximate distinct…

timescale/pg-aiguide · 298 tokens

postgres

Use this skill for any PostgreSQL database work — table design, indexing, data types, constraints, extensions (pgvector, PostGIS, TimescaleDB), search, and migrations. Trigger when user asks to: Explore an existing PostgreSQL database to understand its objects and relationships Design or modify PostgreSQL tables…

timescale/pg-aiguide · 211 tokens

building-agents

Use when building or restructuring an LLM agent — provider adapter, tool calling, structured output, RAG, agent loop, eval gate, cost routing, tracing, MCP server — model-agnostic across OpenAI/Anthropic/Gemini/OSS so a model swap is a config change. NOT vector-store SQL alone (that is postgresdb) or service…

ericrisco/rsc-harness · 85 tokens