skillio 0.1.11 → 0.1.13

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
@@ -2,6 +2,11 @@
2
2
 
3
3
  [![npm version](https://img.shields.io/npm/v/skillio)](https://www.npmjs.com/package/skillio)
4
4
  [![CI](https://github.com/ihororlovskyi/skillio/actions/workflows/ci.yml/badge.svg)](https://github.com/ihororlovskyi/skillio/actions/workflows/ci.yml)
5
+ [![CodeQL](https://github.com/ihororlovskyi/skillio/actions/workflows/codeql.yml/badge.svg)](https://github.com/ihororlovskyi/skillio/actions/workflows/codeql.yml)
6
+ [![OpenSSF Scorecard](https://api.securityscorecards.dev/projects/github.com/ihororlovskyi/skillio/badge)](https://securityscorecards.dev/viewer/?uri=github.com/ihororlovskyi/skillio)
7
+ [![codecov](https://codecov.io/gh/ihororlovskyi/skillio/branch/main/graph/badge.svg)](https://codecov.io/gh/ihororlovskyi/skillio)
8
+ [![license](https://img.shields.io/npm/l/skillio)](https://github.com/ihororlovskyi/skillio/blob/main/LICENSE)
9
+ [![node](https://img.shields.io/node/v/skillio)](https://www.npmjs.com/package/skillio)
5
10
 
6
11
  Audit and manage AI agent skills for Claude Code and OpenAI Codex.
7
12
 
@@ -76,10 +81,12 @@ skl cost # ambient ballast cost (frontmatter token
76
81
  skl cst # alias for cost
77
82
  skl usage # consumption: usage count × frontmatter tokens
78
83
  skl usg # alias for usage
79
- skl rm brainstorming # remove from lock + delete on-disk dir (with Y/n prompt)
84
+ skl rm brainstorming # delete on-disk dir; lock kept (Y/n prompt)
80
85
  skl rm brainstorming writing-plans # remove multiple
86
+ skl rm --all # remove all skills in scope
81
87
  skl rm --yes brainstorming # skip confirmation
82
88
  skl rm --dry-run brainstorming # preview only
89
+ skl rm --force-lock brainstorming # also remove the lock entry
83
90
 
84
91
  # scope flags
85
92
  skl -g # force global scope on any subcommand
@@ -114,7 +121,7 @@ skl usage -a claude -a codex # equivalent: repeated --agent flag
114
121
  | `-h, --help` | — | Show help and exit |
115
122
  | `-v, --version` | — | Show version and exit |
116
123
  | `-g, --global` | `false` | Use global scope (ignore current directory) |
117
- | `-p, --period` | `all` | Period for `usage`: `30sec`, `5min`, `12h`, `7d`, `2w`, `1m`, `1y`, `all` |
124
+ | `-p, --period` | `all` | Period for `usage`: `60s`, `30m`, `12h`, `7d`, `2w`, `6mo`, `all` (note: `1m` = 1 minute, `1mo` = 30 days) |
118
125
  | `-a, --agent` | both | Agent for `usage`: `claude-code` (alias `claude`), `codex` — pass both space-separated (`-a claude-code codex`) or repeat the flag |
119
126
 
120
127
  ### `skillio usage` / `us`
@@ -129,9 +136,9 @@ skillio usage --agent codex --mode activations
129
136
  | Flag | Default | Description |
130
137
  |------|---------|-------------|
131
138
  | `-a, --agent` | both | `claude-code`/`claude`, `codex` |
132
- | `-p, --period` | `all` | `7d`, `2w`, `1m`, `1y`, `all` |
139
+ | `-p, --period` | `all` | `60s`, `30m`, `24h`, `7d`, `2w`, `6mo`, `all` |
133
140
  | `--since` | — | `yyyy-mm-dd`, overrides `--period` |
134
- | `--mode` | `attributed` (claude) / `activations` (codex) | `attributed` \| `activations` \| `mentions` |
141
+ | `--mode` | `merged` (claude) / `activations` (codex) | `merged` \| `attributed` \| `activations` \| `mentions` |
135
142
  | `--format` | `text` | `text` \| `json` |
136
143
  | `-g, --global` | `false` | Force global scope (ignore current directory) |
137
144
  | `--root` | — | Override agent sessions directory; implies global |
@@ -139,9 +146,10 @@ skillio usage --agent codex --mode activations
139
146
 
140
147
  ### Modes
141
148
 
142
- - **`attributed`** — entries with an `attributionSkill` field set by Claude Code. This is the default and most reliable Claude mode.
143
- - **`activations`** — explicit `Skill` tool invocations found anywhere in the entry tree (Claude) or `exec_command_end` events / `<skill>` XML (Codex). This is the default and most reliable Codex mode.
144
- - **`mentions`** — skill paths (`foo/SKILL.md`) or `superpowers:name` strings found in any string value. This is a broad search mode and can include examples from prompts, specs, or documentation.
149
+ - **`merged`** — per-session union of `attributed` and `activations` (`max` per skill). Default for Claude.
150
+ - **`attributed`** — entries with an `attributionSkill` field set by Claude Code.
151
+ - **`activations`** — explicit `Skill` tool invocations (Claude) or read-like `exec_command_end` events / `<skill>` XML (Codex). Default for Codex.
152
+ - **`mentions`** — skill paths (`foo/SKILL.md`) or `superpowers:name` strings found anywhere. Broadest signal; can include matches from prompts, specs, or documentation.
145
153
 
146
154
  ### `skillio list` / `ls`
147
155
 
@@ -160,13 +168,36 @@ skillio cost --global # same, against ~/.agents/.skill-lock.json
160
168
  ### `skillio remove` / `rm`
161
169
 
162
170
  ```sh
163
- skillio remove <skill-name>
171
+ skillio remove <skill-name> # delete on-disk dir; lock kept
164
172
  skillio remove <skill-one> <skill-two>
173
+ skillio remove --all # remove all skills in scope
174
+ skillio remove --force-lock <skill-name> # also remove the lock entry
175
+ skillio remove --lock-only <skill-name> # only the lock entry; keep on disk
165
176
  skillio remove --global <skill-name>
166
- skillio remove --dry-run <skill-name>
167
- skillio remove --yes <skill-name> # skip confirmation prompt
177
+ skillio remove --dry-run <skill-name> # preview only
178
+ skillio remove --yes <skill-name> # skip confirmation prompt
168
179
  ```
169
180
 
181
+ ### Shell completion
182
+
183
+ `skl completion <shell>` prints a completion script. Sourced once in your
184
+ rc-file, it tab-completes subcommands and dynamic skill names for `skl rm`.
185
+
186
+ ```sh
187
+ # bash (one-time setup)
188
+ skl completion bash >> ~/.bashrc
189
+
190
+ # zsh
191
+ skl completion zsh >> ~/.zshrc
192
+
193
+ # fish
194
+ skl completion fish | source # one-off in current shell
195
+ skl completion fish > ~/.config/fish/completions/skl.fish
196
+ ```
197
+
198
+ `skl list --names` prints one skill name per line (no headers, no colors) and
199
+ is what the completion script calls under the hood.
200
+
170
201
  ## Requirements
171
202
 
172
203
  - Node.js ≥ 20