harness-curator
БесплатноЗапускает вложенные скриптыНе проверенReads the friction tags that agents filed in the harness-friction wing, clusters them, and opens one evidence-backed feedback issue per cluster on the…
от crewrig★ 24 звезды на GitHubОб этом скилле
Harness Curator
Closes the feedback loop: the frictions that agents tagged during real work become one descriptive issue per cluster, on the repository that owns the offending component. The issue carries evidence, not a fix; the fix lands later as a human-authored change that closes it.
When to run it
Only on an explicit request: the user runs /harness-curate, asks what frictions the crew has accumulated,
asks for a deep sweep, or a schedule triggers it. During unrelated work, reaching for this skill means you are
off task.
The script
Reading the wing through MCP would take thousands of calls, so a bundled script reads it with the MemPalace
Python library, parses every FRICTION: payload and clusters them. Run it from the skill directory (or
task harness-curate -- <options>); node scripts/curate.ts --help lists every option.
Exit codes of curate.ts: 0 ok, 1 a usage error or an unhealthy --check, 2 python or MemPalace not
found (or the backend failed), 3 --apply without an authenticated forge CLI. A usage error prints
Error: or Unknown option on stderr, which tells it from an unhealthy wing.
Test mode: --from-stdin reads a JSON list of drawers (drawer_id, room, content) instead of MemPalace,
so a dry run needs no server and no forge. assets/sample-frictions.json is a sample.
Step 1: dry run and health gate
node scripts/curate.ts --check
It runs a dry run and prints healthy or unhealthy: exit 0 healthy, exit 1 when skipped_malformed
exceeds 25 percent of the drawers (--max-malformed-ratio moves the limit) or routing_failures is above
zero. An unhealthy wing means the filing source is rotten (payloads missing writer_agent or evidence) or a
friction names no canonical repository; fix that before opening issues, so that the issues are not opened
blind or partial. Without --check, node scripts/curate.ts --dry-run (the default) prints the full JSON report: stats,
clusters (each with cluster_key, target_repo, title, body, labels, frictions), skipped and
routing_failures. Spot-check at least one body to see that it reads sensibly.
Step 2: open the issues
Two equivalent paths; either way open one issue per cluster, because independent clusters deserve independent triage.
- The script:
node scripts/curate.ts --applyopens one issue per cluster through the forge CLI picked from the cluster's repository host (gh,glabortea), with the three labels from the report. - By hand: iterate the report and run
gh issue create --repo <owner>/<repo> --title <title> --body <body> --label <label>per cluster (theglabandteaequivalents on GitLab and Gitea). Choose this when you want to enrich a body first. Forge access is CLI-only; the framework ships no forge MCP server.
What the script decides
- A cluster is proposed at 2 or more reports (
--threshold), or at 1 report ofseverity: high, which bypasses the threshold by design. - The cluster key is the
subcategory, else the room. The target repository is the most frequentfeedbackin the cluster, else the most frequentcanonical(--target-repoforces one). - Frictions that carry
package,extensionorversionprint them in the issue body. A friction is markedpossibly fixedonly when itspackageandextensionare both set and the newest SemVerversionreported in the run for that pair is strictly newer than every comparable version of that pair in its cluster; a missing or non-SemVer version is never flagged. - Labels are
harness-feedback,room:<dominant room>andseverity:<worst>. The title carries a Gitmoji per dominant room (tool🐛,process📝,behavior🚸,format🎨,prompt💬, other 🔧). - A cluster with no resolvable
feedbackorcanonicalis a routing failure: it is reported with the legacy reason keymissing_canonical(kept for compatibility, it covers both fields) and never opened blind. --max-issues Nkeeps the N highest-ranked clusters (severity, then size, then key) and--dedupskips a cluster whose key already has an openharness-feedbackissue.
Labels must exist first
--label fails on a label the target repository does not have. Create the nine labels once per receiving
repository; the script is idempotent and safe to re-run after a vocabulary change:
node scripts/setup-labels.ts --repo <owner/repo> # add --dry-run to preview
A missing label shows up as a failures: entry of the run summary; create it and retry.
Deep mode
node scripts/curate.ts --deep [--deep-window 1000]
It scans the most recent transcript drawers (default 500) with a fixed set of heuristic patterns and prints a
Markdown checklist of candidates grouped by pattern, for a human to triage. It never opens issues and
excludes --apply. To promote a candidate, tag it with the harness-report skill; it joins the next sweep.
Scheduled mode
`no
Установить harness-curator в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл harness-curator?
Reads the friction tags that agents filed in the harness-friction wing, clusters them, and opens one evidence-backed feedback issue per cluster on the repositories named in the components' provenance, after a health check of the wing. Also sweeps transcripts for untagged frictions (`--deep`) and runs on a schedule. Use when the user explicitly asks to curate, sweep or cluster frictions, to open the feedback issues, to check the health of the friction wing or to schedule the curator. Trigger terms: harness curator, curate frictions, friction wing, feedback issues, deep sweep. Not for tagging a single friction (harness-report) or for ordinary bug reports.
Как установить скилл harness-curator?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл harness-curator запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic