/health
Diagnose planning directory health and optionally repair issues
> /plugin marketplace add open-gsd/gsd-core > /plugin install gsd-core@gsd-core
How it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/health
Context preview
What this command does when you run it.
Diagnose planning directory health and optionally repair issues
Command definition
health.mdname: gsd:health description: Diagnose planning directory health and optionally repair issues argument-hint: "[--repair] [--context]" allowed-tools: - Read - Bash - Write - AskUserQuestion requires: [thread]
<objective> Validate `.planning/` directory integrity and report actionable issues. Checks for missing files, invalid configurations, inconsistent state, and orphaned plans.
`--context` runs an orthogonal check: the running session's context utilization. The workflow asks for the model's tokensUsed + contextWindow, calls `gsd-tools query validate.context`, and renders one of three states:
| Utilization | State | Action | |-------------|----------|-------------------------------------------------------| | < 60% | healthy | no action — context is comfortable | | 60% – 70% | warning | recommend `/gsd:thread` to start fresh | | ≥ 70% | critical | reasoning quality may degrade past the fracture point | </objective>
<execution_context> @~/.claude/gsd-core/workflows/health.md </execution_context>
<process> Execute end-to-end. Parse `--repair` and `--context` flags from arguments and pass to workflow. </process>
Git. Ship. Done. A light-weight meta-prompting, context engineering, and spec-driven development system for Claude Code, OpenCode, Antigravity CLI, Kimi CLI, Kilo, Codex, Copilot, Cursor, Windsurf, and more.
Repo: open-gsd/gsd-core
Other commands on gsd-core.
- /add-tests
Generate tests for a completed phase based on UAT criteria and implementation
Open command - /ai-integration-phase
Generate an AI-SPEC.md design contract for phases that involve building AI systems.
Open command - /audit-fix
Autonomous audit-to-fix pipeline — find issues, classify, fix, test, commit
Open command - /audit-milestone
Audit milestone completion against original intent before archiving
Open command - /audit-uat
Cross-phase audit of all outstanding UAT and verification items
Open command - /autonomous
Run all remaining phases autonomously — discuss→plan→execute per phase
Open command

