|
| 1 | +# skillx-sh |
| 2 | + |
| 3 | +The Only Skill That Your AI Agent Needs. |
| 4 | + |
| 5 | +CLI for the [SkillX.sh](https://skillx.sh) marketplace — search, discover, and use AI agent skills from your terminal. |
| 6 | + |
| 7 | +## Install |
| 8 | + |
| 9 | +```bash |
| 10 | +npm install -g skillx-sh |
| 11 | +``` |
| 12 | + |
| 13 | +Or run directly with npx: |
| 14 | + |
| 15 | +```bash |
| 16 | +npx skillx-sh search "code review" |
| 17 | +``` |
| 18 | + |
| 19 | +## Commands |
| 20 | + |
| 21 | +### `skillx search <query>` |
| 22 | + |
| 23 | +Search the SkillX marketplace for skills. |
| 24 | + |
| 25 | +```bash |
| 26 | +skillx search "code review" |
| 27 | +skillx search "database migration" |
| 28 | +``` |
| 29 | + |
| 30 | +### `skillx find <query>` |
| 31 | + |
| 32 | +Interactive search — browse results and select a skill to view details. |
| 33 | + |
| 34 | +```bash |
| 35 | +skillx find "testing" |
| 36 | +``` |
| 37 | + |
| 38 | +### `skillx use <slug>` |
| 39 | + |
| 40 | +View a skill's details and content. Supports GitHub `org/repo` format — if the skill isn't registered yet, it auto-registers from the repo. |
| 41 | + |
| 42 | +```bash |
| 43 | +skillx use my-skill |
| 44 | +skillx use owner/repo # auto-registers from GitHub |
| 45 | +skillx use my-skill --raw # output raw content (for piping) |
| 46 | +``` |
| 47 | + |
| 48 | +### `skillx report <slug> <outcome>` |
| 49 | + |
| 50 | +Report skill usage outcome (requires API key). |
| 51 | + |
| 52 | +```bash |
| 53 | +skillx report my-skill success |
| 54 | +skillx report my-skill failure --model claude-sonnet-4 --duration 5000 |
| 55 | +``` |
| 56 | + |
| 57 | +### `skillx config` |
| 58 | + |
| 59 | +Manage CLI configuration. |
| 60 | + |
| 61 | +```bash |
| 62 | +skillx config set-key # set your API key |
| 63 | +skillx config set-url <url> # set custom API URL |
| 64 | +skillx config show # show current config |
| 65 | +``` |
| 66 | + |
| 67 | +## Configuration |
| 68 | + |
| 69 | +**API Key** — get yours at [skillx.sh/settings](https://skillx.sh/settings), then: |
| 70 | + |
| 71 | +```bash |
| 72 | +skillx config set-key |
| 73 | +``` |
| 74 | + |
| 75 | +Or set via environment variable: |
| 76 | + |
| 77 | +```bash |
| 78 | +export SKILLX_API_KEY=your-key-here |
| 79 | +``` |
| 80 | + |
| 81 | +## Links |
| 82 | + |
| 83 | +- Website: [skillx.sh](https://skillx.sh) |
| 84 | +- GitHub: [github.com/nextlevelbuilder/skillx](https://github.com/nextlevelbuilder/skillx) |
| 85 | + |
| 86 | +## License |
| 87 | + |
| 88 | +MIT |
0 commit comments