Skip to main content

A powerful AI orchestrator and skill system for Antigravity, featuring 40+ specialized domain expert skills, disciplined development workflows, and RTK token optimization.

Project description

Mega-Mind Skills System

A unified superpowers + virtual company skill set for Antigravity IDE

This is a comprehensive skill-based workflow system that combines the disciplined development workflows of Superpowers with the domain expertise of Virtual Company. It provides structured, reliable behavior for AI coding assistants across the entire software development lifecycle.

Overview

Mega-Mind brings together 42 skills organized into categories:

The Mega-Mind Orchestrator (1 skill)

The master controller that routes requests and coordinates skill chains:

  • mega-mind - Primary entry point via /mega-mind command

Core Workflow Skills (13 skills)

Structured development discipline that ensures quality at every step:

  • brainstorming - Explore approaches before committing
  • writing-plans - Create detailed implementation plans
  • executing-plans - Disciplined execution with tracking
  • single-flow-task-execution - Sequential task decomposition
  • test-driven-development - Write tests first, implement second
  • systematic-debugging - Root cause analysis methodology
  • requesting-code-review - Structured review requests
  • receiving-code-review - Handle feedback systematically
  • verification-before-completion - Prove it works before done
  • finishing-a-development-branch - Clean branch management
  • using-git-worktrees - Parallel development workflows
  • using-mega-mind - Master skill routing
  • writing-skills - Create new custom skills

Domain Expert Skills (27 skills)

Specialized expertise for specific technical domains:

  • Architecture: tech-lead, frontend-architect, backend-architect, infra-architect, api-designer
  • Development: code-polisher, migration-upgrader, mobile-architect, legacy-archaeologist
  • Testing: test-genius, e2e-test-specialist, bug-hunter
  • DevOps: ci-config-helper, docker-expert, k8s-orchestrator, observability-specialist
  • Data: data-engineer, data-analyst, ml-engineer, search-vector-architect
  • Security: security-reviewer
  • Performance: performance-profiler
  • Documentation: doc-writer
  • UX: ux-designer
  • Product: product-manager, workflow-orchestrator
  • Meta: skill-generator

Token Optimization (1 skill)

Reduce LLM Token consumption:

  • RTK: rtk - CLI proxy for 60-90% token savings on common dev commands

Quick Start

1. Install the CLI

# pip
pip install mega-mind-orchestrator

# pipx (recommended โ€” isolated, globally available)
pipx install mega-mind-orchestrator

# uv
uv tool install mega-mind-orchestrator

2. Initialize skills in your project

# From your project root
cd /path/to/your/project
mega-mind init

This copies the full .agent/ directory into your project โ€” all 42 skills, workflows, and agents are ready to use.

# Overwrite an existing installation
mega-mind init --force

3. Verify the installation

bash .agent/tests/run-tests.sh

๐Ÿ“– For full installation details see USAGE.md


Using Mega-Mind

The /mega-mind Command

The /mega-mind command is your primary entry point to the skill system. It acts as an intelligent orchestrator that:

  1. Analyzes your request to understand intent
  2. Routes to the appropriate skill(s)
  3. Coordinates skill chains for complex tasks
  4. Tracks progress throughout

Available Commands

/mega-mind status             - Show current session state
/mega-mind skills             - List all available skills
/mega-mind workflows          - List available workflows
/mega-mind route <request>    - Analyze and route a request
/mega-mind execute <workflow> - Execute a named workflow
/mega-mind help               - Show help message

Direct Skill Commands

Command Skill Purpose
/brainstorm brainstorming Explore approaches before deciding
/plan writing-plans Create implementation plan
/execute executing-plans Execute plan with tracking
/debug systematic-debugging Debug systematically
/review requesting-code-review Request code review
/ship finishing-a-development-branch Deploy to production
/tdd test-driven-development Test-first development
/verify verification-before-completion Verify before marking done

Example Usage

User: /mega-mind I need to add user authentication with OAuth

๐Ÿง  Mega-Mind Orchestration
โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”

๐Ÿ“‹ Request Analyzed: New feature - User Authentication with OAuth

๐Ÿ”„ Routed to skill chain:
   1. tech-lead                        โ†’ Define architecture
   2. brainstorming                    โ†’ Explore OAuth providers
   3. api-designer                     โ†’ Design auth API
   4. writing-plans                    โ†’ Create implementation plan
   5. test-driven-development          โ†’ Write auth tests
   6. backend-architect                โ†’ Implement auth service
   7. frontend-architect               โ†’ Implement login UI
   8. security-reviewer                โ†’ Security audit
   9. verification-before-completion   โ†’ Verify

๐Ÿ“ Starting with: tech-lead

File Structure

mega-mind-skills/
โ”œโ”€โ”€ README.md                    # Main documentation (this file)
โ”œโ”€โ”€ USAGE.md                     # Installation guide
โ”œโ”€โ”€ COMPLETE_REFERENCE.md        # Detailed reference
โ”œโ”€โ”€ quick-install.sh             # Simple copy installer (legacy)
โ”‚
โ””โ”€โ”€ .agent/
    โ”œโ”€โ”€ AGENTS.md                # Master contract and rules
    โ”‚
    โ”œโ”€โ”€ skills/
    โ”‚   โ”œโ”€โ”€ mega-mind/           # ๐Ÿง  Master orchestrator
    โ”‚   โ”‚
    โ”‚   โ”œโ”€โ”€ # Core Workflow Skills
    โ”‚   โ”œโ”€โ”€ brainstorming/
    โ”‚   โ”œโ”€โ”€ writing-plans/
    โ”‚   โ”œโ”€โ”€ executing-plans/
    โ”‚   โ”œโ”€โ”€ single-flow-task-execution/
    โ”‚   โ”œโ”€โ”€ test-driven-development/
    โ”‚   โ”œโ”€โ”€ systematic-debugging/
    โ”‚   โ”œโ”€โ”€ requesting-code-review/
    โ”‚   โ”œโ”€โ”€ receiving-code-review/
    โ”‚   โ”œโ”€โ”€ verification-before-completion/
    โ”‚   โ”œโ”€โ”€ finishing-a-development-branch/
    โ”‚   โ”œโ”€โ”€ using-git-worktrees/
    โ”‚   โ”œโ”€โ”€ using-mega-mind/
    โ”‚   โ””โ”€โ”€ writing-skills/
    โ”‚
    โ”‚   โ”œโ”€โ”€ # Domain Expert Skills
    โ”‚   โ”œโ”€โ”€ tech-lead/
    โ”‚   โ”œโ”€โ”€ frontend-architect/
    โ”‚   โ”œโ”€โ”€ backend-architect/
    โ”‚   โ”œโ”€โ”€ infra-architect/
    โ”‚   โ”œโ”€โ”€ api-designer/
    โ”‚   โ”œโ”€โ”€ code-polisher/
    โ”‚   โ”œโ”€โ”€ migration-upgrader/
    โ”‚   โ”œโ”€โ”€ mobile-architect/
    โ”‚   โ”œโ”€โ”€ legacy-archaeologist/
    โ”‚   โ”œโ”€โ”€ test-genius/
    โ”‚   โ”œโ”€โ”€ e2e-test-specialist/
    โ”‚   โ”œโ”€โ”€ bug-hunter/
    โ”‚   โ”œโ”€โ”€ ci-config-helper/
    โ”‚   โ”œโ”€โ”€ docker-expert/
    โ”‚   โ”œโ”€โ”€ k8s-orchestrator/
    โ”‚   โ”œโ”€โ”€ observability-specialist/
    โ”‚   โ”œโ”€โ”€ data-engineer/
    โ”‚   โ”œโ”€โ”€ data-analyst/
    โ”‚   โ”œโ”€โ”€ ml-engineer/
    โ”‚   โ”œโ”€โ”€ search-vector-architect/
    โ”‚   โ”œโ”€โ”€ security-reviewer/
    โ”‚   โ”œโ”€โ”€ performance-profiler/
    โ”‚   โ”œโ”€โ”€ doc-writer/
    โ”‚   โ”œโ”€โ”€ ux-designer/
    โ”‚   โ”œโ”€โ”€ product-manager/
    โ”‚   โ”œโ”€โ”€ workflow-orchestrator/
    โ”‚   โ””โ”€โ”€ skill-generator/
    โ”‚
    โ”œโ”€โ”€ workflows/
    โ”‚   โ”œโ”€โ”€ brainstorm.md
    โ”‚   โ”œโ”€โ”€ execute-plan.md
    โ”‚   โ”œโ”€โ”€ write-plan.md
    โ”‚   โ”œโ”€โ”€ debug.md
    โ”‚   โ”œโ”€โ”€ review.md
    โ”‚   โ””โ”€โ”€ ship.md
    โ”‚
    โ”œโ”€โ”€ agents/
    โ”‚   โ”œโ”€โ”€ code-reviewer.md
    โ”‚   โ”œโ”€โ”€ tech-lead.md
    โ”‚   โ””โ”€โ”€ qa-engineer.md
    โ”‚
    โ””โ”€โ”€ tests/
        โ””โ”€โ”€ run-tests.sh

Skill Routing Matrix

The mega-mind orchestrator automatically routes requests to appropriate skills:

Request Type Primary Skill Secondary Skills
New feature tech-lead brainstorming, writing-plans
Bug fix systematic-debugging bug-hunter
Code quality code-polisher -
Performance performance-profiler -
Security security-reviewer -
Testing test-driven-development test-genius
Documentation doc-writer -
API design api-designer backend-architect
Frontend frontend-architect ux-designer
Backend backend-architect api-designer
DevOps infra-architect docker-expert, k8s-orchestrator
Data data-engineer data-analyst
ML/AI ml-engineer -
Mobile mobile-architect -
Legacy code legacy-archaeologist -

Workflows

Feature Development

brainstorming โ†’ writing-plans โ†’ test-driven-development โ†’
executing-plans โ†’ verification-before-completion โ†’
requesting-code-review โ†’ finishing-a-development-branch

Bug Fix

systematic-debugging โ†’ bug-hunter โ†’ test-driven-development โ†’
verification-before-completion โ†’ finishing-a-development-branch

Code Improvement

code-polisher โ†’ test-driven-development โ†’ verification-before-completion

Security Audit

security-reviewer โ†’ systematic-debugging โ†’ test-driven-development โ†’
verification-before-completion

New Project

tech-lead โ†’ brainstorming โ†’ [architects] โ†’ writing-plans โ†’
[docker-expert, k8s-orchestrator, ci-config-helper] โ†’ development chains

Key Concepts

Task Tracking

All tasks are tracked in docs/plans/task.md:

Task ID Description Status Priority Dependencies
1 Example task pending high -

Status values: pending, in_progress, completed, blocked

Verification Before Completion

Never mark a task as complete without:

  1. Running tests
  2. Running linting
  3. Building successfully
  4. Manual verification
  5. Checking for regressions

Execution Model

  1. Session loads .agent/AGENTS.md rules
  2. /mega-mind analyzes and routes requests
  3. Design work flows through brainstorming โ†’ planning โ†’ execution
  4. All work tracked in task tracker
  5. Nothing marked done without verification

RTK Token Optimization

When RTK is installed, CLI commands are automatically optimized:

Original RTK-Optimized Savings
git log rtk git log 85%
cargo test rtk cargo test 90%
npm test rtk npm test 90%
pytest rtk pytest 90%

Install RTK:

cargo install rtk
# or
curl -sSL https://github.com/rtk-ai/rtk/releases/latest/download/rtk-$(uname -s)-$(uname -m) -o /usr/local/bin/rtk
chmod +x /usr/local/bin/rtk

Installation

See USAGE.md for the full installation guide.

CLI Reference

# Install skills into current directory
mega-mind init

# Install into a specific path
mega-mind init /path/to/project

# Overwrite existing .agent directory
mega-mind init --force

# Show CLI version
mega-mind --version

Validate Installation

bash .agent/tests/run-tests.sh

Tests verify:

  • Core workflow skills existence
  • Domain expert skills existence
  • Workflows existence
  • Agent profiles existence
  • AGENTS.md validation
  • Skill frontmatter validation

Contributing

To add new skills:

  1. Create a new directory in .agent/skills/
  2. Add a SKILL.md file with proper frontmatter:
    ---
    name: skill-name
    description: What this skill does
    triggers:
      - "/trigger"
      - "keyword"
    ---
    
  3. Include instructions and examples
  4. Run tests to verify

Credits

This project combines and adapts:


License

MIT License - Free to use and modify.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mega_mind_orchestrator-0.1.1.tar.gz (182.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mega_mind_orchestrator-0.1.1-py3-none-any.whl (121.7 kB view details)

Uploaded Python 3

File details

Details for the file mega_mind_orchestrator-0.1.1.tar.gz.

File metadata

  • Download URL: mega_mind_orchestrator-0.1.1.tar.gz
  • Upload date:
  • Size: 182.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for mega_mind_orchestrator-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f7abd69f12c50d351a091d1a5aaffbee30c44a5909cc9614649a88104def3229
MD5 ed8dc94d4c26c67e11a75a2491332636
BLAKE2b-256 1932161586631b4ea9539d3c66af843a7e78bcf8668e4388cb95a8388bd54afe

See more details on using hashes here.

Provenance

The following attestation bundles were made for mega_mind_orchestrator-0.1.1.tar.gz:

Publisher: publish.yml on k1lgor/mega-mind-skills

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file mega_mind_orchestrator-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for mega_mind_orchestrator-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 741cbab7d76daa77d5da51021371ea94c2f336aa9e140db9c1a0841a99049cb2
MD5 b0dee5ef5c5b1afe7c7bdc423bd7ba8f
BLAKE2b-256 2bab457ff3cfd2e2527362207c308954e34b6d1485ad04919c4d5155f92b31d5

See more details on using hashes here.

Provenance

The following attestation bundles were made for mega_mind_orchestrator-0.1.1-py3-none-any.whl:

Publisher: publish.yml on k1lgor/mega-mind-skills

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page