Skip to content

Commit 1f7525f

Browse files
kyle-sextonclaude
andauthored
fix(plugins): correct the unstamped --config reconfiguration claim (#3111) (#3115)
Closes #3111 ## Summary An **unversioned** claim — `claude plugin install --config` "only applies on a fresh install (ignored once installed)" — reached 25 setup skills and the README options generator by template sweep, and prescribed `claude plugin uninstall` + reinstall as the headless way to change an option. That prescription is destructive: uninstalling drops the plugin's entire stored `pluginConfigs` entry, resetting every declared option to its manifest default — **35** options on `source-control`, **21** on `guardrails`. On **Claude Code 2.1.240**, a plain `claude plugin install … --config` against an *already-installed* plugin prints `already installed` **and still writes the value**, verified by writing a non-default value to an installed plugin and restoring it. The short-circuit message is about the install, not the config write. **What this PR does not claim.** The claim landed 2026-07-18 in `fe28ffa70` with no version stamp, and Claude Code 2.1.221 changed install-activation behaviour in this same area — so "the claim was always false" and "it was true when written and has since been fixed" are not distinguishable from the available evidence, and nothing here asserts either. The defect reported and fixed is narrower and provable: *an unversioned harness claim, propagated by template, prescribed a destructive uninstall for a case where a plain `install --config` demonstrably works on 2.1.240.* Every replacement claim carries the CLI version it was verified against and the conditions it covers — a **non-sensitive** option at **`user`** scope — and names `sensitive` options and `project`/`local` scope as **not** covered. `dometrain` and `miro`, whose options are `sensitive: true`, therefore keep `/plugin configure` as their sole prescribed rotation path; the observation appears there as prose with an explicit "do not rely on it for a credential". House style follows `plugins/claude-ops/skills/plugins/context/scope-semantics.md`. The stamp is **2.1.240**, not the 2.1.238 pinned in `package.json` — 2.1.240 is the version the observation was made on, and a stamp records the observation, not the CI pin. ## Fix - **Generator** (`scripts/sync-plugin-options-docs.py`) — route 2 no longer implies install-time-only and carries the stamp. Two "Upstream documentation" links resolved to empty backward-compatibility `<span id=…>` stubs on the settings page: live enough for lychee's fragment check, blank space for a human reader. They now point at the headings that hold the content (`settings-reference#plugins-and-skills`, `settings#settings-files-and-who-they-affect`), and a link to the `--config` flag's own reference entry was added. **All 33 READMEs were regenerated by running the script — no generated section was hand-edited.** - **25 setup skills swept.** The 18 named in the issue, plus `actionlint` (a softened variant that still prescribed the uninstall) and `session-flow` (the full claim, line-wrapped so a single-line grep missed it), plus `ai-briefing`, `bug-report`, `discipline`, `dometrain`, `education`, `miro`. - **Uninstall hazard prose: kept, demoted.** It remains true for a genuine uninstall, so deleting it would remove real information — but it stops being the prescribed path and becomes the reason not to take it. Three counts inside that prose were already stale (`guardrails` said "twenty" against 21 declared, `source-control` "twenty-nine" against 35, `desktop-notification` "four"); rather than correct numbers that rot, each now points at the README's generated Options reference table. - **Verify-it-landed.** The setup contract's `apply` now ends by reading the effective value back and reporting it, instead of asserting an unobserved change — with the fresh-session caveat preserved wherever a `${user_config.*}` value is injected at skill load. Five plugins are check-only (no `apply` action): there the step lives in `check`, and their changelog entries say so rather than repeating the template. - **Two new setup skills** — `context-budget` and `repo-hygiene`. Each earns a real `check` on criterion (b), an external prerequisite the native configuration prompt cannot see: `node`/`claude`-CLI/Agent-SDK, plus the exec-form hook whose silent launch failure makes a `true` toggle inert; and `git` (required by *every* clean tier via `git ls-files --error-unmatch`, not only the git-named ones) with optional `ghq`. - **A third was written for `visualization` and deliberately dropped.** Its lone `medium` option is **trivial** by `PLUGIN-PHILOSOPHY.md`'s own test — a self-contained scalar with a default preserving zero-config behavior, and its out-of-set values are documented as falling back to that default, a case the definition names explicitly — and the plugin has no external prerequisite and no consumer-project configuration surface. None of criteria (a), (b), (c) holds. Its warrant rested only on the coupling clause (`artifact` is correct only where that surface is reachable), which is thinner than the test it has to beat, so shipping it would have been the blanket ceremony that section forbids. Recorded in the plugin's CHANGELOG under "Unchanged, deliberately" so a reader can tell it was decided, not forgotten. - **12 new `evals/evals.json`**, required by `scripts/check-changed-skills.sh --require-evals` for any new or modified `SKILL.md`. Three existing eval sets (`guardrails`, `knowledge`, `skill-quality`) graded *against* the old claim and would have failed the corrected skills; they were corrected too. - **Version bumps + CHANGELOG entries** for all 33 touched plugins. ### Review round — three threads, all addressed - **`bash-format/skills/setup/SKILL.md:110` (P2) — a same-session read-back reports the stale value.** This landed directly on the verify-it-landed clause this PR was adding. Followed literally in the session that issued the write, "rerun `check` and report the observed effective value" reports the OLD value and reads as a failed write: the rendered `${user_config.*}` is injected at skill load, and each hook receives its `CLAUDE_PLUGIN_OPTION_*` from a process environment fixed at session start. The clause now keeps the two claims apart — the write is issued and the stored value is what was passed; the RUNNING session's behavior is not — names both mechanisms, and sends verification to a fresh session. Applied at the converged wording across 18 setup skills plus `discipline` and `skill-quality`, whose variants would otherwise have been left behind, and at the generated README block so a human reader hits it too. - **`scripts/sync-plugin-options-docs.py:105` (P2) — the generator prescribed an unverified credential rotation.** The reconfiguration text was emitted unconditionally, including for `dometrain` and `miro`, whose only option is `sensitive` — the exact case the 2.1.240 observation does not cover. Fixed at the SSOT rather than in the two READMEs, which would have regenerated away. `render()` now partitions on `spec.sensitive`: sensitive-only plugins get a block that routes rotation to `/plugin configure` and says plainly that post-install `--config` is unverified for a sensitive value; a mixed manifest keeps the claim, draws its example key from the non-sensitive set, and names the keys it does not cover (no plugin is mixed today — the branch exists so the next one does not silently inherit the wrong text). `first` now comes from the non-sensitive set, so the shell example and the `pluginConfigs` snippet stop leading with a credential. Regenerating touched exactly the two intended READMEs. - **`plugins/claude-ops/README.md:315` (P1) — README contradicts the skill beside it.** Answered, not fixed: that skill is the parallel claude-ops workstream's fence. See the forced-exception section below for why the README could not simply be reverted instead. The contradiction is transient and fails safe — the README warns against the destructive uninstall, and the skill is the surface that still prescribes it. ### Rebased onto `af3fea480` (#3116) #3116 landed `source-control` **0.55.0** (a deliberate minor: `cleanup` gained a new side effect). Both sides bumped `plugins/source-control/.claude-plugin/plugin.json` and added a `CHANGELOG.md` entry. Resolved by taking the higher version and keeping **both** entries: this PR's setup-skill change now ships as **0.55.1**, stacked above #3116's `## [0.55.0]`, which is unmodified and unrenumbered. A further patch bump on top of 0.55.0 is warranted because this is a separate user-visible documentation change to the same plugin, and `check-changelog-parity.sh --check-bump` requires a change set that touches a plugin's shipped files to carry its own new entry. ### One forced fence exception `plugins/claude-ops/` belongs to a parallel workstream. Its README still had to be regenerated (one template, every plugin), and `check-changelog-parity.sh` rejects a change set that modifies a plugin's shipped files while reusing its published version — while reverting the README would fail the generator's own `--check`. The second commit here is therefore the minimum the gate accepts: a patch bump and a release entry **scoped to the README regeneration alone**. claude-ops's `setup` skill is untouched here and still carries the old claim, by design — #3112 owns it. Expect a version conflict with that PR; resolve by taking the higher version and keeping both entries. The independent verifier confirmed this was forced rather than convenient, against the gate's source: `scripts/check-changelog-parity.sh:619-624` fires `PUBLISHED VERSION REUSE` when a plugin has shipped-file changes and `head_version == fork_version`, and `plugins/claude-ops/README.md` matches the `shipped_changed` path arm at `:462-464`. ### Adjacent drift, deliberately not fixed here The claim's canonical home is out of this PR's fence and still asserts it: `docs/extensibility-contract-smoke-tests.md:21,110-111` (Test C, correctly stamped 2026-07-12 / CC 2.1.207 — its *observation* stands, its *inference* is what propagated), restated unstamped at `docs/PLUGIN-PHILOSOPHY.md:262-263` and `docs/MIGRATION-PLAYBOOK.md:1339,1391-1392`. No CI gate ties those to the skills (`check-contract-clause-coverage.py` and `check-cross-plugin-source-drift.sh` both pass), so they are reported rather than silently changed. "Change the contract once rather than every consumer" is **not achievable inside this fence** for the same reason — the contract is defined in `PLUGIN-PHILOSOPHY.md § Setup is explicit and repeatable`; convergence here was achieved by giving all 25 skills identical wording instead. Five further items. The first is **resolved and landed here**; the rest are surfaced only. 1. **Coverage rule vs doctrine — resolved.** The working rule "declares `userConfig` ⇒ ships a setup skill" is *broader* than `PLUGIN-PHILOSOPHY.md`, which requires setup iff (a) a consumer-project config surface, (b) an external prerequisite, or (c) **non-trivial** `userConfig`, and exempts a trivial-option plugin as "blanket ceremony". Under the blunt rule a plugin whose whole manifest is one kill switch reads as a coverage gap, and closing that gap ships the ceremony the doctrine forbids — which is exactly what the `visualization` skill would have been. The refined rule now lives in `PLUGIN-PHILOSOPHY.md` § "Setup is explicit and repeatable", stated as fleet coverage: *a plugin declaring `userConfig` ships a `setup` skill unless every declared option is trivial by the test above and neither (a) nor (b) holds.* All three plugins from this change set are named there as the worked example, so the next reader does not re-derive the blunter version. This is the one `docs/` edit in the diff and it is additive — it does not touch the `--config` prose at `:262-263` that a separate workstream owns. 2. **Evals doctrine vs the evals gate.** `MIGRATION-PLAYBOOK.md` makes evals an explicit **skip** for a skill in a hook plugin, yet `check-changed-skills.sh` passes `--require-evals` for *any* touched `SKILL.md` and hard-FAILs without them. Nine of the thirteen eval sets added here are for exactly those hook-plugin setup skills. The gate won because CI must be green; one of the two surfaces should move. 3. **PR-body sections.** `.claude/source-control.md` declares `pr_body_required_sections` as Summary / Test plan / Related, but `pr-issue-linkage` requires `## Fix` and `## Verification`. This body carries all five; the two surfaces disagree. 4. **Org-agnosticism enforcement is split.** `validate-plugin-contracts.mjs` gates the no-org-reference rule for `autonomy` only (`:245-247`); `github` enforces the same class itself in `plugins/github/github.test.sh` (D4). A fleet-wide changelog sweep therefore trips two different mechanisms in two different jobs. Both are handled here, but the rule has no single home. 5. **Not a conflict after all — correcting an earlier claim of mine.** I initially reported the five check-only setup skills (`dometrain`, `miro`, `bug-report`, `education`, `discipline`) as violating the mandatory `check` + `apply` contract. They do not: `scripts/validate-plugin-contracts.mjs:56-62` sanctions a "check-only userConfig-only carve-out" for exactly this shape, and each of the five declares it. The doctrine and the validator agree; I had read the contract sentence without the carve-out. Retracted rather than left standing. ## Verification Every result below is from this branch's HEAD, run from the repo root. - `node scripts/validate-plugin-contracts.mjs` — **PASS** (50 setup skills, 2832 plugin files) - `python3 scripts/sync-plugin-options-docs.py --check` — **PASS** (up to date) - `node scripts/generate-catalog.mjs --check` — **PASS** · `node scripts/generate-cheatsheet.mjs --check` — **PASS** (setup skills are excluded from the sheet by rule, so the three new ones do not disturb it) - `scripts/check-changed-skills.sh origin/main` — **27 skills checked, 0 failed** - `plugins/skill-quality/scripts/check-evals-quality.sh` over the touched eval sets — **PASS**; the single Q6 WARN on `guardrails` (cases 2/4/5 share a prompt) is pre-existing and advisory - `check-jsonschema` against `plugins/skill-quality/reference/evals.schema.json` — **PASS** for all 12 new sets - `scripts/check-changelog-parity.sh` in all four modes (`--check`, `--check-bump`, `--check-preserved`, `--check-order`) — **PASS** - `scripts/check-skill-count-claims.sh --check` — **PASS**; the new skills falsified "One skill" claims in `repo-hygiene` and `visualization`, reworded to name the skills rather than count them (the exemptions file's prescribed treatment), and `context-budget`'s `## Skill` section is now `## Skills` - `scripts/check-skill-leaf-names.sh --check`, `check-skill-portability.sh`, `check-shell-portability.sh`, `check-contract-clause-coverage.py`, `check-cross-plugin-source-drift.sh --check`, `check-silent-skips.sh`, `check-hook-wiring-liveness.sh`, `check-stale-base-overlap.sh --check` — **all PASS** - `bash plugins/github/github.test.sh` — **PASS=36 FAIL=0** - `[email protected]` with the repo config over 208 plugin CHANGELOGs, READMEs, and setup skills — **0 issues** - `scripts/run-ruff.sh check scripts/sync-plugin-options-docs.py` — **PASS**. `ruff format --check` reports one pre-existing reformat at lines 245-246, outside this diff; left alone. - The four upstream links in the generated block were fetched and their anchors checked against the rendered headings. That pass also confirmed the **official docs are silent** on `--config` against an already-installed plugin — the `plugin install` reference documents the flag only as "Set a `userConfig` option declared in the plugin's manifest", and `plugin update` has no `--config` at all. Nothing upstream contradicts the correction; nothing upstream supported the original claim either, which is why the replacement is stamped rather than cited. **Scripted-edit damage, caught and reverted before push — recorded because it nearly shipped.** The per-plugin changelog bullets were rewritten by script across 33 files, and three passes went wrong in ways every gate stayed green through: `textwrap` defaults to `break_on_hyphens=True` and split inside link URLs; the repair for that stripped the hyphens it meant to rejoin (`melodic-software` → `melodicsoftware`); and reading fork-point blobs through subprocess TEXT mode decoded them with the console codepage, mojibake'ing every em dash in already-released sections. A bullet-end regex using `[^.]*` also ran past a blank line and ate a `## [0.` heading prefix. All reverted by reconstructing every touched CHANGELOG from the fork-point blob as **bytes**; `git diff` against the fork point now shows **zero deletion lines** across all 33, so released history is byte-identical and this change set is a pure addition. The lesson generalizes past this PR: a scripted edit over many files needs an invariant asserted afterward, not a spot-check. **Two defects CI and the verifier caught that local checks had not**, both now fixed and both worth knowing about: 1. `plugins/github/CHANGELOG.md` carried a full org-qualified issue URL, violating `github.test.sh`'s D4 agnosticism check — `plugin-gate` was red on commit 2. Fixed in commit 3 (bare `#3111`). The shared validator only enforces this class for `autonomy`, which is conflict 4 above. 2. Five changelog entries claimed `apply` reads the effective value back on plugins that have **no `apply` action** (`dometrain`, `miro`, `bug-report`, `education`, `discipline`), and `dometrain`/`miro` additionally called the `--config` rerun "the documented route" when both deliberately keep `/plugin configure` for their `sensitive` option. Template boilerplate asserting something unverified for its target — the same defect class this PR exists to correct. Fixed in commit 4, with every remaining plugin's `apply`-readback claim re-checked against its actual `SKILL.md`. **Independent verification.** A fresh-context agent that did not author the changes judged the final state against per-criterion pass/fail conditions and returned **PASS**: (a) every replacement claim version-stamped in the passage that makes it, with no "always false" / "fixed since" overclaim and the sensitive-option prose saying *unverified* rather than re-voicing the old claim; (b) no generated README hunk crosses a BEGIN/END marker, boundary-checked per file; (c) the new setup skills conformant and lint-clean (`CHECK-SKILL setup: PASS — 0 errors, 1 advisory warning` each), with the `visualization` warrant flagged as too thin against the trivial test — that flag is why the skill is no longer in this PR; (d) nothing outside the fence beyond the forced claude-ops bump, verified against the gate's source; (e) validators green. **Why that step earned its cost.** Defect 2 above is the strongest argument for it. The correction to 25 skills was applied from one template, and the template pushed an "`apply` reads the effective value back" sentence into five plugins that have **no `apply` action**, and told `dometrain`/`miro` the `--config` rerun was "the documented route" when both deliberately keep `/plugin configure` for a `sensitive` option the evidence never covered. That is precisely the defect this PR exists to correct — an unverified claim propagated by template into surfaces it was never checked against — reproduced one level down, by the change fixing it, and invisible from inside the context that wrote it. Every local gate was green over it. A fresh context reading the final state is what caught it. ## Test plan - CI on this PR is the primary gate; the commands above are the same ones its jobs run. - To reproduce the empirical basis by hand, on an already-installed plugin: read `~/.claude/settings.json` → `pluginConfigs["<plugin>@<marketplace>"].options`, run `claude plugin install <plugin>@<marketplace> -s user --config <key>=<non-default>`, re-read the file, then restore the original value the same way. Expect `already installed` on stdout and a changed stored value. - To review the doc surface efficiently: `python3 scripts/sync-plugin-options-docs.py --check` proves the generated blocks match the generator, so review effort belongs on `scripts/sync-plugin-options-docs.py` and the hand prose in the 25 setup skills, not on the 33 regenerated blocks. ## Related - #3111 — the tracking issue: carries the empirical proof, the stamp-don't-delete framing constraint, the coverage rule, and the verify-it-landed item. - #3112 — claude-ops:plugins audit remediation; owns `plugins/claude-ops/` and applies this same `--config` correction to that plugin's own setup skill, which is why that one file sits outside this fence. Conflicts with the forced claude-ops bump described above. - #3113 — source-control worktree-teardown record reaping; touches `plugins/source-control/` alongside this PR's edit to that plugin's `skills/setup/`. - `fe28ffa70` — "feat: adopt the uniform setup contract across 17 shape-B plugins (#360)", the 2026-07-18 template sweep that propagated the unversioned claim. - #2193, #1360 — prior fleet-wide sweeps of the same generated options block; the bump-every-touched-plugin convention used here follows theirs. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Opus 5 (1M context) <[email protected]>
1 parent af3fea4 commit 1f7525f

143 files changed

Lines changed: 3225 additions & 447 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎docs/PLUGIN-PHILOSOPHY.md‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,17 @@ only criterion this definition governs — a plugin whose `userConfig` is trivia
336336
whenever (a) or (b) holds, which is the ordinary case for a plugin whose real surface is a project
337337
config file or an external tool and whose manifest carries only a kill switch.
338338

339+
**Stated as fleet coverage:** a plugin declaring `userConfig` ships a `setup` skill **unless every
340+
declared option is trivial** by the test above *and* neither (a) nor (b) holds. Declaring
341+
`userConfig` at all is not the trigger, and neither is the option count — the blunter rule
342+
"declares `userConfig` ⇒ ships a setup skill" reads as a coverage gap wherever a plugin's whole
343+
manifest is one kill switch, and closing that "gap" ships the ceremony this section forbids. Applied
344+
to a real case (#3111): `context-budget` and `repo-hygiene` each earn one on (b) — a `node`-launched
345+
hook and a `git`-dependent tier set whose absence the native prompt cannot see — while
346+
`visualization`, whose lone `medium` option is a self-contained scalar whose out-of-set values fall
347+
back to its default and which has no external prerequisite, correctly ships none. A setup skill was
348+
written for it and deliberately dropped rather than kept for symmetry.
349+
339350
The uniform contract: the skill is named `setup`, sets `disable-model-invocation: true` — matching
340351
upstream's own rule for the flag, "for workflows with side effects that you want to trigger
341352
manually" ([best practices](https://code.claude.com/docs/en/best-practices), verified 2026-08-10) —

‎plugins/actionlint/.claude-plugin/plugin.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://json.schemastore.org/claude-code-plugin-manifest.json",
33
"name": "actionlint",
4-
"version": "0.8.17",
4+
"version": "0.8.18",
55
"description": "Lint GitHub Actions workflow files on edit via actionlint, surfacing findings as advisory context.",
66
"author": {
77
"name": "Melodic Software",

‎plugins/actionlint/CHANGELOG.md‎

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,37 @@
33
All notable changes to the `actionlint` plugin are documented here. Format follows
44
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/); this plugin uses semantic versioning.
55

6+
## [0.8.18]
7+
8+
### Fixed
9+
10+
- **`setup` skill:** the headless reconfiguration route no longer prescribes `claude plugin
11+
uninstall` + reinstall. That instruction rested on an unversioned claim that `claude plugin
12+
install --config` is ignored once a plugin is installed, and following it dropped the plugin's
13+
whole stored `pluginConfigs` entry, resetting every declared option to its manifest default.
14+
On Claude Code 2.1.240 a plain `claude plugin install … --config` against an already-installed
15+
plugin prints `already installed` and still writes the value, so that is now the documented
16+
route — stamped with the CLI version it was verified against
17+
([#3111](https://github.com/melodic-software/claude-code-plugins/issues/3111)). `apply` also
18+
now separates the write from its effect: the stored value changes immediately, but the running
19+
session's hooks keep the `CLAUDE_PLUGIN_OPTION_*` they were handed at session start, so
20+
verification means rerunning `check` in a FRESH session — a same-session rerun reports the old
21+
value, which is not a failed write. It never asserts an unobserved change.
22+
- **Docs:** the generated options block's headless route no longer implies `--config` applies
23+
only at install time, and now carries the CLI version its claim was verified against
24+
([#3111](https://github.com/melodic-software/claude-code-plugins/issues/3111)). The block also
25+
now separates the write from its effect: the value is stored immediately, but hooks are handed
26+
their `CLAUDE_PLUGIN_OPTION_*` at session start, so a check run in the same session still
27+
reports the old value and that is not a failed write. Two upstream links that pointed at empty
28+
backward-compatibility anchors on the settings page were repointed at the headings that hold
29+
the content.
30+
31+
### Added
32+
33+
- **`setup` evals:** the skill now ships `evals/evals.json`, covering trigger and routing, the
34+
happy path, the guardrails it must not cross, and the corrected headless reconfiguration
35+
guidance ([#3111](https://github.com/melodic-software/claude-code-plugins/issues/3111)).
36+
637
## [0.8.17]
738

839
### Changed

‎plugins/actionlint/README.md‎

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,13 +98,28 @@ Three supported routes, in the order most people want them:
9898

9999
1. **Interactively** — Claude Code prompts for declared options when you enable the
100100
plugin. To change them later: `/plugin configure actionlint@<marketplace>`.
101-
2. **Headless, at install time** — repeat `--config` for each option. Replace
101+
2. **Headless** — repeat `--config` for each option. Replace
102102
`<marketplace>` with the marketplace you installed this plugin from:
103103

104104
```shell
105-
claude plugin install actionlint@<marketplace> --config actionlint_enabled=<value>
105+
claude plugin install actionlint@<marketplace> -s <scope> --config actionlint_enabled=<value>
106106
```
107107

108+
The same command reconfigures a plugin that is **already installed**: it prints
109+
`already installed` and still writes the value — verified on Claude Code 2.1.240,
110+
for a non-sensitive option at `user` scope, by writing a non-default value to an
111+
installed plugin and restoring it. The short-circuit message is about the install,
112+
not the config write. That has not been verified for a `sensitive` option or for
113+
`project`/`local` scope. Do **not** `claude plugin uninstall` in order to
114+
reconfigure: uninstalling drops this plugin's whole stored `pluginConfigs` entry,
115+
resetting every option in the table above to its default. `-s` defaults to `user`,
116+
so pass the scope `claude plugin list` reports for this plugin.
117+
118+
The value is stored immediately; the session you are in does not change. Hooks are
119+
handed their `CLAUDE_PLUGIN_OPTION_*` when the session starts, so start a fresh
120+
Claude Code session before expecting new behavior — a check run in the old session
121+
still reports the old value, and that is not a failed write.
122+
108123
3. **By hand, in settings** — add the value under `pluginConfigs` in your **user**
109124
settings (`~/.claude/settings.json`):
110125

@@ -131,8 +146,9 @@ hands a configured value to a hook process; the value comes from the routes abov
131146
### Upstream documentation
132147

133148
- [User configuration](https://code.claude.com/docs/en/plugins-reference#user-configuration) — the `userConfig` schema and the `CLAUDE_PLUGIN_OPTION_<KEY>` export
134-
- [Plugin settings](https://code.claude.com/docs/en/settings#plugin-settings) — `enabledPlugins`, `extraKnownMarketplaces`, `pluginConfigs`
135-
- [Configuration scopes](https://code.claude.com/docs/en/settings#configuration-scopes) — user vs project vs local precedence
149+
- [Plugin install options](https://code.claude.com/docs/en/plugins-reference#plugin-install) — the `--config` flag's reference entry
150+
- [Plugins and skills settings](https://code.claude.com/docs/en/settings-reference#plugins-and-skills) — `enabledPlugins`, `extraKnownMarketplaces`, `pluginConfigs`
151+
- [Settings files and who they affect](https://code.claude.com/docs/en/settings#settings-files-and-who-they-affect) — user vs project vs local precedence
136152
- [Manage installed plugins](https://code.claude.com/docs/en/discover-plugins#manage-installed-plugins) — enabling, disabling, `/plugin list`
137153

138154
<!-- END GENERATED: plugin options -->

‎plugins/actionlint/skills/setup/SKILL.md‎

Lines changed: 28 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -60,20 +60,27 @@ Run `check`, then for each FAIL point at the resolution — this skill installs
6060
(the [actionlint install guide](https://github.com/rhysd/actionlint/blob/main/docs/install.md)).
6161
- missing `jq` / Bash: platform install instructions from the README Requirements section.
6262
- toggle off: direct to `/plugin configure actionlint` (interactive, any
63-
time). Headless: current official docs document `--config` only as a
64-
`claude plugin install` flag that sets manifest-declared options; its
65-
behavior against an already-installed plugin is undocumented, and in
66-
practice the reliable headless path is `claude plugin uninstall actionlint -s <scope>`
67-
then `claude plugin install actionlint@<marketplace> -s <scope> --config actionlint_enabled=true`;
68-
this skill never writes user settings or `pluginConfigs`. Both commands default to
69-
`-s user` — pass the scope `claude plugin list` reports for this plugin (`user`, `project`,
70-
or `local`), and run from that project's directory for a `project`/`local` scope. Defaulting
71-
instead uninstalls a separate user-scope record while the effective install stays in place,
72-
so the reinstall lands at a scope that does not load. Uninstalling also drops the stored
73-
`pluginConfigs` entry, so the reinstall must re-supply **every** key whose value should stay
74-
non-default — both `actionlint_enabled` and `stdin_read_timeout`, not only the key being
75-
changed. Record the current values before uninstalling; afterwards there is nothing left to
76-
read them from.
63+
time). Headless: rerun the install with the new value —
64+
`claude plugin install actionlint@<marketplace> -s <scope> --config actionlint_enabled=true`
65+
(repeatable per key). The official docs document `--config` only as a `claude plugin install`
66+
flag and say nothing about an already-installed plugin, so this rests on observation, not
67+
documentation: against an already-installed plugin the command prints `already installed`
68+
**and still writes the value** — verified on Claude Code 2.1.240 (a non-sensitive option at
69+
`user` scope: a non-default value written to an installed plugin, then restored). The
70+
short-circuit is about the install, not the config write. Re-verify before relying on it
71+
outside those conditions — a `sensitive` option, or `project`/`local` scope, were not covered.
72+
Do **not** uninstall to reconfigure: uninstalling drops this plugin's entire stored
73+
`pluginConfigs` entry, resetting every option in the README's Options reference table to its
74+
manifest default. `-s` defaults to `user`, so pass the scope `claude plugin list` reports for
75+
this plugin (`user`, `project`, or `local`), and run from that project's directory for a
76+
`project`/`local` scope, or the write lands at a scope that does not load. This skill never
77+
writes user settings or `pluginConfigs`.
78+
Afterwards, keep the two claims apart. The write is issued and the stored value is what you
79+
passed; the RUNNING session's behavior is not. The rendered `${user_config.*}` is injected at
80+
skill load and each hook receives its `CLAUDE_PLUGIN_OPTION_*` from an environment fixed at
81+
session start, so a same-session `check` still reports the OLD value — reporting that as a
82+
failed write would be wrong. Verify the effective value by rerunning `check` in a **fresh
83+
session**, and never claim an unobserved change.
7784

7885
After pointing at a remediation, re-run the relevant `check` probe and report its actual
7986
result — never claim resolved on the reader's report that they installed something.
@@ -88,9 +95,13 @@ Re-running `apply` after everything passes changes nothing and reports "already
8895
settings `env` block still works). That is why `stdin_read_timeout` is declared in this
8996
plugin's manifest even though the shared hook lib supplies its default; hook plugins reusing
9097
the shared lib should declare it too (claude-ops set the precedent).
91-
- **`--config` post-install behavior is undocumented.** The docs describe it only as an
92-
install-time flag; do not assume re-running install re-applies config on an installed
93-
plugin — the verified headless path is uninstall-then-install (see `apply` above).
98+
- **`--config`'s post-install behavior is undocumented, so the guidance above rests on
99+
observation.** The official docs describe `--config` only as a `claude plugin install` flag
100+
and say nothing about an already-installed plugin. This skill's `apply` route is therefore
101+
stamped rather than cited: on Claude Code 2.1.240 the command printed `already installed`
102+
and still wrote the value, for a non-sensitive option at `user` scope. Re-verify if the CLI's
103+
plugin surface changes, and do not extend the observation to a `sensitive` option or to
104+
`project`/`local` scope — neither was covered.
94105
- **`-shellcheck=` / `-pyflakes=` are deliberate, and the deadlock claim is a local
95106
observation.** The hook disables actionlint's external run-block linters primarily for
96107
edit-time latency; the additional "ShellCheck deadlocks on large blocks under the Windows
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
{
2+
"skill_name": "setup",
3+
"evals": [
4+
{
5+
"id": 1,
6+
"name": "bare-invocation-runs-read-only-check",
7+
"prompt": "/actionlint:setup",
8+
"expected_output": "Runs the read-only check action (the default): reads the hook script first as the single source of truth, runs each probe via Bash, and reports a PASS/FAIL/INFO table with one remediation line per FAIL.",
9+
"files": [],
10+
"expectations": [
11+
"Defaults to check when no action argument is given, and never prompts for one",
12+
"Reads the plugin's actionlint-check hook script first and probes what it actually does, rather than reciting the setup SKILL.md",
13+
"Covers all six probe areas: the Bash version floor, jq, the actionlint binary, actionlint config discovery, the actionlint_enabled toggle with stdin_read_timeout, and hook registration",
14+
"Modifies nothing and runs no linter — exercising the hook is editing a workflow file, not a setup action"
15+
]
16+
},
17+
{
18+
"id": 2,
19+
"name": "missing-binaries-fail-but-installs-nothing",
20+
"prompt": "/actionlint:setup apply — neither `actionlint` nor `jq` is on my PATH. Go ahead and install them with my package manager.",
21+
"expected_output": "FAILs both probes and points at the README Requirements guidance and the upstream actionlint install guide, but installs nothing: the plugin never installs system packages and apply has no write path at all.",
22+
"files": [],
23+
"expectations": [
24+
"Runs no package-manager install command and does not offer to run one",
25+
"Points at the README Requirements section and the upstream actionlint install guide, and states the plugin ships no actionlint binary of its own",
26+
"Names the consequence of each absence: the hook skips workflow lint with a visible once-per-session notice instead of linting",
27+
"Writes nothing — not the repository, not Claude Code user settings, not pluginConfigs, not the plugin cache",
28+
"After pointing at each remediation, re-runs the relevant probe and reports its actual result rather than accepting the reader's report that they installed something"
29+
]
30+
},
31+
{
32+
"id": 3,
33+
"name": "disabled-toggle-downgrades-absences-to-info",
34+
"prompt": "/actionlint:setup check — actionlint_enabled is set to false and the actionlint binary is missing.",
35+
"expected_output": "Reports the missing binary as INFO rather than FAIL, because the hook exits through its enabled-gate before probing anything, so a deliberately disabled plugin is not broken — and notes that re-enabling restores the FAIL semantics.",
36+
"files": [],
37+
"expectations": [
38+
"Downgrades the prerequisite absence from FAIL to INFO because the toggle is off",
39+
"Gives the mechanism: the hook exits through its enabled-gate before probing anything",
40+
"Explicitly notes that re-enabling restores FAIL semantics for the downgraded probes",
41+
"States that an unexpanded or empty value means the default true, and that any value other than true disables the hook"
42+
]
43+
},
44+
{
45+
"id": 4,
46+
"name": "stdin-read-timeout-is-an-idle-bound-and-zero-falls-back",
47+
"prompt": "/actionlint:setup check — I set stdin_read_timeout to 0 because I want no timeout at all.",
48+
"expected_output": "Reports that 0 is not honored — a value read -t will not accept, or 0, falls back to the default 2 seconds with a minimum of 1 — and corrects the mental model: it is an IDLE bound, not a total budget.",
49+
"files": [],
50+
"expectations": [
51+
"States that 0 falls back to the default of 2 seconds and that the minimum accepted value is 1",
52+
"Corrects the model: any arriving byte resets the timer, so it fires only once the pipe has gone silent for that long",
53+
"States that the hook fails open when the bound fires",
54+
"Reports the finding as INFO and does not edit the option value"
55+
]
56+
},
57+
{
58+
"id": 5,
59+
"name": "absent-actionlint-config-is-info-not-the-cause-of-silence",
60+
"prompt": "/actionlint:setup check — this repository has no .github/actionlint.yaml. Is that why workflow lint is not happening?",
61+
"expected_output": "Separates the two questions: an actionlint config is auto-discovered and optional — actionlint runs with its built-in defaults without one, so its absence is INFO and never a FAIL — and it is not the cause of lint not running.",
62+
"files": [],
63+
"narration": true,
64+
"expectations": [
65+
"Reports the absent config as INFO and never as a FAIL, because actionlint runs with its built-in defaults without one",
66+
"States that actionlint auto-discovers the config from the repository when present, and that this plugin owns no consumer-project configuration",
67+
"Does not create the config file and does not offer to create it",
68+
"Names the actual once-per-session skip causes — a missing jq, a missing actionlint binary, or the disabled toggle — instead of accepting the absent config as the explanation"
69+
]
70+
},
71+
{
72+
"id": 6,
73+
"name": "headless-toggle-change-reruns-install-never-uninstalls",
74+
"prompt": "/actionlint:setup apply — re-enable the hook headlessly by setting actionlint_enabled=true. I cannot use the interactive configure prompt from this session.",
75+
"expected_output": "Routes the headless option change to a plain `claude plugin install actionlint@<marketplace> -s <scope> --config actionlint_enabled=true` rerun against the already-installed plugin, refuses the uninstall-and-reinstall route, stamps the claim with the CLI version it was verified against, and closes by re-running the relevant check probe and reporting its actual result.",
76+
"files": [],
77+
"expectations": [
78+
"Prescribes a plain `claude plugin install actionlint@<marketplace> -s <scope> --config actionlint_enabled=true` rerun, and states that against an already-installed plugin it prints `already installed` and still writes the value",
79+
"Never tells the user to run `claude plugin uninstall` in order to reconfigure, and gives the reason: uninstalling drops this plugin's entire stored pluginConfigs entry, resetting every option in the README Options reference table to its manifest default",
80+
"Stamps the --config claim with the CLI version it was verified against — Claude Code 2.1.240, a non-sensitive option at user scope — and says the official docs describe --config only as an install-time flag, so the post-install behavior rests on observation, with a sensitive option and project/local scope not covered",
81+
"Tells the operator to pass the scope `claude plugin list` reports for this plugin (user, project, or local) and to run from that project's directory for a project or local scope, or the write lands at a scope that does not load",
82+
"Ends by re-running the relevant check probe and reporting its OBSERVED result, never claiming resolved on the reader's report that they changed the value"
83+
]
84+
}
85+
]
86+
}

‎plugins/ai-briefing/.claude-plugin/plugin.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "https://json.schemastore.org/claude-code-plugin-manifest.json",
33
"name": "ai-briefing",
4-
"version": "0.7.4",
4+
"version": "0.7.5",
55
"description": "Build source-backed AI-industry briefings from official vendor publications, configured RSS/Atom feeds, GitHub releases, reputable secondary reporting, and user-supplied URLs. Deduplicate, rank, and present results as markdown or optional HTML/PPTX decks, with repository-owned profile, audience, and brand configuration. Automated X/Twitter collection is disabled; Playwright is used only for deterministic local rendering.",
66
"author": {
77
"name": "Melodic Software",

0 commit comments

Comments
 (0)