ccem: Command for Claude Code

.claude/commands/health.md

health is a command for Claude Code from Genuifx/ccem. It costs 7 tokens per session (139 once invoked), scanned A, original, Apache-2.0.

A quick project-health check that does not build the project.

In plain words
What is it for?
It is for checking the project's condition during development.
Why use it?
It provides a fast way to look for health problems without waiting for a build.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

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

View source ↗ Genuifx/ccem
Reuse

Borrowing it

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

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/genuifx/ccem/health/github.svg)](https://agentmods.dev/commands/genuifx/ccem/health)
Your own site
<a href="https://agentmods.dev/commands/genuifx/ccem/health"><img src="https://agentmods.dev/badge/commands/genuifx/ccem/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/genuifx/ccem/health"><img src="https://agentmods.dev/badge/commands/genuifx/ccem/health.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 7 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 139 The whole file, excluding the scripts and references it only reads on demand.
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.00007 $0.00139
Opus 5.5 $0.00003 $0.00056
Sonnet 5.5 $0.00001 $0.00028
Haiku 4.5 $0.00001 $0.00014

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

Security

Grade A, and why

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

.claude/commands/health.md · 15 lines

What it actually says

Run a fast health check on the project:

  1. cd apps/desktop && pnpm exec tsc --noEmit 2>&1 | tail -20 — TypeScript errors
  2. cd apps/desktop/src-tauri && cargo check 2>&1 | tail -20 — Rust compilation errors
  3. pnpm check:i18n — i18n key consistency
  4. bash scripts/check-file-size.sh — file size violations
  5. git status — uncommitted changes

Summarize any issues found.

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 · 15 lines · 7 tokens per session scan A bfb78c64622f

Subscribe to this mod's changes

health is a command published in the GitHub repository Genuifx/ccem (23 stars, last pushed today), licensed Apache-2.0. It adds 7 tokens to every session and 139 once invoked, about $0.0000 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.