diff options
| -rw-r--r-- | .agents/adr/0002-ship-as-a-claude-code-plugin.md | 8 | ||||
| -rw-r--r-- | .agents/install-block.md | 40 | ||||
| -rw-r--r-- | CLAUDE.md | 2 | ||||
| -rw-r--r-- | README.md | 8 |
4 files changed, 29 insertions, 29 deletions
diff --git a/.agents/adr/0002-ship-as-a-claude-code-plugin.md b/.agents/adr/0002-ship-as-a-claude-code-plugin.md index 9b584d7..1774059 100644 --- a/.agents/adr/0002-ship-as-a-claude-code-plugin.md +++ b/.agents/adr/0002-ship-as-a-claude-code-plugin.md @@ -42,12 +42,12 @@ Verified 2026-08-05, on Claude Code 2.1.222, against the live listing: ## Update, 2026-10-07 -The Codex constraint above no longer holds: Codex `main` accepts a `skills` string array and falls back to `.claude-plugin/` when there is no `.codex-plugin/` ([manifest.rs](https://github.com/openai/codex/blob/main/codex-rs/core-plugins/src/manifest.rs)). Symlinks are still dropped. +The Codex constraint above no longer holds. Codex `main` accepts a `skills` string array and falls back to `.claude-plugin/` when there is no `.codex-plugin/` ([manifest.rs](https://github.com/openai/codex/blob/main/codex-rs/core-plugins/src/manifest.rs)). Codex still drops symlinks. -Verified on Codex 0.161.0: the `@mattpocock` marketplace install loads the promoted model-invoked skills and nothing from `misc/` or `in-progress/`. Copilot CLI reads the same manifests ("Installed 27 skills"). +On Codex 0.161.0, the `@mattpocock` marketplace install loads the promoted model-invoked skills and nothing from `misc/` or `in-progress/`. Copilot CLI reads the same manifests and reports "Installed 27 skills". ## Update, 2026-10-08: managed installs first -`@mattpocock` is now the lead route on Codex, Copilot and VS Code. Claude Code stays on `claude-plugins-official` (the 2026-08-05 update): it auto-updates by default and needs no `marketplace add`. The cost is a one-time opt-in on Copilot. +`@mattpocock` is now the lead route on Codex, Copilot and VS Code, at the cost of a one-time opt-in on Copilot. Claude Code stays on `claude-plugins-official`, as in the 2026-08-05 update, because it auto-updates by default and needs no `marketplace add`. -The version invariant above now gates every managed route, and `npm run version` already keeps it (via `scripts/sync-plugin-version.mjs`). `marketplace.json` has no `version` to drift. +The version invariant above now applies to every managed route. `npm run version` already keeps it by running `scripts/sync-plugin-version.mjs`. `marketplace.json` has no `version` field, so it can't drift. diff --git a/.agents/install-block.md b/.agents/install-block.md index d977757..29e5fb1 100644 --- a/.agents/install-block.md +++ b/.agents/install-block.md @@ -2,24 +2,24 @@ One install story, one wording. `README.md`, `.changeset/*`, and every page under `docs/` must say **this** and nothing else. Change it here first, then propagate. -## The rule: managed installs first +## Managed installs first -Lead with installs that **update themselves**; fall back to skills.sh, labelled "manual updates", only where an agent has none. Call a route managed only if it updates with no user command, put any one-time opt-in beside its install command, and never promise "instant". +Lead with installs that update themselves. Fall back to skills.sh, labelled "manual updates", only for agents that have no such install. Call a route managed only if it updates without the user running a command. Put any one-time opt-in beside its install command. Never promise "instant". -Claude Code installs from its official marketplace (`claude-plugins-official`); every other managed route installs from this repo's own (`.claude-plugin/marketplace.json` + `plugin.json`). Those reinstall only when `plugin.json`'s `version` changes, which `npm run version` (Release workflow) syncs from `package.json`: users get a release when the "chore: version skills" PR merges. +Claude Code installs from its official marketplace, `claude-plugins-official`. Every other managed route installs from this repo's own marketplace, `.claude-plugin/marketplace.json` and `plugin.json`. Those routes reinstall only when the `version` in `plugin.json` changes. The Release workflow runs `npm run version`, which copies that field from `package.json`, so users get a release when the "chore: version skills" PR merges. -| Agent | Route | Updates itself? | -| ------------- | -------------------------------- | ----------------------------------------------------- | -| Claude Code | `@claude-plugins-official` | Yes, by default | -| Codex | `@mattpocock` marketplace | Yes, at startup, by default | -| Copilot CLI | `@mattpocock` marketplace | Yes, after a one-time `autoUpdate: true` | -| VS Code | Chat: Install Plugin From Source | Yes, daily, by default | -| Gemini CLI | `gemini skills install` (copies) | No: an extension needs a flat `skills/<name>/` layout | -| Everyone else | skills.sh | No: `npx skills update`; re-run `add` for new skills | +| Agent | Route | Updates itself? | +| ------------- | -------------------------------- | ---------------------------------------------------------------- | +| Claude Code | `@claude-plugins-official` | Yes, by default | +| Codex | `@mattpocock` marketplace | Yes, at startup, by default | +| Copilot CLI | `@mattpocock` marketplace | Yes, after a one-time `autoUpdate: true` | +| VS Code | Chat: Install Plugin From Source | Yes, daily, by default | +| Gemini CLI | `gemini skills install` (copies) | No. A Gemini extension would need a flat `skills/<name>/` layout | +| Everyone else | skills.sh | No. Run `npx skills update`, and re-run `add` for new skills | Sources (2026-10-08): Codex `core-plugins/src/manager.rs`; Copilot [cli-config-dir-reference](https://docs.github.com/en/copilot/reference/copilot-cli-reference/cli-config-dir-reference); VS Code `pluginAutoUpdate.ts`; Gemini `skillLoader.ts`. -Unverified against this repo, so skills.sh until someone runs them: Auggie, Droid, Qwen, Goose. +Nobody has run Auggie, Droid, Qwen or Goose against this repo, so they stay on skills.sh until someone does. ## Claude Code @@ -48,7 +48,7 @@ Updates itself at startup. ## GitHub Copilot (CLI and VS Code) -Use the marketplace, not `copilot plugin install mattpocock/skills`: direct repo installs are deprecated and can't auto-update. The `extraKnownMarketplaces` entry follows the documented schema but is unexercised. +Use the marketplace, not `copilot plugin install mattpocock/skills`. Copilot has deprecated direct repo installs, and they can't auto-update. The `extraKnownMarketplaces` entry follows the documented schema, but nobody has run it yet. <canonical-block name="copilot"> @@ -67,13 +67,13 @@ Then, once, add to `~/.copilot/settings.json`: } ``` -VS Code: **Chat: Install Plugin From Source** → `https://github.com/mattpocock/skills` (updates daily). +In VS Code, run **Chat: Install Plugin From Source** and enter `https://github.com/mattpocock/skills`. It updates daily. </canonical-block> ## Gemini CLI -Gemini doesn't read `.claude-plugin`, and `--path` takes one bucket, so two copies install exactly the promoted set (27 skills, verified 2026-10-07). +Gemini doesn't read `.claude-plugin`, and `--path` takes one bucket. One install per promoted bucket gives exactly the promoted set (27 skills, verified 2026-10-07). <canonical-block name="gemini"> @@ -82,13 +82,13 @@ gemini skills install https://github.com/mattpocock/skills.git --path skills/eng gemini skills install https://github.com/mattpocock/skills.git --path skills/productivity ``` -Re-run to update. +Re-run both commands to update. </canonical-block> -## Every other agent, or editable files: skills.sh +## Every other agent, or editable files (skills.sh) -`-a` preselects the agent (each run 2026-10-07). Prefer it to an agent's own repo installer (`amp skill add`, `pi install git:…`), which pulls in `misc/` and `in-progress/`. `npx skills update` skips skills added since `add`, so the block says to re-run `add`. +`-a` preselects the agent. Each agent in the comment was run on 2026-10-07. Prefer skills.sh to an agent's own repo installer, such as `amp skill add` or `pi install git:…`, because those also pull in `misc/` and `in-progress/`. `npx skills update` skips skills added upstream since `add`, so the block tells users to re-run `add`. <canonical-block name="other-agents"> @@ -96,11 +96,11 @@ Re-run to update. npx skills@latest add mattpocock/skills -a <agent> # cursor, opencode, devin, windsurf, amp, pi; omit -a to choose ``` -Pick `setup-matt-pocock-skills` among the skills. Manual updates: `npx skills@latest update`; re-run `add` for new skills. +When the installer asks which skills to take, include `setup-matt-pocock-skills`. To update, run `npx skills@latest update`, and re-run `add` to pick up new skills. </canonical-block> -Use the single-skill form wherever one skill is named on its own. **`docs/` pages are not a consumer of this block**: ai-hero renders the install widget above the body. See [writing-docs.md](./writing-docs.md). +Use the single-skill form wherever one skill is named on its own. `docs/` pages don't use this block, because ai-hero renders the install widget above the page body. See [writing-docs.md](./writing-docs.md). <canonical-block name="skills-sh-one-skill"> @@ -8,7 +8,7 @@ Skills are organized into bucket folders under `skills/`: Every skill in `engineering/` or `productivity/` (the **promoted** buckets) must have a reference in the top-level `README.md` and an entry in `.claude-plugin/plugin.json`'s `skills` array (the Claude Code plugin ships exactly the promoted set). Skills in `misc/`, `in-progress/`, and `deprecated/` must not appear in either. -Install commands are copied verbatim from [.agents/install-block.md](./.agents/install-block.md). `.claude-plugin/marketplace.json` is the repo's own marketplace, the self-updating route for every agent but Claude Code (which uses `claude-plugins-official`). Run `claude plugin validate . --strict` after touching either manifest. Why: [ADR 0002](./.agents/adr/0002-ship-as-a-claude-code-plugin.md). +Install commands are copied verbatim from [.agents/install-block.md](./.agents/install-block.md). `.claude-plugin/marketplace.json` is the repo's own marketplace. Every agent except Claude Code installs from it to get automatic updates, and Claude Code uses `claude-plugins-official`. Run `claude plugin validate . --strict` after touching either manifest. [ADR 0002](./.agents/adr/0002-ship-as-a-claude-code-plugin.md) records why. Each skill entry in the top-level `README.md` must link the skill name to its `SKILL.md`. @@ -24,7 +24,7 @@ If you want to keep up with changes to these skills, and any new ones I create, ## Installation (30-second setup) -A **plugin** updates itself; **[skills.sh](https://skills.sh/mattpocock/skills)** copies editable files you update by hand. Pick one per agent: both gives you every skill twice. +A plugin updates itself. [skills.sh](https://skills.sh/mattpocock/skills) copies editable files into your project, and you update them by hand. Pick one per agent, because installing both gives you every skill twice. ### 1. Get the skills @@ -69,7 +69,7 @@ Then, once, add to `~/.copilot/settings.json`: } ``` -VS Code: **Chat: Install Plugin From Source** → `https://github.com/mattpocock/skills` (updates daily). +In VS Code, run **Chat: Install Plugin From Source** and enter `https://github.com/mattpocock/skills`. It updates daily. </details> @@ -81,7 +81,7 @@ gemini skills install https://github.com/mattpocock/skills.git --path skills/eng gemini skills install https://github.com/mattpocock/skills.git --path skills/productivity ``` -Re-run to update. +Re-run both commands to update. </details> @@ -92,7 +92,7 @@ Re-run to update. npx skills@latest add mattpocock/skills -a <agent> # cursor, opencode, devin, windsurf, amp, pi; omit -a to choose ``` -Pick `setup-matt-pocock-skills` among the skills. Manual updates: `npx skills@latest update`; re-run `add` for new skills. +When the installer asks which skills to take, include `setup-matt-pocock-skills`. To update, run `npx skills@latest update`, and re-run `add` to pick up new skills. </details> |
