Borrowing it
Nothing to install: this file belongs to Postmodum37/simple-claude-code-statusline. 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/Postmodum37/simple-claude-code-statusline/main/CLAUDE.mdgit clone --depth 1 https://github.com/Postmodum37/simple-claude-code-statuslineWrote 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/postmodum37/simple-claude-code-statusline/claude-md)<a href="https://agentmods.dev/instructions/postmodum37/simple-claude-code-statusline/claude-md"><img src="https://agentmods.dev/badge/instructions/postmodum37/simple-claude-code-statusline/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/postmodum37/simple-claude-code-statusline/claude-md"><img src="https://agentmods.dev/badge/instructions/postmodum37/simple-claude-code-statusline/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.03843 | $0.03843 |
| Opus 5.5 | $0.01537 | $0.01537 |
| Sonnet 5.5 | $0.00769 | $0.00769 |
| Haiku 4.5 | $0.00384 | $0.00384 |
Grade B, and why
simple-claude-code-statusline CLAUDE.md scanned grade B 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 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.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
- `commands/setup.md` - Command that configures `~/.claude/settings.json` How it starts
The opening of the file, as written. The whole thing — 174 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.
Project Overview
This is a Claude Code plugin that provides a custom two-line statusline. It's implemented as cross-compiled Go binaries dispatched via a thin bash shim (bin/statusline.sh).
Architecture
This repo serves as both a marketplace and a plugin:
.claude-plugin/marketplace.json- Makes this repo a Claude Code marketplace.claude-plugin/plugin.json- Plugin manifestsrc/- Go source files (stdin parsing, model names, rendering, git, auto-compact, formatting)bin/statusline.sh- Bash shim that detects OS/arch and execs the correct binarybin/{os}-{arch}/statusline- Cross-compiled Go binaries (darwin/linux, amd64/arm64)Makefile- Build targets:build(cross-compile all),test,cleancommands/setup.md- Command that configures~/.claude/settings.jsonhooks/- SessionStart hook that reminds users to run setup if not configureddocs/claude-code-version-reviews.md- Log of Claude Code releases reviewed for statusline impact
When installed, the plugin runs from ${CLAUDE_PLUGIN_ROOT}/bin/statusline.sh (the plugin cache directory), which dispatches to the platform-appropriate binary.
How the Statusline Works
Claude Code pipes JSON to the binary via stdin. Fields we display (only these are declared in StdinData):
model.id(model.display_nameas fallback) - Current modelcwd/workspace.project_dir- Current/project directoriesworkspace.git_worktree- Linked git worktree name (since v2.1.97; absent in the main working tree)context_window.{used_percentage,total_input_tokens,context_window_size}- Context usage (percentage and tokens are null/0 until the first API response)cost.{total_cost_usd,total_duration_ms,total_lines_added,total_lines_removed}- Session cost, wall time, lines changedagent.name- Agent name (when using--agentflag)worktree.name- Worktree name (only present in--worktreesessions, since v2.1.69)rate_limits.{five_hour,seven_day}.{used_percentage,resets_at}- Rate limit windows (since v2.1.80; Pro/Max only; a window is dropped once itsresets_atpasses)effort.level- Reasoning effort:low|medium|high|xhigh|max(since v2.1.119; the binary also still emitsauto)thinking.enabled-trueunless the user turned thinking off (can't be turned off on Opus 5.5/Fable)pr.{number,review_state,kind}- Open PR for the current branch (since v2.1.145; absent until a PR is found;kind: "mr"for GitLab merge requests)fast_mode- Whether fast mode is on
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.
- 1mo ago Changed · -180 lines · -6,079 tokens per session ae79c58103d5
- 1mo ago Changed · +51 lines · +3,035 tokens per session 10f3f0c96ac9
- 1mo ago First seen · 303 lines · 6,887 tokens per session scan B 9da3415f6715
simple-claude-code-statusline CLAUDE.md is an instructions file published in the GitHub repository Postmodum37/simple-claude-code-statusline (5 stars, last pushed 6d ago), licensed MIT. It adds 3,843 tokens to every session, about $0.0154 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other instructions, from other repositories
vscode buildNext.instructions.md
Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).
next.js AGENTS.md
AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.
vscode oss-third-party-notices.instructions.md
Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).
langchain AGENTS.md
AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.
vscode copilot-instructions.md
Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).
deno copilot-instructions.md
Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.