@mcowger/skillfu 0.1.0 → 0.1.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 +4 -14
- package/dist/skillfu-cli.mjs +10 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
A minimal CLI for installing agent skills. Symlink-only, lockfile-driven.
|
|
4
4
|
|
|
5
|
-
**skillfu** gives your agents new capabilities instantly —
|
|
5
|
+
**skillfu** gives your agents new capabilities instantly — like Neo in _The Matrix_ who instantly learns kung fu after downloading the program, skillfu instantly equips your agents with new skills.
|
|
6
6
|
|
|
7
7
|
It's a focused replacement for the Vercel `skills` CLI — it does one thing well: install, track, and update skills via symlinks with a lockfile as the source of truth.
|
|
8
8
|
|
|
@@ -28,6 +28,9 @@ Install skills from a GitHub repo or local path.
|
|
|
28
28
|
# Install all skills from a repo (global)
|
|
29
29
|
skillfu add vercel-labs/agent-skills
|
|
30
30
|
|
|
31
|
+
# Install specific skill (positional arg)
|
|
32
|
+
skillfu add vercel-labs/agent-skills github-actions-docs
|
|
33
|
+
|
|
31
34
|
# Install specific skills
|
|
32
35
|
skillfu add vercel-labs/agent-skills --skill frontend-design --skill skill-creator
|
|
33
36
|
|
|
@@ -198,19 +201,6 @@ Discover more skills at [skills.sh](https://skills.sh).
|
|
|
198
201
|
| `INSTALL_INTERNAL_SKILLS` | Set to `1` to include skills marked `internal: true` |
|
|
199
202
|
| `SKILLFU_SKILLS_SH_KEY` | API key for skills.sh (higher rate limits) |
|
|
200
203
|
|
|
201
|
-
## Differences from Vercel `skills`
|
|
202
|
-
|
|
203
|
-
| | `skills` | `skillfu` |
|
|
204
|
-
|---|---|---|
|
|
205
|
-
| Scope | 50+ agents with per-agent symlinks | Single target: `~/.agents/skills` or `.agents/skills` |
|
|
206
|
-
| Install methods | Symlink or copy | Symlink only |
|
|
207
|
-
| Discovery | `find`, `list`, search API | None |
|
|
208
|
-
| Lockfile | Global only, separate format per scope | Separate lockfiles per scope, co-located |
|
|
209
|
-
| Update detection | GitHub Trees API | skills.sh API with Trees API fallback |
|
|
210
|
-
| Source formats | GitHub, GitLab, well-known, git URLs, local | GitHub, GitHub URLs, local paths |
|
|
211
|
-
| Agent detection | Auto-detects 50+ agents | No agent detection |
|
|
212
|
-
| Telemetry | Anonymous usage tracking | None |
|
|
213
|
-
|
|
214
204
|
## Development
|
|
215
205
|
|
|
216
206
|
```bash
|
package/dist/skillfu-cli.mjs
CHANGED
|
@@ -10478,7 +10478,7 @@ complete -c skillfu -n '__fish_seen_subcommand_from completions' -a 'bash zsh fi
|
|
|
10478
10478
|
`;
|
|
10479
10479
|
|
|
10480
10480
|
// src/cli.ts
|
|
10481
|
-
var VERSION = "0.1.
|
|
10481
|
+
var VERSION = "0.1.1";
|
|
10482
10482
|
var COMPLETIONS = {
|
|
10483
10483
|
bash: skillfu_default,
|
|
10484
10484
|
zsh: _skillfu_default,
|
|
@@ -10512,7 +10512,7 @@ Environment:
|
|
|
10512
10512
|
INSTALL_INTERNAL_SKILLS Set to "1" to include internal skills
|
|
10513
10513
|
SKILLFU_SKILLS_SH_KEY API key for skills.sh (higher rate limits)
|
|
10514
10514
|
`);
|
|
10515
|
-
program2.command("add <source>").description("Install skills from a GitHub repo or local path").usage("<source> [options]").option("-s, --skill <name>", "Install specific skill(s) by name (repeatable)", collectSkills, []).option("-l, --local", "Install to project directory (.agents/skills/)").option("-y, --yes", "Skip confirmation prompts").option("--ref <branch>", "Git branch or tag to install from").addHelpText("after", `
|
|
10515
|
+
program2.command("add <source> [skill]").description("Install skills from a GitHub repo or local path").usage("<source> [skill] [options]").option("-s, --skill <name>", "Install specific skill(s) by name (repeatable)", collectSkills, []).option("-l, --local", "Install to project directory (.agents/skills/)").option("-y, --yes", "Skip confirmation prompts").option("--ref <branch>", "Git branch or tag to install from").addHelpText("after", `
|
|
10516
10516
|
Source formats:
|
|
10517
10517
|
owner/repo GitHub shorthand
|
|
10518
10518
|
owner/repo@skill-name GitHub shorthand with skill filter
|
|
@@ -10523,12 +10523,19 @@ Source formats:
|
|
|
10523
10523
|
|
|
10524
10524
|
Examples:
|
|
10525
10525
|
$ skillfu add vercel-labs/agent-skills
|
|
10526
|
+
$ skillfu add vercel-labs/agent-skills github-actions-docs
|
|
10526
10527
|
$ skillfu add vercel-labs/agent-skills --skill frontend-design
|
|
10527
10528
|
$ skillfu add vercel-labs/agent-skills@frontend-design
|
|
10528
10529
|
$ skillfu add vercel-labs/agent-skills#develop --skill frontend-design
|
|
10529
10530
|
$ skillfu add https://github.com/vercel-labs/agent-skills
|
|
10530
10531
|
$ skillfu add ./my-skills
|
|
10531
|
-
`).action(async (source, opts) => {
|
|
10532
|
+
`).action(async (source, skill, opts) => {
|
|
10533
|
+
if (skill) {
|
|
10534
|
+
opts.skill = opts.skill || [];
|
|
10535
|
+
if (!opts.skill.includes(skill)) {
|
|
10536
|
+
opts.skill.push(skill);
|
|
10537
|
+
}
|
|
10538
|
+
}
|
|
10532
10539
|
await runAdd(source, opts);
|
|
10533
10540
|
});
|
|
10534
10541
|
program2.command("remove <skills...>").description("Remove installed skills").usage("<skill-name> [skill-name...] [options]").option("-l, --local", "Remove from project scope").option("-y, --yes", "Skip confirmation prompts").addHelpText("after", `
|