Searches GitHub for relevant Claude skills whenever a user asks to find, search for, or install a skill, mentions a task that might benefit from a skill, or says anything like "find me a skill for X", "is there a skill that can help with Y", "look for a skill on GitHub", or "any skills available for Z". Also proactively suggest searching GitHub when the user describes a complex or specialized task and no locally installed skill covers it. Use this skill any time it seems like a GitHub skill might help — even if the user doesn't explicitly mention GitHub or skills.
Helps users discover and install Claude skills from GitHub.
If the user hasn't already described what they want to do, ask in one sentence. Extract the core task or topic to use as search terms (e.g., "pdf generation", "data visualization", "email drafting").
Use web search to find relevant skills on GitHub. Run 2–3 searches with different phrasings:
Search queries to try:
1. github Claude skill "<topic>" SKILL.md
2. github "claude skill" "<topic>" filetype:md
3. github "<topic>" skill claude anthropic SKILL.md
Look for repositories that contain a SKILL.md file — that's the telltale sign of a Claude skill. Also look for .skill packaged files.
For each promising result (up to 5):
https://github.com/org/repo) — this is more reliably accessible than raw URLsraw.githubusercontent.com URLs directly — these are often blocked by network restrictionsFallback strategy if fetching fails: Use search snippet content to summarize the skill. A good README and search preview almost always captures the essential "what it does" and "when to use it" info needed for the user to decide.
Show a clear comparison like this:
Found X skills that might help:
1. **skill-name** (github.com/org/repo ⭐123)
Does: [one-line summary]
Best for: [use cases]
Last updated: [date]
2. **another-skill** ...
Which one would you like to install? (or "none of these" to search differently)
Once the user picks one:
/mnt/skills/user/<skill-name>/Note: curl and raw.githubusercontent.com URLs may be blocked in the container. If so, use web_fetch on the main GitHub repo page, or reconstruct the skill from search content — this works well in practice since READMEs and search previews capture the key instructions.
If copying to /mnt/skills/user/ fails due to permissions, inform the user and suggest they copy the files manually or contact their admin.
After installing, say: "Want me to try it out right now? Just describe a task and I'll use the new skill."
claude-skills, claude-skill-*, or under orgs like anthropics-skills — check these if broad search is weak