with one click
capability-discovery
// Discover reusable operational capabilities from command learnings, repeated mistakes, and session evidence, then draft skill candidates for later maintainer promotion without auto-writing real skills.
// Discover reusable operational capabilities from command learnings, repeated mistakes, and session evidence, then draft skill candidates for later maintainer promotion without auto-writing real skills.
[HINT] Download the complete skill directory including SKILL.md and all related files
| name | capability-discovery |
| description | Discover reusable operational capabilities from command learnings, repeated mistakes, and session evidence, then draft skill candidates for later maintainer promotion without auto-writing real skills. |
Use when Project Governor should turn repeated operational recovery lessons into reusable workflow candidates instead of leaving them as one-off memory notes.
Project self-evolution starts with discovering repeatable capabilities from governed evidence:
This skill is advisory. It drafts skill candidates and reuse triggers, but it does not create, delete, rename, or overwrite skills/<skill>/ directories.
Query governed memory first:
python3 skills/context-indexer/scripts/query_context_index.py --project . --request "command learning repeated mistake reusable capability skill candidate restart recovery" --memory-search --auto-build --format text
Run capability discovery:
python3 skills/capability-discovery/scripts/discover_capability_candidates.py --project . --format text
If candidates should be available to later sessions, write the state file:
python3 skills/capability-discovery/scripts/discover_capability_candidates.py --project . --write
Promote a candidate into a real skill only after maintainer review. Promotion requires:
skills/CATALOG.json, README, and contract docs updatesThe deterministic helper returns:
With --write, the helper writes:
.project-governor/state/CAPABILITY_CANDIDATES.json