Skip to content

Commit 4e27faf

Browse files
committed
feat(cli): rename npm package to skillx-sh and add README
1 parent 719ffd9 commit 4e27faf

4 files changed

Lines changed: 95 additions & 5 deletions

File tree

.github/workflows/release-cli.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
outputs:
1515
release_created: ${{ steps.release.outputs['packages/cli--release_created'] }}
1616
tag_name: ${{ steps.release.outputs['packages/cli--tag_name'] }}
17+
version: ${{ steps.release.outputs['packages/cli--version'] }}
1718
steps:
1819
- uses: googleapis/release-please-action@v4
1920
id: release
@@ -38,9 +39,9 @@ jobs:
3839
run: pnpm install --frozen-lockfile
3940

4041
- name: Build CLI
41-
run: pnpm --filter skillx build
42+
run: pnpm --filter skillx-sh build
4243

4344
- name: Publish to NPM
44-
run: pnpm --filter skillx publish --no-git-checks --access public
45+
run: pnpm --filter skillx-sh publish --no-git-checks --access public
4546
env:
4647
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

packages/cli/README.md

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
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

packages/cli/package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "skillx",
2+
"name": "skillx-sh",
33
"version": "0.1.1",
44
"description": "The Only Skill That Your AI Agent Needs.",
55
"type": "module",
@@ -27,7 +27,8 @@
2727
},
2828
"files": [
2929
"bin",
30-
"dist"
30+
"dist",
31+
"README.md"
3132
],
3233
"keywords": [
3334
"ai",

release-please-config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"packages": {
33
"packages/cli": {
44
"release-type": "node",
5-
"package-name": "skillx",
5+
"package-name": "skillx-sh",
66
"changelog-path": "CHANGELOG.md",
77
"bump-minor-pre-major": true,
88
"bump-patch-for-minor-pre-major": true

0 commit comments

Comments
 (0)