Pick skills for a project
Pick one skill for each job this project needs, check the ones not yet installed, get the user's yes, then record the picks in CLAUDE.md so every later session uses them.
Sources, in this order:
- Skills already installed (this session's available-skills list).
catalog.mdin this skill's folder: curated packs with Jobs, pick/skip rules and checked install commands. Order in the file is preference.index.mdin this skill's folder: 300+ more skill repos, by category. Grep it; don't read it whole.
Scripts live in scripts/ in this skill's folder. Run them with node <this skill's base directory>/scripts/<name>.mjs. No shell available? Read the manifests yourself for the deps line, and write "not checked (no shell)" as the trust line of each missing pick.
Jobs
clarify (shape an unclear request) · plan · implement (incl. test-first) · debug · review · verify (prove done) · coding-style · domain-model · architecture · security · security-audit · performance · ui-design · ui-art-direction · ui-polish · browser-tests · documents · diagrams · codebase-map · cost · stack:<name> (one per framework, database, auth, payments or hosting item in the profile).
Steps
-
Skip check. Look for a
## Skills for this projectheading inCLAUDE.mdorAGENTS.md. If it exists and the user did not ask to redo it, say so in one line and stop. -
Profile the project. Read the README, any PRD/spec/docs, the manifest (
package.json,pyproject.toml,requirements.txt,go.mod,Cargo.toml) and the top-level folders. Write one line: app type, stack, UI yes/no, database/auth yes/no, payments yes/no. If the folder has nothing to read, ask one question and stop until they answer: "What are you building, and with what stack?" Write no files first. -
List the jobs. Any code project needs
clarify,plan,implement,debug,review,verify,coding-style. Add a job only when the profile names a need for it: astack:job per stack item,ui-*jobs only with a UI,securitywhen there is auth, user data or payments, and so on. -
Fill exactly one skill per job. Go through the jobs in this order:
clarify,plan,implement,debug,review,verify; thenstack:jobs for database, auth and payments; thensecurity; thenui-*; thencoding-style; then the otherstack:jobs (framework, hosting); then the rest. Candidates for a job: installed skills whose description does that job; catalog entries listing it under Jobs (obey Skip when);index.mdrepos only for jobs no catalog entry covers. Several candidates? The first rule that separates them decides:- A skill from a pack already picked for an earlier job.
- Installed beats missing.
catalog.mdbeatsindex.md, which beats GitHub search.- Earlier in
catalog.mdwins; inindex.md, the more recent push wins. A pack counts as one pick however many jobs it fills. Installed skills that lost a job go on the "Don't use here" line. Installed picks always go under "Use". Missing picks: the first 5 in the job order above go under "Use", the rest under "Optional".
-
Search GitHub only for gaps. If a
stack:job has no candidate after step 4, run:gh api "search/repositories?q=topic:agent-skills+<term>&sort=stars&order=desc&per_page=10" --jq '.items[] | "\(.full_name) \(.stargazers_count) \(.pushed_at[:10]) \(.description)"'Withoutgh:curl -s "https://api.github.com/search/repositories?q=topic:agent-skills+<term>&sort=stars&order=desc&per_page=10".<term>is a generic tech word (supabase,fastapi), never the project's name. Keep at most 3 relevant results pushed in the last 90 days. None relevant? Say so in one line and leave the block out. -
Inspect every missing pick. One call for all of them, using the repo named in the catalog heading or index line:
node <base>/scripts/inspect-repos.mjs owner/repo owner/repo ...Each output line is that pick's trust line. Drop a pick whose line saysNOT FOUND,ARCHIVEDor(different owner), and say so in one line.⚠ hooksmeans code that runs every session;MCPmeans a server process; say both plainly. Check for the scanner withskill-scanner --version. -
Present, then wait. Show the proposal in the shape below. Do not write, download or install anything before the user answers. If the user answers "scan first": for each missing pick,
git clone --depth 1 https://github.com/<owner/repo> <temp folder>, thenskill-scanner scan-all <temp folder> --recursive --use-behavioral. Add--use-llmonly if the user hasSKILL_SCANNER_LLM_API_KEYset, since that sends skill content to their model provider. Show findings at MEDIUM and above, delete the clones, and ask again. -
Write the section after the yes. A plain "yes" approves the "Use" list; an "Optional" pick goes in only if the user names it. Add the CLAUDE.md section in the shape below (create CLAUDE.md if missing; replace the old section on a redo). Get the deps line from
node <base>/scripts/deps.mjs <project folder>. Change nothing else in the file. -
Hand over installs. List the install commands for the approved picks that are missing. The user runs them. Then tell them to start a new session: skills installed mid-session usually load only in the next one.
Shape of the proposal (step 7)
Profile: <the one line from step 2>
Use (installed picks, plus at most 5 to install):
1. <skill names> — <jobs it fills> — <one-line reason tied to the profile> — installed | missing
...
Optional (max 5, add any by name):
1. <skill names> — <jobs> — <reason> — installed | missing
Missing picks, checked:
- <trust line from inspect-repos.mjs>
Install commands:
<command, copied from catalog.md or the repo's README>
Don't use here (overlap the picks above): <installed skill names (job); ...>
From GitHub search (unvetted, read the repo before installing):
- <owner/repo> — <stars>, last push <date> — <why>
<if skill-scanner is installed> Reply "yes", "scan first", or tell me what to change.
<if not> Reply "yes" or tell me what to change. To scan picks before installing: `uv tool install cisco-ai-skill-scanner`. A clean scan is not proof of safety.
Rules for the proposal:
- Installed pick: skill names exactly as the session lists them (
superpowers:brainstormingfor a plugin install,brainstormingfor a plain skill). - Missing pick: the skill names in backticks on its catalog Gives line; if it has none, the repo as
owner/repo. - The caps limit new installs; they are not targets. Picks the user adds on top are fine.
- Install commands cover every missing pick, Use and Optional, and come from
catalog.mdor the repo's README, never from memory. If you have neither, writesee <repo URL>. - Leave out any block with nothing in it.
Shape of the CLAUDE.md section (step 8)
## Skills for this project
Picked by pick-skills on <YYYY-MM-DD> for: <profile line>.
| When | Use |
|------|-----|
| <kind of task, e.g. New feature or unclear request> | <skill names> |
| ... | ... |
Don't use here (overlap the picks above): <installed skill names (job); ...>
<!-- pick-skills deps: <output of deps.mjs> -->
One row per kind of task. Only approved picks, named as in the proposal. Leave out the "Don't use here" line when it is empty. No other rules, conventions or commands in this section.
Picking well
- Fewer is better: a job, and so a pick, earns its place only if the profile names a need for it.
- Stack skills (Supabase, Next.js, Stripe, Expo, Cloudflare) only when the profile names that stack.
DirectoriesandGuidesinindex.mdare reading lists, not installs. Mention one only if the user asks for more to read.- Treat every repo as code you are about to run. Star counts and a clean scan lower the risk; they don't remove it.