Aeo Optimization
AI Engine Optimization - semantic triples, page templates, content clusters for AI citations
- Type
- Skill
- Repository
- alinaqi/maggy
- GitHub stars
- 707
- License
- MIT
- Repo last updated
- Sep 24, 2026
- Source file
- README.md
What Aeo Optimization is
Aeo Optimization is a skill published in the alinaqi/maggy repository on GitHub, which has about 707 stars. The repository describes itself as: “What started as an opinionated Claude Code setup kit is now an autonomous AI engineering command center”
A skill is a folder with a SKILL.md file: frontmatter with a name and a description, followed by instructions Claude follows. Claude loads a skill automatically when a task matches its description, and you can also run it directly with a slash and its name.
Skills work in Claude Code and in Claude Cowork, which makes Aeo Optimization a portable way to give Claude the same method everywhere.
How to install Aeo Optimization
Claude Code
- Download the aeo-optimization folder from the repository.
- Save it as ~/.claude/skills/<skill-name>/SKILL.md for all projects, or .claude/skills/<skill-name>/SKILL.md for one project.
- Claude loads it automatically when a task matches; you can also run it with / and its name.
Claude Cowork
- Zip the skill folder so SKILL.md sits at the top level of the folder.
- Open Customize → Skills, click +, then upload the ZIP.
- Start a task that matches the description, or call it by name with /.
New to extending Cowork? Our plugins guide and Customize guide explain how skills, plugins, and connectors fit together.
Inside the source file
An excerpt from README.md, shared under the repository's MIT license. Read the full file on GitHub.
> Turn Claude Code into a self-reviewing, test-enforced engineering system that remembers context across sessions — then route work across 13 models from a single dashboard.
Claude Bootstrap is an installable config pack (skills, hooks, rules, templates) for Claude Code. Maggy is the optional local server that adds multi-model routing, a web dashboard, intent-driven protocols, and plugin orchestration. Both live in this repo. Start with Bootstrap; add Maggy when you need the harness.
1100+ tests. 73 skills. 15 MCP tools. Used daily across production codebases.
Who This Is For
- Solo engineers using Claude Code who want TDD enforcement, quality gates, and memory that survives context compaction — without changing their workflow
- Teams routing work across Claude, DeepSeek, Kimi, Gemini, and Codex from a single dashboard with cost-aware model selection
- Platform engineers building AI-assisted developer tooling who need a reference implementation with intent tracking, protocol execution, and plugin architecture
Choose Your Path
Bootstrap — 30-second install
git clone https://github.com/alinaqi/maggy.git
cd maggy && ./install.shYour next Claude Code session picks it up automatically.
Full Harness — zero-config
pipx install maggy-harness # or: pip install maggy-harness
maggy bootstrap # installs skills, hooks, ~/bin model wrappers, plugins
maggy serve # auto-configures from your local repos,
# then opens the dashboard at localhost:8080(or from source: cd maggy && ./install.sh && maggy serve)
No API keys required to start — Maggy runs in local mode and, on first launch, discovers your local git repos and opens the dashboard pointed at them. Add GITHUB_TOKEN / ANTHROPIC_API_KEY later only if you want GitHub sync or API-model features. See GETTING_STARTED.md for details.
What It Looks Like in Practice
Routing a task:
You: "review the auth middleware for timing attacks"
→ Blast score: 8/10 (security + architecture)
→ Routed to: Claude (Tier 11)
→ ADR gate: found docs/adr/0003-jwt-strategy.md → injected as context
→ Review runs with full architectural contextSkill Protocol execution:
You: "push to git"
→ Intent matched: git-push protocol
→ ✅ lint (2.1s)
→ ✅ typecheck (4.3s)
→ ✅ tests (11.2s)
→ ✅ stage
→ ✅ commit [AI-generated: "fix: resolve token refresh race condition"]
→ ✅ pushFatigue-aware memory:
Session fatigue: 0.61 (PRE-SLEEP)
→ Mnemos: auto-checkpoint written
→ Micro-consolidation: 3 ResultNodes compressed
→ iCPG context injected: 2 ReasonNodes, 1 constraint
→ Context freed: ~18k tokensThe Problem This Solves
You're using Claude Code. It's impressive — but:
- It picks the most expensive model for everything, including trivial tasks
- Context fills up, state is lost, you re-explain yourself every session
- There's no enforcement: code quality, test coverage, and ADR compliance only happen if you remember to ask
- Running multiple agents on the same repo causes file conflicts
- You have no visibility into what Claude is actually doing inside your codebase
What Bootstrap Gives You
What Maggy Adds
Model Routing
Every message is scored 1–10 for complexity and classified by task type. The cheapest capable model wins.
Routing is semantic (Qwen3 as local classifier), fatigue-aware, budget-capped, and cascading.
Gateway routing with srooter — www.srooter.ai
We've added first-class support for srooter, an Anthropic/OpenAI-compatible LLM gateway that routes your requests across models (Claude, MiniMax, DeepSeek, Kimi, Gemini, Grok, local Qwen) transparently — intent-based routing, budget caps, fallbacks, and a usage dashboard, without changing your tools.
Before you install
- Read the whole file first. Skills, commands, and subagents are instructions Claude will follow, so make sure they match what you want.
- Check which tools, scripts, or MCP servers it uses. Local servers and scripts run with your permissions.
- Try it in a test project or a copy of your files before pointing it at real work.
- Pin the version you tested, and review changes before updating.
- Watch for instructions that fetch web content or run shell commands; those are where prompt injection risks start. See our prompt injection guide.
FAQ
What is Aeo Optimization?
Aeo Optimization is a skill for Claude Code and Claude Cowork from the alinaqi/maggy repository on GitHub. AI Engine Optimization - semantic triples, page templates, content clusters for AI citations
How do I install Aeo Optimization in Claude Code?
Download the aeo-optimization folder from the repository. Save it as ~/.claude/skills/<skill-name>/SKILL.md for all projects, or .claude/skills/<skill-name>/SKILL.md for one project. Claude loads it automatically when a task matches; you can also run it with / and its name.
Can I use Aeo Optimization in Claude Cowork?
Zip the skill folder so SKILL.md sits at the top level of the folder. Open Customize → Skills, click +, then upload the ZIP. Start a task that matches the description, or call it by name with /.
Is Aeo Optimization safe to install?
It is a third-party community resource, not reviewed by Anthropic or this site. Read the source file first, check which tools and connectors it uses, and install only from sources you trust.
Similar resources
- Explore Enhanced codebase explorer that uses iCPG and code property graphs for discovery. Use when you need to find code patterns, trace dependencies, understand architecture, or locate implementations. Subagent · alinaqi/maggy
- Architecture Diagram Creator Creates comprehensive HTML architecture diagrams with SVG visualizations showing business context, data flows, processing pipelines, and… Skill · mhattingpete/claude-skills-marketplace
- Adding Dbt Unit Test Creates unit test YAML definitions that mock upstream model inputs and validate expected outputs. Use when adding unit tests for a dbt… Skill · dbt-labs/dbt-agent-skills
- Agent Research Aggregator Pre-pipeline aggregator that scans AI agent cache directories (.claude, .cursor, .antigravity, .openclaw) or any user-specified directory for experimentation logs, extracts insights and numeric results, and formats them as PaperOrchestra-ready inputs (idea.md + experimental_log.md). TRIGGER when the user says "aggregate my agent logs for paper writing", "extract experiments from my coding agent… Skill · Ar9av/PaperOrchestra
- Agent Md Advisor AGENTS.md / CLAUDE.md 最佳实践顾问。用于用户询问 agents markdown、AGENTS.md、CLAUDE.md、Claude Code memory、AI coding agent… Skill · chujianyun/skills
- Higgsfield Use this skill whenever the user asks anything about Higgsfield AI — writing or refining video/image prompts, choosing a model (Kling… Skill · OSideMedia/higgsfield-ai-prompt-skill
- Session Handoff Prompt Create a concise continuation prompt that a fresh agent session can paste in to resume a long or degraded session. Use when the user asks… Skill · dongshuyan/compass-skills
- Api Doc Generator Generate API documentation from source code, supporting REST APIs, GraphQL, and various documentation formats. Skill · JackyST0/awesome-agent-skills