Skip to content
Development
Skill

/gsd-health

Diagnose planning directory health and optionally repair issues

From plugin
gsd-core
8k71 skills34 agents71 commands7 hooks
Install
$ npx -y skills add open-gsd/gsd-core --skill gsd-health --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/gsd-health

Context preview

The summary Claude sees to decide when to auto-load this skill.

Diagnose planning directory health and optionally repair issues

SKILL.md

gsd-health.SKILL.md
name: gsd-health
description: "Diagnose planning directory health and optionally repair issues"
argument-hint: "[--repair] [--context]"
allowed-tools:
  - Read
  - Bash
  - Write
  - AskUserQuestion

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

Ships withgsd-core

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.

Get the whole plugin