@xelandernt/skilly 0.0.25 → 0.0.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,3 +1,10 @@
1
+ [![npm](https://img.shields.io/npm/v/%40xelandernt%2Fskilly
2
+ )](https://www.npmjs.com/package/@xelandernt/skilly)
3
+ [![pyrefly](https://img.shields.io/endpoint?url=https://pyrefly.org/badge.json)](https://github.com/facebook/pyrefly)
4
+ [![GitHub stars](https://img.shields.io/github/stars/xelandernt/skilly)](https://github.com/xelandernt/skilly/stargazers)
5
+ [![PyPI Downloads](https://static.pepy.tech/badge/skilly/month)](https://pepy.tech/projects/skilly)
6
+ [![License](https://img.shields.io/github/license/xelandernt/skilly
7
+ )](https://github.com/xelandernt/skilly/blob/main/LICENSE)
1
8
  # skilly
2
9
 
3
10
  Manage [Agent Skills](https://agentskills.io/specification) from the command line
@@ -8,14 +15,26 @@ Python dependencies, and keeps managed skills up to date.
8
15
 
9
16
  ## Installation
10
17
 
11
- Run the CLI without installing it:
12
-
18
+ Run with `uvx`:
13
19
  ```shell
14
20
  uvx skilly --help
21
+
22
+ ```
23
+
24
+ Run with `npx`:
25
+ ```shell
15
26
  npx @xelandernt/skilly --help
16
27
  ```
17
28
 
18
- Or install the CLI and Python package:
29
+ Install the native CLI with Homebrew from this repository's tap:
30
+
31
+ ```shell
32
+ brew tap xelandernt/skilly https://github.com/xelandernt/skilly
33
+ brew install xelandernt/skilly/skilly
34
+ ```
35
+
36
+ Homebrew installs the CLI only. Install the Python package when you need the
37
+ import surface as well:
19
38
 
20
39
  ```shell
21
40
  pip install skilly
@@ -90,10 +109,10 @@ skills shipped by direct, development, and optional dependencies:
90
109
  uvx skilly scan
91
110
  ```
92
111
 
93
- Exclude dependency categories when needed:
112
+ Filter named groups and extras when needed:
94
113
 
95
114
  ```shell
96
- uvx skilly scan --no-dependency-groups --no-optional-dependencies
115
+ uvx skilly scan --group dev --exclude-extra docs
97
116
  ```
98
117
 
99
118
  ### Install GitHub Skills
@@ -124,11 +143,44 @@ Management commands accept the same destination options:
124
143
 
125
144
  Without destination options, `skilly` uses `.agents/skills`.
126
145
 
146
+ Set `SKILLY_DIRECTORY` to change that default without passing `--directory`
147
+ every time:
148
+
149
+ ```shell
150
+ export SKILLY_DIRECTORY="$HOME/.config/skilly/skills"
151
+ skilly list
152
+ ```
153
+
154
+ `--directory`, `--local`, `--global`, `--claude`, `--codex`, and `--copilot`
155
+ override `SKILLY_DIRECTORY` when provided explicitly.
156
+
127
157
  ```shell
128
158
  uvx skilly download https://github.com/example/project --global --codex
129
159
  uvx skilly list --local --claude
130
160
  ```
131
161
 
162
+ #### Destination Mapping
163
+
164
+ `skilly` resolves destination paths before use. Relative paths become absolute
165
+ from the current working directory, and `--directory "~/.copilot"` expands `~`
166
+ to your home directory.
167
+
168
+ | Flags | Resolved destination |
169
+ |----------------------|---------------------------------------------------------------------------|
170
+ | _none_ | `SKILLY_DIRECTORY` when set, otherwise `.agents/skills` |
171
+ | `--local` | `.agents/skills` |
172
+ | `--global` | `~/.agents/skills` |
173
+ | `--claude` | `.claude/skills` |
174
+ | `--claude --global` | `~/.claude/skills` |
175
+ | `--codex` | `.codex/skills` |
176
+ | `--codex --global` | `~/.codex/skills` |
177
+ | `--copilot` | `.github/skills` |
178
+ | `--copilot --global` | `~/.copilot/skills` |
179
+ | `--directory <path>` | Exactly that directory, after `~` expansion and absolute-path resolution. |
180
+
181
+ `--directory` overrides `--local`, `--global`, `--claude`, `--codex`, and
182
+ `--copilot`.
183
+
132
184
  ### GitHub Authentication
133
185
 
134
186
  Authenticated requests have higher GitHub API rate limits. Use the first
@@ -153,7 +205,10 @@ from skilly import ProjectSettings, Skill, SkillRepository
153
205
 
154
206
  repository = SkillRepository(
155
207
  directory=Path(".agents/skills"),
156
- project=ProjectSettings(include_dependency_groups=True),
208
+ project=ProjectSettings(
209
+ dependency_groups=("dev",),
210
+ optional_dependencies=("docs",),
211
+ ),
157
212
  )
158
213
 
159
214
  created = repository.install(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xelandernt/skilly",
3
- "version": "0.0.25",
3
+ "version": "0.0.28",
4
4
  "description": "Native npm launcher for the skilly CLI.",
5
5
  "license": "MIT",
6
6
  "bin": {
Binary file
Binary file