# Gsd Health

> Diagnose planning directory health and optionally repair issues

- Skill: `open-gsd/gsd-health` (Agent Skill)
- Install (CLI): `npx skillmds@latest add open-gsd/gsd-health`
- Raw SKILL.md: https://api.skillmd.com/api/skills/open-gsd/gsd-health/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: open-gsd (https://skillmd.com/u/open-gsd)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/open-gsd/gsd-health

---

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

