claude-code-training-lab: Command for Claude Code

.claude/commands/project-health.md

project-health is a command for Claude Code from lodetomasi/claude-code-training-lab. It costs 31 tokens per session (111 once invoked), scanned A, original, no licence file.

A command that summarizes a project's current condition by showing uncommitted Git changes, test results, and linting problems. It uses an older command format, although skills are now the preferred format.

In plain words
What is it for?
Use it before committing or reviewing work to see whether tests pass, linting reports issues, or the project has uncommitted changes.
Why use it?
It gives developers one quick view of code changes and common quality checks instead of checking each one separately.

Command for Claude Code

Written for Claude Code: installed under .claude/.

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

Reuse

Borrowing it

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

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

README.md
[![agentmods](https://agentmods.dev/badge/commands/lodetomasi/claude-code-training-lab/project-health.svg)](https://agentmods.dev/commands/lodetomasi/claude-code-training-lab/project-health)
Your own site
<a href="https://agentmods.dev/commands/lodetomasi/claude-code-training-lab/project-health"><img src="https://agentmods.dev/badge/commands/lodetomasi/claude-code-training-lab/project-health.svg" alt="Measured on agentmods" height="20"></a>
Per session 31 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 111 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 unknown 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.00031 $0.00111
Opus 5 $0.00015 $0.00056
Sonnet 5 $0.00006 $0.00022
Haiku 4.5 $0.00003 $0.00011

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

Security

Grade A, and why

project-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 8d 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/project-health.md · 12 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 8d ago First seen · 12 lines · 31 tokens per session scan A f1b13fcd91a1

Subscribe to this mod's changes

project-health is a command published in the GitHub repository lodetomasi/claude-code-training-lab (2 stars, last pushed 6mo ago), with no licence file. It adds 31 tokens to every session and 111 once invoked, about $0.0002 per session on Opus 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-31.

Related

Other commands, from other repositories

subagent-diagnose

Multi-agent failure-investigation orchestrator. Parallel to /subagent-implementation — same scratchpad + investigator + builder/surgeon + reviewer + FOLLOWUPS pattern — but starts from a failure, not a spec. Two modes share one loop: ci (failed CI run is the brief seed) and bug (freeform symptom paragraph is the brief…

damusix/atomic-claude · 0 tokens

quick-fix

Run the implement→review subagent loop without the planning phase — for straightforward fixes with a known cause and one obvious approach, regardless of how many files the change spreads across. Skips the spec gate, worktree gate, and finalize ceremony (implementation log, docs, signals) that /subagent-implementation…

damusix/atomic-claude · 112 tokens

watch-ci

Spawn a background Haiku-backed subagent to watch CI for the current branch (or specified target). Provider-agnostic — the subagent inspects project signals to identify the CI system (GitHub Actions, GitLab CI, CircleCI, etc.) and picks the right CLI. Returns immediately; reports back when CI reaches a terminal state.

damusix/atomic-claude · 69 tokens

undo-commit

Soft-undo the last commit. Restores its changes as staged, leaves working tree intact. Refuses if HEAD is already pushed to a tracked remote.

damusix/atomic-claude · 31 tokens

session-report

Capture what changed this session and why, scoped to the current branch. Read by ship verbs when synthesizing the commit message; deleted after a successful commit.

damusix/atomic-claude · 31 tokens

commit

Stage, commit, and optionally ship further. Pass an escalation token (push, pr, merge, squash, squash merge) to skip the prompt. With no token, commits then asks how far to ship. Delegates message format to the atomic-git-discipline skill.

damusix/atomic-claude · 55 tokens