health

health is a command for Claude Code from lckx777/copy-chief-black. It costs 15 tokens per session (1,778 once invoked), scanned B, original, MIT.

A quick diagnostic command for a copywriting workspace. It checks registered hooks, offer gate statuses, templates, and connected services called MCPs.

In plain words
What is it for?
Use it for a compact health summary or a more detailed report of hook files and offer workflow gates.
Why use it?
It shows whether key workspace components are present and working before a larger workflow is started.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: reads .claude/ paths.

Good fit Use it for a compact health summary or a more detailed report of hook files and offer workflow gates.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/lckx777/copy-chief-black/health
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/lckx777/copy-chief-black

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 health

README.md
[![agentmods](https://agentmods.dev/badge/commands/lckx777/copy-chief-black/health/github.svg)](https://agentmods.dev/commands/lckx777/copy-chief-black/health)
Your own site
<a href="https://agentmods.dev/commands/lckx777/copy-chief-black/health"><img src="https://agentmods.dev/badge/commands/lckx777/copy-chief-black/health/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 health

Your own site · 80×15
<a href="https://agentmods.dev/commands/lckx777/copy-chief-black/health"><img src="https://agentmods.dev/badge/commands/lckx777/copy-chief-black/health.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,778 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00015 $0.01778
Opus 5 $0.00008 $0.00889
Sonnet 5 $0.00003 $0.00356
Haiku 4.5 $0.00002 $0.00178

Measured 11d ago against content hash c9bbfb2e1563, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade B, and why

health 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 11d 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.

cat ~/.claude/settings.json 2>/dev/null | grep -o '"command": "[^"]*"' | sort -u
framework/commands/health.md · 243 lines

How it starts

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

/health — Quick Ecosystem Health Check

Input: $ARGUMENTS

Fast diagnostic of ecosystem components. Runs in under 5 seconds and reports the health of all major subsystems.

Instructions

When this command is invoked:

Parse flags from $ARGUMENTS:

  • --verbose — show detailed breakdown for each check category
  • No flags — compact summary output (default)

Check 1: Hook Health

Scan all hooks registered in ~/.claude/settings.json:

# Read hooks from settings.json
cat ~/.claude/settings.json 2>/dev/null | grep -o '"command": "[^"]*"' | sort -u

For each hook command found, verify the referenced file exists:

ls <hook_file_path> 2>/dev/null

Report format:

HOOKS: [N]/[Total] OK

If --verbose, list each hook with its status:

  ✓ ~/.claude/hooks/validate-gate-prereq.ts
  ✓ ~/.claude/hooks/gate-tracker.ts
  ✗ ~/.claude/hooks/missing-hook.ts  ← FILE NOT FOUND
  ✓ ~/.claude/hooks/phase-gate.ts

Check 2: Gate Status (All Offers)

Discover all offers and read their current gate status:

find ~/copywriting-ecosystem -name "helix-state.yaml" -type f 2>/dev/null

For each helix-state.yaml found, read:

  • gates.research
  • gates.briefing
  • gates.production
  • mecanismo_state
  • current_phase

Report format:

GATES: [summary of active offers]
  florayla   R✓ B✓ M(APPROVED) P⬜
  neuvelys   R⬜ B⬜ M(UNDEFINED) P⬜
  quimica    R✓ B✓ M(VALIDATED) P(IN_PROGRESS)

Gate symbols:

  • = PASSED
  • = NOT_STARTED
  • = BLOCKED
  • 🔄 = IN_PROGRESS
  • R = Research, B = Briefing, M(state) = Mechanism, P = Production

Flag BLOCKED offers:

  ⚠️  [offer] — BLOCKED at Research Gate

Check 3: Offer File Completeness

For each active offer (not STANDBY), verify required files exist:

find ~/copywriting-ecosystem -name "CONTEXT.md" -not -path "*/node_modules/*" 2>/dev/null

Required files per offer:

  • CONTEXT.md
  • helix-state.yaml
  • mecanismo-unico.yaml
  • project_state.yaml

Read the full file on GitHub · 243 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. 11d ago First seen · 243 lines · 15 tokens per session scan B c9bbfb2e1563

Subscribe to this mod's changes

health is a command published in the GitHub repository lckx777/copy-chief-black (5 stars, last pushed 6mo ago), licensed MIT. It adds 15 tokens to every session and 1,778 once invoked, about $0.0001 per session on Opus 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.