Harness catalog retrospective

From Intense-Visions/harness-engineering · View interactive version

Harness catalog retrospective is an AI agent skill from the GitHub repository Intense-Visions/harness-engineering. > Monthly retrospective over skill-adoption telemetry. Reads `.harness/metrics/adoption.jsonl`, ranks the most-invoked, most-failing, and abandoned-mid-workflow skills, flags ever-invoked skills that

How to use this skill

Skill file

Harness Catalog Retrospective

Monthly retrospective over skill-adoption telemetry. Reads .harness/metrics/adoption.jsonl, ranks the most-invoked, most-failing, and abandoned-mid-workflow skills, flags ever-invoked skills that have gone quiet, and reports how much of the catalog emits any telemetry at all. Produces a dated Markdown report and surfaces the highlights that warrant follow-up. Compounding-via-learning at the catalog grain.

When to Use

Process

Iron Law

Separate real signal from telemetry gaps before you recommend anything. The single most common misread of this data is treating "no telemetry" as "abandoned." Adoption records are emitted only from instrumented entry points, so a skill with zero records is usually uninstrumented, not unused. The report's coverage line and the stale-skills section exist to keep that distinction visible — never collapse it.


Phase 1: SCAN — Derive the Report

  1. Run the retrospective command from the project root:

```bash

harness adoption retrospective # writes docs/retrospectives/<date>.md

harness adoption retrospective --no-write # print to stdout without writing a file

harness adoption retrospective --json # structured output for further processing

```

Optional flags: --inactive-days <n> (stale threshold, default 90), --top <n> (rows per section, default 10), --out <path> (override the output file).

  1. The command reads .harness/metrics/adoption.jsonl via readAdoptionRecords, derives the report via getCatalogRetrospectiveReport, and renders it via renderRetrospectiveMarkdown (all in @harness-engineering/core). Coverage context is computed against the skills discovered under agents/skills/claude-code/; when that directory is absent (a consumer project), the coverage line is omitted rather than reporting a false zero.
  1. The report is followed by a Bayesian skill-effectiveness section (## Bayesian skill effectiveness), computed by the skill scorer in @harness-engineering/intelligence. This applies the same Laplace-smoothed success rate (α = 1) the persona scorer uses, so a skill invoked once cannot claim 0% or 100% certainty. It surfaces the least-effective skills, failing skills, and abandoned-mid-workflow skills ranked sample-aware — the view you should act on when deciding what to fix or prune. In --json mode the same data appears under the skillEffectiveness key (scores, failing, abandoned).
  1. If there are no records, say so plainly and stop: "No adoption telemetry found at .harness/metrics/adoption.jsonl. Nothing to retrospect on yet."

Phase 2: INTERPRET — Signal vs. Noise

Read the report with these discriminations:

Phase 3: REPORT — Surface and Recommend

  1. Confirm where the report was written (docs/retrospectives/<date>.md) or present the rendered Markdown.
  2. Summarize the 3–5 findings that actually warrant action, each tied to a section and a number. Prefer specifics ("cli/review-ci failed 23/23 — likely a real defect, worth a look") over restating the tables.
  3. When the coverage ratio is the dominant finding (e.g. most of the catalog is uninstrumented), name that as the top follow-up: instrumentation, not pruning, is the lever.
  4. Do not delete, prune, or edit skills from this skill — it reports. Hand any pruning decision to the human or to catalog-rationalization work.

Harness Integration

Success Criteria

  1. The retrospective is derived from .harness/metrics/adoption.jsonl without mutating it.
  2. The report ranks top-invoked, top-failing, and abandoned-mid-workflow skills, and flags ever-invoked stale skills.
  3. The report includes a Bayesian skill-effectiveness section that ranks failing and abandoned-mid-workflow skills by Laplace-smoothed success rate, so low-volume skills do not dominate the recommendation.
  4. The report states telemetry coverage (how much of the catalog emits any signal) when the catalog is discoverable.
  5. The stale-skills section notes when the record window is shorter than the inactivity threshold instead of silently reporting zero.
  6. The summary separates real signal (defect-shaped failures, mid-workflow abandonment) from telemetry gaps (uninstrumented skills) and from expected gate failures.
  7. A dated report is written to docs/retrospectives/<date>.md (unless --no-write/--json is requested).
  8. The skill recommends but never prunes, edits, or deletes catalog skills.

Rationalizations to Reject

| Rationalization | Reality |

| -------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- |

| "756 skills have no telemetry, so 756 skills are abandoned — recommend deleting them." | Zero telemetry almost always means _uninstrumented_, not unused. The coverage line exists to prevent exactly this misread; the fix is instrumentation, not pruning. |

| "ci.check fails 97% of the time — it's broken." | A gate returning non-zero on a real violation is the gate working. Check whether the skill is a checker before flagging its failures as defects. |

| "The stale section is empty, so the catalog is healthy." | If the record window is shorter than the threshold, the signal simply cannot fire yet. Empty ≠ healthy; report the window caveat. |

| "n=1 abandonment is noise, ignore it." | A workflow skill users start and bail out of mid-way is a UX signal even at low n. Surface it; let the human weigh it. |

| "I'll prune the low-usage skills while I'm here." | This skill reports; it does not prune. Pruning is a human/catalog-rationalization decision. |

Examples

Example: Monthly retrospective on the dogfood repo

Context: ~67 days of telemetry (3.2k records) across 50 invoked skills, run at month end.

Phase 1 — SCAN:

harness adoption retrospective
# → Catalog retrospective written to docs/retrospectives/2026-07-06.md
#   3246 records · 50 skills · window 67d

Phase 2 — INTERPRET: The report's overview leads with Telemetry coverage: 5/761 catalog skills have emitted telemetry (756 never invoked). Top-invoked is dominated by cli/* commands; cli/ci.check shows a 97% failure rate; the abandoned-mid-workflow section lists four workflow skills at n=1; the stale section is empty with the note that the 67-day window is shorter than the 90-day threshold.

Phase 3 — REPORT:

Retrospective written to docs/retrospectives/2026-07-06.md. Findings that warrant action:

1. Coverage is the headline: only 5/761 catalog skills emit any telemetry. The rankings
   describe the instrumented slice, not the catalog. Top follow-up is instrumentation, not pruning.
2. `cli/ci.check` failed 97% (721/741) — but it is a gate; non-zero on a real violation is
   expected. Not flagged as a defect.
3. `cli/review-ci` failed 23/23 (100%) — defect-shaped, worth a look. Routed to debugging.
4. Four workflow skills were abandoned mid-run (n=1 each) — low volume, a UX signal to watch.
5. Stale skills: none — the 67-day window can't satisfy the 90-day threshold yet.

No skills were pruned or edited — the pruning decision is left to the human.

Gates

Escalation

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.