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

mirror-magi-meta-agent

v2.1.0

Published

AI-powered development planning and execution system with Supabase integration

Downloads

13

Readme

🎯 Mirror Magi Meta-Agent

AI-powered development planning and execution system for Claude Code Max


🚀 The Magic Workflow

  🤖 AI ASSISTANT          📝 YOU              ✅ VALIDATOR         🎯 CLAUDE CODE MAX
       │                     │                      │                      │
   ┌─────────┐           ┌─────────┐            ┌─────────┐            ┌─────────┐
   │ Generate│           │Structure│            │Validate │            │ Execute │
   │  Plan   │    ➜      │as JSON  │     ➜      │Structure│     ➜      │Step-by- │
   │         │           │         │            │         │            │  Step   │
   └─────────┘           └─────────┘            └─────────┘            └─────────┘
       │                     │                      │                      │
   "Create a             {                      ✅ PLAN IS            💻 Implementation
   dashboard with         "id": "plan_123",       VALID!               Commands
   charts using           "goal": "dashboard",     │                    │
   React & TS"            "phases": [...]          📁 Saved!            🔄 Progress
       │                  }                       │                    │
       │                     │                      │                      │
       └─────────────────────┼──────────────────────┼──────────────────────┘
                             │                      │                      
                         🎨 CREATIVE              🔧 PRECISE            
                         Human Control            AI Execution          

The workflow is simple:

  1. 🤖 Generate - Use any AI (ChatGPT, Claude, etc.) to create comprehensive plans
  2. 📝 Structure - Format as JSON with exact file paths and details
  3. Validate - Ensure perfect structure before execution
  4. 🎯 Execute - Get specific Claude Code Max commands with no placeholders

🗄️ NEW: Supabase Integration

Mirror Magi now includes intelligent Supabase support with:

Pre-flight Checks

  • ✅ Automatic Supabase CLI detection
  • ✅ Project connection validation
  • ✅ Environment variable checking
  • ✅ Migration safety verification

Supabase Task Types

  • supabase_migration - Database schema changes
  • supabase_function - Edge Functions
  • supabase_rls - Row Level Security policies

Safety Features

  • 🛡️ Local vs remote database detection
  • 🔄 Automatic rollback SQL generation
  • ⚠️ Uncommitted migration warnings
  • 📋 Step-by-step validation

Learn more about Supabase integration →


🔄 NEW: Git Integration with Claude Summaries

Mirror Magi now features intelligent Git commit automation that uses Claude's implementation summaries:

Smart Commit Messages

  • 🤖 Uses Claude's "I've successfully..." summaries
  • 📝 Conventional commit format (feat, fix, chore, etc.)
  • 🏷️ Automatic task ID tracking
  • 📄 Detailed commit bodies with file changes

Key Features

# Save Claude's response for better commits
npm run plan:save-response task_001 "Claude's implementation summary..."

# Complete task with auto-commit
npm run plan:complete task_001 --commit

# Configure preferences
npm run plan:config autoCommit true

Workflow Benefits

  • Meaningful Commits - Claude's summaries are descriptive
  • ⏱️ Time Saving - No manual commit messages
  • 🔍 Traceability - Task IDs link commits to plan
  • 🎯 Consistency - All commits follow same format

Learn more about Git integration →


⚡ Quick Start (5 minutes)

1. Install & Setup

npm install -g mirror-magi
cd your-project
npm run setup

2. Generate Plan with AI 🤖

Use this prompt with any AI assistant:

I need a comprehensive development plan for: [YOUR PROJECT]

Include:
- Clear phases and tasks
- Exact file names and paths  
- Component details and dependencies
- Validation criteria

Tech stack: [React, TypeScript, etc.]

3. Structure & Validate 📝✅

{
  "id": "plan_123",
  "goal": "Your project goal", 
  "phases": [{
    "id": "phase_1",
    "name": "Setup",
    "description": "Initial setup",
    "tasks": [{
      "id": "task_1", 
      "description": "Create component",
      "type": "component_creation",
      "dependencies": [],
      "specifics": {
        "componentName": "MyComponent",
        "filePath": "src/components/MyComponent.tsx"
      }
    }]
  }]
}
npm run plan:validate  # Paste JSON, type END

4. Execute Step-by-Step 🎯

npm run plan:continue          # Get Claude Code Max command
# → Implement with Claude
npm run plan:save-response task_1 "Claude's response"  # Save for commits
npm run plan:complete task_1 --commit  # Complete & commit
npm run plan:progress          # Check progress

🛠️ Core Commands

| Command | What It Does | When To Use | |---------|-------------|-------------| | npm run plan:validate | 📋 Validate plan structure | After creating JSON plan | | npm run plan:view | 👁️ View complete plan | Check plan details | | npm run plan:continue | ▶️ Get next command | Ready to implement | | npm run plan:complete [id] | ✅ Mark task complete | After implementing | | npm run plan:complete [id] --commit | ✅ Complete & commit | With git integration | | npm run plan:save-response [id] "..." | 💾 Save Claude's response | For better commits | | npm run plan:config [setting] [value] | ⚙️ Configure preferences | Customize workflow | | npm run plan:progress | 📊 Check progress | Track completion |


🎯 Live Example

AI Input 🤖

"Create a todo list app with add/delete functionality using React and TypeScript"

Structured Plan 📝

{
  "id": "plan_todo_app", 
  "goal": "Create todo list app with add/delete functionality",
  "phases": [{
    "id": "phase_1",
    "name": "Todo Component Setup",
    "tasks": [{
      "id": "task_1",
      "description": "Create TodoList component with add/delete functionality", 
      "type": "component_creation",
      "dependencies": [],
      "specifics": {
        "componentName": "TodoList",
        "filePath": "src/components/TodoList.tsx",
        "features": ["add items", "delete items", "mark complete"]
      }
    }]
  }]
}

Execute 🎯

npm run plan:validate     # ✅ PLAN IS VALID
npm run plan:continue     # Get: "Create TodoList component at src/components/TodoList.tsx with..."
# → Paste into Claude Code Max
# Claude responds: "I've successfully created the TodoList component..."
npm run plan:save-response task_1 "I've successfully created the TodoList component with add, delete, and mark complete functionality"
npm run plan:complete task_1 --commit
# ✅ Committed: "feat(ui): Created the TodoList component with add, delete, and mark complete functionality (task_1)"

🌟 Why Mirror Magi?

| Feature | Benefit | |---------|---------| | 🤖 AI Integration | Works with any AI assistant | | 📝 No Placeholders | Specific file names & paths | | ✅ Structure Validation | Catches errors before execution | | 🎯 Precise Commands | Exact Claude Code Max instructions | | 📊 Progress Tracking | Always know where you are | | 🗄️ Supabase Ready | Intelligent database operations | | 🔄 Git Automation | Claude's summaries become commits | | 🚀 4-Step Workflow | Simple yet powerful |


📚 Documentation


🎨 The Perfect Balance

   🎨 HUMAN CREATIVITY        🤖 AI PRECISION
        │                          │
    ┌─────────┐                ┌─────────┐
    │ Strategic│                │Execution│
    │Planning │       +        │Details  │
    │ Vision  │                │& Speed  │  
    └─────────┘                └─────────┘
        │                          │
        └──────────┬─────────────────┘
                   │
            ✨ MIRROR MAGI ✨
              Best of Both!

🤝 Contributing

Love the project? Contributions welcome!


📄 License

MIT License - Transform your AI plans into working code!


Where AI creativity meets structured execution