oh-my-claude-sisyphus 3.5.3 → 3.5.6
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/commands/doctor.md +1 -1
- package/commands/ecomode.md +1 -2
- package/commands/help.md +1 -1
- package/commands/learn-about-omc.md +5 -0
- package/commands/omc-setup.md +4 -4
- package/commands/ralplan.md +1 -1
- package/commands/research.md +2 -2
- package/commands/ultraqa.md +1 -1
- package/dist/__tests__/analytics/transcript-token-extractor.test.js +4 -2
- package/dist/__tests__/analytics/transcript-token-extractor.test.js.map +1 -1
- package/dist/__tests__/delegation-enforcer-integration.test.d.ts +4 -0
- package/dist/__tests__/delegation-enforcer-integration.test.d.ts.map +1 -1
- package/dist/__tests__/delegation-enforcer-integration.test.js +5 -1
- package/dist/__tests__/delegation-enforcer-integration.test.js.map +1 -1
- package/dist/__tests__/skills.test.js +17 -19
- package/dist/__tests__/skills.test.js.map +1 -1
- package/dist/hooks/auto-slash-command/constants.d.ts.map +1 -1
- package/dist/hooks/auto-slash-command/constants.js +1 -4
- package/dist/hooks/auto-slash-command/constants.js.map +1 -1
- package/dist/hooks/ralph/loop.js +1 -1
- package/dist/hooks/ralph/loop.js.map +1 -1
- package/dist/hooks/ultraqa/index.js +1 -1
- package/dist/hooks/ultraqa/index.js.map +1 -1
- package/docs/CLAUDE.md +9 -16
- package/docs/FULL-README.md +49 -56
- package/docs/MIGRATION.md +96 -1
- package/package.json +1 -1
- package/scripts/install.sh +8 -217
- package/scripts/uninstall.sh +0 -4
- package/skills/autopilot/SKILL.md +1 -1
- package/skills/cancel/SKILL.md +35 -0
- package/skills/doctor/SKILL.md +1 -1
- package/skills/help/SKILL.md +2 -2
- package/skills/learn-about-omc/SKILL.md +128 -0
- package/skills/mcp-setup/SKILL.md +63 -75
- package/skills/omc-setup/SKILL.md +4 -4
- package/skills/ralplan/SKILL.md +19 -250
- package/skills/research/SKILL.md +2 -2
- package/skills/ultrapilot/SKILL.md +1 -1
- package/skills/ultraqa/SKILL.md +1 -1
- package/commands/cancel-autopilot.md +0 -35
- package/commands/cancel-ecomode.md +0 -71
- package/commands/cancel-ralph.md +0 -41
- package/commands/cancel-ultraqa.md +0 -27
- package/commands/cancel-ultrawork.md +0 -40
- package/commands/planner.md +0 -174
- package/skills/cancel-autopilot/SKILL.md +0 -52
- package/skills/cancel-ecomode/SKILL.md +0 -41
- package/skills/cancel-ralph/SKILL.md +0 -42
- package/skills/cancel-ultraqa/SKILL.md +0 -28
- package/skills/cancel-ultrawork/SKILL.md +0 -41
- package/skills/omc-default/SKILL.md +0 -77
- package/skills/omc-default-global/SKILL.md +0 -74
- package/skills/planner/SKILL.md +0 -105
package/scripts/uninstall.sh
CHANGED
|
@@ -63,8 +63,6 @@ rm -f "$CLAUDE_CONFIG_DIR/agents/prometheus.md"
|
|
|
63
63
|
# Remove commands
|
|
64
64
|
echo -e "${BLUE}Removing commands...${NC}"
|
|
65
65
|
rm -f "$CLAUDE_CONFIG_DIR/commands/sisyphus.md"
|
|
66
|
-
rm -f "$CLAUDE_CONFIG_DIR/commands/sisyphus-default.md"
|
|
67
|
-
rm -f "$CLAUDE_CONFIG_DIR/commands/sisyphus-default-global.md"
|
|
68
66
|
rm -f "$CLAUDE_CONFIG_DIR/commands/ultrawork.md"
|
|
69
67
|
rm -f "$CLAUDE_CONFIG_DIR/commands/deepsearch.md"
|
|
70
68
|
rm -f "$CLAUDE_CONFIG_DIR/commands/analyze.md"
|
|
@@ -72,8 +70,6 @@ rm -f "$CLAUDE_CONFIG_DIR/commands/plan.md"
|
|
|
72
70
|
rm -f "$CLAUDE_CONFIG_DIR/commands/review.md"
|
|
73
71
|
rm -f "$CLAUDE_CONFIG_DIR/commands/prometheus.md"
|
|
74
72
|
rm -f "$CLAUDE_CONFIG_DIR/commands/orchestrator.md"
|
|
75
|
-
rm -f "$CLAUDE_CONFIG_DIR/commands/ralph-loop.md"
|
|
76
|
-
rm -f "$CLAUDE_CONFIG_DIR/commands/cancel-ralph.md"
|
|
77
73
|
rm -f "$CLAUDE_CONFIG_DIR/commands/update.md"
|
|
78
74
|
|
|
79
75
|
# Remove skills
|
package/skills/cancel/SKILL.md
CHANGED
|
@@ -38,6 +38,8 @@ The skill checks state files to determine what's active:
|
|
|
38
38
|
- `.omc/swarm-state.json` → Swarm detected
|
|
39
39
|
- `.omc/ultrapilot-state.json` → Ultrapilot detected
|
|
40
40
|
- `.omc/pipeline-state.json` → Pipeline detected
|
|
41
|
+
- `.omc/state/plan-consensus.json` → Plan Consensus detected
|
|
42
|
+
- `.omc/ralplan-state.json` → Plan Consensus detected (legacy)
|
|
41
43
|
|
|
42
44
|
If multiple modes are active, they're cancelled in order of dependency:
|
|
43
45
|
1. Autopilot (includes ralph/ultraqa/ecomode cleanup)
|
|
@@ -48,6 +50,7 @@ If multiple modes are active, they're cancelled in order of dependency:
|
|
|
48
50
|
6. Swarm (standalone)
|
|
49
51
|
7. Ultrapilot (standalone)
|
|
50
52
|
8. Pipeline (standalone)
|
|
53
|
+
9. Plan Consensus (standalone)
|
|
51
54
|
|
|
52
55
|
## Force Clear All
|
|
53
56
|
|
|
@@ -73,6 +76,8 @@ This removes all state files:
|
|
|
73
76
|
- `.omc/state/swarm-tasks.json`
|
|
74
77
|
- `.omc/ultrapilot-state.json`
|
|
75
78
|
- `.omc/pipeline-state.json`
|
|
79
|
+
- `.omc/state/plan-consensus.json`
|
|
80
|
+
- `.omc/ralplan-state.json`
|
|
76
81
|
- `~/.claude/ralph-state.json`
|
|
77
82
|
- `~/.claude/ultrawork-state.json`
|
|
78
83
|
- `~/.claude/ecomode-state.json`
|
|
@@ -120,6 +125,15 @@ fi
|
|
|
120
125
|
if [[ -f .omc/ultraqa-state.json ]]; then
|
|
121
126
|
ULTRAQA_ACTIVE=$(cat .omc/ultraqa-state.json | jq -r '.active // false')
|
|
122
127
|
fi
|
|
128
|
+
|
|
129
|
+
PLAN_CONSENSUS_ACTIVE=false
|
|
130
|
+
|
|
131
|
+
# Check both new and legacy locations
|
|
132
|
+
if [[ -f .omc/state/plan-consensus.json ]]; then
|
|
133
|
+
PLAN_CONSENSUS_ACTIVE=$(cat .omc/state/plan-consensus.json | jq -r '.active // false')
|
|
134
|
+
elif [[ -f .omc/ralplan-state.json ]]; then
|
|
135
|
+
PLAN_CONSENSUS_ACTIVE=$(cat .omc/ralplan-state.json | jq -r '.active // false')
|
|
136
|
+
fi
|
|
123
137
|
```
|
|
124
138
|
|
|
125
139
|
### 3A. Force Mode (if --force or --all)
|
|
@@ -140,6 +154,8 @@ if [[ "$FORCE_MODE" == "true" ]]; then
|
|
|
140
154
|
rm -f .omc/state/swarm-tasks.json
|
|
141
155
|
rm -f .omc/ultrapilot-state.json
|
|
142
156
|
rm -f .omc/pipeline-state.json
|
|
157
|
+
rm -f .omc/state/plan-consensus.json
|
|
158
|
+
rm -f .omc/ralplan-state.json
|
|
143
159
|
|
|
144
160
|
# Remove global state files
|
|
145
161
|
rm -f ~/.claude/ralph-state.json
|
|
@@ -308,6 +324,8 @@ if [[ "$FORCE_MODE" == "true" ]]; then
|
|
|
308
324
|
rm -f .omc/state/swarm-tasks.json
|
|
309
325
|
rm -f .omc/ultrapilot-state.json
|
|
310
326
|
rm -f .omc/pipeline-state.json
|
|
327
|
+
rm -f .omc/state/plan-consensus.json
|
|
328
|
+
rm -f .omc/ralplan-state.json
|
|
311
329
|
|
|
312
330
|
# Remove global state files
|
|
313
331
|
rm -f ~/.claude/ralph-state.json
|
|
@@ -526,6 +544,20 @@ if [[ -f .omc/pipeline-state.json ]]; then
|
|
|
526
544
|
fi
|
|
527
545
|
fi
|
|
528
546
|
|
|
547
|
+
# 9. Check Plan Consensus (standalone)
|
|
548
|
+
if [[ "$PLAN_CONSENSUS_ACTIVE" == "true" ]]; then
|
|
549
|
+
echo "Cancelling Plan Consensus mode..."
|
|
550
|
+
|
|
551
|
+
# Clear state files
|
|
552
|
+
rm -f .omc/state/plan-consensus.json
|
|
553
|
+
rm -f .omc/ralplan-state.json
|
|
554
|
+
|
|
555
|
+
echo "Plan Consensus cancelled. Planning session ended."
|
|
556
|
+
echo "Note: Plan file preserved at path specified in state."
|
|
557
|
+
CANCELLED_ANYTHING=true
|
|
558
|
+
exit 0
|
|
559
|
+
fi
|
|
560
|
+
|
|
529
561
|
# No active modes found
|
|
530
562
|
if [[ "$CANCELLED_ANYTHING" == "false" ]]; then
|
|
531
563
|
echo "No active OMC modes detected."
|
|
@@ -539,6 +571,7 @@ if [[ "$CANCELLED_ANYTHING" == "false" ]]; then
|
|
|
539
571
|
echo " - Swarm (.omc/swarm-state.json)"
|
|
540
572
|
echo " - Ultrapilot (.omc/ultrapilot-state.json)"
|
|
541
573
|
echo " - Pipeline (.omc/pipeline-state.json)"
|
|
574
|
+
echo " - Plan Consensus (.omc/state/plan-consensus.json)"
|
|
542
575
|
echo ""
|
|
543
576
|
echo "Use --force to clear all state files anyway."
|
|
544
577
|
fi
|
|
@@ -556,6 +589,7 @@ fi
|
|
|
556
589
|
| Swarm | "Swarm cancelled. Coordinated agents stopped." |
|
|
557
590
|
| Ultrapilot | "Ultrapilot cancelled. Parallel autopilot workers stopped." |
|
|
558
591
|
| Pipeline | "Pipeline cancelled. Sequential agent chain stopped." |
|
|
592
|
+
| Plan Consensus | "Plan Consensus cancelled. Planning session ended." |
|
|
559
593
|
| Force | "All OMC modes cleared. You are free to start fresh." |
|
|
560
594
|
| None | "No active OMC modes detected." |
|
|
561
595
|
|
|
@@ -570,6 +604,7 @@ fi
|
|
|
570
604
|
| Swarm | No | N/A |
|
|
571
605
|
| Ultrapilot | No | N/A |
|
|
572
606
|
| Pipeline | No | N/A |
|
|
607
|
+
| Plan Consensus | Yes (plan file path preserved) | N/A |
|
|
573
608
|
|
|
574
609
|
## Notes
|
|
575
610
|
|
package/skills/doctor/SKILL.md
CHANGED
|
@@ -91,7 +91,7 @@ ls -la ~/.claude/skills/ 2>/dev/null
|
|
|
91
91
|
|
|
92
92
|
Look for files like:
|
|
93
93
|
- `architect.md`, `researcher.md`, `explore.md`, `executor.md`, etc. in agents/
|
|
94
|
-
- `ultrawork.md`, `
|
|
94
|
+
- `ultrawork.md`, `deepsearch.md`, etc. in commands/
|
|
95
95
|
- Any oh-my-claudecode-related `.md` files in skills/
|
|
96
96
|
|
|
97
97
|
---
|
package/skills/help/SKILL.md
CHANGED
|
@@ -51,7 +51,7 @@ This is the **only command** you need to know. It downloads the configuration an
|
|
|
51
51
|
|
|
52
52
|
## For 2.x Users
|
|
53
53
|
|
|
54
|
-
Your old commands still work! `/ralph`, `/ultrawork`, `/
|
|
54
|
+
Your old commands still work! `/ralph`, `/ultrawork`, `/plan`, etc. all function exactly as before.
|
|
55
55
|
|
|
56
56
|
But now you don't NEED them - everything is automatic.
|
|
57
57
|
|
|
@@ -62,4 +62,4 @@ But now you don't NEED them - everything is automatic.
|
|
|
62
62
|
|
|
63
63
|
---
|
|
64
64
|
|
|
65
|
-
*Version: 3.
|
|
65
|
+
*Version: 3.5.5*
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: learn-about-omc
|
|
3
|
+
description: Analyze your OMC usage patterns and get personalized recommendations
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# Learn About OMC
|
|
7
|
+
|
|
8
|
+
Analyzes your oh-my-claudecode usage and provides tailored recommendations to improve your workflow.
|
|
9
|
+
|
|
10
|
+
## What It Does
|
|
11
|
+
|
|
12
|
+
1. Reads token tracking from `~/.omc/state/token-tracking.jsonl`
|
|
13
|
+
2. Reads session history from `.omc/state/session-history.json`
|
|
14
|
+
3. Analyzes agent usage patterns
|
|
15
|
+
4. Identifies underutilized features
|
|
16
|
+
5. Recommends configuration changes
|
|
17
|
+
|
|
18
|
+
## Implementation
|
|
19
|
+
|
|
20
|
+
### Step 1: Gather Data
|
|
21
|
+
|
|
22
|
+
```bash
|
|
23
|
+
# Check for token tracking data
|
|
24
|
+
TOKEN_FILE="$HOME/.omc/state/token-tracking.jsonl"
|
|
25
|
+
SESSION_FILE=".omc/state/session-history.json"
|
|
26
|
+
CONFIG_FILE="$HOME/.claude/.omc-config.json"
|
|
27
|
+
|
|
28
|
+
echo "📊 Analyzing OMC Usage..."
|
|
29
|
+
echo ""
|
|
30
|
+
|
|
31
|
+
# Check what data is available
|
|
32
|
+
HAS_TOKENS=false
|
|
33
|
+
HAS_SESSIONS=false
|
|
34
|
+
HAS_CONFIG=false
|
|
35
|
+
|
|
36
|
+
if [[ -f "$TOKEN_FILE" ]]; then
|
|
37
|
+
HAS_TOKENS=true
|
|
38
|
+
TOKEN_COUNT=$(wc -l < "$TOKEN_FILE")
|
|
39
|
+
echo "Token records found: $TOKEN_COUNT"
|
|
40
|
+
fi
|
|
41
|
+
|
|
42
|
+
if [[ -f "$SESSION_FILE" ]]; then
|
|
43
|
+
HAS_SESSIONS=true
|
|
44
|
+
SESSION_COUNT=$(cat "$SESSION_FILE" | jq '.sessions | length' 2>/dev/null || echo "0")
|
|
45
|
+
echo "Sessions found: $SESSION_COUNT"
|
|
46
|
+
fi
|
|
47
|
+
|
|
48
|
+
if [[ -f "$CONFIG_FILE" ]]; then
|
|
49
|
+
HAS_CONFIG=true
|
|
50
|
+
DEFAULT_MODE=$(cat "$CONFIG_FILE" | jq -r '.defaultExecutionMode // "not set"')
|
|
51
|
+
echo "Default execution mode: $DEFAULT_MODE"
|
|
52
|
+
fi
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
### Step 2: Analyze Agent Usage (if token data exists)
|
|
56
|
+
|
|
57
|
+
```bash
|
|
58
|
+
if [[ "$HAS_TOKENS" == "true" ]]; then
|
|
59
|
+
echo ""
|
|
60
|
+
echo "TOP AGENTS BY USAGE:"
|
|
61
|
+
cat "$TOKEN_FILE" | jq -r '.agentName // "main"' | sort | uniq -c | sort -rn | head -10
|
|
62
|
+
|
|
63
|
+
echo ""
|
|
64
|
+
echo "MODEL DISTRIBUTION:"
|
|
65
|
+
cat "$TOKEN_FILE" | jq -r '.modelName' | sort | uniq -c | sort -rn
|
|
66
|
+
fi
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
### Step 3: Generate Recommendations
|
|
70
|
+
|
|
71
|
+
Based on patterns found, output recommendations:
|
|
72
|
+
|
|
73
|
+
**If high Opus usage (>40%) and no ecomode:**
|
|
74
|
+
- "Consider using ecomode for routine tasks to save tokens"
|
|
75
|
+
|
|
76
|
+
**If no pipeline usage:**
|
|
77
|
+
- "Try /pipeline for code review workflows"
|
|
78
|
+
|
|
79
|
+
**If no security-reviewer usage:**
|
|
80
|
+
- "Use security-reviewer after auth/API changes"
|
|
81
|
+
|
|
82
|
+
**If defaultExecutionMode not set:**
|
|
83
|
+
- "Set defaultExecutionMode in /omc-setup for consistent behavior"
|
|
84
|
+
|
|
85
|
+
### Step 4: Output Report
|
|
86
|
+
|
|
87
|
+
Format a nice summary with:
|
|
88
|
+
- Token summary (total, by model)
|
|
89
|
+
- Top agents used
|
|
90
|
+
- Underutilized features
|
|
91
|
+
- Personalized recommendations
|
|
92
|
+
|
|
93
|
+
### Graceful Degradation
|
|
94
|
+
|
|
95
|
+
If no data found:
|
|
96
|
+
```
|
|
97
|
+
📊 Limited Usage Data Available
|
|
98
|
+
|
|
99
|
+
No token tracking found. To enable tracking:
|
|
100
|
+
1. Ensure ~/.omc/state/ directory exists
|
|
101
|
+
2. Run any OMC command to start tracking
|
|
102
|
+
|
|
103
|
+
Tip: Run /omc-setup to configure OMC properly.
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
## Example Output
|
|
107
|
+
|
|
108
|
+
```
|
|
109
|
+
📊 Your OMC Usage Analysis
|
|
110
|
+
|
|
111
|
+
TOKEN SUMMARY:
|
|
112
|
+
- Total records: 1,234
|
|
113
|
+
- By Model: opus 45%, sonnet 40%, haiku 15%
|
|
114
|
+
|
|
115
|
+
TOP AGENTS:
|
|
116
|
+
1. executor (234 uses)
|
|
117
|
+
2. architect (89 uses)
|
|
118
|
+
3. explore (67 uses)
|
|
119
|
+
|
|
120
|
+
UNDERUTILIZED FEATURES:
|
|
121
|
+
- ecomode: 0 uses (could save ~30% on routine tasks)
|
|
122
|
+
- pipeline: 0 uses (great for review workflows)
|
|
123
|
+
|
|
124
|
+
RECOMMENDATIONS:
|
|
125
|
+
1. Set defaultExecutionMode: "ecomode" to save tokens
|
|
126
|
+
2. Try /pipeline review for PR reviews
|
|
127
|
+
3. Use explore agent before architect to save context
|
|
128
|
+
```
|
|
@@ -9,7 +9,7 @@ Configure Model Context Protocol (MCP) servers to extend Claude Code's capabilit
|
|
|
9
9
|
|
|
10
10
|
## Overview
|
|
11
11
|
|
|
12
|
-
MCP servers provide additional tools that Claude Code agents can use. This skill helps you configure popular MCP servers
|
|
12
|
+
MCP servers provide additional tools that Claude Code agents can use. This skill helps you configure popular MCP servers using the `claude mcp add` command-line interface.
|
|
13
13
|
|
|
14
14
|
## Step 1: Show Available MCP Servers
|
|
15
15
|
|
|
@@ -55,95 +55,51 @@ Do you have a GitHub Personal Access Token?
|
|
|
55
55
|
- Enter your token, or type 'skip' to configure later
|
|
56
56
|
```
|
|
57
57
|
|
|
58
|
-
## Step 3:
|
|
58
|
+
## Step 3: Add MCP Servers Using CLI
|
|
59
59
|
|
|
60
|
-
|
|
60
|
+
Use the `claude mcp add` command to configure each MCP server. The CLI automatically handles settings.json updates and merging.
|
|
61
61
|
|
|
62
62
|
### Context7 Configuration:
|
|
63
|
-
```
|
|
64
|
-
|
|
65
|
-
"mcpServers": {
|
|
66
|
-
"context7": {
|
|
67
|
-
"command": "npx",
|
|
68
|
-
"args": ["-y", "@upstash/context7-mcp"]
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
63
|
+
```bash
|
|
64
|
+
claude mcp add context7 -- npx -y @upstash/context7-mcp
|
|
72
65
|
```
|
|
73
66
|
|
|
74
67
|
### Exa Web Search Configuration:
|
|
75
|
-
```
|
|
76
|
-
|
|
77
|
-
"mcpServers": {
|
|
78
|
-
"exa": {
|
|
79
|
-
"command": "npx",
|
|
80
|
-
"args": ["-y", "exa-mcp-server"],
|
|
81
|
-
"env": {
|
|
82
|
-
"EXA_API_KEY": "<user-provided-key>"
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
}
|
|
68
|
+
```bash
|
|
69
|
+
claude mcp add -e EXA_API_KEY=<user-provided-key> exa -- npx -y exa-mcp-server
|
|
87
70
|
```
|
|
88
71
|
|
|
89
72
|
### Filesystem Configuration:
|
|
90
|
-
```
|
|
91
|
-
|
|
92
|
-
"mcpServers": {
|
|
93
|
-
"filesystem": {
|
|
94
|
-
"command": "npx",
|
|
95
|
-
"args": ["-y", "@modelcontextprotocol/server-filesystem", "<allowed-directories>"]
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|
|
73
|
+
```bash
|
|
74
|
+
claude mcp add filesystem -- npx -y @modelcontextprotocol/server-filesystem <allowed-directories>
|
|
99
75
|
```
|
|
100
76
|
|
|
101
77
|
### GitHub Configuration:
|
|
102
|
-
```json
|
|
103
|
-
{
|
|
104
|
-
"mcpServers": {
|
|
105
|
-
"github": {
|
|
106
|
-
"command": "docker",
|
|
107
|
-
"args": ["run", "-i", "--rm", "-e", "GITHUB_PERSONAL_ACCESS_TOKEN", "ghcr.io/github/github-mcp-server"],
|
|
108
|
-
"env": {
|
|
109
|
-
"GITHUB_PERSONAL_ACCESS_TOKEN": "<user-provided-token>"
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
```
|
|
115
|
-
|
|
116
|
-
> Note: GitHub MCP requires Docker. Alternatively, configure as a remote URL: https://api.githubcopilot.com/mcp/
|
|
117
78
|
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
1. Read existing file: `~/.claude/settings.json`
|
|
123
|
-
2. Parse as JSON (handle comments with jsonc-parser if needed)
|
|
124
|
-
3. Merge new `mcpServers` entries with existing ones (don't overwrite user's other MCP servers)
|
|
125
|
-
4. Write back to file with proper formatting
|
|
79
|
+
**Option 1: Docker (local)**
|
|
80
|
+
```bash
|
|
81
|
+
claude mcp add -e GITHUB_PERSONAL_ACCESS_TOKEN=<user-provided-token> github -- docker run -i --rm -e GITHUB_PERSONAL_ACCESS_TOKEN ghcr.io/github/github-mcp-server
|
|
82
|
+
```
|
|
126
83
|
|
|
84
|
+
**Option 2: HTTP (remote)**
|
|
127
85
|
```bash
|
|
128
|
-
|
|
129
|
-
cp ~/.claude/settings.json ~/.claude/settings.json.bak 2>/dev/null || true
|
|
86
|
+
claude mcp add --transport http github https://api.githubcopilot.com/mcp/
|
|
130
87
|
```
|
|
131
88
|
|
|
132
|
-
|
|
89
|
+
> Note: Docker option requires Docker installed. HTTP option is simpler but may have different capabilities.
|
|
133
90
|
|
|
134
|
-
## Step
|
|
91
|
+
## Step 4: Verify Installation
|
|
135
92
|
|
|
136
93
|
After configuration, verify the MCP servers are properly set up:
|
|
137
94
|
|
|
138
95
|
```bash
|
|
139
|
-
#
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
# List configured servers
|
|
143
|
-
node -e "const s = require('$HOME/.claude/settings.json'); console.log('Configured MCP servers:', Object.keys(s.mcpServers || {}).join(', ') || 'none')"
|
|
96
|
+
# List configured MCP servers
|
|
97
|
+
claude mcp list
|
|
144
98
|
```
|
|
145
99
|
|
|
146
|
-
|
|
100
|
+
This will display all configured MCP servers and their status.
|
|
101
|
+
|
|
102
|
+
## Step 5: Show Completion Message
|
|
147
103
|
|
|
148
104
|
```
|
|
149
105
|
MCP Server Configuration Complete!
|
|
@@ -154,6 +110,7 @@ CONFIGURED SERVERS:
|
|
|
154
110
|
NEXT STEPS:
|
|
155
111
|
1. Restart Claude Code for changes to take effect
|
|
156
112
|
2. The configured MCP tools will be available to all agents
|
|
113
|
+
3. Run `claude mcp list` to verify configuration
|
|
157
114
|
|
|
158
115
|
USAGE TIPS:
|
|
159
116
|
- Context7: Ask about library documentation (e.g., "How do I use React hooks?")
|
|
@@ -162,11 +119,15 @@ USAGE TIPS:
|
|
|
162
119
|
- GitHub: Interact with GitHub repos, issues, and PRs
|
|
163
120
|
|
|
164
121
|
TROUBLESHOOTING:
|
|
165
|
-
- If MCP servers don't appear,
|
|
166
|
-
- Ensure you have Node.js 18+ installed for npx
|
|
122
|
+
- If MCP servers don't appear, run `claude mcp list` to check status
|
|
123
|
+
- Ensure you have Node.js 18+ installed for npx-based servers
|
|
124
|
+
- For GitHub Docker option, ensure Docker is installed and running
|
|
167
125
|
- Run /oh-my-claudecode:doctor to diagnose issues
|
|
168
126
|
|
|
169
|
-
|
|
127
|
+
MANAGING MCP SERVERS:
|
|
128
|
+
- Add more servers: /oh-my-claudecode:mcp-setup or `claude mcp add ...`
|
|
129
|
+
- List servers: `claude mcp list`
|
|
130
|
+
- Remove a server: `claude mcp remove <server-name>`
|
|
170
131
|
```
|
|
171
132
|
|
|
172
133
|
## Custom MCP Server
|
|
@@ -175,23 +136,50 @@ If user selects "Custom":
|
|
|
175
136
|
|
|
176
137
|
Ask for:
|
|
177
138
|
1. Server name (identifier)
|
|
178
|
-
2.
|
|
179
|
-
3.
|
|
180
|
-
4.
|
|
139
|
+
2. Transport type: `stdio` (default) or `http`
|
|
140
|
+
3. For stdio: Command and arguments (e.g., `npx my-mcp-server`)
|
|
141
|
+
4. For http: URL (e.g., `https://example.com/mcp`)
|
|
142
|
+
5. Environment variables (optional, key=value pairs)
|
|
143
|
+
6. HTTP headers (optional, for http transport only)
|
|
144
|
+
|
|
145
|
+
Then construct and run the appropriate `claude mcp add` command:
|
|
146
|
+
|
|
147
|
+
**For stdio servers:**
|
|
148
|
+
```bash
|
|
149
|
+
# Without environment variables
|
|
150
|
+
claude mcp add <server-name> -- <command> [args...]
|
|
151
|
+
|
|
152
|
+
# With environment variables
|
|
153
|
+
claude mcp add -e KEY1=value1 -e KEY2=value2 <server-name> -- <command> [args...]
|
|
154
|
+
```
|
|
181
155
|
|
|
182
|
-
|
|
156
|
+
**For HTTP servers:**
|
|
157
|
+
```bash
|
|
158
|
+
# Basic HTTP server
|
|
159
|
+
claude mcp add --transport http <server-name> <url>
|
|
160
|
+
|
|
161
|
+
# HTTP server with headers
|
|
162
|
+
claude mcp add --transport http --header "Authorization: Bearer <token>" <server-name> <url>
|
|
163
|
+
```
|
|
183
164
|
|
|
184
165
|
## Common Issues
|
|
185
166
|
|
|
186
167
|
### MCP Server Not Loading
|
|
187
168
|
- Ensure Node.js 18+ is installed
|
|
188
169
|
- Check that npx is available in PATH
|
|
189
|
-
-
|
|
170
|
+
- Run `claude mcp list` to verify server status
|
|
171
|
+
- Check server logs for errors
|
|
190
172
|
|
|
191
173
|
### API Key Issues
|
|
192
174
|
- Exa: Verify key at https://dashboard.exa.ai
|
|
193
|
-
- GitHub: Ensure token has required scopes
|
|
175
|
+
- GitHub: Ensure token has required scopes (repo, read:org)
|
|
176
|
+
- Re-run `claude mcp add` with correct credentials if needed
|
|
194
177
|
|
|
195
178
|
### Agents Still Using Built-in Tools
|
|
196
179
|
- Restart Claude Code after configuration
|
|
197
180
|
- The built-in websearch will be deprioritized when exa is configured
|
|
181
|
+
- Run `claude mcp list` to confirm servers are active
|
|
182
|
+
|
|
183
|
+
### Removing or Updating a Server
|
|
184
|
+
- Remove: `claude mcp remove <server-name>`
|
|
185
|
+
- Update: Remove the old server, then add it again with new configuration
|
|
@@ -338,14 +338,14 @@ That's it! Just use Claude Code normally.
|
|
|
338
338
|
OMC Setup Complete! (Upgraded from 2.x)
|
|
339
339
|
|
|
340
340
|
GOOD NEWS: Your existing commands still work!
|
|
341
|
-
- /ralph, /ultrawork, /
|
|
341
|
+
- /ralph, /ultrawork, /plan, etc. all still function
|
|
342
342
|
|
|
343
343
|
WHAT'S NEW in 3.0:
|
|
344
344
|
You no longer NEED those commands. Everything is automatic now:
|
|
345
345
|
- Just say "don't stop until done" instead of /ralph
|
|
346
346
|
- Just say "fast" or "parallel" instead of /ultrawork
|
|
347
|
-
- Just say "plan this" instead of /
|
|
348
|
-
- Just say "stop" instead of /cancel
|
|
347
|
+
- Just say "plan this" instead of /plan
|
|
348
|
+
- Just say "stop" instead of /cancel
|
|
349
349
|
|
|
350
350
|
MAGIC KEYWORDS (power-user shortcuts):
|
|
351
351
|
| Keyword | Same as old... | Example |
|
|
@@ -354,7 +354,7 @@ MAGIC KEYWORDS (power-user shortcuts):
|
|
|
354
354
|
| ralplan | /ralplan | "ralplan this feature" |
|
|
355
355
|
| ulw | /ultrawork | "ulw refactor API" |
|
|
356
356
|
| eco | (new!) | "eco fix all errors" |
|
|
357
|
-
| plan | /
|
|
357
|
+
| plan | /plan | "plan the endpoints" |
|
|
358
358
|
|
|
359
359
|
HUD STATUSLINE:
|
|
360
360
|
The status bar now shows OMC state. Restart Claude Code to see it.
|