feat: ship as a Claude Code plugin marketplace#162
Draft
MickaelV0 wants to merge 2 commits into
Draft
Conversation
Adds `.claude-plugin/marketplace.json` and `.claude-plugin/plugin.json`
so this repo can be installed directly from inside Claude Code:
/plugin marketplace add cocoindex-io/cocoindex-code
/plugin install cocoindex-code@cocoindex-code
The existing `skills/ccc/SKILL.md` is auto-discovered as the plugin's
skill — no file moves, the `npx skills add` workflow keeps working
unchanged. README gets a short subsection under "Skill (Recommended)"
linking the new install path.
Refs: https://code.claude.com/docs/en/plugin-marketplaces
Update owner, homepage, repository, and README install command from cocoindex-io to Roxabi/cocoindex-code. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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
.claude-plugin/marketplace.jsonand.claude-plugin/plugin.jsonso this repo doubles as a Claude Code plugin marketplace.cccskill from inside Claude Code with two commands, alongside the existingnpx skills addflow.skills/ccc/SKILL.mdis auto-discovered as the plugin's skill; thenpx skills add cocoindex-io/cocoindex-codeworkflow keeps working exactly as before.Why
Coding agents that natively understand Claude Code plugins (Claude Code itself, and any forks/clients that adopt the schema) get a one-step install path with version pinning, automatic updates via
/plugin marketplace update, and discoverability via/plugin install. This complements the existing skill / MCP install paths rather than replacing either.What changed
.claude-plugin/marketplace.json.claude-plugin/plugin.jsonREADME.md#### Claude Code plugin marketplacesubsection under existing "Skill (Recommended)"How to verify
While this PR is in review, the same manifest is live on the Roxabi-org fork — Claude Code users can already install it with:
After merge, the canonical install path becomes:
In both cases the skill becomes available as
/cocoindex-code:ccc(plugin-namespaced) and the agent's automatic search behavior works as documented inskills/ccc/SKILL.md.Compatibility
npx skills add cocoindex-io/cocoindex-codeflow unaffectedccc mcp) unaffectedOpen questions for maintainers
name/ pluginnameif you'd prefer a different identifier (e.g.cccvscocoindex-code).emailfield inowneris set tohi@cocoindex.io— drop or replace if not the right contact.versionpinned to1.0.0; if you'd rather rely on git-SHA-based versioning, bothversionfields can be omitted (per docs).Drafted as a draft PR — happy to iterate on naming, copy, and metadata before merge.
(Re-opened from
Roxabi/cocoindex-codeafter closing the prior #161 from a personal fork.)