@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 CHANGED
@@ -1,55 +1,64 @@
1
1
  # @floomhq/floom
2
2
 
3
- Publish AI skills from your terminal. Share them with a link. Add other people's skills with one command.
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
- npx -y @floomhq/floom init my-skill.md
7
- npx -y @floomhq/floom init brand-voice.md --template brand-voice
8
- npx -y @floomhq/floom login
9
- npx -y @floomhq/floom publish my-skill.md --share teammate@example.com
10
- npx -y @floomhq/floom share my-skill --add teammate@example.com
11
- npx -y @floomhq/floom search review
12
- npx -y @floomhq/floom add awesome-skill --setup
13
- npx -y @floomhq/floom agent-prompt
14
- npx -y @floomhq/floom setup --target claude --dry-run
15
- npx -y @floomhq/floom list
16
- npx -y @floomhq/floom library list
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-skills` to avoid colliding with any older local Floom runtime CLI.
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 [file.md]` — create a starter skill file. Optional `--template generic|brand-voice|pr-review|sales|support|onboarding`.
27
- - `npx -y @floomhq/floom publish <file.md>` — scan and upload a Markdown file. Optional `--public` / `--private` / `--unlisted`, `--type knowledge|instruction|workflow|skill`, `--installs-as <target>`, `--skill-version <label>`, and `--share <email>`. `--share` sends the normal link by email; no account is needed to add unlisted or public links.
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 the local agent skills folder. Optional `--target claude|codex`, `--setup`, `--force` / `--update`, and `--json`.
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 agent-prompt` — print the sentence to paste into Claude Code or Codex.
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 the local agent skills folder. Optional `--target claude|codex`.
39
- - `npx -y @floomhq/floom watch` — preview: run sync repeatedly. Optional `--target claude|codex`, `--interval <seconds>`; minimum `10`.
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. Optional `--target claude|codex`, `--json`.
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
- Optional YAML frontmatter (`title`, `description`, `version`, `type`, `installs_as`), then freeform Markdown.
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
- `npx -y @floomhq/floom sync` and `npx -y @floomhq/floom watch` are Version 1 preview commands for published, saved, and subscribed library skills. They store a machine-local manifest at `~/.floom/sync-manifest.json`.
72
- The manifest records hashes for files Floom previously wrote. Version 1 sync writes missing files
73
- only. Remote updates, existing untracked files, and locally edited tracked files are skipped as
74
- conflicts. Symlinks are never followed. To replace a local skill manually, run
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`.