-
-
Notifications
You must be signed in to change notification settings - Fork 3
Closed
3 / 33 of 3 issues completedClosed
3 / 33 of 3 issues completed
Copy link
Labels
Description
Overview
Create a Claude Code plugin (codingbuddy-plugin) that provides capabilities impossible via MCP alone — event hooks, real-time session stats, file watching, system prompt injection, persistent state, and notification services.
Background
MCP is request-response only: Claude must explicitly call tools. A plugin runs inside the Claude Code process with access to hooks, session metadata, and UI controls. This unlocks auto-dispatch enforcement, real-time monitoring, and proactive behavior that MCP cannot achieve.
Architecture: MCP + Plugin Hybrid
codingbuddy-rules (npm) ← Rules/Agents/Skills (multi-tool)
↕
codingbuddy-mcp-server ← MCP tools (multi-tool compatible)
↕
codingbuddy-plugin (NEW) ← Claude Code exclusive
├── Event Hooks
├── Status Bar
├── Session Tracker
├── File Watcher
├── Persistent DB
├── Notification Service
├── System Prompt Injection
└── Cost Budget Management
Sub-issues
| # | Issue | MCP Limitation Solved | Priority |
|---|---|---|---|
| 1 | #824 — Event hooks (PreToolUse, SessionStart, PreCommit) | Claude ignores MCP recommendations | must |
| 2 | #825 — Real-time session statistics | MCP can't access API metadata | must |
| 3 | #826 — File watcher for completion detection | MCP can only poll | should |
| 4 | #827 — Persistent execution history DB (SQLite) | MCP server dies with session | should |
| 5 | #828 — System prompt injection for behavior enforcement | MCP can't force Claude behavior | must |
| 6 | #829 — Event-driven notifications (Slack/Discord/Telegram) | MCP needs Claude to call it | could |
| 7 | #830 — Cost budget management with auto-pause | MCP can't monitor spending | should |
Supersedes / Enhances Existing Issues
- feat(tui): add session statistics display (cost, tokens, cache rate, context usage) #805 → feat(plugin): real-time session statistics (cost, tokens, cache, context usage) #825 (exact stats vs estimation)
- Improve specialist agent dispatch: auto-dispatch, Teams integration, and visibility #806 → feat(plugin): system prompt injection for behavior enforcement #828 (enforce vs recommend)
- taskMaestro: add worker completion signaling mechanism #767 → feat(plugin): file watcher for completion detection and auto-reload #826 (file watch vs polling)
- feat: cross-session execution history (persistent tracking) #815 → feat(plugin): persistent execution history database (SQLite) #827 (persistent DB vs session-scoped)
- feat: completion notifications (Slack, Discord, Telegram) #820 → feat(plugin): event-driven notification service (Slack, Discord, Telegram) #829 (event-driven vs tool-call-based)
References
- OMC plugin:
packages/claude-code-plugin/(reference implementation) - Claude Code plugin API: hooks, settings, status bar
- Existing MCP server:
apps/mcp-server/
Reactions are currently unavailable