breathe-cli: Instructions file for Claude Code

CLAUDE.md

breathe-cli CLAUDE.md is an instructions file for Claude Code from marekkowalczyk/breathe-cli. It costs 4,174 tokens per session, scanned A, original, MIT.

Project-specific instructions for Breathe CLI, a single-file macOS Python program that guides paced breathing for people with heart failure with reduced pumping ability. They define its behavior, tests, and safety limits.

In plain words
What is it for?
Use them when editing, testing, or reviewing Breathe CLI, especially changes involving breathing ratios, timing, audio, keyboard input, dependencies, or supported operating systems.
Why use it?
They give a coding agent the constraints needed to avoid unsafe changes, such as adding breath-holding or cycles that are too fast. They also prevent unsuitable dependencies, platform support, or program structure from being introduced.

Instructions file for Claude Code

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

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

Reuse

Borrowing it

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

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 breathe-cli CLAUDE.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/marekkowalczyk/breathe-cli/claude-md"><img src="https://agentmods.dev/badge/instructions/marekkowalczyk/breathe-cli/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 4,174 This file is loaded in full into every session.
When invoked 4,174 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.04174 $0.04174
Opus 5.5 $0.01670 $0.01670
Sonnet 5.5 $0.00835 $0.00835
Haiku 4.5 $0.00417 $0.00417

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

Security

Grade A, and why

breathe-cli 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 · 241 lines

How it starts

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

Breathe CLI

Single-file Python 3 CLI app (breathe.py) that paces resonance breathing for HFrEF vagal training. macOS primary. Linux and Windows are secondary, community-maintained: the maintainer has no Linux or Windows machines and does not smoke-test those platforms. Soft-fail over hard requirements. Stdlib only, no dependencies.

Spec

breathe-cli-spec.md contains safety constraints and acceptance tests. The code is the authority for behaviour; the spec guards the non-negotiable safety rationale.

Key constraints

  • One file: breathe.py. No modules, no packages, no config files. No line cap for now (removed 2026-07-29 to see what happens; may reinstate).
  • Stdlib only: Python 3.7+. No pip installs. No third-party imports.
  • macOS primary: /usr/bin/afplay + system sounds are the reference audio path. Linux is supported second: auto-detect a player (paplay/pw-play/aplay/ffplay/cvlc), freedesktop sounds by default, env/--sound-player overrides; terminal bell if unresolved. Windows: display-wake best-effort; audio soft-fail (bell). Non-macOS audio/wake is community-verified only — do not claim maintainer smoke tests. No config files.
  • No curses: Use direct ANSI escape codes. curses has Mojave edge cases with non-default terminals.
  • No threading: Use select.select with zero timeout for non-blocking key polling. No threading.Thread, no curses.getch.

Default invocation (omakase)

Omakase — bare breathe with no argv is chef's choice, not help text and not a fixed default. Wall-clock hour → preset_for_hour() → named preset (night / morning / midday / evening). The pre-session countdown shows the chosen preset/duration and accepts q — that is the confirmation UX. Do not replace bare invocation with interactive menus, a fixed preset, or “print help and exit.” Overrides stay explicit: --preset, --duration/--ratio, or goal words. Revisit only if real usage shows a bad default (historically: midday’s 20 min).

Read the full file on GitHub · 241 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 Changed · +21 lines · +737 tokens per session 151874cded91
  2. 2mo ago First seen · 220 lines · 3,437 tokens per session scan A 7676fb97b03b

Subscribe to this mod's changes

breathe-cli CLAUDE.md is an instructions file published in the GitHub repository marekkowalczyk/breathe-cli (325 stars, last pushed 2mo ago), licensed MIT. It adds 4,174 tokens to every session, about $0.0167 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

breathe-cli CLAUDE.md compared with instructions from other repositories

breathe-cli CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
breathe-cli CLAUDE.mdmarekkowalczyk/breathe-cliInstructions file3252mo agoMITA4,174Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149ktodayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195ktodayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file275k2d agoMITA4,313Codex, OpenCode