skillcask 0.8.0 → 0.9.1

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
@@ -161,6 +161,9 @@ follow `config.toml`.
161
161
  # ~/.config/skillcask/config.toml
162
162
  [agents]
163
163
  targets = ["claude", "kiro"]
164
+
165
+ [search]
166
+ skills-sh = true # search also asks skills.sh (it receives the query); written by search --remember
164
167
  ```
165
168
 
166
169
  When a target is dropped, the next `install` removes the links skillcask made there; `doctor`
@@ -271,7 +274,7 @@ skillcask -g install --frozen # e.g. from a dotfiles repository
271
274
 
272
275
  ### Commands
273
276
 
274
- Every command except `publish` and `validate` takes `-g, --global`.
277
+ Every command except `publish`, `validate` and `projects` takes `-g, --global`.
275
278
 
276
279
  | Command | |
277
280
  |---|---|
@@ -285,18 +288,23 @@ Every command except `publish` and `validate` takes `-g, --global`.
285
288
  | `outdated [--strict]` | Newer versions, when cooled-down ones become eligible, and GitHub or git tags moved since they were locked. `--strict` exits 1 when `update` would lock a newer version. |
286
289
  | `diff [vendor/name] [--to constraint\|--from old.lock]` | Unified diff of skill files from the locked version to the one `update` would lock, or from an older lock to `skills.lock`, see below. |
287
290
  | `info <vendor/name[@constraint]\|github:owner/repo\|git:url\|skill>` | A package's skills, versions, description, license and requirements, or which package installs a skill. |
288
- | `status` | Exit 1 when manifest, lock or installed files disagree. |
291
+ | `status` | Exit 1 when manifest, lock or installed files disagree. Also lists the repositories in use (name, type, URL without credentials) and whether `allow-sources` admits each. |
289
292
  | `doctor [--fix]` | Broken or committed links, stale gitignore block, modified skills; lists each check it ran. |
290
293
  | `audit [--json\|--sarif]` | What each installed skill reaches (commands, hosts, paths, env vars, scripts) and its findings: modified files, risky lines, invisible characters. Exit 1 on any finding. |
291
- | `search <query>` | Packagist (`type=ai-agent-skill`) and skill packages of the other repositories, GitLab included. |
294
+ | `search <query> [--skills-sh\|--no-skills-sh [--remember]]` | Packagist (`type=ai-agent-skill`) and skill packages of the other repositories, GitLab included; with skills.sh on, also the GitHub skills it lists, as `github:owner/repo/skill` with their install count. skills.sh is off until you turn it on, since it receives the query: the first search in a terminal asks once, `--remember` saves a flag's choice, both in `config.toml`. |
292
295
  | `auth set\|remove <host>` | Keep a registry token in git's credential helper (Keychain, Credential Manager, libsecret). |
293
296
  | `publish --vendor v --base-url URL --out DIR [--inline] [--dist-url TPL] [paths…]` | Build a static Composer repository from a monorepo. |
294
297
  | `validate [paths…]` | Check `SKILL.md` files against the Agent Skills spec, see below. |
298
+ | `projects [dirs…]` | Directories that hold `skills.toml` under the given ones (default: the current one), up to 6 levels down; hidden directories, `node_modules`, `vendor`, `target` and `Library` are skipped. |
299
+ | `ui` | A terminal UI over the commands above: skills with their state and updates, `info`, SKILL.md and `audit` per skill, add, adopt, update (diff first), remove, doctor, a filter of the list, search of the registries (and skills.sh, asked once), the repositories in use (`R`) and a projects picker; `g` switches between the project and `--global`. |
295
300
  | `<other>` | Runs `skillcask-<other>` from `PATH`, like git and cargo plugins. |
296
301
 
297
- `status`, `outdated`, `info`, `search`, `doctor` and `audit` take `--json`: one JSON document on one line of
302
+ `status`, `outdated`, `info`, `search`, `doctor`, `audit` and `projects` take `--json`: one JSON document on one line of
298
303
  stdout, with the same exit code; warnings and errors stay on stderr. Package text in it is
299
- escaped as in the terminal (`<U+202E>`). For example `skillcask outdated --json | jq
304
+ escaped as in the terminal (`<U+202E>`). `status --json` has `repositories`
305
+ (`[{"name", "type", "url", "allowed"}]`); `search --json` results carry `source` (the repository
306
+ name, or `skills.sh`) and `installs`, and the document has `"skills-sh": true|false|null` (`null`:
307
+ never decided). For example `skillcask outdated --json | jq
300
308
  '.packages[] | select(.within != .locked)'`.
301
309
 
302
310
  Exit codes: 0 ok, 1 manifest/lock/status problems, 2 authentication, 3 network, 4 hash mismatch,
@@ -396,7 +404,10 @@ GitHub allows 60 anonymous API requests per hour. `add`, `update` and `outdated`
396
404
  entry; `install` from the lock uses none, it downloads the pinned archive. Set `GITHUB_TOKEN`
397
405
  (GitHub Actions has one) or Composer's `"github-oauth": {"github.com": "<token>"}` in `auth.json`
398
406
  for a higher limit and for private repositories. `SKILLCASK_GITHUB_API` points at GitHub
399
- Enterprise (`https://ghe.example.com/api/v3`).
407
+ Enterprise (`https://ghe.example.com/api/v3`). `GITHUB_TOKEN` is sent only to the API the user or
408
+ the runner names: `SKILLCASK_GITHUB_API`, else GitHub Actions' `GITHUB_API_URL`, else
409
+ `api.github.com`; for an Enterprise URL set only in `skills.toml`, use
410
+ `skillcask auth set ghe.example.com --username oauth2` or `github-oauth` in `auth.json`.
400
411
 
401
412
  skills.sh itself is not queried: its API is undocumented and may change without notice. Search
402
413
  on the website, then add what you picked.
@@ -19,7 +19,7 @@
19
19
  "hasInstallScript": true,
20
20
  "license": "MIT OR Apache-2.0",
21
21
  "name": "skillcask",
22
- "version": "0.8.0"
22
+ "version": "0.9.1"
23
23
  },
24
24
  "node_modules/detect-libc": {
25
25
  "engines": {
@@ -48,5 +48,5 @@
48
48
  }
49
49
  },
50
50
  "requires": true,
51
- "version": "0.8.0"
51
+ "version": "0.9.1"
52
52
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "artifactDownloadUrls": [
3
- "https://github.com/puniserv/skillcask/releases/download/v0.8.0"
3
+ "https://github.com/puniserv/skillcask/releases/download/v0.9.1"
4
4
  ],
5
5
  "bin": {
6
6
  "skillcask": "run-skillcask.js"
@@ -104,7 +104,7 @@
104
104
  "zipExt": ".tar.xz"
105
105
  }
106
106
  },
107
- "version": "0.8.0",
107
+ "version": "0.9.1",
108
108
  "volta": {
109
109
  "node": "18.14.1",
110
110
  "npm": "9.5.0"