Fix GLM chicken-and-egg problem in Master Prompt workflow
BREAKING CHANGES to workflow: - Add 'BEFORE YOU BEGIN' section to MASTER-PROMPT.md - GLM users MUST configure GLM FIRST before using Claude Code - Add clear GLM pre-configuration steps at top of file - Add clear copy boundaries (✂️ COPY FROM HERE / ✂️ COPY ENDS HERE) - Add visual separator lines for copy-paste section README.md updates: - Add prominent GLM warning at top of Installation Options - Add quick GLM setup commands - Clarify Master Prompt workflow with step-by-step - Emphasize GLM pre-configuration requirement This fixes the issue where GLM users couldn't use Claude Code to paste the master prompt without first configuring GLM.
This commit is contained in:
37
README.md
37
README.md
@@ -29,12 +29,47 @@ chmod +x interactive-install-claude.sh
|
||||
|
||||
Choose the installation method that works best for you:
|
||||
|
||||
### ⚠️ IMPORTANT: For Z.AI / GLM Users
|
||||
|
||||
**If using the GLM Coding Plan (90% cheaper), you MUST configure GLM FIRST before using Claude Code!**
|
||||
|
||||
The Master Prompt file includes complete GLM setup instructions at the top. Read the "BEFORE YOU BEGIN" section first.
|
||||
|
||||
**Quick GLM Setup:**
|
||||
```bash
|
||||
# Get API key: https://z.ai/
|
||||
mkdir -p ~/.claude
|
||||
cat > ~/.claude/settings.json << 'EOF'
|
||||
{
|
||||
"env": {
|
||||
"ANTHROPIC_AUTH_TOKEN": "YOUR_ZAI_API_KEY_HERE",
|
||||
"ANTHROPIC_BASE_URL": "https://api.z.ai/api/anthropic",
|
||||
"API_TIMEOUT_MS": "3000000",
|
||||
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "glm-4.5-air",
|
||||
"ANTHROPIC_DEFAULT_SONNET_MODEL": "glm-4.7",
|
||||
"ANTHROPIC_DEFAULT_OPUS_MODEL": "glm-4.7"
|
||||
}
|
||||
}
|
||||
EOF
|
||||
npm install -g @anthropic-ai/claude-code
|
||||
claude # Start Claude Code with GLM
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
### Option 1: Master Prompt (Recommended for First-Time Users)
|
||||
|
||||
**Copy and paste this prompt into Claude Code** - it will guide you through the entire installation step-by-step:
|
||||
**Copy and paste into Claude Code** - it will guide you through the entire installation step-by-step:
|
||||
|
||||
📄 **[MASTER-PROMPT.md](https://github.rommark.dev/admin/claude-code-glm-suite/src/main/MASTER-PROMPT.md)**
|
||||
|
||||
**⚡ Quick Start:**
|
||||
1. **If using GLM:** Configure GLM first (see above)
|
||||
2. Start Claude Code: `claude`
|
||||
3. Copy the prompt from MASTER-PROMPT.md (clearly marked with ✂️ COPY FROM HERE)
|
||||
4. Paste into Claude Code
|
||||
5. Done!
|
||||
|
||||
**Benefits:**
|
||||
- ✅ See all steps before executing
|
||||
- ✅ Easy to customize and understand
|
||||
|
||||
Reference in New Issue
Block a user