/pm-skill-promoter:promoter-scanfrom pm-skill-promoter
Scans Claude Code transcripts and claude.ai exports to find recurring requests, clusters them by intent, and ranks each pattern by how promotable it is into a reusable skill. Produces a ranked report with frequency, redacted examples, variation, and promotability score.
Ships in pm-skill-promoter. 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.
Most people have five or six prompts they type every week with small variations. Each one is a skill that has not been written down yet. This skill reads your own transcripts, groups the requests by what they are trying to do, and ranks the groups by how much they would gain from becoming a skill: often asked, phrased consistently, with clear inputs and outputs.
It is the first step of the promote loop: scan, draft, test, publish. The /promote command runs the whole loop.
Ask for these if not provided:
*.jsonl under ~/.claude/projects/<project>/. A claude.ai export is a conversations.json inside the downloaded archive. Either or both work; a folder is fine.A pattern is worth promoting when all three are true:
| Component | Weight | High when |
|---|---|---|
| Frequency | 50% | it comes up often relative to everything else the user asks |
| Consistency | 30% | the prompts share vocabulary; the same job, not a family of jobs |
| Clear inputs and outputs | 20% | the prompts say what goes in ("from this git log") and what comes out ("as a table") |
Verdicts: 60 and above is promote; 35 to 59 is maybe, usually a family that needs splitting into two skills; below 35 is leave alone.
Redaction is not optional. Emails, phone numbers, card and account numbers, API keys, tokens, passwords and URLs are replaced before anything is written to the report. If the user names extra terms to strip, strip them too. When in doubt, paraphrase the example rather than quote it.
scripts/promoter_scan.py does the reading, redaction, clustering and scoring. Stdlib only.
python3 skills/promoter-scan/scripts/promoter_scan.py ~/.claude/projects/my-project --json scan-report.json
python3 skills/promoter-scan/scripts/promoter_scan.py ~/Downloads/claude-export/conversations.json --min-count 4
It prints the markdown report and, with --json, writes the clusters for the draft step. Run it first; use the output as the evidence, then add the human reading of each pattern that the script cannot give (whether two clusters are really one job, whether a high scorer is actually a one-off spree).
| # | Pattern | Times | Score | Frequency | Consistency | Clear I/O |
|---|
Example prompts (redacted):
Variation: [low / medium / high, and what varies: the source material, the audience, the format].
Verdict: [promote / maybe / leave], because ...
Suggested skill name: [kebab-name]
[The one pattern with the best score-to-effort ratio and why]
Run this skill in your browser: https://mohitagw15856.github.io/pm-claude-skills/skill/promoter-scan.html
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub mohitagw15856/pm-claude-skills --plugin pm-skill-promoter4 skills in this plugin
/promoter-draftTurn one recurring pattern from a promoter scan into a complete, reusable skill in this library's format: a SKILL.md with a strong trigger description, required inputs, a framework, an output template, quality checks, anti-patterns, and three worked examples derived from the user's real prompts, plus the bundle manifest. Use when asked to draft a skill from this pattern, promote this pattern into a skill, write the SKILL.md for what I keep asking, or as the second step of the promote loop. Produces a ready-to-test skill folder that anyone, not just the original user, can use./promoter-publishRegister a finished skill in this library and produce the complete release package: the bundle wiring and marketplace entry, the regenerated catalogue and exports, the headline count in every living document, the CHANGELOG entry, the gates to run, and the exact git and release commands. Use when asked to publish this skill, release the new skill, add it to the marketplace, ship the promoted skill, or as the last step of the promote loop. Produces the full release package, never a partial one, with a confirmation step before anything is pushed./promoter-testGenerate an evals file for a drafted skill and measure whether its trigger description fires on the right requests: five to eight phrases that should trigger it, five that should not, three golden input and output pairs, then precision and recall against the description, with a rewrite loop when precision is below 0.8. Use when asked to test this skill's triggers, write evals for the new skill, check the description fires correctly, or as the third step of the promote loop. Produces an evals.json beside the skill, a case in the library's evals, and a precision and recall report.Other plugins' skills for the same job