claude-status: Instructions file for Claude Code

CLAUDE.md

claude-status CLAUDE.md is an instructions file for Claude Code from gmr/claude-status. It costs 2,613 tokens per session, scanned A, original, BSD-3-Clause.

Repository guidance for Claude Status, a native macOS menu bar app that monitors local Claude Code sessions and can focus their terminal or IDE window. It explains the Swift project, build commands, tests, and release setup.

In plain words
What is it for?
Use it when building, testing, cleaning, installing, or updating the Claude Status macOS app and its related plugin.
Why use it?
It helps an agent use the project's required commands and understand platform and signing constraints when changing the app.

Instructions file for Claude Code

Written for Claude Code: SessionStart hook event. Also seen: reads .claude/ paths; mentions .claude-plugin; mentions CLAUDE.md.

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

Reuse

Borrowing it

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

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 claude-status CLAUDE.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/gmr/claude-status/claude-md"><img src="https://agentmods.dev/badge/instructions/gmr/claude-status/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,613 This file is loaded in full into every session.
When invoked 2,613 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.02613 $0.02613
Opus 5.5 $0.01045 $0.01045
Sonnet 5.5 $0.00523 $0.00523
Haiku 4.5 $0.00261 $0.00261

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

Security

Grade A, and why

claude-status 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 2mo 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 · 197 lines

How it starts

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

CLAUDE.md

Project Overview

Claude Status is a native macOS menu bar app that monitors active Claude Code sessions on the local machine. It shows session state, project info, and provides one-click focus to the session's host app (terminals and IDEs). Distributed outside the Mac App Store via Developer ID signing, notarization, and Sparkle auto-updates.

Build & Test

Xcode project with SPM dependencies (no standalone Package.swift). Use just for all build and test commands:

just build          # Build debug configuration (includes plugin binaries)
just test           # Run all unit tests
just test-class SessionStateTests  # Run a single test class
just clean          # Clean build artifacts
just swap           # Build, copy to /Applications, and relaunch
just sync-plugin    # Sync plugin to installed plugin cache
just show-version   # Show calculated version from git tags

The justfile handles MACOSX_DEPLOYMENT_TARGET=15.0 override (needed for Xcode versions that don't know about macOS 26.2) and disables code signing for local dev builds.

Platform & Language

  • macOS 26.2+ deployment target (override to 15.0 for CI/older Xcode)
  • Swift 5.0 with SWIFT_APPROACHABLE_CONCURRENCY = YES, SWIFT_DEFAULT_ACTOR_ISOLATION = MainActor
  • SwiftUI + AppKit hybrid: AppKit for NSStatusItem/NSPopover/NSWindow, SwiftUI for all views
  • Menu bar-only: LSUIElement = YES (no Dock icon)
  • No App Sandbox: required for proc_pidinfo, sysctl KERN_PROCARGS2, and AppleScript automation
  • Bundle ID: com.poisonpenllc.Claude-Status
  • Widget Bundle ID: com.poisonpenllc.Claude-Status.widget
  • App Group: group.com.poisonpenllc.Claude-Status (shared data between app and widget)
  • URL Scheme: claude-status://

Dependencies (SPM)

Package Version Purpose
Sparkle 2.9.0 Auto-updates via Appcast (EdDSA-signed)
CocoaLumberjack 3.9.0 Structured logging
swift-log 1.10.1 Swift logging API

Read the full file on GitHub · 197 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. 2mo ago First seen · 197 lines · 2,613 tokens per session scan A f4e04cd0d2b4

Subscribe to this mod's changes

claude-status CLAUDE.md is an instructions file published in the GitHub repository gmr/claude-status (65 stars, last pushed 3mo ago), licensed BSD-3-Clause. It adds 2,613 tokens to every session, about $0.0105 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

claude-status CLAUDE.md compared with instructions from other repositories

claude-status CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
claude-status CLAUDE.mdgmr/claude-statusInstructions file653mo agoBSD-3-ClauseA2,613Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
vscode model-prompts.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA2,022GitHub Copilot