Maggy

From alinaqi/maggy · View interactive version

Maggy is an AI agent skill from the GitHub repository alinaqi/maggy. Maggy is a local AI engineering command center. AI-prioritized inbox across issue trackers (GitHub Issues/Asana), one-click TDD execute with iCPG context enrichment, daily competitor intelligence briefing.

How to use this skill

Skill file

Maggy Skill

Maggy is a generic, local AI engineering command center. Install once, point it at your team's issue tracker and codebases, and get:

⚠️ Execute permission model (important)

Execute currently runs claude -p --dangerously-skip-permissions so the TDD

pipeline isn't blocked waiting on approval prompts (subprocess has no terminal).

That flag **grants Claude full permission to write/edit files and run shell

commands** inside the target codebase, and the prompt it receives includes

content from the issue tracker (which any team member can author).

Hardening already in place:

~/.maggy/config.yaml — Claude can't be pointed at arbitrary filesystem paths.

input flows into the prompt.

Roadmap: move the unconditional flag behind per-codebase config

(auto_approve: true|false) so privileged execution becomes opt-in.

Until then, treat Execute like git pull && make on any ticket you push

the button for — only run it on repos you own, against tickets from

authors you trust.

┌──────────────────────────────────────────────────────────────┐
│  maggy               ──────────────┐                          │
│  ├── skills/         ← installed globally → ~/.claude/       │
│  ├── commands/       ← installed globally → ~/.claude/       │
│  ├── scripts/icpg/   ← used by Maggy for context enrichment  │
│  └── maggy/          ← dashboard: run `./install.sh` to use  │
│      ├── src/                                                │
│      │   ├── providers/   ← GitHub / Asana / Linear          │
│      │   ├── services/    ← inbox, competitor, executor      │
│      │   └── api/         ← FastAPI routes                   │
│      └── install.sh                                          │
└──────────────────────────────────────────────────────────────┘

When Maggy Helps

| Scenario | How Maggy helps |

|------------------------------------------|-----------------------------------------------|

| Morning triage of 50 open issues | AI ranks them; top items stay top |

| Implementing a ticket | Execute → iCPG-enriched TDD pipeline |

| "What are competitors shipping?" | Daily briefing + filterable news feed |

| Multiple repos per team | Auto-picks right repo based on ticket content |

| New team onboarding | Configure via /maggy-init, no code writing |


Install and Configure

# One-time install
cd $(cat ~/.claude/.bootstrap-dir)/maggy
./install.sh

# Configure
# Edit ~/.maggy/config.yaml — see maggy/config.example.yaml for the schema

# Credentials
export GITHUB_TOKEN=ghp_...
export ANTHROPIC_API_KEY=sk-ant-...

# Run
python3 -m src.main

# Or from Claude Code:
#   /maggy-init    # interactive wizard
#   /maggy         # launch dashboard

Provider Abstraction

Maggy services never see GitHub/Asana directly — they talk to an IssueTrackerProvider Protocol. Drop-in swap between:

The same inbox, Execute pipeline, and Competitor features work with any provider.


Execute Pipeline

When you click Execute on a ticket:

  1. Maggy queries the configured iCPG for relevant symbols, blast radius, and prior intents
  2. Picks the right working directory based on ticket keywords + configured codebases
  3. Spawns claude -p --dangerously-skip-permissions in that directory
  4. Runs analyze → write failing tests → implement
  5. Captures output in a session you can follow in the Sessions tab

Because the spawned Claude Code runs in the target repo, it picks up:

So Execute gets the full bootstrap experience — not a stripped-down version.


Competitor Intelligence

Generic — works for any domain:

  1. Configure competitors.categories: ["fintech", "embedded-finance"] in ~/.maggy/config.yaml
  2. Click Discover — Claude identifies 12-18 competitors (market leaders, AI-first challengers, vertical specialists)
  3. Maggy monitors their RSS blogs + Google News daily
  4. Daily briefing is generated once per day (cached), regeneratable on demand

Not Included

Maggy MVP is focused. Not shipped:

These are v2 work.


Files

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.