@floomhq/floom 1.0.14 → 1.0.17
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 +36 -30
- package/dist/cli.js +127 -233
- package/dist/doctor.js +119 -38
- package/dist/errors.js +1 -1
- package/dist/info.js +1 -1
- package/dist/init.js +87 -92
- package/dist/install.js +140 -67
- package/dist/library.js +4 -8
- package/dist/list.js +7 -8
- package/dist/login.js +81 -46
- package/dist/mcp.js +4 -7
- package/dist/package.js +318 -0
- package/dist/publish.js +51 -51
- package/dist/scan.js +18 -23
- package/dist/secrets.js +3 -29
- package/dist/setup.js +12 -14
- package/dist/sync-manifest.js +65 -16
- package/dist/sync.js +216 -172
- package/package.json +3 -2
- package/dist/targets.js +0 -16
package/README.md
CHANGED
|
@@ -1,55 +1,64 @@
|
|
|
1
1
|
# @floomhq/floom
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Sync AI skills across agents and machines. Publish from your terminal, then add or sync skills with one command.
|
|
4
4
|
|
|
5
5
|
```bash
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
6
|
+
npm install -g @floomhq/floom
|
|
7
|
+
floom init my-skill.md
|
|
8
|
+
floom init my-skill
|
|
9
|
+
floom login
|
|
10
|
+
floom publish my-skill
|
|
11
|
+
floom share my-skill --add teammate@example.com
|
|
12
|
+
floom search review
|
|
13
|
+
floom add awesome-skill --setup
|
|
14
|
+
floom setup --target claude --dry-run
|
|
15
|
+
floom list
|
|
16
|
+
floom library list
|
|
17
17
|
```
|
|
18
18
|
|
|
19
19
|
Returns a shareable link like `https://floom.dev/s/ffas93ud`. Anyone with the URL can read the raw Markdown — drop it into any AI tool that accepts skills.
|
|
20
20
|
|
|
21
|
-
The package is designed for `npx -y @floomhq/floom ...`. Global installs expose `floom
|
|
21
|
+
The package is designed for `npx -y @floomhq/floom ...`. Global installs expose `floom`; `floom doctor` reports older local Floom runtime CLIs if they shadow the new command.
|
|
22
22
|
|
|
23
23
|
## Commands
|
|
24
24
|
|
|
25
25
|
- `npx -y @floomhq/floom login` — sign in with Google. New accounts are created on first login. Token stored at `~/.floom/config.json`.
|
|
26
|
-
- `npx -y @floomhq/floom init [
|
|
27
|
-
- `npx -y @floomhq/floom publish <
|
|
26
|
+
- `npx -y @floomhq/floom init [path]` — create a starter skill folder at `<path>/SKILL.md`. Passing an existing-style `file.md` path still creates that Markdown file.
|
|
27
|
+
- `npx -y @floomhq/floom publish <path>` — upload a skill folder or Markdown file. Folder packages use `<slug>/SKILL.md` plus optional `references/`, `examples/`, `scripts/`, and `assets/`. Optional `--public` / `--private` / `--unlisted`, `--type knowledge|instruction|workflow|skill`, `--installs-as <target>`, and `--skill-version <label>`.
|
|
28
28
|
- `npx -y @floomhq/floom share <slug>` — email-share one of your skills. Optional `--add <email>`, `--remove <email>`, and `--list`.
|
|
29
29
|
- `npx -y @floomhq/floom list` — show your published skills. Optional `--json`.
|
|
30
|
-
- `npx -y @floomhq/floom add <url-or-slug>` — fetch a skill into
|
|
31
|
-
- `npx -y @floomhq/floom update <url-or-slug>` — install the latest remote skill content, replacing the local copy.
|
|
30
|
+
- `npx -y @floomhq/floom add <url-or-slug>` — fetch a skill into `~/.claude/skills/<slug>/SKILL.md` with supporting package files. Optional `--target claude|codex`, `--setup` to connect the agent, and `--force` to replace an existing local copy.
|
|
32
31
|
- `npx -y @floomhq/floom info <url-or-slug>` — show skill metadata. Optional `--json`.
|
|
33
32
|
- `npx -y @floomhq/floom search <query>` — search public skills and starter libraries. Optional `--library <slug>`, `--type knowledge|instruction|workflow|skill`, and `--json`.
|
|
34
|
-
- `npx -y @floomhq/floom
|
|
35
|
-
- `npx -y @floomhq/floom setup` — add Floom usage guidance to `CLAUDE.md` or `AGENTS.md`. Optional `--target claude|codex`, `--dry-run`, `--yes`, `--file <path>`.
|
|
33
|
+
- `npx -y @floomhq/floom setup` — add Floom usage guidance to `CLAUDE.md` or `AGENTS.md`. Optional `--target claude|codex`, `--dry-run`, `--yes`.
|
|
36
34
|
- `npx -y @floomhq/floom connect` — alias for setup.
|
|
37
35
|
- `npx -y @floomhq/floom mcp` — print MCP setup commands for supported agent CLIs.
|
|
38
|
-
- `npx -y @floomhq/floom sync` — preview: pull your published, saved, and subscribed library skills into
|
|
39
|
-
- `npx -y @floomhq/floom watch` — preview: run sync repeatedly. Optional `--
|
|
36
|
+
- `npx -y @floomhq/floom sync` — preview: pull your published, saved, and subscribed library skills into Claude or Codex. Optional `--target claude|codex`.
|
|
37
|
+
- `npx -y @floomhq/floom watch` — preview: run sync repeatedly. Optional `--interval <seconds>`; minimum `10`.
|
|
40
38
|
- `npx -y @floomhq/floom library list` — list public starter libraries. Optional `--json`.
|
|
41
39
|
- `npx -y @floomhq/floom library create <slug> --name <name>` — create a personal or starter library. Optional `--public` / `--private` / `--unlisted`.
|
|
42
40
|
- `npx -y @floomhq/floom library add <library> <skill> [--folder <path>] [--tags a,b]` — add a skill to a library.
|
|
43
41
|
- `npx -y @floomhq/floom library subscribe <slug>` — subscribe to a public or unlisted library so sync can pull it locally.
|
|
44
42
|
- `npx -y @floomhq/floom move <slug> --folder <path>` — set your local folder override for a saved or library skill.
|
|
45
43
|
- `npx -y @floomhq/floom delete <url-or-slug>` — delete one of your published skills. Optional `--yes`.
|
|
46
|
-
- `npx -y @floomhq/floom doctor` — diagnose your Floom setup.
|
|
44
|
+
- `npx -y @floomhq/floom doctor` — diagnose your Floom setup.
|
|
47
45
|
- `npx -y @floomhq/floom whoami` — show the signed-in account.
|
|
48
46
|
- `npx -y @floomhq/floom logout` — delete local credentials.
|
|
49
47
|
|
|
50
48
|
## Skill format
|
|
51
49
|
|
|
52
|
-
|
|
50
|
+
A skill package is a folder:
|
|
51
|
+
|
|
52
|
+
```text
|
|
53
|
+
my-skill/
|
|
54
|
+
SKILL.md
|
|
55
|
+
references/
|
|
56
|
+
examples/
|
|
57
|
+
scripts/
|
|
58
|
+
assets/
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
`SKILL.md` contains optional YAML frontmatter (`title`, `description`, `type`, `version`), then freeform Markdown. Supporting files are packaged only from `references/`, `examples/`, `scripts/`, and `assets/`.
|
|
53
62
|
|
|
54
63
|
```markdown
|
|
55
64
|
---
|
|
@@ -62,14 +71,11 @@ version: 0.1.0
|
|
|
62
71
|
- ...
|
|
63
72
|
```
|
|
64
73
|
|
|
65
|
-
Authoring guide: https://floom.dev/docs/build-skills
|
|
66
|
-
|
|
67
74
|
## Configuration
|
|
68
75
|
|
|
69
76
|
Override the API host with `FLOOM_API_URL` (defaults to `https://floom.dev`).
|
|
70
77
|
|
|
71
|
-
`
|
|
72
|
-
The manifest records hashes for files Floom previously wrote.
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
`npx -y @floomhq/floom add <url-or-slug> --force`.
|
|
78
|
+
`floom sync` and `floom watch` are v1 preview commands for published, saved, and subscribed library skills. They store a machine-local manifest at `~/.floom/sync-manifest.json`.
|
|
79
|
+
The manifest records hashes for files Floom previously wrote. Sync writes missing files only.
|
|
80
|
+
Remote updates, existing untracked files, and locally edited tracked files are skipped as conflicts.
|
|
81
|
+
Symlinks are never followed. To replace a local skill manually, run `floom add <url-or-slug> --force`.
|