$npx -y skills add 0oooooooo0/skillless --skill skill-searchSearch for Claude Code skills across multiple sources.
| 1 | # Skill: skill-search |
| 2 | |
| 3 | Search for Claude Code skills across multiple sources. |
| 4 | |
| 5 | user-invocable: false |
| 6 | description: Searches for relevant skills across local installation, skills.sh directory, and GitHub. Called by other skills or commands. |
| 7 | allowed-tools: [Read, Glob, Grep, Bash, WebSearch] |
| 8 | |
| 9 | ## Instructions |
| 10 | |
| 11 | When called with a search query, search these 3 sources and return consolidated results. |
| 12 | |
| 13 | ### Source 1: Local Installed Skills |
| 14 | Search already-installed skills: |
| 15 | ``` |
| 16 | Glob: ~/.claude/skills/*/SKILL.md |
| 17 | Grep: search for the query keywords in matched files |
| 18 | ``` |
| 19 | Mark these as `installed: true`. |
| 20 | |
| 21 | ### Source 2: skills.sh Directory |
| 22 | Search the skills.sh open skill directory using the CLI: |
| 23 | ```bash |
| 24 | npx skills find {query} |
| 25 | ``` |
| 26 | Parse the output to extract matching skills. Each line follows the format: |
| 27 | ``` |
| 28 | owner/repo@skill-name <N> installs |
| 29 | └ https://skills.sh/owner/repo/skill-name |
| 30 | ``` |
| 31 | Extract from the output: |
| 32 | - Skill name and exact owner/repo@skill-name path |
| 33 | - Install count (popularity indicator) |
| 34 | - Install command: `npx skills add -y -g <owner/repo@skill-name>` |
| 35 | |
| 36 | **IMPORTANT**: Always use the exact owner/repo path from the CLI output. Do NOT guess or modify the path. |
| 37 | |
| 38 | ### Source 3: GitHub (Fallback) |
| 39 | Only if Sources 1-2 return fewer than 3 results total: |
| 40 | ``` |
| 41 | WebSearch: site:github.com "SKILL.md" claude {query} |
| 42 | ``` |
| 43 | Parse results to extract skill repositories. |
| 44 | |
| 45 | ### Output Format |
| 46 | |
| 47 | Return results as a markdown table: |
| 48 | |
| 49 | | # | Name | Source | Description | Installed | |
| 50 | |---|------|--------|-------------|-----------| |
| 51 | | 1 | skill-name | local/skills.sh/github | Short description | Yes/No | |
| 52 | |
| 53 | Sort order: local first, then skills.sh, github. |
| 54 | |
| 55 | Also return a structured JSON block for programmatic use: |
| 56 | ```json |
| 57 | { |
| 58 | "results": [ |
| 59 | { |
| 60 | "name": "skill-name", |
| 61 | "source": "local|skills.sh|github", |
| 62 | "description": "...", |
| 63 | "installed": true, |
| 64 | "install_info": { |
| 65 | "type": "skills-add|github-plugin|skill-md|installed", |
| 66 | "url_or_name": "..." |
| 67 | } |
| 68 | } |
| 69 | ], |
| 70 | "query": "original query", |
| 71 | "total": 5 |
| 72 | } |
| 73 | ``` |