npx claudepluginhub chkim-su/forge-editor --plugin forge-editorThis skill uses the workspace's default tool permissions.
references/agent-gateway-template.mdreferences/approach-comparison-appendix.mdreferences/daemon-shared-server.mdreferences/protocol-schema.mdreferences/setup-automation.mdreferences/subprocess-gateway.mdreferences/subprocess-research-report.mdreferences/validation-patterns.mdSearches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Guides agent creation for Claude Code plugins with file templates, frontmatter specs (name, description, model), triggering examples, system prompts, and best practices.
Heavy MCP servers consume context tokens. Three isolation strategies exist.
| Method | File Location | Correct? |
|---|---|---|
claude mcp add --scope user | ~/.claude.json | ✅ |
claude mcp add --scope project | .mcp.json | ✅ |
Manual ~/.claude/mcp_servers.json | Legacy file | ❌ NOT READ |
Correct Registration:
claude mcp add --transport stdio --scope user <name> -- <command> [args...]
tools: Setting | MCP Access | Example |
|---|---|---|
| Empty/Omitted | ✅ All tools | tools: |
| Explicit list (no MCP) | ❌ NO access | tools: ["Read", "Write"] |
| Explicit list (with MCP) | ✅ Listed only | tools: ["Read", "mcp__serena__*"] |
| Registration Type | Tool Name Pattern |
|---|---|
| Plugin MCP | mcp__plugin_<server>_<server>__<tool> |
| User MCP | mcp__<server>__<tool> |
📌 Default Recommendation: Daemon (SSE)
Daemon pattern provides the best balance: fast startup (1-2s) + zero token overhead + state sharing. Only use alternatives when specific constraints apply.
| Criteria | Daemon (SSE) ⭐ | Agent Gateway | Subprocess |
|---|---|---|---|
| Startup latency | 1-2s | ~1s | 30-60s |
| Token overhead | Zero | ~350/tool | Zero |
| State sharing | ✅ Yes | ✅ Yes | ❌ No |
| Setup effort | Medium | Low | Low |
Start with Daemon (default)
│
├── Can't run background process? → Agent Gateway
│ (serverless, restricted env)
│
├── Air-gapped / offline only? → Subprocess
│ (no network, rare use)
│
└── Simple project, token OK? → Agent Gateway
(quick setup preferred)
| Constraint | Alternative |
|---|---|
| Cannot run background daemon | Agent Gateway |
| Serverless environment (Lambda, Cloud Functions) | Agent Gateway |
| Offline/air-gapped environment | Subprocess |
| MCP used < 2 times per session | Subprocess |
| Quick prototype, token budget OK | Agent Gateway |
| MCP | Tools | Overhead | Subprocess Benefit |
|---|---|---|---|
| Serena | 29 | ~10,150 | ✅ High |
| Playwright | 25 | ~6,250 | ✅ High |
| Greptile | 12 | ~3,600 | ⚠️ Medium |
| Context7 | 2 | ~400 | ❌ Not worth it |
Rule: If tools × 350 > 5,000, consider subprocess isolation.
Layer 1 - Intent (common across MCPs):
| Intent | Effect | Use |
|---|---|---|
| QUERY | READ_ONLY | Search, lookup |
| ANALYZE | READ_ONLY | Interpret, impact |
| MODIFY | MUTATING | Change files |
| EXECUTE | EXTERNAL_EXEC | External calls |
Layer 2 - Action: MCP-specific tool names
---
name: {mcp}-gateway
tools: # Empty = all tools including MCP
model: sonnet
---
Responsibilities:
claude mcp addtools: list without MCPtools: or add MCP tools to listmcp__plugin_x_x__) and user (mcp__x__) formatsclaude mcp list for actual server name prefix# 1. Start daemon (one time)
uvx --from git+https://github.com/oraios/serena \
serena start-mcp-server --transport sse --port 8765 --project-from-cwd &
# 2. Register with Claude Code
claude mcp add --transport sse --scope user serena-daemon http://127.0.0.1:8765
# 3. Restart Claude Code, then use normally