From 6649e8e7ba247d8366d6be5af0288134cb92de63 Mon Sep 17 00:00:00 2001 From: GamerDubz Date: Sun, 11 Oct 2026 23:53:19 +0200 Subject: [PATCH] feat(plugin): make the repository installable as a Claude Code plugin Add .claude-plugin/plugin.json at the repository root so Claude Code plugin directories and marketplaces can list REA. The manifest bundles the authored reverse-engineer-anything skill from .agents/skills/ and registers the existing stdio server through npx; it adds no second distribution artifact. Release Please now bumps the manifest version with each release, which is when installed plugins refresh the bundled skill. Co-Authored-By: Claude Opus 5.5 --- .claude-plugin/plugin.json | 25 +++++++++++++++++++++++++ docs/installation.md | 18 ++++++++++++++++++ release-please-config.json | 5 +++++ 3 files changed, 48 insertions(+) create mode 100644 .claude-plugin/plugin.json diff --git a/.claude-plugin/plugin.json b/.claude-plugin/plugin.json new file mode 100644 index 000000000..fc70d1460 --- /dev/null +++ b/.claude-plugin/plugin.json @@ -0,0 +1,25 @@ +{ + "name": "rea", + "version": "6.4.0", + "description": "Reverse engineer anything from your terminal or agent with one CLI and MCP server.", + "author": { + "name": "morluto", + "url": "https://github.com/morluto" + }, + "homepage": "https://rea.tools/", + "repository": "https://github.com/morluto/rea", + "license": "MIT", + "keywords": [ + "reverse-engineering", + "binary-analysis", + "decompiler", + "mcp-server" + ], + "skills": ["./.agents/skills/reverse-engineer-anything"], + "mcpServers": { + "rea": { + "command": "npx", + "args": ["-y", "rea-agents@latest", "mcp"] + } + } +} diff --git a/docs/installation.md b/docs/installation.md index 42e179798..3d7704192 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -928,6 +928,24 @@ symbolic link is retained and reported rather than followed. Uninstall checks REA's managed shared and Claude Code personal skill locations. See the [CLI guide](cli.md#output-and-exit-status) for exit statuses. +## Claude Code plugin + +The repository root is a Claude Code plugin. Its manifest, +`.claude-plugin/plugin.json`, bundles the `reverse-engineer-anything` skill +from `.agents/skills/` and registers the stdio server as +`npx -y rea-agents@latest mcp`, so plugin directories and marketplaces can +list REA without a second distribution artifact. To load it from a checkout: + +```bash +claude --plugin-dir /absolute/path/to/rea +``` + +Each release updates the manifest version, which is when installed copies +refresh the bundled skill. The plugin does not run `rea setup`: provider +configuration and readiness checks still follow the sections above. Use the +plugin or a `rea setup` registration for Claude Code, not both, to avoid two +`rea` servers. + ## MCP Registry REA is published in the official MCP Registry as `io.github.morluto/rea`. Registry diff --git a/release-please-config.json b/release-please-config.json index 2a7a80b7a..9e91a4fa1 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -31,6 +31,11 @@ "type": "json", "path": "server.json", "jsonpath": "$.packages[0].version" + }, + { + "type": "json", + "path": ".claude-plugin/plugin.json", + "jsonpath": "$.version" } ] }