Skip to content

feat: ship as a Claude Code plugin marketplace#161

Closed
MickaelV0 wants to merge 1 commit into
cocoindex-io:mainfrom
MickaelV0:feat/claude-plugin-marketplace
Closed

feat: ship as a Claude Code plugin marketplace#161
MickaelV0 wants to merge 1 commit into
cocoindex-io:mainfrom
MickaelV0:feat/claude-plugin-marketplace

Conversation

@MickaelV0
Copy link
Copy Markdown

Summary

  • Adds .claude-plugin/marketplace.json and .claude-plugin/plugin.json so this repo doubles as a Claude Code plugin marketplace.
  • Users can install the existing ccc skill from inside Claude Code with two commands, alongside the existing npx skills add flow.
  • Zero file moves — skills/ccc/SKILL.md is auto-discovered as the plugin's skill; the npx skills add cocoindex-io/cocoindex-code workflow 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

File Change
.claude-plugin/marketplace.json new — single-plugin marketplace pointing at the repo root
.claude-plugin/plugin.json new — plugin manifest (name, version, description, author, license, keywords)
README.md +11 lines — adds a #### Claude Code plugin marketplace subsection under existing "Skill (Recommended)"

How to verify locally

# from any Claude Code session
/plugin marketplace add cocoindex-io/cocoindex-code
/plugin install cocoindex-code@cocoindex-code
# then in a project
ccc init && ccc index

The skill becomes available as /cocoindex-code:ccc (plugin-namespaced) and the agent's automatic search behavior works as documented in skills/ccc/SKILL.md.

Compatibility

  • ✅ Existing npx skills add cocoindex-io/cocoindex-code flow unaffected
  • ✅ MCP server flow (ccc mcp) unaffected
  • ✅ No changes to source code, package, CLI, or tests
  • ✅ Apache-2.0 license and authorship metadata preserved in plugin manifest

Open questions for maintainers

  • Happy to adjust the marketplace name / plugin name if you'd prefer a different identifier (e.g. ccc vs cocoindex-code).
  • email field in owner is set to hi@cocoindex.io — drop or replace if not the right contact.
  • version pinned to 1.0.0; if you'd rather rely on git-SHA-based versioning, both version fields can be omitted (per docs).

Drafted as a draft PR — happy to iterate on naming, copy, and metadata before merge.

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
@MickaelV0
Copy link
Copy Markdown
Author

Closing this PR — re-opening from a Roxabi-org fork (Roxabi/cocoindex-code) instead of my personal fork, so the install path during review (/plugin marketplace add Roxabi/cocoindex-code) is org-owned. Same content, same diff. Will link the new PR shortly.

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