feat(plugin): Grok skill, SessionStart hook, and MCP with dual-agent docs#202
Merged
Merged
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>
Document Grok plugin setup (marketplace install + enable) with the same skill-only pattern as the Claude Code plugin: no bundled hooks or MCP. Clarify index freshness is agent-driven via the ccc skill, and note Grok compat MCP disable for users who want CLI/skill search only. All marketplace and manifest URLs point at cocoindex-io/cocoindex-code.
Add hooks/hooks.json (SessionStart incremental ccc index) and .mcp.json (ccc mcp stdio). Document full Grok install with --trust and how to disable hook and MCP for a skill-only setup matching Claude Code.
Add an explicit note that one .claude-plugin/marketplace.json serves both agents with the same plugin id and skill; Grok activates hooks/MCP via --trust.
Add trailing newlines to plugin JSON manifests (CI end-of-file-fixer). Document installing via cocoindex-io/cocoindex-code shorthand when the bare plugin name does not resolve from marketplace.
Member
|
this looks great, thanks @MickaelV0 ! |
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.json, same plugin idcocoindex-code, samecccskillhooks/hooks.json:SessionStart→ incrementalccc indexwhen.cocoindex_code/exists.mcp.json:ccc mcpstdio server for semantic search with auto-refreshgrok plugin install --trust) and skill-only opt-out (disable hook in/hooks, MCP in/mcpsorconfig.toml)cocoindex-io/cocoindex-code(not a fork)Test plan
grok plugin validate .— skill, hooks, and MCP pass (repo + installed plugin)cocoindex-io/cocoindex-codeshorthand (c7dc723)ccc indexon session start when index exists — hook command replayed withCLAUDE_PROJECT_DIR+.cocoindex_code/; incremental index, exit 0 (not yet exercised in a live Grok session start)searchtool works viaccc mcp— stdio client:list_tools→search, hitserver.py,success: trueAlso validated locally (not required for merge):
ccc init/index/search/status/doctor; pytest 231 passed (8docker_e2eskipped); pre-commit CI green on all matrix jobs.Out of scope: Grok UI opt-out (
/hooks,/mcps), live Claude Code/plugininstall,docker_e2e.