claude-code-statusline: Instructions file for Codex

AGENTS.md

claude-code-statusline AGENTS.md is an instructions file for Codex, OpenCode from rz1989s/claude-code-statusline. It costs 2,337 tokens per session, scanned A, original, MIT.

Instructions for working on a configurable command-line status display for Claude Code. It can show project and usage information in a terminal statusline across several Linux distributions and macOS.

In plain words
What is it for?
Use them to test, lint, debug, configure, inspect modules, or clear cached data for the statusline.
Why use it?
They provide the project's current compatibility, commands, configuration-test methods, and cache details. This makes maintenance and troubleshooting more predictable.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; positional $N argument.

This is rz1989s/claude-code-statusline's own configuration. It tells Codex and OpenCode how to work on claude-code-statusline 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 claude-code-statusline configures →

Reuse

Borrowing it

Nothing to install: this file belongs to rz1989s/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.

Copy the file
curl -O https://raw.githubusercontent.com/rz1989s/claude-code-statusline/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/rz1989s/claude-code-statusline

Made for: Codex, OpenCode.

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 claude-code-statusline AGENTS.md

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

agentmods 80×15 button for claude-code-statusline AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/rz1989s/claude-code-statusline/agents-md"><img src="https://agentmods.dev/badge/instructions/rz1989s/claude-code-statusline/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,337 This file is loaded in full into every session.
When invoked 2,337 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. ✓ AI security review Sonnet 5 · 7 Sept 2026 📄 Read the review
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.02337 $0.02337
Opus 5.5 $0.00935 $0.00935
Sonnet 5.5 $0.00467 $0.00467
Haiku 4.5 $0.00234 $0.00234

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

Security

Grade A, and why

claude-code-statusline AGENTS.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.

AGENTS.md · 137 lines

How it starts

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

claude-code-statusline

A feature-rich, multi-platform statusline for Claude Code — 9-line display with cost tracking, native context %, prayer times, MCP status, GPS location, wellness, CLI analytics, and a responsive width system.

Org: rz1989s (personal).

Project Status

Current: v2.27.1 | Claude Code compatibility: v2.1.6–v2.1.201 ✓ | Branch strategy: feat/fix/chore → nightly → main Architecture: Single Config.toml (240+ settings), modular cache (8 sub-modules), JSON abstraction layer, responsive width system. Platforms: macOS, Ubuntu, Arch, Fedora, Alpine Linux.

Essential Commands

npm test                              # Run all 940 tests across 56 files
npm run lint:all                      # Lint everything
./statusline.sh --modules             # Show component status
STATUSLINE_DEBUG=true ./statusline.sh # Debug mode

# Configuration testing via env overrides
ENV_CONFIG_THEME=garden ./statusline.sh
ENV_CONFIG_DISPLAY_LINES=3 ./statusline.sh
ENV_CONFIG_LINE1_COMPONENTS="repo_info,commits" ./statusline.sh

# Cache management
rm -rf ~/.cache/claude-code-statusline/
STATUSLINE_DEBUG=true ./statusline.sh 2>&1 | grep "cache"

# Cross-platform testing
bats tests/unit/test_platform_compatibility.bats

# Installation (curl installer, 3-tier download w/ retry)
curl -sSfL https://raw.githubusercontent.com/rz1989s/claude-code-statusline/nightly/install.sh | bash -s -- --branch=nightly

Architecture

Core Modules (16): core → security → json_fields → config → themes → cache → git → mcp → cost → prayer → wellness → focus → components → responsive → display.

Atomic Components (37): repo_info, commits, submodules, version_info, github · model_info, bedrock_model, cost_repo, cost_live, reset_timer · cost_monthly/weekly/daily · burn_rate, token_usage, cache_efficiency, block_projection, code_productivity · time_display, version_display, context_alert, context_window · mcp_status/servers/plugins · vim_mode, agent_display, session_info, session_mode · total_tokens, usage_limits · wellness · prayer_times, prayer_times_only, prayer_icon, hijri_calendar, location_display · 10 CLI analytics commands.

Read the full file on GitHub · 137 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 · 137 lines · 2,337 tokens per session scan E 2e05b7b0dc6e

Subscribe to this mod's changes

claude-code-statusline AGENTS.md is an instructions file published in the GitHub repository rz1989s/claude-code-statusline (480 stars, last pushed 2mo ago), licensed MIT. It adds 2,337 tokens to every session, about $0.0093 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

Other instructions, from other repositories

arm_1a2b_3c4d_cleanCode_meaningfulNames

Instructions for colchuck-ai/ai-resource-manager, a project described as: Package manager for AI rules and prompts with semantic versioning and automatic distribution to AI tools.

colchuck-ai/ai-resource-manager · 253 tokens

arm_1a2b_5e6f_cleanCode_smallFunctions

Instructions for colchuck-ai/ai-resource-manager, a project described as: Package manager for AI rules and prompts with semantic versioning and automatic distribution to AI tools.

colchuck-ai/ai-resource-manager · 244 tokens

arm_1a2b_7g8h_cleanCode_avoidComments

Instructions for colchuck-ai/ai-resource-manager, a project described as: Package manager for AI rules and prompts with semantic versioning and automatic distribution to AI tools.

colchuck-ai/ai-resource-manager · 231 tokens

arm_1a2b_9i0j_cleanCode_singleResponsibility

Instructions for colchuck-ai/ai-resource-manager, a project described as: Package manager for AI rules and prompts with semantic versioning and automatic distribution to AI tools.

colchuck-ai/ai-resource-manager · 238 tokens

arm_1a2b_k1l2_cleanCode_avoidDuplication

Instructions for colchuck-ai/ai-resource-manager, a project described as: Package manager for AI rules and prompts with semantic versioning and automatic distribution to AI tools.

colchuck-ai/ai-resource-manager · 248 tokens

ai-resource-manager arm_index.instructions.md

Instructions for colchuck-ai/ai-resource-manager, covering arm rulesets, priority rules, installed rulesets and sample-registry/[email protected].

colchuck-ai/ai-resource-manager · 238 tokens