feat: ship Claude Code plugin in-tree#7
Merged
Merged
Conversation
Phase-scoped skills layered on the existing raysense MCP server,
packaged as a Claude Code plugin alongside the crate. Layout
mirrors sentrux's: marketplace manifest at the repo root, plugin
sources under ./claude-plugin/.
.claude-plugin/marketplace.json # source -> ./claude-plugin
claude-plugin/
.claude-plugin/plugin.json
.mcp.json # registers `raysense --mcp`
skills/
raysense-bootstrap/SKILL.md # session start: scan + baseline + memory
raysense-impact/SKILL.md # before edits: blast radius + coupling
raysense-verify/SKILL.md # after edits: rescan + rule check + diff
raysense-audit/SKILL.md # on demand: architecture + dsm + evolution
Each skill is a short markdown playbook over MCP tools that already
exist in src/mcp.rs:137 (verified: every raysense_* name referenced
across all four SKILL.md files resolves in the tool registry).
Multi-codebase isolation is cwd-driven: every skill passes
path: $CWD; per-project state stays in <repo>/.raysense/. Two CC
sessions on two repos = two MCP processes, two on-disk state trees,
zero cross-project bleed.
No new Rust code; cargo test still 123/123 green.
Install path:
cargo install raysense
/plugin marketplace add RayforceDB/raysense
/plugin install raysense
singaraiona
pushed a commit
that referenced
this pull request
May 1, 2026
Phase-scoped skills layered on the existing raysense MCP server,
packaged as a Claude Code plugin alongside the crate. Layout:
.claude-plugin/marketplace.json # source -> ./claude-plugin
claude-plugin/
.claude-plugin/plugin.json
.mcp.json # registers `raysense --mcp`
skills/
raysense-bootstrap/SKILL.md # session start: scan + baseline + memory
raysense-impact/SKILL.md # before edits: blast radius + coupling
raysense-verify/SKILL.md # after edits: rescan + rule check + diff
raysense-audit/SKILL.md # on demand: architecture + dsm + evolution
Each skill is a short markdown playbook over MCP tools that already
exist in src/mcp.rs:137 (verified: every raysense_* name referenced
across all four SKILL.md files resolves in the tool registry).
Multi-codebase isolation is cwd-driven: every skill passes
path: $CWD; per-project state stays in <repo>/.raysense/. Two CC
sessions on two repos = two MCP processes, two on-disk state trees,
zero cross-project bleed.
No new Rust code; cargo test still 123/123 green.
Install path:
cargo install raysense
/plugin marketplace add RayforceDB/raysense
/plugin install raysense
Co-authored-by: Anton <anton.kundenko@gmail.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/. Same physical layout as sentrux uses.raysense-bootstrap/raysense-impact/raysense-verify/raysense-audit). Each is a short markdown playbook over MCP tools already exposed bysrc/mcp.rs:137.raysense_*tool referenced across the fourSKILL.mdfiles resolves in the existing tool registry. cargo test still 123/123 green.Multi-codebase isolation
cwd-driven, no global state. Each skill passes
path: $CWDto every MCP call; per-project state lives in<repo>/.raysense/. Two CC sessions on two repos = tworaysense --mcpprocesses, two on-disk state trees, zero cross-project bleed.Install path
Out of scope (deferred to v2)
/raysense-bootstrap, etc.) — manual reinforcement when agent forgetsSessionStart/Stophooks — deterministic auto-fireagents/raysense-analyst.mdsub-agent — context isolation for noisy auditsTest plan
cargo fmt --checkcleancargo test— 123/123 greenjqraysense_*names referenced in skills exist intools_list(src/mcp.rs:137)/plugin marketplace add <local path>→/plugin install raysense→ confirm bootstrap activates and writes.raysense/baseline/+ populatedtables/raysense-verify, confirm baseline_diff reports it.raysense/directories stay independent