Files
SuperCharged-Claude-Code-Up…/README.md
uroma 0645797941 docs: Add Windows PowerShell one-line installation commands
Added PowerShell equivalents for all installation commands:
- Quick one-liners section with Windows commands
- Detailed installation guide with PowerShell options
- Updated script references to include .ps1 files
- Cross-platform option documentation (--skip-deps / -SkipDeps)

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-22 18:52:36 +00:00

727 lines
22 KiB
Markdown

# SuperCharged Claude Code - Ultimate Upgrade Package
> 🚀 Transform your Claude Code into an autonomous AI development powerhouse with 30+ custom skills, autonomous agents, and Z.AI GLM model integration. Install in 2 minutes.
[![Claude Code](https://img.shields.io/badge/Claude-Code-Supercharged-blue)](https://claude.com/claude-code)
[![Skills](https://img.shields.io/badge/Skills-30+-green)](https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade)
[![Agents](https://img.shields.io/badge/Agents-Autonomous-orange)](https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade)
[![License](https://img.shields.io/badge/License-MIT-purple)](LICENSE)
[![Gitea](https://img.shields.io/badge/Platform-Gitea-red)](https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade)
## ⚡ Quick One-Liners
### Linux / macOS (Bash)
```bash
# 🎯 SuperCharge Claude Code (all customizations)
curl -fsSL https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/supercharge.sh | bash
# 🔧 Install Claude Code + Z.AI API
curl -fsSL https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/install-claude-code.sh | bash
# 📖 Show manual instructions (no installation)
curl -fsSL https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/install-claude-code.sh | bash -s -- --manual
```
### Windows (PowerShell)
```powershell
# 🎯 SuperCharge Claude Code (all customizations)
irm https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/supercharge.ps1 | iex
# 🔧 Install Claude Code + Z.AI API
irm https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/install-claude-code.ps1 | iex
# 📖 Show manual instructions (no installation)
irm https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/install-claude-code.ps1 | iex; install-claude-code -Manual
```
---
## ⚡ Why SuperCharge Claude Code?
**Claude Code is powerful. SuperCharge makes it unstoppable.**
This comprehensive customization package transforms your Claude Code installation with:
-**30+ Custom Skills** - Cognitive enhancement, development workflows, UI/UX intelligence
- 🤖 **Autonomous Agents** - RalphLoop "Tackle Until Solved" agent for complex tasks
- 🌐 **Z.AI API Integration** - GLM-4.5-air and GLM-4.7 model support with 10% OFF discount
- 🔌 **MCP Servers** - Image analysis, web search, GitHub integration built-in
- 🎯 **Agent Management** - Complete library with sync capabilities
- 🪝 **Smart Hooks** - Session automation and multi-AI consultation
**Perfect for:** Developers, AI enthusiasts, teams building with AI assistants, and anyone wanting to maximize their Claude Code productivity.
---
## 🎯 What Gets Installed
### 🧠 Cognitive Skills
| Skill | Purpose |
|-------|---------|
| `always-use-superpowers` | Auto-applies relevant skills before any action (Priority: 9999) |
| `cognitive-core` | Core cognitive processing framework |
| `cognitive-planner` | Strategic planning and architecture design |
| `cognitive-safety` | Security validation and best practices |
### 🤖 Autonomous Agents
| Agent | Capability |
|-------|------------|
| **RalphLoop** | Iterates autonomously until task completion |
| **Brainstorming** | Multi-AI collaborative ideation |
| **Test-Driven Development** | Automated TDD workflow |
| **Systematic Debugging** | Step-by-step bug resolution |
| **Verification** | Pre-completion validation checks |
### 🎨 Development Tools
| Tool | Features |
|------|----------|
| `ui-ux-pro-max` | 50 styles, 21 palettes, 50 font pairings |
| `agent-pipeline-builder` | Multi-agent workflow construction |
| `dispatching-parallel-agents` | Concurrent agent execution |
| `finishing-a-development-branch` | PR and merge automation |
### 🌐 Integrations
- **Z.AI GLM Models** - glm-4.5-air (fast), glm-4.7 (powerful)
- **Qwen Consultation** - Get second opinions from Qwen models
- **Dev-Browser** - Persistent browser automation
- **MCP Servers** - Vision, search, web reader, GitHub
### 📁 Installation Structure
```
~/.claude/
├── skills/ # 30+ custom skills
├── agents/ # 100+ agent library
├── hooks/ # Session automation
├── commands/ # Custom commands
├── plugins/ # MCP servers & integrations
└── settings.json # Z.AI API configuration
~/.local/bin/
└── ralphloop # Ralph Orchestrator wrapper
```
---
## 📖 Detailed Installation Guide
### 🎯 SuperCharge Installer (Main Script)
#### One-Line Installation
**Linux / macOS:**
```bash
curl -fsSL https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/supercharge.sh | bash
```
**Windows (PowerShell):**
```powershell
irm https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/supercharge.ps1 | iex
```
#### One-Line with Options
**Linux / macOS:**
```bash
# Skip dependency installation
curl -fsSL https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/supercharge.sh | bash -s -- --skip-deps
# Development mode (verbose output)
curl -fsSL https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/supercharge.sh | bash -s -- --dev-mode
```
**Windows (PowerShell):**
```powershell
# Skip dependency installation
irm https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/supercharge.ps1 | iex; supercharge -SkipDeps
# Development mode (verbose output)
irm https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/supercharge.ps1 | iex; supercharge -DevMode
```
#### Manual Installation
**Linux / macOS:**
```bash
# Clone the repository
git clone https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade.git
cd SuperCharged-Claude-Code-Upgrade
# Run the supercharge installer
./supercharge.sh
# With options
./supercharge.sh --skip-deps
./supercharge.sh --dev-mode
```
**Windows (PowerShell):**
```powershell
# Clone the repository
git clone https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade.git
cd SuperCharged-Claude-Code-Upgrade
# Run the supercharge installer
.\supercharge.ps1
# With options
.\supercharge.ps1 -SkipDeps
.\supercharge.ps1 -DevMode
```
### 🔧 Claude Code + Z.AI Installer (Optional)
#### One-Line Installation
**Linux / macOS:**
```bash
curl -fsSL https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/install-claude-code.sh | bash
```
**Windows (PowerShell):**
```powershell
irm https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/install-claude-code.ps1 | iex
```
#### One-Line with Options
**Linux / macOS:**
```bash
# Automatic installation (prompts for API key)
curl -fsSL https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/install-claude-code.sh | bash -s -- --auto
# Manual instructions only (no installation)
curl -fsSL https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/install-claude-code.sh | bash -s -- --manual
# Configure API only (skip Claude Code installation)
curl -fsSL https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/install-claude-code.sh | bash -s -- --skip-install
```
**Windows (PowerShell):**
```powershell
# Automatic installation (prompts for API key)
irm https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/install-claude-code.ps1 | iex; install-claude-code -Auto
# Manual instructions only (no installation)
irm https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/install-claude-code.ps1 | iex; install-claude-code -Manual
# Configure API only (skip Claude Code installation)
irm https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/install-claude-code.ps1 | iex; install-claude-code -SkipInstall
```
#### Manual Installation
**Linux / macOS:**
```bash
# Clone the repository
git clone https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade.git
cd SuperCharged-Claude-Code-Upgrade
# Run the Claude Code installer
./install-claude-code.sh --auto
# Other options
./install-claude-code.sh --manual # Show instructions only
./install-claude-code.sh --skip-install # Configure API only
```
**Windows (PowerShell):**
```powershell
# Clone the repository
git clone https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade.git
cd SuperCharged-Claude-Code-Upgrade
# Run the Claude Code installer
.\install-claude-code.ps1 -Auto
# Other options
.\install-claude-code.ps1 -Manual # Show instructions only
.\install-claude-code.ps1 -SkipInstall # Configure API only
```
---
## 📋 Available Scripts & Options
### supercharge.sh / supercharge.ps1 - Main SuperCharge Installer
Transforms existing Claude Code with all customizations.
| Option | Description |
|--------|-------------|
| (default) | Interactive installation with all prompts |
| `--skip-deps` / `-SkipDeps` | Skip dependency installation checks |
| `--dev-mode` / `-DevMode` | Enable verbose output for debugging |
**One-liners (Linux / macOS):**
```bash
# Full installation
curl -fsSL https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/supercharge.sh | bash
# Skip dependencies
curl -fsSL https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/supercharge.sh | bash -s -- --skip-deps
# Verbose mode
curl -fsSL https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/supercharge.sh | bash -s -- --dev-mode
```
**One-liners (Windows):**
```powershell
# Full installation
irm https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/supercharge.ps1 | iex
# Skip dependencies
irm https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/supercharge.ps1 | iex; supercharge -SkipDeps
# Verbose mode
irm https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/supercharge.ps1 | iex; supercharge -DevMode
```
### install-claude-code.sh / install-claude-code.ps1 - Claude Code + Z.AI Installer
Installs Claude Code and configures Z.AI GLM models or Anthropic API.
**New Features:**
- 🔀 **Provider Switching** - Switch between Anthropic and Z.AI APIs
- 🔑 **API Key Update** - Update existing API keys easily
- 🧩 **Coding-Helper Addons** - Optional Z.AI coding-helper installation
| Option | Description |
|--------|-------------|
| `--auto` (default) | Automated installation with provider selection |
| `--manual` | Show manual installation steps only |
| `--skip-install` | Skip Claude Code install, configure API only |
**One-liners:**
```bash
# Auto install with provider selection
curl -fsSL https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/install-claude-code.sh | bash
# Show manual instructions
curl -fsSL https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/install-claude-code.sh | bash -s -- --manual
# Configure API only (skip Claude Code install)
curl -fsSL https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/install-claude-code.sh | bash -s -- --skip-install
```
**Provider Switching:**
If Claude Code is already installed, the script will:
1. Detect your current API provider (Anthropic or Z.AI)
2. Offer to switch between providers
3. Allow you to update your API key
4. Optionally install Z.AI coding-helper addons
**Z.AI Coding-Helper Features:**
- Interactive wizard for easy setup
- Multi-tool management (Claude Code, OpenCode, etc.)
- MCP service configuration
- API key management for Global and China plans
- Bilingual interface (English/Chinese)
---
## 🔧 Claude Code Installation Details
If you don't have Claude Code installed yet, we've got you covered with **Z.AI API support**.
### What is Z.AI API?
[Z.AI](https://docs.z.ai/devpack/tool/claude) provides GLM (General Language Model) models optimized for Claude Code:
- **glm-4.5-air** - Fast, efficient model (Haiku class) - ideal for quick iterations
- **glm-4.7** - Powerful model (Sonnet/Opus class) - for complex tasks
> [!TIP]
> **🎁 Grab 10% OFF Token for z.ai coding plan**: [https://z.ai/subscribe?ic=R0K78RJKNW](https://z.ai/subscribe?ic=R0K78RJKNW)
### Manual Claude Code Installation
```bash
# 1. Install Claude Code via npm
npm install -g @anthropic-ai/claude-code
# 2. Configure Z.AI API in ~/.claude/settings.json:
{
"env": {
"ANTHROPIC_API_KEY": "your-zai-api-key-here",
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "glm-4.5-air",
"ANTHROPIC_DEFAULT_SONNET_MODEL": "glm-4.7",
"ANTHROPIC_DEFAULT_OPUS_MODEL": "glm-4.7"
}
}
# 3. Start Claude Code
claude
# 4. Check model status
/status
```
### Documentation
- **Z.AI Official Docs**: https://docs.z.ai/devpack/tool/claude
- **Claude Code Docs**: https://docs.anthropic.com/en/docs/claude-code/overview
---
## 💡 Usage Examples
### RalphLoop - Autonomous Agent
```bash
# Let Ralph tackle complex problems autonomously
claude
> /ralph "Design a microservices architecture for an e-commerce platform"
# Ralph iterates until completion:
# - Creates .ralph/PROMPT.md with success criteria
# - Iterates continuously until all criteria met
# - Updates .ralph/state.json with progress
# - Outputs final result to .ralph/iterations/final.md
```
**Configuration:**
```bash
export RALPH_AGENT=claude # Agent selection
export RALPH_MAX_ITERATIONS=100 # Max iterations
export RALPH_MAX_RUNTIME=14400 # 4 hours
export RALPH_VERBOSE=true # Debug output
```
### Multi-AI Brainstorming
```bash
> /brainstorming "Create a viral TikTok marketing strategy"
# Collaborates with multiple AI perspectives:
# - Content strategist (copy & messaging)
# - SEO expert (keywords & optimization)
# - Social media manager (platforms & tactics)
# - Product manager (goals & metrics)
# - Developer (implementation)
```
### Test-Driven Development
```bash
> /test-driven-development "Implement user authentication"
# Automated TDD workflow:
# 1. Write failing tests
# 2. Implement minimal code
# 3. Refactor while tests green
```
### Systematic Debugging
```bash
> /systematic-debugging "Database connection timing out"
# Step-by-step resolution:
# 1. Gather error information
# 2. Form hypotheses
# 3. Test each hypothesis
# 4. Verify fix doesn't break functionality
```
---
## 🎨 UI/UX Intelligence
The `ui-ux-pro-max` skill provides comprehensive design capabilities:
### 50 Design Styles
Glassmorphism, Claymorphism, Neumorphism, Brutalism, Minimalism, Bento Grid, Dark Mode, Skeuomorphism, Flat Design, and more...
### 21 Color Palettes
Pre-configured themes for instant visual consistency
### 50 Font Pairings
Typographic combinations proven to work well together
### 9 Tech Stacks
React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind, shadcn/ui
---
## ⚙️ Configuration
### Environment Variables
```bash
# Ralph Configuration
export RALPH_AGENT=claude # claude|gemini|kiro|q|auto
export RALPH_MAX_ITERATIONS=100 # Maximum iterations
export RALPH_MAX_RUNTIME=14400 # Max runtime (4 hours)
# Qwen Consultation
export QWEN_CONSULT_MODE=always # always|delegate|off
export QWEN_MODEL=qwen-coder-plus # Model selection
export QWEN_MAX_ITERATIONS=3 # Max consultation iterations
# Auto Superpowers
export AUTO_SUPERPOWERS=true # Auto-inject context
```
### Settings Files
**~/.claude/settings.json**
```json
{
"customInstructions": "enabled",
"permissions": {
"allowedTools": ["*"],
"allowedPrompts": ["*"]
}
}
```
**~/.claude/hooks.json**
```json
{
"sessionStart": ["session-start-superpowers.sh"],
"userPromptSubmit": ["qwen-consult.sh", "ralph-auto-trigger.sh"]
}
```
---
## 📦 Package Contents
| Component | Count | Description |
|-----------|-------|-------------|
| **Skills** | 30+ | Cognitive, development, UI/UX, autonomous agents |
| **Agents** | 100+ | Engineering, marketing, product, testing, design |
| **Hooks** | 5+ | Session automation, multi-AI consultation |
| **Commands** | 3 | /brainstorm, /write-plan, /execute-plan |
| **MCP Servers** | 6 | Vision, search, web reader, GitHub, feedback, usage |
| **Binaries** | 1 | ralphloop wrapper |
| **Size** | 126MB | Complete package |
### Full Inventory
See [INVENTORY.md](INVENTORY.md) for complete component listing.
---
## 🔍 Troubleshooting
### Ralph Loop Not Working
```bash
# Check Ralph installation
ralph --version
# Reinstall Ralph Orchestrator
pip3 install --upgrade ralph-orchestrator
# Check RalphLoop wrapper
which ralphloop
ls -la ~/.local/bin/ralphloop
```
### Skills Not Loading
```bash
# Check skills directory
ls -la ~/.claude/skills/
# Verify skill syntax
cat ~/.claude/skills/your-skill/SKILL.md
# Check for errors
claude --debug
```
### Claude Code Not Found
The supercharge script will offer to install Claude Code automatically if not detected.
```bash
# Or install manually
npm install -g @anthropic-ai/claude-code
# Then run supercharge again
./supercharge.sh
```
### Z.AI API Configuration
```bash
# Check settings
cat ~/.claude/settings.json | grep ANTHROPIC
# Verify API key works
curl -X POST https://dashscope-intl.aliyuncs.com/compatible-mode/v1/chat/completions \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"glm-4.7","messages":[{"role":"user","content":"test"}]}'
```
---
## 🔄 Updates & Maintenance
### Update SuperCharge Package
```bash
cd SuperCharged-Claude-Code-Upgrade
git pull origin main
./supercharge.sh
```
### Update Agents
```bash
~/.claude/scripts/sync-agents.sh
```
### Backup Current Setup
```bash
~/.claude/agents/export-claude-customizations.sh
```
---
## 🗑️ Uninstallation
```bash
# Remove customizations
rm -rf ~/.claude/skills/*
rm -rf ~/.claude/agents/*
rm -rf ~/.claude/hooks/*
rm -rf ~/.claude/commands/*
rm -rf ~/.claude/plugins/*
rm ~/.claude/hooks.json
rm ~/.local/bin/ralphloop
# Restore from backup if needed
cp -r ~/.claude-backup-YYYYMMDD_HHMMSS/* ~/.claude/
```
---
## 🤝 Contributing
Contributions welcome! Please:
1. Fork the repository
2. Create a feature branch (`git checkout -b feature/amazing-feature`)
3. Commit your changes (`git commit -m 'Add amazing feature'`)
4. Push to the branch (`git push origin feature/amazing-feature`)
5. Open a Pull Request
### Adding Custom Skills
Create `~/.claude/skills/your-skill/SKILL.md`:
```markdown
# Your Custom Skill
## When to Use
Use this skill when...
## What It Does
This skill provides...
```
---
## 📄 License
MIT License - See [LICENSE](LICENSE) file for details
---
## 🙏 Credits & Inspiration
This project is built on the shoulders of giants. We gratefully acknowledge:
### Core Inspirations
🎭 **[contains-studio/agents](https://github.com/contains-studio/agents)**
> 40+ specialized agents with PROACTIVELY auto-triggering
*Inspired our agent architecture and auto-triggering patterns*
[View on GitHub →](https://github.com/contains-studio/agents)
---
🤖 **[@iannuttall/ralph](https://github.com/iannuttall/ralph)**
> Autonomous agent looping with background execution
*Ralph Orchestrator: "Fire and forget" complex tasks with autonomous iteration*
[View on GitHub →](https://github.com/iannuttall/ralph)
---
🖼️ **[@z_ai/mcp-server](https://github.com/ZAI-China/mcp-server)**
> 8 vision tools for images, videos, diagrams, and data visualization
*Comprehensive MCP server for AI vision capabilities*
[View on GitHub →](https://github.com/ZAI-China/mcp-server)
---
### Additional Inspiration
📊 **llm-tldr**
> 95% token reduction via 5-layer analysis
*Inspired our cognitive optimization approach*
---
🎨 **[ui-ux-pro-max-skill](https://github.com/nextlevelbuilder/ui-ux-pro-max-skill)**
> Professional UI/UX design guidance
*50+ styles, 97 color palettes, 57 font pairings across 9 tech stacks*
[View on GitHub →](https://github.com/nextlevelbuilder/ui-ux-pro-max-skill)
---
🧠 **[Cognitive User Simulation](https://github.com/HighMark-31/Cognitive-User-Simulation)**
> Multi-agent analysis and coordination optimization
*Inspired our multi-AI brainstorming and consultation patterns*
[View on GitHub →](https://github.com/HighMark-31/Cognitive-User-Simulation)
---
### Core Technologies
- **[Ralph Orchestrator](https://github.com/mikeyobrien/ralph-orchestrator)** - Autonomous agent iteration engine
- **[Claude Code](https://claude.com/claude-code)** - Anthropic's AI coding assistant
- **[Z.AI](https://docs.z.ai/devpack/tool/claude)** - GLM model integration with 90% cost savings
---
### Community Contributors
This package incorporates skills, agents, and plugins from the Claude Code community. Thank you to all contributors who make this ecosystem better!
---
## 📞 Support
- **Issues**: [Gitea Issues](https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/issues)
- **Discussions**: [Gitea Discussions](https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/discussions)
- **Documentation**: [Full Docs](INVENTORY.md)
---
## 🌟 Star History
[![Star History Chart](https://api.star-history.com/svg?repos=admin/SuperCharged-Claude-Code-Upgrade&type=Date)](https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade)
---
**Made with ❤️ for the Claude Code community**
*SuperCharge your AI development workflow today!*
---
**Keywords:** Claude Code customization, Claude Code skills, Claude Code agents, AI coding assistant, Z.AI API, GLM models, RalphLoop, autonomous AI development, CLI tools, developer tools, Claude Code plugins, MCP servers, Qwen integration, AI workflow automation