Skip to content

Package as a Claude Code plugin and marketplace - #53

Merged
cuihtlauac merged 1 commit into
mainfrom
plugin-packaging
Oct 2, 2026
Merged

cuihtlauac merged 1 commit into
mainfrom
plugin-packaging

Conversation

@cuihtlauac

Copy link
Copy Markdown
Member

Makes the repo installable as a Claude Code plugin and its own marketplace:

/plugin marketplace add tarides/sudo-proxy
/plugin install sudo-proxy@tarides

What's added

  • .claude-plugin/plugin.json — registers the sudo-proxy MCP server inline and ships the skill.
  • .claude-plugin/marketplace.json — a single-plugin marketplace named tarides (so install reads sudo-proxy@tarides).
  • skills/run/SKILL.md — invocable as /sudo-proxy:run; also model-invoked via its description. Tells the model to reach for sudo-proxy only for privileged or remote work (Bash otherwise), start the server before executing, and write a clear per-command description for the approval prompt.

Notes

  • No root .mcp.json. mcpServers is declared inline in plugin.json. A project-root .mcp.json auto-loads whenever the repo itself is opened in Claude Code, prompting every developer for MCP approval; inline registration loads the server only when the plugin is installed.
  • The plugin does not install the sudo-proxy-mcp binary — it stays a documented prerequisite (cargo install / cargo binstall), since a human-consent tool should not install itself silently.
  • README.md gains a plugin-install section; CLAUDE.md's version-bump checklist now lists plugin.json alongside the pre-existing hardcoded version strings in server.json and the mcpb manifest.

🤖 Generated with Claude Code

Add .claude-plugin/plugin.json (registers the sudo-proxy MCP server
inline and ships a skill) and .claude-plugin/marketplace.json (a
single-plugin marketplace named "tarides"), so the repo can be added
and installed with:

  /plugin marketplace add tarides/sudo-proxy
  /plugin install sudo-proxy@tarides

Declare mcpServers inline in plugin.json rather than shipping a
root .mcp.json: a project-root .mcp.json auto-loads whenever the repo
itself is opened in Claude Code, prompting every developer for MCP
approval. Inline registration loads the server only when the plugin
is installed.

The plugin does not install the sudo-proxy-mcp binary; that stays a
documented prerequisite, since a human-consent tool should not install
itself silently.

The skill tells the model to reach for sudo-proxy only for privileged
or remote work, start the server before executing, and write a clear
per-command description for the approval prompt.

Also add plugin.json to the version-bump checklist in CLAUDE.md
alongside the pre-existing hardcoded version strings in server.json
and the mcpb manifest.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@cuihtlauac
cuihtlauac merged commit bf71e57 into main Oct 2, 2026
16 checks passed
@cuihtlauac
cuihtlauac deleted the plugin-packaging branch October 2, 2026 06:55
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