npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

Iโ€™ve always been into building performant and accessible sites, but lately Iโ€™ve been taking it extremely seriously. So much so that Iโ€™ve been building a tool to help me optimize and monitor the sites that I build to make sure that Iโ€™m making an attempt to offer the best experience to those who visit them. If youโ€™re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, ๐Ÿ‘‹, Iโ€™m Ryan Hefnerย  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If youโ€™re interested in other things Iโ€™m working on, follow me on Twitter or check out the open source projects Iโ€™ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soonโ€“ish.

Open Software & Tools

This site wouldnโ€™t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you ๐Ÿ™

ยฉ 2026 โ€“ย Pkg Stats / Ryan Hefner

@zubenelakrab/powerup

v2.1.0

Published

๐Ÿ„โญ Mario Bros PowerUps for Claude Code - The Ultimate Multi-Agent AI Collaboration System

Readme

                          ๐Ÿ„โญ MARIO BROS POWERUPS โญ๐Ÿ„
    
    โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•—    โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— โ–ˆโ–ˆโ•—   โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•— 
    โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•”โ•โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘    โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ•โ•โ•โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—
    โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘ โ–ˆโ•— โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—  โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•
    โ–ˆโ–ˆโ•”โ•โ•โ•โ• โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ•  โ–ˆโ–ˆโ•”โ•โ•โ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘   โ–ˆโ–ˆโ•‘โ–ˆโ–ˆโ•”โ•โ•โ•โ• 
    โ–ˆโ–ˆโ•‘     โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ•šโ–ˆโ–ˆโ–ˆโ•”โ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•—โ–ˆโ–ˆโ•‘  โ–ˆโ–ˆโ•‘โ•šโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ–ˆโ•”โ•โ–ˆโ–ˆโ•‘     
    โ•šโ•โ•      โ•šโ•โ•โ•โ•โ•โ•  โ•šโ•โ•โ•โ•šโ•โ•โ• โ•šโ•โ•โ•โ•โ•โ•โ•โ•šโ•โ•  โ•šโ•โ• โ•šโ•โ•โ•โ•โ•โ• โ•šโ•โ•     
                                                                
              ๐ŸŽฎ THE ULTIMATE AI COLLABORATION SYSTEM ๐ŸŽฎ
                 Transform Claude Code into a Legendary Adventure!
                      ๐Ÿช™ Collect Coins โ€ข โญ Star Power โ€ข ๐Ÿฐ Boss Battles

๐Ÿ„โญ Mario Bros PowerUps for Claude Code โญ๐Ÿ„

The Ultimate Multi-Agent AI Collaboration System with Interactive Development Hooks

npm version License: MIT Claude Code AI Orchestra

Transform your Claude Code experience into a legendary software engineering adventure with Mario-themed slash commands, intelligent subagents, and interactive development hooks that celebrate every coding achievement.

๐ŸŒŸ What is Mario Bros PowerUps?

Mario Bros PowerUps is the most advanced multi-agent AI collaboration system for Claude Code, featuring:

  • ๐Ÿค– 6 Claude Code Subagents - Professional AI specialists (mario-hero, luigi-debugger, peach-architect, etc.)
  • ๐Ÿง  30+ Thinking Modifiers - Advanced reasoning strategies (Chain of Thought, Tree of Thought, etc.)
  • ๐ŸŽฎ 12 Mario Slash Commands - Pure knowledge repositories for AI-guided development
  • โšก Cross-Platform NPM Package - Professional Node.js installer for all platforms
  • ๐Ÿ”ง Development Hooks - Interactive achievements and progress tracking
  • ๐Ÿง  Intelligent Language Detection - Automatic detection and support for 70+ programming languages
  • ๐Ÿช Interactive Development Hooks - Real-time celebrations and safety checks
  • ๐Ÿ† Achievement System - Coin collection, streaks, and world progression
  • ๐ŸŽผ Multi-Character Teams - Fusion teams for complex collaborative tasks
  • ๐Ÿ›ก๏ธ Security Guardian - Mario protects you from dangerous operations
  • ๐ŸŒ Multi-Language Mastery - Seamless support across frontend, backend, mobile, data science, and more

๐Ÿ“ฆ Installation

Quick Install (Recommended)

npm install -g @zubenelakrab/powerup
powerup install

Manual Installation

git clone https://github.com/zubenelakrab/PowerUP.git
cd PowerUP
npm install
powerup install

System Requirements

  • Claude Code (latest version)
  • Node.js >= 16.0.0
  • Python 3 (for hook JSON parsing)
  • Bash shell environment

๐Ÿš€ Quick Start Guide

1. Installation Verification

After installation, verify your setup:

# Check installation status
powerup status

# Or test with Mario status command  
/mario-status

Expected output:

๐Ÿ„โญ Mario PowerUp Status Check โญ๐Ÿ„
๐ŸŽฎ Current power level: Beginner (0 coins)
๐ŸŒ Current world: 1-1 (Grassland)
โšก Available commands: 12 slash commands active
๐Ÿค– Subagents: 6 Claude Code subagents ready
๐Ÿง  Thinking modifiers: 30+ reasoning strategies available
๐Ÿช Hooks: 6 interactive hooks active

2. Your First Power-Up

Try Mario's enthusiastic coding with thinking modifiers:

# Basic usage
/mario-code "create a hello world function in Python"

# With Chain of Thought reasoning
/mario:cot "create a robust authentication system with error handling"

# Multi-modifier approach
/mario:cot+reflection "refactor this legacy code for better maintainability"

Mario will respond with strategic enthusiasm and enhanced reasoning!

3. Multi-Character Collaboration

Launch fusion teams for complex tasks:

/mario-orchestra "design a REST API with authentication, rate limiting, and comprehensive testing"

Watch as specialized character teams tackle challenges with combined expertise!

๐ŸŽผ Musical Sheets Architecture

Mario PowerUps uses a revolutionary "Musical Sheets" approach where slash commands contain pure AI knowledge repositories instead of executable code:

  • Knowledge-Based: Commands contain methodologies, frameworks, and expertise without code examples
  • AI-Guided: Claude uses these knowledge sheets to generate optimal solutions
  • Adaptive: Each character's expertise adapts to your specific technology stack
  • Clean Architecture: Separation between knowledge (commands) and execution (Claude's intelligence)

This approach allows for more flexible, context-aware development assistance that adapts to your project's specific needs.


๐ŸŽฎ Complete Command Reference

Core Character Commands

๐Ÿ„ Mario - The Enthusiastic Full-Stack Hero

/mario-code [task]           # Enthusiastic implementation with strategic thinking
/mario-debug [issue]         # Tackle problems with unstoppable determination
/mario-refactor [code]       # Improve code with Mario's optimistic approach

Example:

/mario-code "build a React component for user authentication"

๐Ÿ‘ป Luigi - The Careful Debugging Master

/luigi-debug [problem]       # Careful bug analysis with practical solutions
/luigi-test [component]      # Design comprehensive test strategies
/luigi-investigate [issue]   # Deep dive investigation with paranoid attention to detail

Example:

/luigi-debug "memory leak in React application causing performance issues"

๐Ÿ‘ธ Princess Peach - The Elegant Architecture Queen

/peach-architect [system]    # Graceful system design that scales beautifully
/peach-refactor [code]       # Elegant code improvement with UX focus
/peach-design [interface]    # Beautiful UI/API design with user experience priority

Example:

/peach-architect "microservices architecture for e-commerce platform"

๐Ÿข Bowser - The Performance Dominator

/bowser-optimize [system]    # Raw performance power with strategic optimization
/bowser-scale [application]  # Aggressive scaling and performance tuning
/bowser-benchmark [code]     # Performance analysis with domination metrics

Example:

/bowser-optimize "database queries taking too long in production"

๐Ÿฉบ Dr. Mario - The System Health Master

/dr-mario-checkup [system]   # Comprehensive system health examination
/dr-mario-diagnose [issue]   # Precise problem diagnosis and analysis
/dr-mario-prescribe [solution] # Targeted treatment recommendations

Example:

/dr-mario-checkup "performance issues in production API"

๐ŸŒ Toadette - The Internationalization Specialist

/toadette-i18n-specialist [project] # Comprehensive i18n analysis and implementation
/toadette-analyze-i18n [path]      # Analyze existing i18n implementation
/toadette-implement-i18n [config]  # Implement i18n from scratch
/toadette-enhance-i18n [features]  # Enhance existing i18n with new features

Example:

/toadette-i18n-specialist "analyze and implement i18n for my React e-commerce app"

Example:

/dr-mario-checkup "production server showing high CPU usage and memory leaks"

Advanced Character Commands

๐ŸŒŸ Rosalina - The Cosmic Systems Master

/rosalina-systems-analysis [situation]     # Holistic systems thinking
/rosalina-trade-off-analysis [decision]    # Illuminate hidden trade-offs
/rosalina-technical-debt-vision [codebase] # Strategic debt management
/rosalina-architectural-decisions [context] # Guide major architectural choices

๐Ÿงฌ Professor E. Gadd - The Algorithms Scientist

/professor-algorithm-analysis [problem]    # Deep algorithmic optimization
/professor-research [topic]               # Academic-grade technical research  
/professor-complexity-analysis [code]     # Mathematical performance analysis

๐Ÿ„ Captain Toad - The Tooling Explorer

/captain-toad-environment-setup [project-type]  # Complete dev environment setup
/captain-toad-ci-cd-pipeline [requirements]     # Automated deployment pipelines
/captain-toad-tool-discovery [problem]          # Find perfect development tools

๐Ÿ‘‘ King K. Rool - The Technical Leadership King

/king-k-rool-leadership-development [role]      # Technical leadership growth
/king-k-rool-career-strategy [goal]             # Strategic career advancement
/king-k-rool-executive-communication [topic]    # Master C-level communication

Multi-Agent Fusion Teams

๐Ÿ”ฅ The Fire Trio - Ultimate Code Review

Members: Mario + Luigi + Wario
Specialization: Comprehensive code analysis combining enthusiasm, paranoid testing, and performance obsession

/fire-trio [code-or-system-to-review]

Example:

/fire-trio "review this authentication middleware for security vulnerabilities"

๐Ÿ—๏ธ The Smart Builder - Complete Feature Development

Members: Princess Peach + Yoshi + Donkey Kong
Specialization: End-to-end feature creation with elegant architecture, user validation, and powerful implementation

/smart-builder [feature-requirements]

Example:

/smart-builder "create a real-time chat system with emoji reactions and file sharing"

๐Ÿฐ The Fortress - Secure Architecture Team

Members: Mario + Princess Peach + Bowser
Specialization: Bulletproof security combining implementation security, architectural security, and adversarial testing

/fortress [system-to-secure]

Example:

/fortress "secure a financial trading API handling millions in transactions"

๐ŸŒช๏ธ The Chaos Engine - Ultimate Stress Testing

Members: Luigi + Wario + Bowser
Specialization: Maximum stress testing with paranoid edge cases, performance limits, and chaos engineering

/chaos-engine [system-to-test]

Example:

/chaos-engine "stress test social media platform for 10 million concurrent users"

Utility Commands

/mario-status                # Check current PowerUp status and progress
/mario-orchestra [challenge] # Launch multi-character collaboration
/mario-help [command]        # Get detailed help for any command
/mario-achievements          # View unlocked achievements and milestones
/mario-leaderboard          # See your coding statistics and world progress

๐Ÿง  Intelligent Multi-Language Support

Mario PowerUps features revolutionary intelligent language detection that automatically identifies programming languages and routes to specialized character implementations across 70+ technologies.

๐Ÿ” Automatic Language Detection

The system automatically detects languages from:

  • Natural language descriptions
  • Code snippets and patterns
  • File extensions and project structure
  • Technical keywords and frameworks

๐ŸŒ Supported Languages & Technologies

๐ŸŒ Frontend Development

  • Languages: HTML, CSS, JavaScript, TypeScript, JSX, TSX
  • Frameworks: React, Vue, Angular, Svelte, Next.js, Nuxt.js
  • Styling: Sass, SCSS, Tailwind CSS, Styled Components

๐Ÿ”ง Backend Development

  • Languages: Python, Node.js, Java, C#, Go, Rust, PHP, Ruby, Scala, Elixir
  • Frameworks: Express, Django, Flask, Spring, Laravel, Rails, FastAPI

๐Ÿ“ฑ Mobile Development

  • Languages: Kotlin, Swift, Dart, Java, C#, JavaScript
  • Frameworks: Flutter, React Native, Xamarin, Ionic, Cordova

๐Ÿ“Š Data Science & Analytics

  • Languages: Python, R, Julia, SQL, Scala, MATLAB
  • Libraries: Pandas, NumPy, TensorFlow, PyTorch, Scikit-learn

โšก Systems Programming

  • Languages: C, C++, Rust, Go, Zig, Assembly, Fortran
  • Areas: Embedded systems, Kernel development, Performance optimization

๐Ÿš€ DevOps & Infrastructure

  • Languages: Bash, PowerShell, YAML, Terraform, Ansible
  • Platforms: Docker, Kubernetes, AWS, GCP, Azure, Jenkins

๐Ÿงฎ Functional Programming

  • Languages: Haskell, OCaml, F#, Elm, Clojure, Erlang, Elixir
  • Paradigms: Pure functions, Immutability, Type systems

๐ŸŽฎ Game Development

  • Languages: C++, C#, Lua, GDScript, HLSL, GLSL
  • Engines: Unity, Unreal Engine, Godot, Custom engines

โ›“๏ธ Blockchain & Web3

  • Languages: Solidity, Vyper, Rust, Go, JavaScript
  • Platforms: Ethereum, Polygon, Solana, Smart contracts

๐ŸŽฏ Usage Examples

Automatic Detection

/mario-code "create a REST API with authentication"
# โ†’ Auto-detects backend context โ†’ Routes to appropriate specialist

/luigi-debug "fix memory leaks in React application"
# โ†’ Detects React โ†’ Routes to Luigi React Debug Specialist

/peach-architect "design microservices with event sourcing"
# โ†’ Detects architecture patterns โ†’ Routes to backend architecture specialist

Explicit Language Specification

/mario-code:python "implement user authentication with JWT"
# โ†’ Explicit Python โ†’ Routes to Mario Python Specialist

/bowser-optimize:rust "optimize sorting algorithm for performance"
# โ†’ Explicit Rust โ†’ Routes to Bowser Rust Performance Specialist

/luigi-test:javascript "add unit tests for authentication module"
# โ†’ Explicit JavaScript โ†’ Routes to Luigi JavaScript Test Specialist

File-Based Detection

/mario-code --file="src/components/Dashboard.tsx" "add real-time updates"
# โ†’ Detects .tsx โ†’ TypeScript React โ†’ Routes to React specialist

/peach-refactor --file="api/server.go" "improve error handling"
# โ†’ Detects .go โ†’ Go โ†’ Routes to Go backend specialist

/dr-mario-checkup --file="ml/model.py" "diagnose training performance"
# โ†’ Detects .py + ML context โ†’ Routes to Python data science specialist

๐Ÿค– Subagent System

Mario PowerUps includes 6 specialized Claude Code subagents with advanced reasoning capabilities:

Usage Pattern

# In compatible AI environments, access subagents with specialized tools

Available Subagents

| Subagent | Description | Best For | |----------|-------------|----------| | mario-hero | ๐Ÿ„ Complete full-stack powerhouse | Frontend, backend, mobile, DevOps, testing, deployment | | luigi-debugger | ๐Ÿ‘ป Debugging and quality assurance specialist | Error analysis, test strategies, performance debugging | | peach-architect | ๐Ÿ‘ธ Divine system architect with mathematical elegance | System design, architecture decisions, elegant solutions | | bowser-optimizer | ๐Ÿข Raw performance optimization beast | Performance bottlenecks, scaling challenges, aggressive optimization | | rosalina-systems-analysis | ๐ŸŒŸ Cosmic systems thinking oracle | Complex system design, trade-off analysis, strategic decisions | | toadette-i18n | ๐ŸŒ Global internationalization specialist | i18n analysis, implementation, multi-language support |

๐Ÿง  Thinking Modifiers System

All subagents support 30+ advanced reasoning strategies through modifier syntax:

# Automatic subagent selection with modifiers
"Use mario-hero:cot to build authentication system"           # Chain of Thought
"Ask luigi-debugger:hypothesis+verify to analyze this bug"   # Combined strategies
"Have peach-architect:mind-map+got design the architecture"  # Multiple modifiers

Available Modifiers

  • Sequential: :cot (Chain of Thought), :iterative-cot, :rot
  • Tree: :tot (Tree of Thought), :monte-carlo, :bfs, :dfs
  • Network: :got (Graph of Thought), :mind-map
  • Collaborative: :multi-agent, :socratic, :debate
  • Action: :react, :pal, :plan-solve, :self-consistency
  • Verification: :reflection, :verify, :scratch
  • Exploratory: :what-if, :counterfactual, :hypothesis

Subagent Usage Examples

# Direct subagent invocation
"Use the mario-hero subagent to implement user authentication"

# With thinking modifiers
"Use mario-hero:cot+reflection subagent to refactor this legacy code"
"Ask luigi-debugger:hypothesis+verify subagent to debug the memory leak"

๐Ÿช Interactive Development Hooks

Mario PowerUps includes a comprehensive hook system that integrates with modern AI development environments.

Hook System Overview

The hook system uses standard JSON stdin format with intelligent exit code handling:

  • Exit Code 0: Success - output shown in transcript mode (Ctrl-R)
  • Exit Code 1: Non-blocking warning - shown to user
  • Exit Code 2: Blocking error - prevents tool execution, shown to AI system

Active Hooks

๐Ÿช™ Coin Collection System (PostToolUse)

File: ~/.claude/hooks/coin-collector.sh
Triggers: After every successful tool use
Features:

  • Persistent coin tracking across sessions
  • Success streak detection with Star Power mode
  • World progression through 8 coding worlds (1-1 to 8-1)
  • Milestone celebrations at 10, 50, 100+ achievements

JSON Input Format:

{
  "tool_name": "Write",
  "tool_response": {"success": true},
  "session_id": "abc123",
  "cwd": "/current/working/directory"
}

Example Output:

๐Ÿช™ *ding* Coin collected! (47 total) Great Write usage!
โญ STAR POWER ACTIVATED! 10 consecutive successes!
๐Ÿฐ Bowser's Castle! You've reached the final challenge!

๐Ÿ›ก๏ธ Mario Safety Guardian (PreToolUse)

File: ~/.claude/hooks/mario-safety-guardian.sh
Triggers: Before bash command execution
Features:

  • Dangerous command detection and blocking
  • Character-based warnings with Mario personality
  • Best practice encouragement for file operations

JSON Input Format:

{
  "tool_name": "Bash",
  "tool_input": {"command": "rm -rf /"},
  "session_id": "abc123"
}

Example Outputs:

# Dangerous command detected (Exit Code 2 - Blocks execution)
โš ๏ธ  ๐Ÿ„ MARIO SAYS: 'Mamma mia! That looks VERY dangerous!'
๐ŸŽฎ Remember: With great power comes great responsibility!
๐Ÿ›ก๏ธ  Double-check your command before proceeding, hero!

# Encouraging message (Exit Code 0 - Proceeds normally)
โœจ Princess Peach suggests: 'Remember to test your elegant changes!'

Hook Configuration

Hooks are configured in ~/.claude/settings.json:

{
  "hooks": {
    "PostToolUse": [
      {
        "matcher": ".*",
        "hooks": [
          {
            "type": "command",
            "command": "$HOME/.claude/hooks/coin-collector.sh"
          }
        ]
      }
    ],
    "PreToolUse": [
      {
        "matcher": "Bash",
        "hooks": [
          {
            "type": "command", 
            "command": "$HOME/.claude/hooks/mario-safety-guardian.sh"
          }
        ]
      }
    ]
  }
}

Achievement System

The hook system includes a comprehensive achievement tracking system:

World Progression

  • World 1-1 (0-99 coins): Grassland - Basic development
  • World 2-1 (100-199 coins): Desert Land - Debugging mastery
  • World 3-1 (200-399 coins): Water World - Algorithm deep dives
  • World 4-1 (400-799 coins): Ghost House - Legacy code refactoring
  • World 8-1 (800+ coins): Bowser's Castle - Enterprise architecture

Streak System

  • 5+ consecutive successes: Fire Flower Power mode
  • 10+ consecutive successes: Star Power Invincibility mode
  • Failure: Encouraging Mario-style recovery messages

Milestone Celebrations

  • Every 10 coins: Encouraging progress messages
  • Every 50 coins: Super Mario power-up celebration
  • Every 100 coins: 1-UP life bonus with victory fanfare
  • Special achievements: Legendary Developer status unlocks

๐ŸŽผ Multi-Character Collaboration

Mario PowerUps features advanced multi-character collaboration through fusion teams that combine different character strengths for complex tasks.

Fusion Team Architecture

๐Ÿ”ฅ Fire Trio: Mario + Luigi + Wario
๐Ÿ—๏ธ Smart Builder: Princess Peach + Yoshi + Donkey Kong
๐Ÿฐ Fortress: Mario + Princess Peach + Bowser  
๐ŸŒช๏ธ Chaos Engine: Luigi + Wario + Bowser

Collaboration Usage

Multi-Character Commands

/mario-orchestra "Design event-driven microservices for financial trading platform"

Specialized Fusion Teams

# Ultimate security review
/fortress "complete security audit for healthcare data platform"

# End-to-end feature development  
/smart-builder "create real-time collaborative dashboard with analytics"

# Maximum stress testing
/chaos-engine "stress test social media platform for 10M concurrent users"

Collaboration Features

๐ŸŽฏ Character Specialization

Each character brings unique strengths:

  • Mario: Enthusiastic implementation and strategic thinking
  • Luigi: Careful debugging and thorough testing
  • Princess Peach: Elegant architecture and user experience
  • Bowser: Raw performance optimization and scaling

๐Ÿ”ฅ Team Synergy

Fusion teams create powerful combinations:

  • Fire Trio: Comprehensive code review with multiple perspectives
  • Smart Builder: End-to-end feature development with elegant design
  • Fortress: Security-first architecture with adversarial testing
  • Chaos Engine: Extreme stress testing with paranoid edge cases

๐Ÿ—๏ธ Project Structure

mario-powerups/
โ”œโ”€โ”€ package.json                 # npm package configuration
โ”œโ”€โ”€ cli.js                       # CLI interface
โ”œโ”€โ”€ uninstall.sh                # Cleanup script
โ”œโ”€โ”€ README.md                   # This comprehensive guide
โ”œโ”€โ”€ CLAUDE.md                   # Project-specific Claude Code instructions
โ”œโ”€โ”€ LICENSE                     # MIT license
โ”œโ”€โ”€ claude-config/              # Complete Claude Code integration
โ”‚   โ”œโ”€โ”€ agents/                 # 6 Claude Code subagents
โ”‚   โ”‚   โ”œโ”€โ”€ mario-hero.md
โ”‚   โ”‚   โ”œโ”€โ”€ luigi-debugger.md
โ”‚   โ”‚   โ”œโ”€โ”€ peach-architect.md
โ”‚   โ”‚   โ”œโ”€โ”€ bowser-optimizer.md
โ”‚   โ”‚   โ”œโ”€โ”€ rosalina-systems-analysis.md
โ”‚   โ”‚   โ””โ”€โ”€ toadette-i18n.md
โ”‚   โ”œโ”€โ”€ commands/               # 12 slash commands
โ”‚   โ”‚   โ”œโ”€โ”€ mario.md
โ”‚   โ”‚   โ”œโ”€โ”€ luigi.md
โ”‚   โ”‚   โ”œโ”€โ”€ peach.md
โ”‚   โ”‚   โ”œโ”€โ”€ bowser.md
โ”‚   โ”‚   โ”œโ”€โ”€ dr-mario.md
โ”‚   โ”‚   โ”œโ”€โ”€ fire-trio.md
โ”‚   โ”‚   โ”œโ”€โ”€ mario-orchestra.md
โ”‚   โ”‚   โ””โ”€โ”€ ...
โ”‚   โ””โ”€โ”€ hooks/                  # 6 interactive development hooks
โ”‚       โ”œโ”€โ”€ coin-collector.sh
โ”‚       โ”œโ”€โ”€ mario-safety-guardian.sh
โ”‚       โ”œโ”€โ”€ mario-token-counter.sh
โ”‚       โ”œโ”€โ”€ session-welcome.sh
โ”‚       โ””โ”€โ”€ ...
โ”œโ”€โ”€ docs/                       # Technical documentation
โ”œโ”€โ”€ assets/                     # Images and visual assets
โ””โ”€โ”€ lib/                        # Installation utilities
    โ””โ”€โ”€ installer.js

๐Ÿ”ง Configuration

Environment Variables

# Optional: Customize installation directory
MARIO_POWERUPS_DIR="$HOME/.claude"

# Optional: Enable debug mode for hooks
MARIO_DEBUG=true

# Optional: Customize coin milestone thresholds
MARIO_COIN_MILESTONES="10,25,50,100,250,500,1000"

Custom Hook Development

Create your own Mario-themed hooks:

#!/bin/bash
# ~/.claude/hooks/custom-mario-hook.sh

# Read JSON input from stdin
INPUT=$(cat)

# Parse with Python for reliability
TOOL_NAME=$(echo "$INPUT" | python3 -c "
import sys, json
try:
    data = json.load(sys.stdin)
    print(data.get('tool_name', ''))
except:
    print('')
" 2>/dev/null)

# Your custom Mario logic here
if [ "$TOOL_NAME" = "YourTargetTool" ]; then
    echo "๐Ÿ„ Your custom Mario message!"
fi

exit 0

Add to ~/.claude/settings.json:

{
  "hooks": {
    "PostToolUse": [
      {
        "matcher": "YourTargetTool",
        "hooks": [
          {
            "type": "command",
            "command": "$HOME/.claude/hooks/custom-mario-hook.sh"
          }
        ]
      }
    ]
  }
}

๐ŸŽฏ Use Cases

Enterprise Development

# Architecture review for microservices
/fortress "security audit for payment processing microservices"

# Technical leadership guidance  
/king-k-rool-leadership-development "leading 50-person engineering team transition to cloud-native"

# System health monitoring
/dr-mario-checkup "production Kubernetes cluster showing performance degradation"

Startup Development

# Rapid prototyping
/smart-builder "MVP social media app with real-time messaging and photo sharing"

# Full-stack development
/mario-code "complete authentication system with JWT tokens and password reset"

# Performance optimization on budget
/bowser-optimize "reduce server costs while maintaining performance for 100K users"

Learning & Education

# Algorithm learning
/professor-algorithm-analysis "explain and implement quicksort with time complexity analysis"

# Best practices
/peach-architect "demonstrate clean architecture principles in a REST API"

# Debugging skills
/luigi-debug "step-by-step debugging approach for race conditions in concurrent code"

Open Source Contribution

# Code review assistance
/fire-trio "review this pull request for security, performance, and maintainability"

# Documentation improvement
/peach-design "create comprehensive API documentation with interactive examples"

# Testing strategies
/luigi-test "comprehensive testing strategy for this React component library"

๐Ÿšจ Troubleshooting

Common Issues

Hooks Not Working

# Check hook registration
/hooks

# Verify file permissions
chmod +x ~/.claude/hooks/*.sh

# Test hook manually
echo '{"tool_name":"Test","tool_response":{"success":true}}' | ~/.claude/hooks/coin-collector.sh

Slash Commands Not Found

# Verify installation
ls -la ~/.claude/commands/

# Check Claude Code settings
cat ~/.claude/settings.json

# Reinstall if necessary
powerup install

Subagents Not Available

# Check subagent files
ls -la ~/.claude/agents/

# Verify YAML frontmatter format
head -10 ~/.claude/agents/mario-hero.md

Debug Mode

Enable debug mode for detailed logging:

export MARIO_DEBUG=true
claude --debug

Log Files

Check these locations for troubleshooting:

  • ~/.claude/mario-coins.txt - Coin collection data
  • ~/.claude/mario-streak.txt - Success streak data
  • ~/.claude/mario-world-progress.txt - World progression
  • ~/.claude/settings.json.mario-backup - Settings backup

๐Ÿ”„ Version History

  • v2.0.0 - Complete NPM package with subagents, hooks, and AI Orchestra system
  • v1.5.0 - Fusion teams, advanced characters (Rosalina, Professor E. Gadd)
  • v1.0.0 - Core character system, basic hooks, achievement tracking

๐Ÿค Contributing

We welcome contributions to the Mario PowerUps project!

Development Setup

git clone https://github.com/zubenelakrab/PowerUP.git
cd PowerUP
npm install
npm link

Contribution Guidelines

  1. Character Development: Follow the established character personality patterns
  2. Hook Standards: Use proper Claude Code JSON stdin format
  3. Testing: Test all new features with Claude Code integration
  4. Documentation: Update README.md for new features
  5. Code Style: Follow existing bash and markdown conventions

New Character Creation

---
name: new-character-name
description: Character's role and specialty
tools: Read, Write, Edit, Bash, Grep, Glob
---

# ๐ŸŽญ Character Name - The Specialty Description

**Character Profile:**
- Identity: Brief character description
- Personality: Key personality traits  
- Expertise: Technical specializations
- Catchphrases: Famous sayings

**Character Context:**
You are [Character Name], the [role] of the Mushroom Kingdom!

**Core Traits:**
- Trait 1: Description and behavior
- Trait 2: Description and behavior

[Detailed character prompt and instructions...]

Bug Reports

Use GitHub Issues with this template:

**Bug Description**
Clear description of the issue

**Steps to Reproduce**
1. Run command X
2. Expected Y, got Z

**Environment**  
- Claude Code version:
- Mario PowerUps version:
- OS:

**Hook Output** (if applicable)

๐Ÿ“„ License

MIT License - see LICENSE file for details.

Copyright (c) 2024 Mario Bros Engineering Team

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.


๐Ÿ™ Acknowledgments

  • Nintendo - For creating the legendary Mario Bros universe that inspires this project
  • Anthropic - For Claude Code and the amazing AI collaboration platform
  • Claude Code Community - For feedback, testing, and contributions
  • Mario Bros Engineering Team - For tireless development and PowerUp innovation

Made with โค๏ธ by the Mario Bros Engineering Team
"Thank you for playing! The adventure never ends!" ๐ŸŽฎ


๐Ÿ“ž Support & Community


๐Ÿ„โญ Transform every line of code into a legendary achievement! โญ๐Ÿ„