/training:finding-skill-opportunitiesfrom training
Scans git history and Claude Code session transcripts to find recurring multi-step procedures worth turning into skills. Use when asked to audit a repo for automatable workflows or decide what skills to write.
Ships in training. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
A skill opportunity is a recurring, multi-step procedure that involves judgment and keeps getting repeated by hand. Two independent bodies of evidence show where those live:
They fail in opposite directions, which is why the default is both. Git sees only work that ended in a commit, so a ritual done by hand every week in a repo nobody commits to is invisible to it. Sessions see the ask but not the long arc, and they only cover the transcripts on this machine.
This skill scans both deterministically (via the bundled scripts) so you don't eyeball thousands of commits or sessions, then applies judgment to turn the raw signals into a ranked list of skill candidates with evidence.
Core principle: Let the scripts find the repetition; you decide which repetitions are worth a skill.
Not for: writing the skill itself (use superpowers:writing-skills once you've picked a candidate) or one-off tasks with no repetition.
| Input | Default | How to set |
|---|---|---|
| Repo | current directory | --repo <path> on every script |
| Lookback days | 30 | --days N on both mining scripts. Larger windows find slower rituals (quarterly releases); smaller ones show what the team is doing now. |
| Source | both | git = repo evidence only; sessions = transcripts only; both = run everything and corroborate |
| Rows per section | 20 | --top N |
Take these from the user's request; don't interrogate them for defaults. Pick sessions only when the repo's history is irrelevant or absent, and git when transcripts are unavailable (someone else's machine, a repo you just cloned). Always state the window and sources you used in the report — a candidate list means little without knowing what was looked at.
All scripts are read-only and deterministic. Run the ones the chosen source calls for, then synthesize. The script paths below are relative to this skill's own directory. Run them from that base directory, not from the repo being scanned.
Mine git history (source git or both):
bash scripts/git-signals.sh --repo <path> --days 30 --top 20
# or an absolute cutoff / free-form date: --since "1 year ago"
Inventory existing workflow encodings (source git or both; lowest-hanging fruit — the steps already exist):
bash scripts/scan-workflows.sh --repo <path>
Mine session transcripts (source sessions or both):
uv run python scripts/session-signals.py --repo <path> --days 30 --top 20
# widen beyond this repo's sessions: --scope all
Reads ~/.claude/projects/*/*.jsonl. A session counts as being about the repo if its working directory is the repo or it edited files inside it — people routinely run Claude from a vault or workspace root while working on another repo, and the summary breaks the match down (matched by cwd vs by files edited) so you can see which happened. Use --scope all to ignore repo membership entirely.
Invoke Python as uv run python on this user's machine (bare python hits the Windows Store stub); the script is pure standard library, so python3 … works anywhere else.
Privacy: transcripts are the user's own prompts and can quote client material. The script only reads them, but its output can include prompt snippets — pass --no-examples whenever the report will be shared or committed.
Cross-reference and synthesize. A signal is strong when it shows up in more than one output — release keywords in commit subjects AND a release package.json script AND a CHANGELOG co-change cluster all describe one release procedure. Session hot files print repo-relative so they line up directly with the git hot-file rows.
Disagreement is itself a finding: something heavy in sessions but absent from git is work that never lands in a commit (often the most skill-worthy kind), while something heavy in git but absent from sessions is probably already automated or done outside Claude.
Rank candidates against the criteria below and write the report (see Output).
Hand each chosen candidate to superpowers:writing-skills to author the actual SKILL.md. This skill finds opportunities; it does not write the skills.
Every ranked section means something specific, and the meanings differ by source. Read references/signal-interpretation.md once the outputs are in front of you — it maps each section of each script to the kind of opportunity it implies, including which sections are volume-only and which name a candidate outright.
Rank each candidate by these. A strong candidate hits most of them:
Drop candidates that are: one-offs, already fully automated with no judgment, or purely project-trivia better left in a CLAUDE.md.
Produce a ranked report, strongest first. For each candidate:
### <candidate skill name (verb-first, e.g. "cutting-a-release")>
Evidence: <which signals, with counts, each tagged by source — e.g.
"git: 52 'release' subjects, CHANGELOG.md+package.json co-change x62;
sessions: 9 'release ...' request clusters, Bash->gh->Bash x14">
Procedure: <the repeated steps, as far as the evidence reveals them>
Why a skill: <which criteria it hits>
Next step: hand to superpowers:writing-skills
Open the report with the scope line: sources mined, lookback window, and volume (commits and/or sessions analyzed).
End with a short list of signals you considered and rejected, so the audit is auditable (e.g. "lockfile churn — mechanical, no skill needed").
scan-workflows.sh first.--no-examples for any report that leaves the machine.superpowers:writing-skills.scripts/git-signals.sh — deterministic git-history analysis (prefixes, keywords, hot files, co-change pairs, busy dirs). --repo, --days, --since, --top. Run --help for details.scripts/scan-workflows.sh — inventories Makefiles, package.json scripts, task runners, CI, scripts/, runbook docs, and existing skills. --repo. Run --help for details.scripts/session-signals.py — deterministic session-transcript analysis (funnel, request clusters, keywords, tool-sequence n-grams, hot files, co-edited pairs, skills used, friction). --repo, --days, --since, --top, --scope, --transcripts-dir, --no-examples. Run --help for details.All three default to the current directory and emit sorted output with no wall-clock timestamps, so reruns over the same window and unchanged inputs are byte-identical.
If a script can't run here (missing bash, no Python, no transcript directory, or a different OS): don't abandon the task — run the sources that do work, say which one you skipped and why, and reproduce what you can with the tools this environment has.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
9 skills in this plugin
/api-playwright-testingGuides the creation of Playwright API tests from exploration through implementation. Covers API discovery, test plan creation, helper/data factory development, and test writing with human checkpoints at each stage./context-coverageAudit how agent context (CLAUDE.md, AGENTS.md, GitHub Copilot instructions, Cursor/Windsurf rules, rules directories, skills) lines up with the code across a set of repositories and generate a self-contained HTML report. The report leads with a short list of specific "things to check" (context behind the code, thin coverage for the codebase, oversized files, no per-area context), then per-repo raw metrics and a folder tree comparing folder LOC to context coverage, and can show what changed since an earlier run. Use when the user wants to audit context coverage across repos, "which repos are missing CLAUDE.md", "which repos have no Copilot instructions", "where is our agent context thin or stale", "context coverage across my org / projects folder", "track context coverage week over week", or "/context-coverage". Works on a local folder of clones, a whole GitHub org via the gh CLI, or a single monorepo scoped to just the areas one team owns.Other plugins' skills for the same job
npx claudepluginhub devclarityai/devclarity-marketplace --plugin training