Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/alinaqi/maggyWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/commands/alinaqi/maggy/maggy-init)<a href="https://agentmods.dev/commands/alinaqi/maggy/maggy-init"><img src="https://agentmods.dev/badge/commands/alinaqi/maggy/maggy-init/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/commands/alinaqi/maggy/maggy-init"><img src="https://agentmods.dev/badge/commands/alinaqi/maggy/maggy-init.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00841 |
| Opus 5 | $0.00000 | $0.00420 |
| Sonnet 5 | $0.00000 | $0.00168 |
| Haiku 4.5 | $0.00000 | $0.00084 |
Grade B, and why
maggy-init scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
BOOTSTRAP_DIR=$(cat ~/.claude/.bootstrap-dir) How it starts
The opening of the file, as written. The whole thing — 104 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/maggy-init — Set Up Maggy for This Team
Interactive wizard that configures Maggy for the user's org, issue tracker, and codebases. Writes ~/.maggy/config.yaml and ensures deps are installed.
Usage
/maggy-init — run the full setup wizard
Steps
1. Check prerequisites
- Python 3.11+ available
claudeCLI on PATH (warn but don't block)- Maggy installed (check
~/.claude/.bootstrap-dir)
2. Run installer
BOOTSTRAP_DIR=$(cat ~/.claude/.bootstrap-dir)
cd "$BOOTSTRAP_DIR/maggy"
./install.sh
This installs Python deps and copies the config template to ~/.maggy/config.yaml.
3. Interactive config wizard
Ask the user:
- Org name — human-readable name (e.g. "Acme Corp")
- Domain — primary competitive domain (e.g. "fintech", "devtools", "cx", "healthcare"). This drives competitor discovery.
- Issue tracker —
github(default) orasana. Linear is a stub. - For GitHub: org name + comma-separated repo list (
acmecorp/api, acmecorp/web) - For Asana: workspace ID + project GID for their default board
- Codebases — paths to each repo Maggy should execute in. Prompt key per path (short name like
api,web). - Competitor categories — comma-separated (can match domain; encourages 1-3 categories)
- OKRs — "skip" or "yaml" (paste OKRs inline if yaml)
4. Write config
Patch ~/.maggy/config.yaml with the user's answers using a Python helper:
import yaml
from pathlib import Path
cfg_path = Path.home() / ".maggy" / "config.yaml"
cfg = yaml.safe_load(cfg_path.read_text())
cfg["org"]["name"] = "<answer>"
cfg["org"]["domain"] = "<answer>"
cfg["issue_tracker"]["provider"] = "<answer>"
# ... set github/asana section accordingly
cfg["codebases"] = [{"path": "<path>", "key": "<key>"}, ...]
cfg["competitors"]["categories"] = ["<cat>", ...]
cfg_path.write_text(yaml.safe_dump(cfg, sort_keys=False))
5. Credentials check
Tell the user to export these in their shell and source them when starting Maggy:
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 11d ago First seen · 104 lines · 0 tokens per session scan B ebc2e03336e2
maggy-init is a command published in the GitHub repository alinaqi/maggy (706 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 841 tokens. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other commands, from other repositories
taskstoissues
A command that turns structured tasks from project design documents into ordered GitHub Issues, written in simplified Chinese.
ijfw-status
Show IJFW state -- mode, routing, memory, recent activity, codebase index, settings. Use when you want the at-a-glance banner you'd otherwise get at session start.
team
Manage your project's agent team. Usage: /team [setup|list|add|remove|swap].
report-issue
Open a atomic GitHub issue via gh. Bug report or feature request — auto-detect from user's description.
workflow
Start or resume the IJFW project workflow. Usage: /workflow [discover|plan|execute|verify|ship|status].
feature-config
Phase 0 of develop: Configuration wizard, escape hatches, preferences, continuation detection.