ワンクリックで
improve-harness
Analyze capability-gap failure patterns from episodic memory and generate improvement reports with OpenSpec proposal stubs
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Analyze capability-gap failure patterns from episodic memory and generate improvement reports with OpenSpec proposal stubs
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Generate throughput and quality reports from coordinator audit data and episodic memory
Execute roadmap items iteratively with policy-aware vendor routing and learning feedback
Orchestrate the full plan-review-implement-validate-PR lifecycle with multi-vendor review convergence
Merge approved PR, migrate open tasks, archive OpenSpec proposal, and cleanup branches
Ingest raw session transcripts from coding-agent harnesses via vendor-specific adapters, normalize to a common event schema, triage for struggle signals, and write structured findings to episodic memory
HTTP fallback bridge for coordinator when MCP transport is unavailable
| name | improve-harness |
| description | Analyze capability-gap failure patterns from episodic memory and generate improvement reports with OpenSpec proposal stubs |
| category | Git Workflow |
| tags | ["harness","self-improvement","capability-gaps","episodic-memory","analysis"] |
| triggers | ["improve harness","analyze failures","capability gap report","harness self-improvement"] |
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-feature