Skill Discovery First
Purpose
When no installed skill fits a novel task, find and adapt an existing skill before building one from scratch. Reuse keeps upstream improvements; a from-scratch copy forks maintenance.
Workflow
- Look at what is installed. List the skill directories: user level (your agent’s skills directory, for example
~/.claude/skills/or~/.agents/skills/); repo level.github/skills/and.agents/skills/. Read the descriptions using two or three keyword angles, then read the best match’sSKILL.mdbefore concluding nothing fits. - Search the wider ecosystem if nothing installed fits. Query the skills.sh search API, which returns install counts (checked on the work PC on 2026-11-29):
- PowerShell:
Invoke-RestMethod "https://skills.sh/api/search?q=<query>&limit=10". bash:curl -s "https://skills.sh/api/search?q=<query>&limit=10". - Each result has
id(<owner>/<repo>/<skillId>),source(<owner>/<repo>),nameandinstalls. The page ishttps://skills.sh/<id>; the source repository ishttps://github.com/<source>. - Do not trust an empty
npx -y skills find "<query>". On 2026-11-29 it ran a binary namedadd-skilland printed “No skills found” forpdf, while the API returned thepdfskill with 239,827 installs. If the CLI is empty, call the API. - Results vary sharply by keyword, so try several query angles. Then check awesome-skill lists, the vendor’s own repository and community libraries. Collect two to four candidates.
- A TLS error such as
UnknownIssuerbehind a corporate proxy: setSSL_CERT_FILEto your organization’s root certificate; do not disable certificate checks.
- PowerShell:
- Apply the quality gates (Operating Rule 5) to the candidates and drop any that fail. Take the closest survivor, read its source first, then adapt it into your agent’s user-level skills directory. Record the source repository and commit you took it from, and adapt tool paths and trigger wording to your environment.
- Only when no candidate is adaptable, author a new skill (VS Code: Chat: New Skill; otherwise write the
SKILL.mdby hand:nameequal to the directory name, lowercase kebab-case, description at most 1024 characters). Record which searches were run, so a later audit can see the discovery trail. - When adapting someone else’s skill, keep attribution and license notes intact.
Output Contract
- The task is done with an adapted skill, or a new skill exists whose file records the discovery searches it ran.
- No from-scratch skill is built while a usable skill was one search away.
- The user saw the chosen candidate’s evidence fields (popularity, source, link) before it was adapted.
Operating Rules
- Catalog first, web second, scratch last. Do not skip to step 4 because writing feels faster.
- Adapt, don’t just install: rewrite tool paths, conventions and trigger wording to match this machine.
- One task, one skill decision: if the adapted skill covers it, stop. Do not also author a parallel from-scratch skill for the same job.
- Keep personal facts, secrets, credentials and task records out of adapted or authored skills; cite evidence by handle instead of copying conversations into files.
- Quality gates before recommending or adapting (absorbed from the find-skills playbook, 2026-10-22): prefer skills with 1K+ installs; treat under 100 installs with caution; official sources (the vendor’s own org) outrank unknown authors; a source repository under 100 stars needs its skepticism stated out loud. Presentation contract: every candidate shown to the user carries name, what it does, install count or popularity signal, source and link. A recommendation without its evidence fields is incomplete.
- Install only what the work needs. Every installed skill puts its description into the context of every session, so a skill that is not needed stays uninstalled.