claude-mpm 5.4.43 → 5.6.88
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +147 -728
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -2,130 +2,43 @@
|
|
|
2
2
|
|
|
3
3
|
A powerful orchestration framework for **Claude Code (CLI)** that enables multi-agent workflows, session management, and real-time monitoring through a streamlined Rich-based interface.
|
|
4
4
|
|
|
5
|
-
> **⚠️ Important**: Claude MPM **requires Claude Code CLI** (
|
|
5
|
+
> **⚠️ Important**: Claude MPM **requires Claude Code CLI** (v2.1.3+), not Claude Desktop (app). All MCP integrations work with Claude Code's CLI interface only.
|
|
6
6
|
>
|
|
7
7
|
> **Don't have Claude Code?** Install from: https://docs.anthropic.com/en/docs/claude-code
|
|
8
8
|
>
|
|
9
|
-
> **
|
|
10
|
-
> - Minimum: v1.0.92 (hooks support)
|
|
11
|
-
> - Recommended: v2.0.30+ (latest features)
|
|
9
|
+
> **Quick Start**: See [Getting Started Guide](docs/getting-started/README.md) to get running in 5 minutes!
|
|
12
10
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
## 🚀 What's New in v5.0
|
|
16
|
-
|
|
17
|
-
### Git Repository Integration for Agents & Skills
|
|
18
|
-
|
|
19
|
-
Claude MPM now supports **Git repositories** for distributing and managing agents and skills - the most requested feature from our community!
|
|
20
|
-
|
|
21
|
-
**🎯 Key Highlights:**
|
|
22
|
-
- **📦 Massive Library**: 47+ agents and hundreds of skills deployed automatically from curated repositories
|
|
23
|
-
- **🏢 Official Content**: Anthropic's official skills repository included by default
|
|
24
|
-
- **🔧 Fully Extensible**: Add your own agent/skill repositories with immediate testing
|
|
25
|
-
- **🌳 Smart Organization**: Hierarchical BASE-AGENT.md inheritance for shared templates
|
|
26
|
-
- **📊 Clear Visibility**: Two-phase progress bars show sync and deployment status
|
|
27
|
-
- **✅ Fail-Fast Testing**: Test repositories before they cause startup issues
|
|
28
|
-
|
|
29
|
-
#### Quick Start: Add Your Own Repository
|
|
30
|
-
|
|
31
|
-
```bash
|
|
32
|
-
# Add custom agent repository (with immediate testing)
|
|
33
|
-
claude-mpm agent-source add https://github.com/yourorg/your-agents
|
|
34
|
-
|
|
35
|
-
# Add custom skill repository
|
|
36
|
-
claude-mpm skill-source add https://github.com/yourorg/your-skills
|
|
37
|
-
|
|
38
|
-
# Test repository without saving
|
|
39
|
-
claude-mpm agent-source add https://github.com/yourorg/your-agents --test
|
|
40
|
-
|
|
41
|
-
# List all configured sources
|
|
42
|
-
claude-mpm agent-source list
|
|
43
|
-
```
|
|
44
|
-
|
|
45
|
-
#### Default Repositories
|
|
46
|
-
|
|
47
|
-
**Agents** (47+ agents):
|
|
48
|
-
- 🏢 System: `bobmatnyc/claude-mpm-agents` - Core agent templates
|
|
49
|
-
|
|
50
|
-
**Skills** (hundreds of skills):
|
|
51
|
-
- 🏢 System: `bobmatnyc/claude-mpm-skills` - Community skills
|
|
52
|
-
- 🎯 Official: `anthropics/skills` - Anthropic's official skills (14+ skills)
|
|
53
|
-
|
|
54
|
-
**What This Means:**
|
|
55
|
-
- ✅ **Automatic Setup**: Everything deploys on first run
|
|
56
|
-
- ✅ **Always Updated**: Git repositories sync on startup
|
|
57
|
-
- ✅ **Nested Support**: Repositories with subdirectories are automatically flattened
|
|
58
|
-
- ✅ **Template Inheritance**: BASE-AGENT.md files cascade from parent directories
|
|
59
|
-
- ✅ **Priority System**: Control which sources win when multiple repos provide the same agent/skill
|
|
60
|
-
|
|
61
|
-
#### Hierarchical Organization Example
|
|
62
|
-
|
|
63
|
-
Support for BASE-AGENT.md enables powerful template inheritance:
|
|
64
|
-
|
|
65
|
-
```
|
|
66
|
-
your-agents/
|
|
67
|
-
BASE-AGENT.md # Root shared content (all agents inherit)
|
|
68
|
-
engineering/
|
|
69
|
-
BASE-AGENT.md # Engineering-specific (engineering/* agents inherit)
|
|
70
|
-
python/
|
|
71
|
-
fastapi-engineer.md # Inherits both BASE files
|
|
72
|
-
```
|
|
73
|
-
|
|
74
|
-
See [docs/features/hierarchical-base-agents.md](docs/features/hierarchical-base-agents.md) for complete guide.
|
|
75
|
-
|
|
76
|
-
## Features
|
|
77
|
-
|
|
78
|
-
### 🎯 Multi-Agent Orchestration
|
|
79
|
-
|
|
80
|
-
- **47+ Specialized Agents**: Comprehensive coverage from Git repositories (Python, Rust, QA, Security, Ops, etc.)
|
|
81
|
-
- **Smart Task Routing**: PM agent intelligently delegates work to specialist agents
|
|
82
|
-
- **Session Management**: Resume previous sessions with `--resume`
|
|
83
|
-
- **Resume Log System**: Proactive context management with automatic 10k-token session logs at 70%/85%/95% thresholds
|
|
11
|
+
---
|
|
84
12
|
|
|
85
|
-
|
|
13
|
+
## Who Should Use Claude MPM?
|
|
86
14
|
|
|
87
|
-
-
|
|
88
|
-
-
|
|
89
|
-
-
|
|
90
|
-
- **🌳 Nested Support**: Automatic flattening of nested directory structures
|
|
91
|
-
- **📝 Template Inheritance**: BASE-AGENT.md for hierarchical organization
|
|
92
|
-
- **✅ Immediate Testing**: Fail-fast validation when adding repositories
|
|
93
|
-
- **📊 Progress Visibility**: Two-phase progress bars (sync + deployment)
|
|
94
|
-
- **⚡ Smart Caching**: ETag-based caching reduces bandwidth by 95%+
|
|
15
|
+
- 👥 **[Non-Technical Users (Founders/PMs)](docs/usecases/non-technical-users.md)** - Research and understand codebases using Research Mode - no coding experience required
|
|
16
|
+
- 💻 **[Developers](docs/usecases/developers.md)** - Multi-agent development workflows with semantic code search and advanced features
|
|
17
|
+
- 🏢 **[Teams](docs/usecases/teams.md)** - Collaboration patterns, session management, and coordinated workflows
|
|
95
18
|
|
|
96
|
-
|
|
19
|
+
---
|
|
97
20
|
|
|
98
|
-
|
|
99
|
-
- **Official Skills**: 14+ skills from Anthropic's official repository
|
|
100
|
-
- **Three-Tier Organization**: Bundled/user/project skills with priority resolution
|
|
101
|
-
- **Auto-Linking**: Skills automatically linked to relevant agents
|
|
102
|
-
- **Interactive Configuration**: Skills wizard via `claude-mpm configure`
|
|
103
|
-
- **Version Tracking**: Semantic versioning for all skills
|
|
21
|
+
## What is Claude MPM?
|
|
104
22
|
|
|
105
|
-
|
|
23
|
+
Claude MPM transforms Claude Code into a **multi-agent orchestration platform** with:
|
|
106
24
|
|
|
107
|
-
- **
|
|
108
|
-
- **
|
|
109
|
-
- **
|
|
110
|
-
- **
|
|
25
|
+
- **47+ Specialized Agents** - From Git repositories (Python, Rust, QA, Security, Ops, etc.)
|
|
26
|
+
- **Intelligent Task Routing** - PM agent delegates work to specialist agents
|
|
27
|
+
- **Session Management** - Resume previous sessions with full context preservation
|
|
28
|
+
- **Semantic Code Search** - AI-powered discovery of existing code and patterns
|
|
29
|
+
- **Real-Time Monitoring** - Live dashboard showing agent activity and performance
|
|
30
|
+
- **Git Repository Integration** - Always up-to-date agents and skills from curated repositories
|
|
111
31
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
- **Simplified Architecture**: ~3,700 lines removed for better performance
|
|
115
|
-
- **Enhanced Security**: Comprehensive input validation and sanitization
|
|
116
|
-
- **Intelligent Caching**: File-based instruction caching for optimal performance
|
|
117
|
-
- ✅ Eliminates ARG_MAX limits on Linux (exceeds by 19.1%) and Windows (exceeds by 476%)
|
|
118
|
-
- ✅ ~200ms faster agent startup with hash-based cache invalidation
|
|
119
|
-
- ✅ Automatic and transparent (no configuration required)
|
|
32
|
+
---
|
|
120
33
|
|
|
121
34
|
## Quick Installation
|
|
122
35
|
|
|
123
36
|
### Prerequisites
|
|
124
37
|
|
|
125
|
-
**
|
|
38
|
+
1. **Python 3.11+** (required - older versions will install outdated claude-mpm)
|
|
39
|
+
2. **Claude Code CLI v2.1.3+** (required!)
|
|
126
40
|
|
|
127
|
-
|
|
128
|
-
2. **Claude Code CLI v1.0.92+** (required!)
|
|
41
|
+
> ⚠️ **Python Version Note**: Claude MPM requires Python 3.11 or higher. If you have Python 3.9 or 3.10, you'll get an old version (4.x) that lacks current features. Check with `python3 --version` before installing.
|
|
129
42
|
|
|
130
43
|
```bash
|
|
131
44
|
# Verify Claude Code is installed
|
|
@@ -137,32 +50,23 @@ claude --version
|
|
|
137
50
|
|
|
138
51
|
### Install Claude MPM
|
|
139
52
|
|
|
53
|
+
**Homebrew (macOS):**
|
|
140
54
|
```bash
|
|
141
|
-
|
|
142
|
-
|
|
55
|
+
brew install claude-mpm --with-monitor
|
|
56
|
+
```
|
|
143
57
|
|
|
144
|
-
|
|
145
|
-
|
|
58
|
+
**pipx/uv (recommended):**
|
|
59
|
+
```bash
|
|
60
|
+
# With pipx
|
|
61
|
+
pipx install "claude-mpm[monitor]"
|
|
146
62
|
|
|
147
|
-
#
|
|
148
|
-
pip install "claude-mpm[monitor]"
|
|
63
|
+
# Or with uv
|
|
149
64
|
uv tool install "claude-mpm[monitor]"
|
|
150
65
|
```
|
|
151
66
|
|
|
152
|
-
|
|
67
|
+
**pip:**
|
|
153
68
|
```bash
|
|
154
|
-
|
|
155
|
-
pipx install claude-mpm
|
|
156
|
-
|
|
157
|
-
# Or with uv tool (permanent installation)
|
|
158
|
-
uv tool install claude-mpm
|
|
159
|
-
|
|
160
|
-
# Or with uvx (one-off execution)
|
|
161
|
-
uvx claude-mpm
|
|
162
|
-
|
|
163
|
-
# Install with monitoring dashboard (recommended)
|
|
164
|
-
pipx install "claude-mpm[monitor]"
|
|
165
|
-
uv tool install "claude-mpm[monitor]"
|
|
69
|
+
pip install "claude-mpm[monitor]"
|
|
166
70
|
```
|
|
167
71
|
|
|
168
72
|
### Verify Installation
|
|
@@ -172,233 +76,159 @@ uv tool install "claude-mpm[monitor]"
|
|
|
172
76
|
claude-mpm --version
|
|
173
77
|
claude --version
|
|
174
78
|
|
|
175
|
-
# Run diagnostics
|
|
79
|
+
# Run diagnostics
|
|
176
80
|
claude-mpm doctor
|
|
177
81
|
|
|
178
|
-
# Verify
|
|
82
|
+
# Verify agents deployed
|
|
179
83
|
ls ~/.claude/agents/ # Should show 47+ agents
|
|
180
|
-
ls ~/.claude/skills/ # Should show hundreds of skills
|
|
181
|
-
|
|
182
|
-
# Check agent sources
|
|
183
|
-
claude-mpm agent-source list
|
|
184
|
-
|
|
185
|
-
# Check skill sources
|
|
186
|
-
claude-mpm skill-source list
|
|
187
84
|
```
|
|
188
85
|
|
|
189
86
|
**What You Should See:**
|
|
190
87
|
- ✅ 47+ agents deployed to `~/.claude/agents/`
|
|
191
|
-
- ✅
|
|
192
|
-
- ✅
|
|
193
|
-
- ✅
|
|
194
|
-
- ✅ Progress bars showing sync and deployment phases
|
|
195
|
-
|
|
196
|
-
**💡 Optional Dependencies**:
|
|
197
|
-
- `[monitor]` - Full monitoring dashboard with Socket.IO and async web server components
|
|
198
|
-
- `[mcp]` - Additional MCP services (mcp-browser, mcp-ticketer) - most users won't need this
|
|
199
|
-
|
|
200
|
-
**🎉 Pipx Support Now Fully Functional!** Recent improvements ensure complete compatibility:
|
|
201
|
-
- ✅ Socket.IO daemon script path resolution (fixed)
|
|
202
|
-
- ✅ Commands directory access (fixed)
|
|
203
|
-
- ✅ Resource files properly packaged for pipx environments
|
|
204
|
-
- ✅ Python 3.13+ fully supported
|
|
205
|
-
|
|
206
|
-
## 🤝 Recommended Partner Products
|
|
207
|
-
|
|
208
|
-
Claude MPM works excellently with these complementary MCP tools. While optional, we **strongly recommend** installing them for enhanced capabilities:
|
|
209
|
-
|
|
210
|
-
### kuzu-memory - Advanced Memory Management
|
|
211
|
-
|
|
212
|
-
**What it does**: Provides persistent, project-specific knowledge graphs that enable agents to learn and retain context across sessions. Your agents will remember project patterns, architectural decisions, and important context automatically.
|
|
213
|
-
|
|
214
|
-
**Installation:**
|
|
215
|
-
```bash
|
|
216
|
-
pipx install kuzu-memory
|
|
217
|
-
# Or with uv
|
|
218
|
-
uv tool install kuzu-memory
|
|
219
|
-
```
|
|
220
|
-
|
|
221
|
-
**Benefits with Claude MPM:**
|
|
222
|
-
- 🧠 **Persistent Context**: Agents remember project-specific patterns and decisions across sessions
|
|
223
|
-
- 🎯 **Intelligent Prompts**: Automatically enriches agent prompts with relevant historical context
|
|
224
|
-
- 📊 **Knowledge Graphs**: Structured storage of project knowledge, not just flat memory
|
|
225
|
-
- 🔄 **Seamless Integration**: Works transparently in the background with zero configuration
|
|
226
|
-
- 💡 **Smart Learning**: Agents improve over time as they learn your project's patterns
|
|
227
|
-
|
|
228
|
-
**Perfect for**: Long-running projects, teams needing consistent context, complex codebases with deep architectural patterns.
|
|
229
|
-
|
|
230
|
-
**Learn more**: [kuzu-memory on PyPI](https://pypi.org/project/kuzu-memory/) | [GitHub Repository](https://github.com/bobmatnyc/kuzu-memory)
|
|
231
|
-
|
|
232
|
-
---
|
|
233
|
-
|
|
234
|
-
### mcp-vector-search - Semantic Code Search
|
|
235
|
-
|
|
236
|
-
**What it does**: Enables semantic code search across your entire codebase using AI embeddings. Find code by what it *does*, not just what it's *named*. Search for "authentication logic" and find relevant functions even if they're named differently.
|
|
237
|
-
|
|
238
|
-
**Installation:**
|
|
239
|
-
```bash
|
|
240
|
-
pipx install mcp-vector-search
|
|
241
|
-
# Or with uv
|
|
242
|
-
uv tool install mcp-vector-search
|
|
243
|
-
```
|
|
244
|
-
|
|
245
|
-
**Benefits with Claude MPM:**
|
|
246
|
-
- 🔍 **Semantic Discovery**: Find code by intent and functionality, not just keywords
|
|
247
|
-
- 🎯 **Context-Aware**: Understand code relationships and similarities automatically
|
|
248
|
-
- ⚡ **Fast Indexing**: Efficient vector embeddings for large codebases
|
|
249
|
-
- 🔄 **Live Updates**: Automatically tracks code changes and updates index
|
|
250
|
-
- 📊 **Pattern Recognition**: Discover similar code patterns and potential refactoring opportunities
|
|
88
|
+
- ✅ 17 bundled skills (in Python package)
|
|
89
|
+
- ✅ Agent sources configured
|
|
90
|
+
- ✅ Progress bars showing sync and deployment
|
|
251
91
|
|
|
252
|
-
|
|
92
|
+
**💡 Recommended Partners**: Install [kuzu-memory](https://github.com/bobmatnyc/kuzu-memory) (persistent context) and [mcp-vector-search](https://github.com/bobmatnyc/mcp-vector-search) (semantic search) for enhanced capabilities.
|
|
253
93
|
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
**Learn more**: [mcp-vector-search on PyPI](https://pypi.org/project/mcp-vector-search/) | [GitHub Repository](https://github.com/bobmatnyc/mcp-vector-search)
|
|
94
|
+
**💡 Tool Version Management**: Use [ASDF version manager](docs/guides/asdf-tool-versions.md) to avoid Python/uv version conflicts across projects.
|
|
257
95
|
|
|
258
96
|
---
|
|
259
97
|
|
|
260
|
-
|
|
98
|
+
## Key Features
|
|
261
99
|
|
|
262
|
-
|
|
100
|
+
### 🎯 Multi-Agent Orchestration
|
|
101
|
+
- **47+ Specialized Agents** from Git repositories covering all development needs
|
|
102
|
+
- **Smart Task Routing** via PM agent intelligently delegating to specialists
|
|
103
|
+
- **Session Management** with `--resume` flag for seamless continuity
|
|
104
|
+
- **Resume Log System** with automatic 10k-token summaries at 70%/85%/95% thresholds
|
|
263
105
|
|
|
264
|
-
|
|
265
|
-
pipx install kuzu-memory
|
|
266
|
-
pipx install mcp-vector-search
|
|
106
|
+
[→ Learn more: Multi-Agent Development](docs/usecases/developers.md#multi-agent-development)
|
|
267
107
|
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
108
|
+
### 📦 Git Repository Integration
|
|
109
|
+
- **Curated Content** with 47+ agents automatically deployed from repositories
|
|
110
|
+
- **Always Up-to-Date** with ETag-based caching (95%+ bandwidth reduction)
|
|
111
|
+
- **Hierarchical BASE-AGENT.md** for template inheritance and DRY principles
|
|
112
|
+
- **Custom Repositories** via `claude-mpm agent-source add`
|
|
272
113
|
|
|
273
|
-
|
|
114
|
+
[→ Learn more: Agent Sources](docs/user/agent-sources.md)
|
|
274
115
|
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
**
|
|
116
|
+
### 🎯 Skills System
|
|
117
|
+
- **17 Bundled Skills** covering Git, TDD, Docker, API docs, testing, and more
|
|
118
|
+
- **Three-Tier Organization**: Bundled/user/project with priority resolution
|
|
119
|
+
- **Auto-Linking** to relevant agents based on roles
|
|
120
|
+
- **Custom Skills** via `.claude/skills/` or skill repositories
|
|
280
121
|
|
|
281
|
-
|
|
122
|
+
[→ Learn more: Skills Guide](docs/user/skills-guide.md)
|
|
282
123
|
|
|
283
|
-
|
|
124
|
+
### 🔍 Semantic Code Search
|
|
125
|
+
- **AI-Powered Discovery** with mcp-vector-search integration
|
|
126
|
+
- **Find by Intent** not just keywords ("authentication logic" finds relevant code)
|
|
127
|
+
- **Pattern Recognition** for discovering similar implementations
|
|
128
|
+
- **Live Updates** tracking code changes automatically
|
|
284
129
|
|
|
285
|
-
|
|
130
|
+
[→ Learn more: Developer Use Cases](docs/usecases/developers.md#semantic-code-search)
|
|
286
131
|
|
|
287
|
-
###
|
|
132
|
+
### 🧪 MPM Commander (ALPHA)
|
|
133
|
+
- **Multi-Project Orchestration** with autonomous AI coordination across codebases
|
|
134
|
+
- **Tmux Integration** for isolated project environments and session management
|
|
135
|
+
- **Event-Driven Architecture** with inbox system for cross-project communication
|
|
136
|
+
- **LLM-Powered Decisions** via OpenRouter for autonomous work queue processing
|
|
137
|
+
- **Real-Time Monitoring** with state tracking (IDLE, WORKING, BLOCKED, PAUSED, ERROR)
|
|
138
|
+
- ⚠️ **Experimental** - API and CLI interface subject to change
|
|
288
139
|
|
|
289
|
-
|
|
290
|
-
~/.claude-mpm/cache/agents/
|
|
291
|
-
└── bobmatnyc/
|
|
292
|
-
└── claude-mpm-agents/
|
|
293
|
-
├── .git/ # Git repository
|
|
294
|
-
├── agents/ # 45+ agent templates
|
|
295
|
-
└── docs/
|
|
296
|
-
```
|
|
140
|
+
[→ Commander Documentation](docs/commander/usage-guide.md)
|
|
297
141
|
|
|
298
|
-
|
|
142
|
+
### 🔌 Advanced Integration
|
|
143
|
+
- **MCP Integration** with full Model Context Protocol support
|
|
144
|
+
- **Real-Time Monitoring** via `--monitor` flag and web dashboard
|
|
145
|
+
- **Multi-Project Support** with per-session working directories
|
|
146
|
+
- **Git Integration** with diff viewing and change tracking
|
|
299
147
|
|
|
300
|
-
|
|
148
|
+
[→ Learn more: MCP Gateway](docs/developer/13-mcp-gateway/README.md)
|
|
301
149
|
|
|
302
|
-
|
|
150
|
+
### 🔐 OAuth & Google Workspace Integration
|
|
151
|
+
- **Browser-Based OAuth** for secure authentication with MCP services
|
|
152
|
+
- **Google Workspace MCP** built-in server for Gmail, Calendar, and Drive
|
|
153
|
+
- **Encrypted Token Storage** using Fernet encryption with system keychain
|
|
154
|
+
- **Automatic Token Refresh** handles expiration seamlessly
|
|
303
155
|
|
|
304
156
|
```bash
|
|
305
|
-
#
|
|
306
|
-
claude-mpm
|
|
307
|
-
|
|
308
|
-
# Pull latest agents
|
|
309
|
-
claude-mpm agents cache-pull
|
|
310
|
-
|
|
311
|
-
# Commit local changes
|
|
312
|
-
claude-mpm agents cache-commit --message "feat: update agents"
|
|
157
|
+
# Set up Google Workspace OAuth
|
|
158
|
+
claude-mpm oauth setup workspace-mcp
|
|
313
159
|
|
|
314
|
-
#
|
|
315
|
-
claude-mpm
|
|
160
|
+
# Check token status
|
|
161
|
+
claude-mpm oauth status workspace-mcp
|
|
316
162
|
|
|
317
|
-
#
|
|
318
|
-
claude-mpm
|
|
163
|
+
# List OAuth-capable services
|
|
164
|
+
claude-mpm oauth list
|
|
319
165
|
```
|
|
320
166
|
|
|
321
|
-
|
|
167
|
+
[→ Learn more: OAuth Setup Guide](docs/guides/oauth-setup.md)
|
|
322
168
|
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
```
|
|
329
|
-
|
|
330
|
-
### HTTP Sync Fallback
|
|
331
|
-
|
|
332
|
-
If cache is not a git repository, Claude MPM automatically falls back to HTTP sync with GitHub API.
|
|
169
|
+
### ⚡ Performance & Security
|
|
170
|
+
- **Simplified Architecture** with ~3,700 lines removed for better performance
|
|
171
|
+
- **Enhanced Security** with comprehensive input validation
|
|
172
|
+
- **Intelligent Caching** with ~200ms faster startup via hash-based invalidation
|
|
173
|
+
- **Memory Management** with cleanup commands for large conversation histories
|
|
333
174
|
|
|
334
|
-
|
|
175
|
+
[→ Learn more: Architecture](docs/developer/ARCHITECTURE.md)
|
|
335
176
|
|
|
336
|
-
|
|
177
|
+
### ⚙️ Automatic Migrations
|
|
178
|
+
- **Seamless Updates** with automatic configuration migration on first startup after update
|
|
179
|
+
- **One-Time Fixes** for cache restructuring and configuration changes
|
|
180
|
+
- **Non-Blocking** failures log warnings but do not stop startup
|
|
181
|
+
- **Tracked** in `~/.claude-mpm/migrations.yaml`
|
|
337
182
|
|
|
338
|
-
|
|
339
|
-
python scripts/migrate_cache_to_remote_agents.py
|
|
340
|
-
```
|
|
183
|
+
[→ Learn more: Startup Migrations](docs/features/startup-migrations.md)
|
|
341
184
|
|
|
342
|
-
|
|
185
|
+
---
|
|
343
186
|
|
|
344
187
|
## Quick Usage
|
|
345
188
|
|
|
346
189
|
```bash
|
|
347
|
-
# Start interactive mode
|
|
190
|
+
# Start interactive mode
|
|
348
191
|
claude-mpm
|
|
349
192
|
|
|
350
193
|
# Start with monitoring dashboard
|
|
351
194
|
claude-mpm run --monitor
|
|
352
195
|
|
|
353
|
-
#
|
|
196
|
+
# Resume previous session
|
|
197
|
+
claude-mpm run --resume
|
|
198
|
+
|
|
199
|
+
# Semantic code search
|
|
354
200
|
claude-mpm search "authentication logic"
|
|
355
|
-
# or inside Claude Code
|
|
201
|
+
# or inside Claude Code:
|
|
356
202
|
/mpm-search "authentication logic"
|
|
357
203
|
|
|
358
|
-
#
|
|
359
|
-
claude-mpm mcp
|
|
360
|
-
|
|
361
|
-
# Run comprehensive health diagnostics
|
|
204
|
+
# Health diagnostics
|
|
362
205
|
claude-mpm doctor
|
|
363
206
|
|
|
364
|
-
#
|
|
365
|
-
claude-mpm doctor --verbose --output-file doctor-report.md
|
|
366
|
-
|
|
367
|
-
# Run specific diagnostic checks including MCP services
|
|
368
|
-
claude-mpm doctor --checks installation configuration agents mcp
|
|
369
|
-
|
|
370
|
-
# Check MCP service status specifically
|
|
371
|
-
claude-mpm doctor --checks mcp --verbose
|
|
372
|
-
|
|
373
|
-
# Verify MCP services installation and configuration
|
|
207
|
+
# Verify MCP services
|
|
374
208
|
claude-mpm verify
|
|
375
209
|
|
|
376
|
-
#
|
|
377
|
-
claude-mpm verify --fix
|
|
378
|
-
|
|
379
|
-
# Verify specific service
|
|
380
|
-
claude-mpm verify --service kuzu-memory
|
|
381
|
-
|
|
382
|
-
# Get JSON output for automation
|
|
383
|
-
claude-mpm verify --json
|
|
384
|
-
|
|
385
|
-
# Manage memory for large conversation histories
|
|
210
|
+
# Manage memory
|
|
386
211
|
claude-mpm cleanup-memory
|
|
387
|
-
|
|
388
|
-
# Check for updates (including Claude Code compatibility)
|
|
389
|
-
claude-mpm doctor --checks updates
|
|
390
212
|
```
|
|
391
213
|
|
|
392
214
|
**💡 Update Checking**: Claude MPM automatically checks for updates and verifies Claude Code compatibility on startup. Configure in `~/.claude-mpm/configuration.yaml` or see [docs/update-checking.md](docs/update-checking.md).
|
|
393
215
|
|
|
394
|
-
|
|
216
|
+
[→ Complete usage examples: User Guide](docs/user/user-guide.md)
|
|
217
|
+
|
|
218
|
+
---
|
|
395
219
|
|
|
396
|
-
##
|
|
220
|
+
## What's New in v5.0
|
|
397
221
|
|
|
398
|
-
|
|
222
|
+
### Git Repository Integration for Agents & Skills
|
|
399
223
|
|
|
400
|
-
|
|
224
|
+
- **📦 Massive Library**: 47+ agents and hundreds of skills deployed automatically
|
|
225
|
+
- **🏢 Official Content**: Anthropic's official skills repository included by default
|
|
226
|
+
- **🔧 Fully Extensible**: Add your own repositories with immediate testing
|
|
227
|
+
- **🌳 Smart Organization**: Hierarchical BASE-AGENT.md inheritance
|
|
228
|
+
- **📊 Clear Visibility**: Two-phase progress bars (sync + deployment)
|
|
229
|
+
- **✅ Fail-Fast Testing**: Test repositories before they cause startup issues
|
|
401
230
|
|
|
231
|
+
**Quick Start with Custom Repositories:**
|
|
402
232
|
```bash
|
|
403
233
|
# Add custom agent repository
|
|
404
234
|
claude-mpm agent-source add https://github.com/yourorg/your-agents
|
|
@@ -406,385 +236,24 @@ claude-mpm agent-source add https://github.com/yourorg/your-agents
|
|
|
406
236
|
# Add custom skill repository
|
|
407
237
|
claude-mpm skill-source add https://github.com/yourorg/your-skills
|
|
408
238
|
|
|
409
|
-
# Test repository without saving
|
|
239
|
+
# Test repository without saving
|
|
410
240
|
claude-mpm agent-source add https://github.com/yourorg/your-agents --test
|
|
411
|
-
|
|
412
|
-
# List configured sources
|
|
413
|
-
claude-mpm agent-source list
|
|
414
|
-
claude-mpm skill-source list
|
|
415
|
-
|
|
416
|
-
# Update from all sources
|
|
417
|
-
claude-mpm agent-source update
|
|
418
|
-
claude-mpm skill-source update
|
|
419
241
|
```
|
|
420
242
|
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
When multiple sources provide the same agent/skill, priority controls which one wins:
|
|
424
|
-
|
|
425
|
-
- **Lower number = Higher precedence** (priority 10 beats priority 100)
|
|
426
|
-
- **Local agents/skills** (`.claude-mpm/agents/`, `.claude-mpm/skills/`) always override
|
|
427
|
-
- **System defaults** provide fallback
|
|
428
|
-
|
|
429
|
-
**Example Configuration:**
|
|
430
|
-
|
|
431
|
-
```yaml
|
|
432
|
-
# ~/.claude-mpm/config/agent_sources.yaml
|
|
433
|
-
repositories:
|
|
434
|
-
- url: https://github.com/myteam/agents
|
|
435
|
-
priority: 10 # Highest precedence (custom agents)
|
|
436
|
-
|
|
437
|
-
- url: https://github.com/bobmatnyc/claude-mpm-agents
|
|
438
|
-
priority: 100 # System default (official agents)
|
|
439
|
-
```
|
|
440
|
-
|
|
441
|
-
### Hierarchical Organization with BASE-AGENT.md
|
|
442
|
-
|
|
443
|
-
Support for BASE-AGENT.md enables powerful template inheritance:
|
|
444
|
-
|
|
445
|
-
```
|
|
446
|
-
your-agents/
|
|
447
|
-
BASE-AGENT.md # Root shared content (all agents inherit)
|
|
448
|
-
engineering/
|
|
449
|
-
BASE-AGENT.md # Engineering-specific (engineering/* inherit)
|
|
450
|
-
python/
|
|
451
|
-
fastapi-engineer.md # Inherits both BASE files
|
|
452
|
-
django-engineer.md # Inherits both BASE files
|
|
453
|
-
rust/
|
|
454
|
-
systems-engineer.md # Inherits both BASE files
|
|
455
|
-
```
|
|
456
|
-
|
|
457
|
-
**How It Works:**
|
|
458
|
-
1. **Cascading Inheritance**: Each agent inherits from all BASE-AGENT.md files in parent directories
|
|
459
|
-
2. **Automatic Flattening**: Nested repositories are automatically flattened during deployment
|
|
460
|
-
3. **DRY Templates**: Share common instructions across related agents
|
|
461
|
-
4. **Maintainability**: Update shared content in one place
|
|
462
|
-
|
|
463
|
-
See [docs/features/hierarchical-base-agents.md](docs/features/hierarchical-base-agents.md) for complete guide.
|
|
464
|
-
|
|
465
|
-
### Configuration via YAML
|
|
466
|
-
|
|
467
|
-
Edit configuration files directly:
|
|
468
|
-
- **Agents**: `~/.claude-mpm/config/agent_sources.yaml`
|
|
469
|
-
- **Skills**: `~/.claude-mpm/config/skill_sources.yaml`
|
|
470
|
-
|
|
471
|
-
**Example agent_sources.yaml:**
|
|
472
|
-
|
|
473
|
-
```yaml
|
|
474
|
-
repositories:
|
|
475
|
-
- url: https://github.com/bobmatnyc/claude-mpm-agents
|
|
476
|
-
priority: 100
|
|
477
|
-
enabled: true
|
|
478
|
-
|
|
479
|
-
- url: https://github.com/yourorg/custom-agents
|
|
480
|
-
priority: 10
|
|
481
|
-
enabled: true
|
|
482
|
-
```
|
|
483
|
-
|
|
484
|
-
### Benefits
|
|
485
|
-
|
|
486
|
-
✅ **Always Up-to-Date**: Repositories sync automatically on startup
|
|
487
|
-
✅ **Bandwidth Efficient**: ETag-based caching reduces network usage by 95%+
|
|
488
|
-
✅ **Version Control**: Track changes through Git history
|
|
489
|
-
✅ **Immediate Testing**: Fail-fast validation prevents startup issues
|
|
490
|
-
✅ **Nested Support**: Automatic flattening of directory structures
|
|
491
|
-
✅ **Template Inheritance**: BASE-AGENT.md for DRY principles
|
|
492
|
-
✅ **Progress Visibility**: Two-phase progress bars (sync + deployment)
|
|
493
|
-
✅ **Community Access**: Latest improvements available immediately
|
|
494
|
-
✅ **Organization Libraries**: Share team-specific content across projects
|
|
495
|
-
|
|
496
|
-
### Documentation
|
|
497
|
-
|
|
498
|
-
- **[Agent Sources User Guide](docs/user/agent-sources.md)** - Complete guide with examples
|
|
499
|
-
- **[CLI Reference](docs/reference/cli-agent-source.md)** - All `agent-source` commands
|
|
500
|
-
- **[Hierarchical BASE-AGENT.md](docs/features/hierarchical-base-agents.md)** - Template inheritance guide
|
|
501
|
-
- **[Migration Guide](docs/migration/agent-sources-git-default-v4.5.0.md)** - Upgrading from v4.4.x
|
|
502
|
-
- **[Troubleshooting](docs/user/troubleshooting.md#agent-source-issues)** - Common issues and solutions
|
|
503
|
-
|
|
504
|
-
## Skills Deployment
|
|
505
|
-
|
|
506
|
-
Skills are automatically deployed from Git repositories, just like agents. Claude MPM includes **hundreds of skills** from curated repositories:
|
|
507
|
-
|
|
508
|
-
- **System Skills**: Community skills from `bobmatnyc/claude-mpm-skills`
|
|
509
|
-
- **Official Skills**: Anthropic's official skills from `anthropics/skills`
|
|
510
|
-
- **Custom Skills**: Add your own skill repositories
|
|
511
|
-
|
|
512
|
-
### Quick Usage
|
|
513
|
-
|
|
514
|
-
```bash
|
|
515
|
-
# Skills are automatically deployed on first run
|
|
516
|
-
# No manual deployment needed!
|
|
517
|
-
|
|
518
|
-
# Add custom skill repository
|
|
519
|
-
claude-mpm skill-source add https://github.com/yourorg/custom-skills
|
|
520
|
-
|
|
521
|
-
# List configured skill sources
|
|
522
|
-
claude-mpm skill-source list
|
|
523
|
-
|
|
524
|
-
# Update skills from all sources
|
|
525
|
-
claude-mpm skill-source update
|
|
526
|
-
```
|
|
527
|
-
|
|
528
|
-
### How Skills Work
|
|
529
|
-
|
|
530
|
-
1. **Automatic Deployment**: All skills from configured repositories deploy on startup
|
|
531
|
-
2. **Three-Tier Organization**:
|
|
532
|
-
- **Bundled**: System and official skills (hundreds)
|
|
533
|
-
- **User**: Custom skills in `~/.config/claude-mpm/skills/`
|
|
534
|
-
- **Project**: Project-specific skills in `.claude-mpm/skills/`
|
|
535
|
-
3. **Priority Resolution**: Project → User → Bundled (local always wins)
|
|
536
|
-
4. **Auto-Linking**: Skills automatically linked to relevant agents
|
|
537
|
-
5. **Version Tracking**: All skills support semantic versioning
|
|
538
|
-
|
|
539
|
-
### Technology → Skills Mapping
|
|
540
|
-
|
|
541
|
-
The Research agent automatically analyzes your project and recommends relevant skills:
|
|
542
|
-
|
|
543
|
-
| Your Technology | Auto-Recommended Skills |
|
|
544
|
-
|-----------------|-------------------------|
|
|
545
|
-
| Python + pytest | test-driven-development, python-style |
|
|
546
|
-
| FastAPI/Flask | backend-engineer |
|
|
547
|
-
| React/Next.js | frontend-development, web-frameworks |
|
|
548
|
-
| Docker | docker-workflow |
|
|
549
|
-
| GitHub Actions | ci-cd-pipeline-builder |
|
|
550
|
-
| Playwright | webapp-testing |
|
|
551
|
-
|
|
552
|
-
### Interactive Management
|
|
553
|
-
|
|
554
|
-
```bash
|
|
555
|
-
# Interactive skills wizard
|
|
556
|
-
claude-mpm configure
|
|
557
|
-
# Choose option 2: Skills Management
|
|
558
|
-
|
|
559
|
-
# Features:
|
|
560
|
-
# - View all deployed skills
|
|
561
|
-
# - Configure skill assignments to agents
|
|
562
|
-
# - Auto-link skills based on agent roles
|
|
563
|
-
# - Manage custom skill repositories
|
|
564
|
-
```
|
|
565
|
-
|
|
566
|
-
### Important Notes
|
|
567
|
-
|
|
568
|
-
- ⚠️ Skills load at **Claude Code startup only** - restart required after adding repositories
|
|
569
|
-
- ✅ Batch add related skill repositories to minimize restarts
|
|
570
|
-
- ✅ Research agent automatically recommends missing skills during project analysis
|
|
571
|
-
- See [Skills Deployment Guide](docs/guides/skills-deployment-guide.md) for comprehensive details
|
|
572
|
-
- See [Skills Quick Reference](docs/reference/skills-quick-reference.md) for command reference
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
## Architecture
|
|
576
|
-
|
|
577
|
-
Claude MPM features a clean, service-oriented architecture:
|
|
578
|
-
|
|
579
|
-
- **Streamlined Rich Interface**: Removed complex TUI system (~2,500 lines) for cleaner user experience
|
|
580
|
-
- **MCP Integration**: Full support for Model Context Protocol services with automatic detection
|
|
581
|
-
- **Service-Oriented Architecture**: Simplified five specialized service domains
|
|
582
|
-
- **Interface-Based Contracts**: All services implement explicit interfaces
|
|
583
|
-
- **Enhanced Performance**: ~3,700 lines removed for better startup time and maintainability
|
|
584
|
-
- **Enhanced Security**: Comprehensive input validation and sanitization framework
|
|
585
|
-
|
|
586
|
-
See [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md) for detailed architecture information.
|
|
587
|
-
|
|
588
|
-
## Key Capabilities
|
|
589
|
-
|
|
590
|
-
### Multi-Agent Orchestration
|
|
591
|
-
|
|
592
|
-
Claude MPM includes 15 specialized agents:
|
|
593
|
-
|
|
594
|
-
#### Core Development
|
|
595
|
-
- **Engineer** - Software development and implementation
|
|
596
|
-
- **Research** - Code analysis and research
|
|
597
|
-
- **Documentation** - Documentation creation and maintenance
|
|
598
|
-
- **QA** - Testing and quality assurance
|
|
599
|
-
- **Security** - Security analysis and implementation
|
|
600
|
-
|
|
601
|
-
#### Language-Specific Engineers
|
|
602
|
-
- **Python Engineer (v2.3.0)** - Type-safe, async-first Python with SOA patterns for non-trivial applications
|
|
603
|
-
- Service-oriented architecture with ABC interfaces for applications
|
|
604
|
-
- Lightweight script patterns for automation and one-off tasks
|
|
605
|
-
- Clear decision criteria for when to use DI/SOA vs simple functions
|
|
606
|
-
- Dependency injection containers with auto-resolution
|
|
607
|
-
- Use for: Web applications, microservices, data pipelines (DI/SOA) or scripts, CLI tools, notebooks (simple functions)
|
|
608
|
-
|
|
609
|
-
- **Rust Engineer (v1.1.0)** - Memory-safe, high-performance systems with trait-based service architecture
|
|
610
|
-
- Dependency injection with traits (constructor injection, trait objects)
|
|
611
|
-
- Service-oriented architecture patterns (repository, builder)
|
|
612
|
-
- Decision criteria for when to use DI/SOA vs simple code
|
|
613
|
-
- Async programming with tokio and zero-cost abstractions
|
|
614
|
-
- Use for: Web services, microservices (DI/SOA) or CLI tools, scripts (simple code)
|
|
615
|
-
|
|
616
|
-
#### Operations & Infrastructure
|
|
617
|
-
- **Ops** - Operations and deployment with advanced git commit authority and security verification (v2.2.2+)
|
|
618
|
-
- **Version Control** - Git and version management
|
|
619
|
-
- **Data Engineer** - Data pipeline and ETL development
|
|
620
|
-
|
|
621
|
-
#### Web Development
|
|
622
|
-
- **Web UI** - Frontend and UI development
|
|
623
|
-
- **Web QA** - Web testing and E2E validation
|
|
624
|
-
|
|
625
|
-
#### Project Management
|
|
626
|
-
- **Ticketing** - Issue tracking and management
|
|
627
|
-
- **Project Organizer** - File organization and structure
|
|
628
|
-
- **Memory Manager** - Project memory and context management
|
|
629
|
-
|
|
630
|
-
#### Code Quality
|
|
631
|
-
- **Refactoring Engineer** - Code refactoring and optimization
|
|
632
|
-
- **Code Analyzer** - Static code analysis with AST and tree-sitter
|
|
633
|
-
|
|
634
|
-
### Agent Memory System
|
|
635
|
-
|
|
636
|
-
**NEW in v5.4.13**: Runtime memory loading for instant updates and better efficiency.
|
|
637
|
-
|
|
638
|
-
**How It Works:**
|
|
639
|
-
- **Memory Files**: Store agent memories in `.claude-mpm/memories/{agent_id}.md` (e.g., `engineer.md`, `qa.md`)
|
|
640
|
-
- **Runtime Loading**: Memories loaded dynamically when agents are delegated to (no restart required)
|
|
641
|
-
- **Instant Updates**: Memory changes take effect immediately
|
|
642
|
-
- **Event Observability**: Memory loading tracked via EventBus (`agent.memory.loaded` events)
|
|
643
|
-
|
|
644
|
-
**Memory Format:**
|
|
645
|
-
Agents learn project-specific patterns using a simple markdown list format and can update memories via JSON response fields (`remember` for incremental updates, `MEMORIES` for complete replacement).
|
|
646
|
-
|
|
647
|
-
**See:** [Memory Flow Architecture](docs/architecture/memory-flow.md) for complete technical details.
|
|
648
|
-
|
|
649
|
-
### Skills System
|
|
650
|
-
|
|
651
|
-
Claude MPM includes a powerful skills system that eliminates redundant agent guidance through reusable skill modules:
|
|
652
|
-
|
|
653
|
-
**20 Bundled Skills** covering essential development workflows (all versioned starting at 0.1.0):
|
|
654
|
-
- Git workflow, TDD, code review, systematic debugging
|
|
655
|
-
- API documentation, refactoring patterns, performance profiling
|
|
656
|
-
- Docker containerization, database migrations, security scanning
|
|
657
|
-
- JSON/PDF/XLSX handling, async testing, ImageMagick operations
|
|
658
|
-
- Local development servers: Next.js, FastAPI, Vite, Express
|
|
659
|
-
- Web performance: Lighthouse metrics, Core Web Vitals optimization
|
|
660
|
-
|
|
661
|
-
**Three-Tier Organization:**
|
|
662
|
-
- **Bundled**: Core skills included with Claude MPM (~15,000 lines of reusable guidance)
|
|
663
|
-
- **User**: Custom skills in `~/.config/claude-mpm/skills/`
|
|
664
|
-
- **Project**: Project-specific skills in `.claude-mpm/skills/`
|
|
665
|
-
|
|
666
|
-
**Version Tracking:**
|
|
667
|
-
- All skills support semantic versioning (MAJOR.MINOR.PATCH)
|
|
668
|
-
- Check versions with `/mpm-version` command in Claude Code
|
|
669
|
-
- See [Skills Versioning Guide](docs/user/skills-versioning.md) for details
|
|
670
|
-
|
|
671
|
-
**Quick Access:**
|
|
672
|
-
```bash
|
|
673
|
-
# Interactive skills management
|
|
674
|
-
claude-mpm configure
|
|
675
|
-
# Choose option 2: Skills Management
|
|
676
|
-
|
|
677
|
-
# Auto-link skills to agents based on their roles
|
|
678
|
-
# Configure custom skill assignments
|
|
679
|
-
# View current skill mappings
|
|
680
|
-
```
|
|
681
|
-
|
|
682
|
-
Skills are automatically injected into agent prompts, reducing template size by 85% while maintaining full capability coverage.
|
|
683
|
-
|
|
684
|
-
### MCP Gateway (Model Context Protocol)
|
|
685
|
-
|
|
686
|
-
Claude MPM includes a powerful MCP Gateway that enables:
|
|
687
|
-
- Integration with external tools and services
|
|
688
|
-
- Custom tool development
|
|
689
|
-
- Protocol-based communication
|
|
690
|
-
- Extensible architecture
|
|
691
|
-
|
|
692
|
-
See [MCP Gateway Documentation](docs/developer/13-mcp-gateway/README.md) for details.
|
|
693
|
-
|
|
694
|
-
### Memory Management
|
|
695
|
-
|
|
696
|
-
Large conversation histories can consume 2GB+ of memory. Use the `cleanup-memory` command to manage Claude conversation history:
|
|
697
|
-
|
|
698
|
-
```bash
|
|
699
|
-
# Clean up old conversation history
|
|
700
|
-
claude-mpm cleanup-memory
|
|
701
|
-
|
|
702
|
-
# Keep only recent conversations
|
|
703
|
-
claude-mpm cleanup-memory --days 7
|
|
704
|
-
```
|
|
705
|
-
|
|
706
|
-
### Resume Log System
|
|
707
|
-
|
|
708
|
-
**NEW in v4.17.2** - Proactive context management for seamless session continuity.
|
|
709
|
-
|
|
710
|
-
The Resume Log System automatically generates structured 10k-token logs when approaching Claude's context window limits, enabling you to resume work without losing important context.
|
|
711
|
-
|
|
712
|
-
**Key Features**:
|
|
713
|
-
- 🎯 **Graduated Thresholds**: Warnings at 70% (60k buffer), 85% (30k buffer), and 95% (10k buffer)
|
|
714
|
-
- 📋 **Structured Logs**: 10k-token budget intelligently distributed across 7 key sections
|
|
715
|
-
- 🔄 **Seamless Resumption**: Automatically loads previous session context on startup
|
|
716
|
-
- 📁 **Human-Readable**: Markdown format for both Claude and human review
|
|
717
|
-
- ⚙️ **Zero-Configuration**: Works automatically with sensible defaults
|
|
718
|
-
|
|
719
|
-
**How It Works**:
|
|
720
|
-
1. Monitor token usage continuously throughout session
|
|
721
|
-
2. Display proactive warnings at 70%, 85%, and 95% thresholds
|
|
722
|
-
3. Automatically generate resume log when approaching limits
|
|
723
|
-
4. Load previous resume log when starting new session
|
|
724
|
-
5. Continue work seamlessly with full context preservation
|
|
725
|
-
|
|
726
|
-
**Example Resume Log Structure**:
|
|
727
|
-
```markdown
|
|
728
|
-
# Session Resume Log: 20251101_115000
|
|
729
|
-
|
|
730
|
-
## Context Metrics (500 tokens)
|
|
731
|
-
- Token usage and percentage
|
|
732
|
-
|
|
733
|
-
## Mission Summary (1,000 tokens)
|
|
734
|
-
- Overall goal and purpose
|
|
735
|
-
|
|
736
|
-
## Accomplishments (2,000 tokens)
|
|
737
|
-
- What was completed
|
|
738
|
-
|
|
739
|
-
## Key Findings (2,500 tokens)
|
|
740
|
-
- Important discoveries
|
|
741
|
-
|
|
742
|
-
## Decisions & Rationale (1,500 tokens)
|
|
743
|
-
- Why choices were made
|
|
744
|
-
|
|
745
|
-
## Next Steps (1,500 tokens)
|
|
746
|
-
- What to do next
|
|
747
|
-
|
|
748
|
-
## Critical Context (1,000 tokens)
|
|
749
|
-
- Essential state, IDs, paths
|
|
750
|
-
```
|
|
751
|
-
|
|
752
|
-
**Configuration** (`.claude-mpm/configuration.yaml`):
|
|
753
|
-
```yaml
|
|
754
|
-
context_management:
|
|
755
|
-
enabled: true
|
|
756
|
-
budget_total: 200000
|
|
757
|
-
thresholds:
|
|
758
|
-
caution: 0.70 # First warning - plan transition
|
|
759
|
-
warning: 0.85 # Strong warning - wrap up
|
|
760
|
-
critical: 0.95 # Urgent - stop new work
|
|
761
|
-
resume_logs:
|
|
762
|
-
enabled: true
|
|
763
|
-
auto_generate: true
|
|
764
|
-
max_tokens: 10000
|
|
765
|
-
storage_dir: ".claude-mpm/resume-logs"
|
|
766
|
-
```
|
|
767
|
-
|
|
768
|
-
**QA Status**: 40/41 tests passing (97.6% coverage), APPROVED FOR PRODUCTION ✅
|
|
769
|
-
|
|
770
|
-
See [docs/user/resume-logs.md](docs/user/resume-logs.md) for complete documentation.
|
|
771
|
-
|
|
772
|
-
### Real-Time Monitoring
|
|
773
|
-
The `--monitor` flag opens a web dashboard showing live agent activity, file operations, and session management.
|
|
774
|
-
|
|
775
|
-
See [docs/reference/MEMORY.md](docs/reference/MEMORY.md) and [docs/developer/11-dashboard/README.md](docs/developer/11-dashboard/README.md) for details.
|
|
243
|
+
[→ Full details: What's New](CHANGELOG.md)
|
|
776
244
|
|
|
245
|
+
---
|
|
777
246
|
|
|
778
|
-
##
|
|
247
|
+
## Documentation
|
|
779
248
|
|
|
780
|
-
|
|
249
|
+
**📚 [Complete Documentation Hub](docs/README.md)** - Start here for all documentation!
|
|
781
250
|
|
|
782
251
|
### Quick Links by User Type
|
|
783
252
|
|
|
784
253
|
#### 👥 For Users
|
|
785
254
|
- **[🚀 5-Minute Quick Start](docs/user/quickstart.md)** - Get running immediately
|
|
786
255
|
- **[📦 Installation Guide](docs/user/installation.md)** - All installation methods
|
|
787
|
-
- **[📖 User Guide](docs/user/
|
|
256
|
+
- **[📖 User Guide](docs/user/user-guide.md)** - Complete user documentation
|
|
788
257
|
- **[❓ FAQ](docs/guides/FAQ.md)** - Common questions answered
|
|
789
258
|
|
|
790
259
|
#### 💻 For Developers
|
|
@@ -801,90 +270,40 @@ See [docs/reference/MEMORY.md](docs/reference/MEMORY.md) and [docs/developer/11-
|
|
|
801
270
|
#### 🚀 For Operations
|
|
802
271
|
- **[🚀 Deployment](docs/DEPLOYMENT.md)** - Release management & versioning
|
|
803
272
|
- **[📊 Monitoring](docs/MONITOR.md)** - Real-time dashboard & metrics
|
|
804
|
-
- **[🐛 Troubleshooting](docs/TROUBLESHOOTING.md)** - Enhanced `doctor` command with
|
|
805
|
-
|
|
806
|
-
### 🎯 Documentation Features
|
|
807
|
-
- **Single Entry Point**: [docs/README.md](docs/README.md) is your navigation hub
|
|
808
|
-
- **Clear User Paths**: Organized by user type and experience level
|
|
809
|
-
- **Cross-Referenced**: Links between related topics and sections
|
|
810
|
-
- **Up-to-Date**: Version 4.16.3 with web performance optimization skill
|
|
811
|
-
|
|
812
|
-
## Recent Updates (v5.0) 🎉
|
|
813
|
-
|
|
814
|
-
**Major Release**: Git Repository Integration for Agents & Skills
|
|
815
|
-
|
|
816
|
-
**🚀 What's New:**
|
|
817
|
-
- **Git Repository Support**: Agents and skills now deploy from Git repositories
|
|
818
|
-
- **47+ Agents**: Comprehensive agent library from curated repositories
|
|
819
|
-
- **Hundreds of Skills**: System skills + Official Anthropic skills automatically deployed
|
|
820
|
-
- **Hierarchical BASE-AGENT.md**: Template inheritance for DRY principles
|
|
821
|
-
- **Nested Repository Support**: Automatic flattening of directory structures
|
|
822
|
-
- **Immediate Testing**: Fail-fast validation when adding repositories
|
|
823
|
-
- **Two-Phase Progress**: Clear visibility during sync and deployment
|
|
824
|
-
- **ETag Caching**: 95%+ bandwidth reduction with intelligent caching
|
|
825
|
-
|
|
826
|
-
**🔧 Repository Management:**
|
|
827
|
-
- `claude-mpm agent-source add/list/update` - Manage agent repositories
|
|
828
|
-
- `claude-mpm skill-source add/list/update` - Manage skill repositories
|
|
829
|
-
- Priority-based resolution for multiple sources
|
|
830
|
-
- YAML configuration support
|
|
831
|
-
|
|
832
|
-
**📚 Documentation:**
|
|
833
|
-
- Complete guides for Git repository integration
|
|
834
|
-
- Hierarchical BASE-AGENT.md documentation
|
|
835
|
-
- Migration guides for existing installations
|
|
836
|
-
- Troubleshooting and best practices
|
|
837
|
-
|
|
838
|
-
**🎯 Benefits:**
|
|
839
|
-
- Always up-to-date content from repositories
|
|
840
|
-
- Community-driven agent and skill libraries
|
|
841
|
-
- Easy sharing of organizational content
|
|
842
|
-
- Version control for all templates
|
|
843
|
-
|
|
844
|
-
See [CHANGELOG.md](CHANGELOG.md) for full history and [docs/user/MIGRATION.md](docs/user/MIGRATION.md) for upgrade instructions.
|
|
845
|
-
|
|
846
|
-
## 📜 License
|
|
847
|
-
|
|
848
|
-
[](LICENSE)
|
|
273
|
+
- **[🐛 Troubleshooting](docs/TROUBLESHOOTING.md)** - Enhanced `doctor` command with auto-fix
|
|
849
274
|
|
|
850
|
-
|
|
275
|
+
---
|
|
851
276
|
|
|
852
|
-
|
|
277
|
+
## Contributing
|
|
853
278
|
|
|
854
|
-
|
|
279
|
+
Contributions are welcome! Please see:
|
|
280
|
+
- **[Contributing Guide](docs/developer/03-development/README.md)** - How to contribute
|
|
281
|
+
- **[Code Formatting](docs/developer/CODE_FORMATTING.md)** - Code quality standards
|
|
282
|
+
- **[Project Structure](docs/reference/STRUCTURE.md)** - Codebase organization
|
|
855
283
|
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
### Quick Development Setup
|
|
284
|
+
**Development Workflow:**
|
|
859
285
|
```bash
|
|
860
|
-
# Complete development setup
|
|
286
|
+
# Complete development setup
|
|
861
287
|
make dev-complete
|
|
862
288
|
|
|
863
289
|
# Or step by step:
|
|
864
290
|
make setup-dev # Install in development mode
|
|
865
|
-
make setup-pre-commit
|
|
291
|
+
make setup-pre-commit # Set up automated code formatting
|
|
866
292
|
```
|
|
867
293
|
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
- **isort** for import sorting
|
|
872
|
-
- **flake8** for linting
|
|
873
|
-
- **mypy** for type checking
|
|
874
|
-
- **Pre-commit hooks** for automatic enforcement
|
|
294
|
+
---
|
|
295
|
+
|
|
296
|
+
## 📜 License
|
|
875
297
|
|
|
876
|
-
|
|
298
|
+
[](LICENSE)
|
|
877
299
|
|
|
878
|
-
|
|
879
|
-
Contributions are welcome! Please see our [project structure guide](docs/reference/STRUCTURE.md) and follow the established patterns.
|
|
300
|
+
Licensed under the [Elastic License 2.0](LICENSE) - free for internal use and commercial products.
|
|
880
301
|
|
|
881
|
-
**
|
|
882
|
-
1. Run `make dev-complete` to set up your environment
|
|
883
|
-
2. Code formatting happens automatically on commit
|
|
884
|
-
3. All code must pass quality checks before merging
|
|
302
|
+
**Main restriction:** Cannot offer as a hosted SaaS service without a commercial license.
|
|
885
303
|
|
|
886
|
-
|
|
887
|
-
|
|
304
|
+
📖 [Licensing FAQ](LICENSE-FAQ.md) | 💼 Commercial licensing: bob@matsuoka.com
|
|
305
|
+
|
|
306
|
+
---
|
|
888
307
|
|
|
889
308
|
## Credits
|
|
890
309
|
|
package/package.json
CHANGED