By Heretyc
Launches and manages local Claude Code and Codex CLI sub-agents, plus orchestration-mode hooks for per-turn directives and deterministic Claude tool gates.
Build, package, install, configure, debug, and optimize Model Context Protocol (MCP) servers for Claude (Desktop, Code CLI) and Codex CLI on Windows and macOS. Use when building MCP tools, creating AI tool integrations, give Claude access to database or API or filesystem, connect AI agent to external tools or services, packaging stdio or HTTP servers, configuring mcpServers JSON or TOML, troubleshooting spawn ENOENT or connection errors, designing tool/resource/prompt schemas, implementing JSON-RPC handlers, publishing npm or Python MCP packages, setting up uvx or npx installable servers, debugging tool not appearing in Claude or Codex, writing secure MCP server code, server architecture review, MCP protocol compliance, FastMCP, @modelcontextprotocol/sdk, mcp Python library, MCP Inspector usage, Claude Desktop config, Claude Code CLI mcp add command, Codex config.toml, MCP server security, rate limiting MCP tools, MCP over SSE or HTTP transport, stdio transport pitfalls, environment variable injection for MCP, cross-platform MCP deployment, MCP server instructions field, tool search optimization, alwaysLoad, server descriptions for AI discovery, mcpb Desktop Extensions.
Impartially PROFILE the cross-provider sub-agent fleet against the FIXED 14 work-categories (directly benchmarked parents + 4 composite-inferred) whenever a new model ships (or on demand). Discover every model published in the recent window by the in-scope provider families, gather ALL public benchmark scores + statistics, map them onto the directly benchmarked parent categories (composites composed from parents, never directly benchmarked), then JUDGE each model+effort pairing into per-category tier rankings (best→worst) SOLELY from the discovered research, with a recorded rationale per tier placement. Emits exactly 3 artifacts: routing-table.json (lean), routing-table-audit.json (full provenance), research-seed-sites.json (accumulating learned source list). Single-family and multi-family are both fully-supported, first-class paths; provider mix is optional. The 14 categories are immutable inputs — this skill never derives, chooses, renames, reorders, or reshuffles them. Use when a new model is released, when asked to profile new model, re-profile models, re-profile the fleet, rebalance routing, update routing table, refresh model profiles, re-run model research, regenerate routing-table.json, refresh tier rankings, or to answer "which model for X now" after a model launch. Orchestrator-only pipeline: model discovery + maximalist benchmark research, pivotal-question interview, flagship judging + merge, 3-artifact emission, 3-pass adversarial validation, and provider/seed validators + scenario routing tests. Sub-agents dispatched via `mcp__subagent-mcp__launch_agent`; cross-family critics are available when ≥2 families are reachable.
Install, deploy, register, or set up the subagent-mcp addon (MCP server + orchestration-mode hooks) standards-compliant across every supported vendor (currently Claude Code CLI and Codex CLI; expandable). Ships ALL parts — MCP stdio server, per-turn hooks, and directive assets — to a PERMANENT, repo-decoupled location and wires each vendor with its official mechanism. Use when asked to "install subagent-mcp", "install the mcp", "install this", "deploy subagent-mcp", "set up subagent-mcp", "add subagent-mcp to Claude/Codex", "register the addon", "globally install subagent-mcp", "reinstall/repoint subagent-mcp", or "update the subagent-mcp install". HARD RULE: never install or run the addon from a worktree, %TEMP%/TMP/tmp, Downloads, or any temporary/ephemeral path — install only to a permanent global location. Stay compliant to the official vendor specs listed in references/compliance.md.
Matches all tools
Hooks run on every tool call, not just specific ones
Admin access level
Server config contains admin-level keywords
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Uses power tools
Uses Bash, Write, or Edit tools
Uses power tools
Uses Bash, Write, or Edit tools
MCP server that launches and manages always-interactive Claude Code and Codex sub-agent sessions — on macOS, Linux, and Windows. No direct API calls. No API keys.
To run the published CLI you need:
node --version)claude CLI — globally installed and authenticated (claude --version)codex CLI — globally installed and authenticated (codex --version; optional if you only use Claude paths)Building from source needs additional developer tooling — see CONTRIBUTING.md § Prerequisites.
No authentication, no .npmrc configuration, and no PAT required. The package is publicly available on npmjs.com.
npm install -g @heretyc/subagent-mcp
Use this path for all standard installs.
Use this path when your organization's .npmrc already routes the @heretyc scope through GitHub Packages, when you need supply-chain audit tracing against the org-internal artifact, or when you run inside a GitHub Actions workflow whose GITHUB_TOKEN carries read:packages. Otherwise prefer npmjs above — it is simpler and needs no credentials.
# One-time machine setup
echo "@heretyc:registry=https://npm.pkg.github.com" >> ~/.npmrc
echo "//npm.pkg.github.com/:_authToken=YOUR_GITHUB_PAT" >> ~/.npmrc
# PAT must be a classic PAT with the read:packages scope
npm install -g @heretyc/subagent-mcp
Note: GitHub Packages requires authentication even for public packages. If you see
401 Unauthorized, verify your PAT has theread:packagesscope and has not expired. GitHub Packages does not render a README page — the live documentation appears on npmjs.com.
1. Install (see Install above):
npm install -g @heretyc/subagent-mcp
2. Register the MCP server + orchestration hooks:
subagent-mcp setup
Installing the package only ships the binary — it does not auto-wire anything. subagent-mcp setup auto-detects Claude Code / Codex and registers the MCP server plus the per-turn orchestration-mode hooks. Preview with subagent-mcp setup --dry-run.
3. Restart your host.
Restart your Claude Code or Codex session so it picks up the new binary. On Codex, run /hooks and trust the new hook.
4. Initialize the orchestration invariant (recommended):
subagent-mcp init --global
init --global writes the managed invariant block into the providers' official global user-config files — ~/.claude/CLAUDE.md, ~/.codex/AGENTS.md, ~/.gemini/GEMINI.md — set up once, works across every project. For a single project instead, use subagent-mcp init --root /path/to/project to write into that project's instruction files. --global and --root are mutually exclusive.
For manual wiring, Gemini CLI, Claude Desktop, and developer install from source, see docs/registration.md.
processing agents count toward the cap; stalled agents do not hold a slot)stalled state (still alive, just quiet — thinking or awaiting a temp-file handoff), and recover to processing if the visible stream resumes--settings {"ultracode":true} — see docs/usage.mdtaskkill /t /f (Windows) / SIGKILL (POSIX) force-kill; no graceful shutdown period@modelcontextprotocol/sdk + zodorchestration-mode tool — toggles orchestrator directives injected by bundled Claude Code / Codex hooks; Claude also gets a deterministic PreToolUse gatenpx claudepluginhub heretyc/subagent-mcp --plugin subagent-mcpUltra-compressed communication mode. Cuts ~75% of tokens while keeping full technical accuracy by speaking like a caveman.
Memory compression system for Claude Code - persist context across sessions
Multi-model consensus engine integrating OpenAI Codex CLI, Gemini CLI, and Claude CLI for collaborative code review and problem-solving.
Curate auto-memory, promote learnings to CLAUDE.md and rules, extract proven patterns into reusable skills.
Comprehensive UI/UX design plugin for mobile (iOS, Android, React Native) and web applications with design systems, accessibility, and modern patterns
Standalone image generation plugin using Nano Banana MCP server. Generates and edits images, icons, diagrams, patterns, and visual assets via Gemini image models. No Gemini CLI dependency required.