skills/improve-harness/SKILL.md
Analyze capability-gap failure patterns from episodic memory and generate improvement reports with OpenSpec proposal stubs
npx skillsauth add jankneumann/agentic-coding-tools improve-harnessInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Analyze capability-gap failure patterns recorded in episodic memory and generate structured improvement reports. Supports creating OpenSpec proposal stubs from high-priority findings.
$ARGUMENTS - Optional flags:
--time-window <days> (default: 30)--create-proposal (create an OpenSpec proposal stub from the top finding)--output <path> (write report to file; default: stdout)capability_gap:* tagsThe skill consumes capability-gap signals from four emitters via the shared D4 tag schema:
| Source | Tag | How it gets there |
|--------|-----|-------------------|
| Agent self-report | source:self-reported | Agent calls remember MCP tool during failure |
| Coordinator audit-triage | source:coordinator-emitted | LLM classifier over audit batches |
| Session-log | source:session-log | Agent fills ### Capability Gaps Observed at phase boundary |
| Transcript mining | source:transcript-mined | /collect-transcripts deep-analysis pass |
The skill also scans openspec/changes/**/session-log.md for ### Capability Gaps Observed sections to catch gaps not yet mirrored to memory.
Deduplication is keyed on (capability_gap, affected_skill, session_id). When the same gap appears from multiple sources, all sources are preserved — cross-source agreement is the strongest signal.
COORDINATOR_URL (default: http://localhost:8000)python3 <agent-skills-dir>/improve-harness/scripts/analyze_failures.py \
--time-window ${TIME_WINDOW:-30} \
--json
python3 <agent-skills-dir>/improve-harness/scripts/generate_report.py \
--time-window ${TIME_WINDOW:-30} \
${CREATE_PROPOSAL:+--create-proposal} \
${OUTPUT:+--output "$OUTPUT"}
--create-proposal to generate an OpenSpec proposal stub/plan-featuretesting
Create and edit Obsidian Flavored Markdown with wikilinks, embeds, callouts, properties, and other Obsidian-specific syntax. Use when working with .md files in Obsidian, or when the user mentions wikilinks, callouts, frontmatter, tags, embeds, or Obsidian notes.
tools
Interact with Obsidian vaults using the Obsidian CLI to read, create, search, and manage notes, tasks, properties, and more. Also supports plugin and theme development with commands to reload plugins, run JavaScript, capture errors, take screenshots, and inspect the DOM. Use when the user asks to interact with their Obsidian vault, manage notes, search vault content, perform vault operations from the command line, or develop and debug Obsidian plugins and themes.
data-ai
Create and edit Obsidian Bases (.base files) with views, filters, formulas, and summaries. Use when working with .base files, creating database-like views of notes, or when the user mentions Bases, table views, card views, filters, or formulas in Obsidian.
tools
Create and edit JSON Canvas files (.canvas) with nodes, edges, groups, and connections. Use when working with .canvas files, creating visual canvases, mind maps, flowcharts, or when the user mentions Canvas files in Obsidian.