Skip to content

docs: name plugin configure --values-stdin as the headless route in generated plugin READMEs - #11032

Merged
kyle-sexton merged 2 commits into
mainfrom
host-run/6761-values-stdin-readmes
Oct 29, 2026
Merged

kyle-sexton merged 2 commits into
mainfrom
host-run/6761-values-stdin-readmes

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

Refs: #6761

Summary

The generated "Configure" block in every plugin README still sent headless users to a claude plugin install --config rerun, while the plugin-reconfiguration convention now names claude plugin configure <plugin>@<marketplace> --values-stdin as the preferred headless route. This PR brings the generator, and the 51 READMEs it writes, in line with the convention. It covers criterion 3 of #6761; the setup-skill short forms are left to #11017.

Fix

  • scripts/sync-plugin-options-docs.py: route 2 now shows claude plugin configure ... --values-stdin < values.json with a values.json example, and cites the convention for its limits. The install --config rerun becomes the fallback for a Claude Code release without plugin configure, offered only for non-sensitive options.
  • A plugin with sensitive options keeps route 1 as the recommended route for them, and is told never to pass them through the fallback; a sensitive-only plugin gets no fallback.
  • Adds the plugin configure CLI reference entry to the README's reference links.
  • Regenerated 51 plugin READMEs, each with a .changes/ fragment.

Verification

  • python3 scripts/sync-plugin-options-docs.py --check printed plugin options docs: up to date (exit 0) on the branch head.
  • Checked the new wording against docs/conventions/plugin-reconfiguration/README.md, which names --values-stdin as "Headless, preferred" and the install rerun as the fallback.
  • Counted 51 changed READMEs and 51 .changes/ fragments in the commit.
  • Left out: running claude plugin configure --values-stdin against an installed plugin; this PR changes documentation only and the convention holds that record.

Related

🤖 Generated with Claude Code

kyle-sexton and others added 2 commits October 29, 2026 14:53
…enerated plugin READMEs

The generated "How to set these" block now shows
`claude plugin configure <plugin>@<marketplace> --values-stdin` as the
preferred headless route, citing the plugin-reconfiguration convention
for its limits, and keeps the `install --config` rerun only as the
fallback the convention names. Sensitive options are never offered the
fallback. All 51 option-declaring plugin READMEs are regenerated, each
with a patch changelog fragment.

Refs: #6761

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@kyle-sexton
kyle-sexton marked this pull request as ready for review October 29, 2026 20:07
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 29, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-29T20:08:40.852356Z 3ce4fa0 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

Copy link
Copy Markdown
Contributor

claude-security-review reviewed 3ce4fa0e20ed9b05baab43417f51bd4fcec013ff: 0 finding(s), 0 as inline comments.

No security issues found in this pull request.

The pull request changes documentation and its generator only: scripts/sync-plugin-options-docs.py, 51 regenerated plugin README.md files and 51 .changes/ fragments. I read the full generator change and a sample regenerated README (plugins/autonomy/README.md). I read the 51 .changes/ fragments only up to the first one (actionlint), so I did not check the other 50 individually.

  • Plugin manifests: No plugin.json or marketplace.json is touched, so no manifest <field> lines apply.
  • Trust controls and instruction surfaces: No trust control, hold path, CLAUDE.md, AGENTS.md, skill or hook file is changed. Nothing here deletes or softens a standing instruction. None of the changed paths matches the trusted-path list.
  • Generator: sync-plugin-options-docs.py builds README text from the plugin manifests and writes it back to the README files. The change adds only static strings and plugin, marketplace and option-key values it already used before. It adds no new shell execution, file path construction or network access.
  • Sensitive options: The new text keeps secrets off the command line.
    • A plugin with sensitive options is told never to pass them through the install --config fallback, and route 1 stays recommended for them.
    • A sensitive-only plugin gets no fallback command.
    • The --values-stdin example reads from a file through stdin, not argv, so it does not put a secret in shell history or the process table.
  • Exposure: The new values.json example uses a <value> placeholder, not a real value, so no secret is exposed.
  • Prompt content: The PR description contains no instructions aimed at the review lane.

Spend: none. This change adds no billed resource and no extra lane or review runs.

critical-findings: 0

@github-actions

Copy link
Copy Markdown
Contributor

claude-review reviewed 3ce4fa0e20ed9b05baab43417f51bd4fcec013ff: 0 finding(s), 0 as inline comments.

No findings. I read the generator change in scripts/sync-plugin-options-docs.py in full and the regenerated plugins/actionlint/README.md and plugins/ai-briefing/README.md as samples. I did not open the other 49 READMEs. I did not run --check, so "up to date" is the author's claim and unverified.

  • Wording matches the convention. I compared the new route 2 text with docs/conventions/plugin-reconfiguration/README.md (lines 17–45). The --values-stdin < values.json command, "JSON object of strings, booleans included", "run from the project the plugin is installed in", and install --config as the fallback all agree with it.
  • Sensitive options. A plugin with sensitive options is told never to pass them through the fallback, and route 1 stays recommended for them. A plugin with only sensitive options gets no fallback command. The README text cites the convention rather than repeating its claims.
  • Fragments. The .changes/ fragments sampled (actionlint) use bump: patch, which fits a docs-only change. No plugin manifest changed, so none of the manifest <field> checks apply.
  • Closing issue. feat(conventions): adopt claude plugin configure --values-stdin for plugin reconfiguration #6761 is referenced (Refs), not closed, so there are no closing-issue criteria to check. The context file has only the PR body.
  • Spend. There is no billing or cost change.

Not checked: the 51-README and 51-fragment counts; the diff lists 51 .changes fragments and 51 plugin READMEs, but I did not verify that each fragment matches its README.

@kyle-sexton
kyle-sexton added this pull request to the merge queue Oct 29, 2026
Merged via the queue into main with commit 8c9f080 Oct 29, 2026
76 checks passed
@kyle-sexton
kyle-sexton deleted the host-run/6761-values-stdin-readmes branch October 29, 2026 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant