stringer: Instructions file for Claude Code

CLAUDE.md

stringer CLAUDE.md is an instructions file for Claude Code from davetashner/stringer. It costs 1,047 tokens per session, scanned A, original, MIT.

A set of project instructions for Stringer, covering Git work, secret handling, the Beads task backlog, and written records of important decisions.

In plain words
What is it for?
It guides agents to use feature branches and pull requests, signed commits, secret checks, Beads issues, and decision records.
Why use it?
It keeps changes traceable and consistent, while reducing accidental direct pushes, leaked secrets, duplicate work, and forgotten tasks.

Instructions file for Claude Code

Written for Claude Code: the file is CLAUDE.md. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

This is davetashner/stringer's own configuration. It tells Claude Code how to work on stringer 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 stringer configures →

Reuse

Borrowing it

Nothing to install: this file belongs to davetashner/stringer. 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/davetashner/stringer/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/davetashner/stringer

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 stringer CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/davetashner/stringer/claude-md/github.svg)](https://agentmods.dev/instructions/davetashner/stringer/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/davetashner/stringer/claude-md"><img src="https://agentmods.dev/badge/instructions/davetashner/stringer/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.

agentmods 80×15 button for stringer CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/davetashner/stringer/claude-md"><img src="https://agentmods.dev/badge/instructions/davetashner/stringer/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,047 This file is loaded in full into every session.
When invoked 1,047 The same file — it is already loaded in full.
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.01047 $0.01047
Opus 5.5 $0.00419 $0.00419
Sonnet 5.5 $0.00209 $0.00209
Haiku 4.5 $0.00105 $0.00105

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

Security

Grade A, and why

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

CLAUDE.md · 74 lines

How it starts

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

CLAUDE.md — Stringer

Git Workflow

  • Always use PRs. Never push directly to main. Create a feature branch, commit, push, and open a PR with gh pr create.
  • Branch naming: <type>/<short-description> (e.g., feat/todo-collector, fix/config-loading)
  • Commit messages: conventional commits format (feat:, fix:, chore:, docs:, test:)
  • DCO sign-off required. Always use git commit -s (or --signoff) so every commit includes a Signed-off-by line. CI will reject commits without it.
  • Check for existing open PRs with gh pr list before creating new ones to avoid duplicates
  • Prefer adding commits to an existing open PR for related work

Secret Safety

  • Never commit secrets. The pre-commit hook runs gitleaks automatically.
  • If you get a gitleaks error, fix the issue — do not bypass with --no-verify.
  • New clones must run: git config core.hooksPath .githooks

Beads Backlog

  • Find work: bd ready --json
  • Before starting: claim an issue or create one with bd create
  • Reference issue ID in commits: feat: add scanner [stringer-bsf]
  • After PR merge: bd close <id> --reason "Completed in PR #N"

Decision Records

  • When a task involves choosing between approaches (libraries, patterns, formats, trade-offs), write a decision record before implementing.
  • Create docs/decisions/NNN-short-title.md using the template in AGENTS.md.
  • Set status to Proposed — do not implement until a developer accepts the decision.
  • Reference the beads issue ID in the record's Context field.

Build & Test

go build -o stringer ./cmd/stringer
go test -race ./...
golangci-lint run ./...

Current Focus

  1. v1.11.0 released (2026-09-19) — benchmark-driven accuracy and performance release. All benchmark follow-ups (epics stringer-nxx, stringer-jfh, plus ds4, wmg) are closed through PR #461; the run of record is in docs/research/benchmark-2026-09.md and the README table.
  2. CI hardening (in progress): nightly benchmark regression against pinned repos (stringer-umb), self-scan gate on new high-confidence findings (stringer-xb2), Windows/macOS test legs (stringer-ouz). Coverage artifact upload (stringer-td6) follows once the ci.yml change lands.
  3. Decisions awaiting the owner: DR-019 (dephealth refactor; partly addressed by the registry worker pool in #451), DR-020 (AST interface-drift check; the current awk block comparison already covers most of it, see stringer-td7), DR-022 (opportunity axis; stringer-w1d not started).
  4. Quick wins: P3/P4 unblocked tasks — run bd ready

Read the full file on GitHub · 74 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 Changed · -20 tokens per session 1e12ba503d0e
  2. 1mo ago Changed · +1 lines · +144 tokens per session cf5b66348c37
  3. 2mo ago First seen · 73 lines · 923 tokens per session scan A f99499f49393

Subscribe to this mod's changes

stringer CLAUDE.md is an instructions file published in the GitHub repository davetashner/stringer (58 stars, last pushed 24d ago), licensed MIT. It adds 1,047 tokens to every session, about $0.0042 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.

Related

stringer CLAUDE.md compared with instructions from other repositories

stringer CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
stringer CLAUDE.mddavetashner/stringerInstructions file5824d agoMITA1,047Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode