Use @z_ai/coding-helper wizard for easier GLM setup

MAJOR IMPROVEMENT to GLM setup workflow:

Before: Manual configuration with multiple steps
- Create settings.json manually
- Copy/paste complex JSON
- Edit files manually
- Easy to make mistakes

After: Interactive wizard ( MUCH simpler!)
- npm install -g @z_ai/coding-helper
- npx @z_ai/coding-helper init
- Wizard asks for API key
- Everything configured automatically
- Verified working

Benefits:
-  Fewer steps (3 vs 6+)
-  Less error-prone
-  Interactive and guided
-  Official Z.AI tool
-  Automatic verification

Updates:
- MASTER-PROMPT.md: Promote wizard method as "EASIEST"
- README.md: Add wizard at top as primary method
- Blog post: Update warning with wizard commands
- Keep manual method as alternative

This makes GLM setup as simple as:
  npm install -g @z_ai/coding-helper
  npx @z_ai/coding-helper init
  claude
This commit is contained in:
uroma
2026-01-15 15:05:58 +00:00
Unverified
parent 775c5c65e7
commit 5ec488d7ce
2 changed files with 51 additions and 16 deletions

View File

@@ -33,9 +33,24 @@ Choose the installation method that works best for you:
**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.
**🎯 EASIEST METHOD - Use Z.AI Coding Helper Wizard:**
**Quick GLM Setup:**
```bash
# Install coding helper and run setup wizard
npm install -g @z_ai/coding-helper
npx @z_ai/coding-helper init
# The wizard will:
# ✅ Ask for your Z.AI API key
# ✅ Configure Claude Code for GLM automatically
# ✅ Set up model mappings (glm-4.5-air, glm-4.7)
# ✅ Verify everything works
# Start Claude Code with GLM
claude
```
**Manual Configuration (if you prefer):**
```bash
# Get API key: https://z.ai/
mkdir -p ~/.claude
@@ -52,7 +67,7 @@ cat > ~/.claude/settings.json << 'EOF'
}
EOF
npm install -g @anthropic-ai/claude-code
claude # Start Claude Code with GLM
claude
```
---