Support Claude Code and Codex plugin install - #3
Merged
Conversation
Slash commands run inside a session. claude plugin commands run from the terminal.
Ship .codex-plugin/plugin.json and an .agents marketplace catalog so Codex can add docwriter-org/style. Document session vs terminal install for both hosts, and write the generated skill to the Claude and Codex skill homes.
Link the in-app style flow, add Claude marketplace update and Codex marketplace upgrade, and document $docwriter-style-generator.
Install and update were easy to read as two required steps. Label each pair as either a session or the terminal, not both.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The plugin now installs from both Claude Code and Codex, matching the Codex plugin packaging layout.
This is the same style-learning flow used in the DocWriter app.
Install and update are either a session or the terminal — not both.
Claude Code
Either, in a session:
Or, in the terminal:
Refresh later with
/plugin marketplace update docwriter-styleorclaude plugin marketplace update docwriter-style.Codex
Either, in a session:
/plugins, add marketplacedocwriter-org/style, then installdocwriter-style-generator. Invoke with$docwriter-style-generator.Or, in the terminal:
Refresh later with
codex plugin marketplace upgrade docwriter-style.Packaging added in this PR:
.codex-plugin/plugin.json— Codex plugin manifest,skills: ./skills/.agents/plugins/marketplace.json— Codex marketplace catalog (policy+category)~/.claude/skills/my-writing-style/and~/.agents/skills/my-writing-style/Test plan
node tests/lexical-analysis.mjsdocwriter-style-generatorcodex plugin marketplace add docwriter-org/stylethencodex plugin add docwriter-style-generator@docwriter-style