Home / Open Source / SuperClaude

SuperClaude

AI-powered browser automation framework that combines natural language and code to control browsers

PythonMITAgent
โญ GitHubhttps://github.com/NomenAK/SuperClaude
23,609
Stars
+15,135
Star growth
Jul 22, 2026
Last updated
3,367
Clicks

SuperClaude - Specialized AI Development Framework

Project Overview

SuperClaude is a comprehensive configuration framework specifically designed to enhance the capabilities of Claude Code. It transforms Claude Code from a general AI assistant into a specialized AI development partner, offering 19 specialized commands, 9 cognitive roles, and advanced development methodologies.

Core Features

๐ŸŽฏ Cognitive Role System

SuperClaude provides 9 specialized cognitive roles, each with a specific area of expertise and thought process:

Role Specialization Use Case Example Command
architect System design, long-term maintainability Planning large systems /persona:architect โ†’ /user:design --api --ddd
frontend User experience, visual interface UI/UX work /persona:frontend โ†’ /user:build --react
backend Performance, reliability, API Server-side development /persona:backend โ†’ /user:build --api
analyzer Root cause analysis, evidence-based decision-making Debugging complex issues /persona:analyzer โ†’ /user:troubleshoot --investigate
security Threat modeling, security-first Security review /persona:security โ†’ /user:scan --security
mentor Teaching, guided discovery Learning/Explanation /persona:mentor โ†’ /user:explain --depth
refactorer Code quality, simplification Code improvement /persona:refactorer โ†’ /user:improve --quality
performance Speed optimization, bottleneck analysis Performance tuning /persona:performance โ†’ /user:improve --performance
qa Quality assurance, testing Testing workflow /persona:qa โ†’ /user:test --coverage

๐Ÿ› ๏ธ Specialized Command System

SuperClaude offers 18 specialized slash commands, covering the entire development lifecycle:

Development Commands (3)

  • /user:build - General project builder
    • --init New project, --feature Add feature, --react React app, --api Backend, --tdd Test-driven development
  • /user:dev-setup - Development environment setup
    • --install Tools, --ci CI/CD, --monitor Monitoring
  • /user:test - Testing framework
    • --coverage Coverage, --watch Watch mode, --e2e End-to-end testing

Analysis & Improvement Commands (4)

  • /user:analyze - Multi-dimensional analysis
    • --code Code review, --architecture Design, --profile Performance, --security Vulnerabilities
  • /user:troubleshoot - Debugging & fixing
    • --investigate Explore, --fix Fix, --five-whys Root cause, --prod Production environment
  • /user:improve - Enhance code/performance
    • --quality Refactor, --performance Optimize, --iterate Continuous improvement, --threshold Target percentage
  • /user:explain - In-depth explanation
    • --depth Complexity, --visual Diagrams, --examples Code examples

Operations Commands (6)

  • /user:deploy - Application deployment
  • /user:migrate - Database/code migration
  • /user:scan - Security & validation
  • /user:estimate - Time/complexity prediction
  • /user:cleanup - Project maintenance
  • /user:git - Git workflow management

Design & Architecture Commands (1)

  • /user:design - System design
    • --api REST, --ddd Domain-Driven Design, --prd Requirements, --openapi Specification, --graphql GraphQL

Workflow Commands (2)

  • /user:spawn - Create specialized sub-agents
  • /user:document - Document creation

System Commands (1)

  • /user:load - Load project context

๐Ÿ”ง MCP (Model Context Protocol) Integration

SuperClaude integrates four powerful MCP servers:

  1. Context7 (C7) - Automated documentation lookup

    • Instant lookup of library documentation
    • Seamless integration with GitHub workflows
  2. Sequential - Complex analysis

    • Sequential thinking for deep problems
    • Suitable for system design and root cause analysis
  3. Magic - UI generation

    • Automatic creation of React components
    • Intelligent UI building
  4. Puppeteer - Browser testing

    • Validation of UI components
    • Performance monitoring

๐Ÿš€ Core Advantages

Token Optimization

  • UltraCompressed Mode: 70% Token reduction
  • Uses Telegram-style simplification: Removes articles/conjunctions/prepositions
  • Symbolization: โ†’(to), &(and), @(at), w/(with), +(add), -(remove)
  • Abbreviations: cfg(config), fn(function), impl(implementation)

Research-First Approach

  • Automatically looks up official documentation
  • Evidence-based decision making
  • Citation-driven implementation

Adaptive Thinking

  • Adjusts analysis depth based on task
  • Intelligent tool selection
  • Context-aware responses

Installation and Configuration

Automatic Installation

git clone https://github.com/NomenAK/SuperClaude.git
cd SuperClaude
./install.sh

Manual Installation

# 1. Create structure
mkdir -p ~/.claude/commands/shared

# 2. Copy configuration files
cp CLAUDE.md RULES.md PERSONAS.md MCP.md ~/.claude/

# 3. Copy commands
cp .claude/commands/*.md ~/.claude/commands/

# 4. Copy shared resources
cp .claude/commands/shared/*.yml ~/.claude/commands/shared/

Verify Installation

# Check installation
ls -la ~/.claude/ # Should show 4 main files
ls -la ~/.claude/commands/ # Should show 17 files (16 commands + index)

# Test usage
# Open any project in Claude Code and try:
/user:analyze --code
/persona:architect

Project Structure

~/.claude/
โ”œโ”€โ”€ CLAUDE.md          # Main configuration (loads other files)
โ”œโ”€โ”€ RULES.md           # Governance & practices
โ”œโ”€โ”€ PERSONAS.md        # 9 cognitive archetypes
โ”œโ”€โ”€ MCP.md             # Model Context Protocol patterns
โ””โ”€โ”€ commands/          # 17 specialized slash commands + index
    โ”œโ”€โ”€ analyze.md
    โ”œโ”€โ”€ build.md
    โ”œโ”€โ”€ cleanup.md
    โ”œโ”€โ”€ deploy.md
    โ”œโ”€โ”€ design.md
    โ”œโ”€โ”€ dev-setup.md
    โ”œโ”€โ”€ document.md
    โ”œโ”€โ”€ estimate.md
    โ”œโ”€โ”€ explain.md
    โ”œโ”€โ”€ git.md
    โ”œโ”€โ”€ improve.md
    โ”œโ”€โ”€ index.md
    โ”œโ”€โ”€ load.md
    โ”œโ”€โ”€ migrate.md
    โ”œโ”€โ”€ scan.md
    โ”œโ”€โ”€ spawn.md
    โ”œโ”€โ”€ test.md
    โ”œโ”€โ”€ troubleshoot.md
    โ””โ”€โ”€ shared/        # 19 configuration resources
        โ”œโ”€โ”€ ambiguity-check.yml
        โ”œโ”€โ”€ audit.yml
        โ”œโ”€โ”€ checkpoint.yml
        โ”œโ”€โ”€ cleanup-patterns.yml
        โ”œโ”€โ”€ command-memory.yml
        โ”œโ”€โ”€ documentation-dirs.yml
        โ”œโ”€โ”€ evidence.yml
        โ”œโ”€โ”€ git-operations.yml
        โ”œโ”€โ”€ git-workflow.yml
        โ”œโ”€โ”€ impl.yml
        โ”œโ”€โ”€ loading-cfg.yml
        โ”œโ”€โ”€ mcp-flags.yml
        โ”œโ”€โ”€ patterns.yml
        โ”œโ”€โ”€ performance-monitoring.yml
        โ”œโ”€โ”€ planning-mode.yml
        โ”œโ”€โ”€ research-first.yml
        โ”œโ”€โ”€ thinking-modes.yml
        โ”œโ”€โ”€ ultracompressed.yml
        โ””โ”€โ”€ validation.yml

Usage Examples

General Flags

General flags supported by all commands:

Planning & Thinking

  • --plan - Display execution plan before running
  • --think - Standard analysis mode (multi-file context)
  • --think-hard - Deep analysis mode (architecture level)
  • --ultrathink - Critical analysis mode (system level)

Documentation Control

  • --ultracompressed / --uc - ~70% Token reduction mode

MCP Server Control

  • --c7 / --no-c7 - Enable/disable Context7 documentation
  • --seq / --no-seq - Enable/disable Sequential thinking
  • --magic / --no-magic - Enable/disable Magic UI builder
  • --pup / --no-pup - Enable/disable Puppeteer browser
  • --all-mcp - Enable all MCP servers
  • --no-mcp - Disable all MCP servers (native tools only)

Workflow Examples

Full Development Workflow

/persona:architect โ†’ /user:load --depth deep โ†’ /user:analyze --architecture
/user:design --api --ddd โ†’ /user:estimate --detailed
/persona:backend โ†’ /user:build --api
/persona:frontend โ†’ /user:build --react โ†’ /user:test --coverage
/persona:security โ†’ /user:scan --security โ†’ /user:improve --quality
/user:cleanup --all โ†’ /user:deploy --env staging

Debugging Workflow

/persona:analyzer โ†’ /user:troubleshoot --investigate --prod โ†’ /user:analyze --profile
"think hard about performance bottlenecks" โ†’ /user:troubleshoot --five-whys
/persona:performance โ†’ /user:improve --performance --iterate --threshold 90%

Testing & Quality Assurance

/persona:qa โ†’ /user:test --e2e โ†’ /user:scan --validate
/persona:mentor โ†’ /user:explain --depth beginner --visual --examples
/user:document --user โ†’ /user:build --tdd โ†’ /user:analyze --code

Documentation Organization

Operational Docs vs. Project Docs

SuperClaude automatically separates operational reports and project documentation:

.claudedocs/           # Claude operational documentation
โ”œโ”€โ”€ audit/
โ”œโ”€โ”€ reports/
โ”œโ”€โ”€ summaries/
โ”œโ”€โ”€ metrics/
โ””โ”€โ”€ incidents/

/docs                  # Project documentation
โ”œโ”€โ”€ api/
โ”œโ”€โ”€ guides/
โ”œโ”€โ”€ architecture/
โ””โ”€โ”€ development/

Automatic Reporting

  • analyze โ†’ reports/
  • scan โ†’ reports/
  • test โ†’ metrics/
  • troubleshoot โ†’ incidents/

Manual Documentation

  • /user:document โ†’ API โ†’ /docs/api/
  • Guides โ†’ /docs/guides/

Advanced Features

Model Adaptation

  • Simple tasks โ†’ sonnet (cost-effective)
  • Complex tasks โ†’ sonnet-4 (balanced)
  • Critical tasks โ†’ opus-4 (maximum capability)

Convenience Commands

  • /compact - Smart reduction
  • /clear - Start fresh
  • /model - Switch model

Checkpoint System

A Git-integrated checkpoint system allows developers to navigate back to any point in the workflow:

/user:git --checkpoint before-refactor
/user:git --rollback

Troubleshooting

Common Issues

  1. Commands not working: Check ls ~/.claude/commands/ (should show 17 files)
  2. Planning issues: Add --plan flag โ†’ /user:deploy --plan
  3. Role issues: /persona:architect โ†’ /persona:security โ†’ /user:scan --security
  4. MCP issues: "React docs" โ†’ C7 | "slow app" โ†’ Sequential

Maintenance Commands

  • Update: cd SuperClaude && git pull && ./install.sh
  • Backup: cp -r ~/.claude/ ~/.claude.backup.$(date +%Y%m%d)
  • Uninstall: rm -rf ~/.claude/

Project Benefits

Developer Benefits

  • โœ… Consistent workflow across all projects
  • โœ… Research-first approach โ†’ always consults official documentation
  • โœ… Quality standards โ†’ built-in best practices
  • โœ… Cognitive specialization โ†’ the right mindset for every task

Applicable Scenarios

  • Developers โ†’ Faster, smarter coding workflows
  • Teams โ†’ Consistent AI-assisted patterns
  • Projects โ†’ Quality-focused development
  • Learning โ†’ AI-guided skill development

Technical Specifications

Symbol System

SuperClaude uses a unique symbol system for increased efficiency:

Symbol Meaning Abbreviation Meaning
โ†’ Leads to cfg Config
& And/With fn Function
w/ With impl Implementation
@ At/Located at env Environment
+ Add/Include dev Development
- Remove/Exclude auth Authentication
โˆ€ For all/Each API Application Programming Interface

Version Information

  • Current Version: v4.0.0
  • Type: Configuration Framework (non-executable code)
  • Compatibility: Claude Code
  • Installation Location: ~/.claude/ (global installation)

Summary

SuperClaude transforms Claude Code from a general AI assistant into a specialized development partner, offering:

  • A specialized cognitive role system
  • A comprehensive command toolkit
  • Intelligent MCP integration
  • Efficient token optimization
  • A research-driven methodology

This framework is particularly suitable for developers and teams who require a consistent, high-quality AI-assisted development experience. Through its modular design and specialized approach, SuperClaude ensures that every development task receives appropriate expertise and tool support.