skillloom-cli 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.
Files changed (3) hide show
  1. package/README.md +10 -5
  2. package/dist/index.js +27 -20
  3. package/package.json +3 -1
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # skillloom-cli
2
2
 
3
- Install agent skills into Claude Code, Codex, Cursor, Gemini CLI and OpenCode.
3
+ Install agent skills into Claude Code, Codex, Cursor, Gemini CLI and other agents.
4
4
 
5
5
  A skill is a folder your agent loads on demand — `SKILL.md` plus the references and scripts
6
6
  it needs. The ones in this catalog produce finished artefacts: slide decks, landing pages,
@@ -11,7 +11,7 @@ npx skillloom-cli login
11
11
  npx skillloom-cli install sl-beacon-saas-landing-page
12
12
  ```
13
13
 
14
- Browse the catalog with a rendered preview of every skill's actual output at
14
+ Browse the catalog, with a rendered preview of every skill, at
15
15
  **[skillloom.dev](https://skillloom.dev)**.
16
16
 
17
17
  ## Commands
@@ -33,16 +33,21 @@ The slug is the last path segment of a skill's URL: `skillloom.dev/skills/<slug>
33
33
  Node.js 20 or newer.
34
34
 
35
35
  Slides, web pages and video render **locally** and need no API key — video additionally wants
36
- FFmpeg and Chromium (`npx playwright install chromium`). Only image skills call a generation
37
- model, paid from your own prepaid key; issue one in
36
+ FFmpeg and Chromium (`npx playwright install chromium`). Image skills call a generation model
37
+ on every run, paid from your own prepaid key; issue one in
38
38
  [Settings](https://skillloom.dev/settings) and run `doctor --write-env`.
39
39
 
40
40
  ## Agent folders
41
41
 
42
+ <!-- Source of truth: AGENT_TARGETS in packages/shared/src/agents.ts (provenance of each path:
43
+ docs/agent-matrix.md). This table is a hand-kept copy because it ships inside the npm
44
+ tarball; test/agent-docs.test.ts fails if it falls behind the constant, as it had done. -->
45
+
42
46
  | `--agent` | Folder |
43
47
  |---|---|
44
48
  | `claude-code` | `~/.claude/skills` |
45
- | `codex`, `cursor`, `gemini-cli`, `opencode` | `~/.agents/skills` |
49
+ | `codex`, `cursor`, `gemini-cli`, `opencode`, `kimi-code` | `~/.agents/skills` |
50
+ | `antigravity` | `~/.gemini/config/skills` |
46
51
 
47
52
  `npx skillloom-cli agents` prints the current list, including any added since this README.
48
53
 
package/dist/index.js CHANGED
@@ -4,13 +4,19 @@ import { parseArgs } from "util";
4
4
 
5
5
  // ../../packages/shared/src/agents.ts
6
6
  var AGENT_TARGETS = [
7
- { id: "claude-code", label: "Claude Code", dir: [".claude", "skills"], verified: true },
8
- { id: "codex", label: "Codex", dir: [".agents", "skills"], verified: true },
9
- { id: "cursor", label: "Cursor", dir: [".agents", "skills"], verified: false },
10
- { id: "gemini-cli", label: "Gemini CLI", dir: [".agents", "skills"], verified: false },
11
- { id: "opencode", label: "OpenCode", dir: [".agents", "skills"], verified: false },
12
- { id: "kimi-code", label: "Kimi Code CLI", dir: [".agents", "skills"], verified: false },
13
- { id: "antigravity", label: "Antigravity", dir: [".gemini", "config", "skills"], verified: false }
7
+ { id: "claude-code", label: "Claude Code", dir: [".claude", "skills"], verified: true, vocab: "claude-code" },
8
+ { id: "codex", label: "Codex", dir: [".agents", "skills"], verified: true, vocab: "codex-chatgpt" },
9
+ { id: "cursor", label: "Cursor", dir: [".agents", "skills"], verified: false, vocab: "cursor" },
10
+ { id: "gemini-cli", label: "Gemini CLI", dir: [".agents", "skills"], verified: false, vocab: "gemini-cli" },
11
+ { id: "opencode", label: "OpenCode", dir: [".agents", "skills"], verified: false, vocab: "opencode" },
12
+ { id: "kimi-code", label: "Kimi Code CLI", dir: [".agents", "skills"], verified: false, vocab: "kimi-cli" },
13
+ {
14
+ id: "antigravity",
15
+ label: "Antigravity",
16
+ dir: [".gemini", "config", "skills"],
17
+ verified: false,
18
+ vocab: "antigravity"
19
+ }
14
20
  ];
15
21
  var DEFAULT_AGENT = "codex";
16
22
  function agentTarget(id) {
@@ -776,19 +782,20 @@ function openBrowser(url) {
776
782
  }
777
783
 
778
784
  // src/index.ts
779
- var VERSION = "0.1.0";
785
+ var VERSION = "0.1.1";
780
786
  var CLIENT_ID = "skillloom-cli";
781
787
  var HELP = `skillloom ${VERSION}
782
788
 
783
789
  Usage:
784
- skillloom login Sign in with your browser (device code)
785
- skillloom install <slug> [--agent <id>] [--target <dir>]
786
- skillloom update [<slug>] Update installed skills
787
- skillloom list Show installed skills
788
- skillloom status Show the signed-in account
789
- skillloom doctor [--write-env] Check setup; --write-env saves SKILLLOOM_BASE_URL / SKILLLOOM_API_KEY
790
- skillloom agents Show supported agents and their skill folders
791
- skillloom logout
790
+ npx skillloom-cli login Sign in with your browser (device code)
791
+ npx skillloom-cli install <slug> [--agent <id>] [--target <dir>]
792
+ npx skillloom-cli update [<slug>] Update installed skills
793
+ npx skillloom-cli list Show installed skills
794
+ npx skillloom-cli status Show the signed-in account
795
+ npx skillloom-cli doctor [--write-env]
796
+ Check setup; --write-env saves SKILLLOOM_BASE_URL / SKILLLOOM_API_KEY
797
+ npx skillloom-cli agents Show supported agents and their skill folders
798
+ npx skillloom-cli logout
792
799
 
793
800
  Options:
794
801
  --api <url> Site URL (default: $SKILLLOOM_API_URL or https://skillloom.dev)
@@ -819,7 +826,7 @@ function installId() {
819
826
  }
820
827
  async function authed() {
821
828
  const token = await credentials.get(apiUrl);
822
- if (!token) throw new ApiError(401, "unauthorized", "not signed in; run `skillloom login`");
829
+ if (!token) throw new ApiError(401, "unauthorized", "not signed in; run `npx skillloom-cli login`");
823
830
  return createClient(apiUrl, token);
824
831
  }
825
832
  async function login() {
@@ -866,7 +873,7 @@ and confirm the code: ${code.user_code}`);
866
873
  throw err2;
867
874
  }
868
875
  }
869
- throw new Error("device code expired; run `skillloom login` again");
876
+ throw new Error("device code expired; run `npx skillloom-cli login` again");
870
877
  }
871
878
  function resolveTarget() {
872
879
  if (opts.target) return { dir: opts.target, agent: opts.agent ?? "custom" };
@@ -1000,7 +1007,7 @@ async function main() {
1000
1007
  }
1001
1008
  case "install":
1002
1009
  case "add":
1003
- if (!arg) throw new Error("usage: skillloom install <slug>");
1010
+ if (!arg) throw new Error("usage: npx skillloom-cli install <slug>");
1004
1011
  return install(arg);
1005
1012
  case "update":
1006
1013
  return update(arg);
@@ -1020,7 +1027,7 @@ async function main() {
1020
1027
  }
1021
1028
  main().catch((err2) => {
1022
1029
  if (err2 instanceof ApiError && err2.status === 401)
1023
- console.error("Not signed in or the token was revoked. Run `skillloom login`.");
1030
+ console.error("Not signed in or the token was revoked. Run `npx skillloom-cli login`.");
1024
1031
  else if (err2 instanceof ApiError && err2.status === 429) console.error(`Rate limited: ${err2.message}`);
1025
1032
  else console.error(err2 instanceof Error ? err2.message : String(err2));
1026
1033
  process.exitCode = 1;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skillloom-cli",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Install SkillLoom skills into Claude Code, Codex, Cursor, Gemini CLI and other agents.",
5
5
  "keywords": [
6
6
  "claude",
@@ -11,6 +11,8 @@
11
11
  "cursor",
12
12
  "gemini-cli",
13
13
  "opencode",
14
+ "kimi-code",
15
+ "antigravity",
14
16
  "cli",
15
17
  "slides",
16
18
  "pptx",