aegis
Core skills library for Claude Code: TDD, debugging, collaboration patterns, and proven techniques
pinned to #093041eupdated 2 weeks ago
Ask your AI client: “install plugins/aegis”.
Requires the metahub MCP server installed in your client. Set up MCP.
mh install plugins/aegismetahub onboarded this repo on the author's behalf.
If you own github.com/GanyuanRan/Aegis on GitHub, claim the listing to take over publishing. Your claim preserves the existing eval history and badges; only the curator label is replaced with verified-publisher on your next publish.
Stars
628
Last commit
2 weeks ago
Latest release
published
- #agent-skills
- #ai-agents
- #ai-coding
- #architecture-driven-development
- #awsome-coding-plugin
- #baseline-first
- #claude-code
- #codex
- #coding-agents
- #dive
- #evidence-driven
- #first-principles
- #opencode
- #software-architecture
- #superpowers
What's bundled
Items extracted from this plugin's manifest + directory tree.
Skills (22)
skills/anti-entropy-governanceUse when retiring old logic, collapsing duplicate owners, removing fallbacks, or touching schema, persistence, or source-of-truth boundaries while deciding whether to delete old paths, retain compa…skills/brainstormingUse when defining new features, product behavior, UI/component design, architecture choices, contract changes, or ambiguous medium/high-complexity work before implementation.skills/communicating-conciselyUse when the user asks for caveman mode, fewer tokens, brief responses, compressed communication, or otherwise explicitly requests a much shorter answer.skills/dispatching-parallel-agentsUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesskills/establishing-project-contextUse when entering a project for the first time, or when the user asks to establish shared language, define domain terms, or create a project glossary.skills/executing-plansUse when you have a written implementation plan to execute in a separate session with review checkpointsskills/finishing-a-development-branchUse when implementation is complete, verification has passed, and the user needs to choose merge, PR, branch cleanup, or follow-up integration handling.skills/first-principles-reviewUse when the user explicitly asks for first principles, first-principles review, Occam's razor, or when a complex decision has ambiguous goals, competing constraints, repeated fixes, fallback growt…
Commands (3)
/brainstormTell your human partner that this command is deprecated and will be removed in the next major release. They should ask you to use the "aegis brainstorming" skill instead./execute-planTell your human partner that this command is deprecated and will be removed in the next major release. They should ask you to use the "aegis executing-plans" skill instead./write-planTell your human partner that this command is deprecated and will be removed in the next major release. They should ask you to use the "aegis writing-plans" skill instead.
Hooks (1)
- hooks-cursor
Evaluation report
PassingAutomated checks the publisher passed at publish time — structure, docs, safety, and whether the artifact behaves as claimed.093041e· 2 weeks ago
Select a category above to see its individual checks.
Release history
1- releasecurrent093041epass2 weeks ago
Contents
Aegis
<strong>Aegis Method Pack</strong>
Baseline-first, evidence-driven workflow discipline for AI coding agents.
<strong>English</strong>
·
<strong>中文</strong>
·
Workflow Guide
·
工作流程说明
Why Aegis
Aegis is a Superpowers upgrade for teams using AI coding agents on real software work. It keeps the useful idea of composable skills, then adds:
- baseline-first planning before risky changes
- evidence before completion claims
- repair track plus retirement track for bugs, fallbacks, and compatibility paths
- workflow quality guardrails so simple tasks stay cheap
- portable method-pack skills across skill-aware hosts
Aegis is useful when agents otherwise start coding before the goal, owner, architecture boundary, or verification path is clear.
Quick Install
Give this prompt to your AI coding agent:
Read https://github.com/GanyuanRan/Aegis, identify my current AI coding host, and install Aegis globally using the correct host guide. Restart or reload the host if needed, then run complete-install verification from the installed Aegis method-pack root. Do not run the doctor command from the target project directory. First locate `<aegis-method-pack-root>`, then run `cd <aegis-method-pack-root> && python scripts/aegis-doctor.py --write-config --json`. Treat the install as complete only if the JSON includes `"ok": true`, `"workspaceSupport": "available"`, and `"configStatus": "configured"`; if the host uses a separate skill discovery directory, also verify it with `--discovery-root <path>`; if the host guide declares a skill directory name prefix, also pass `--discovery-name-prefix <prefix>`.
Updating Aegis
After a complete install has registered the current host, later updates can use
natural language such as update Aegis or the explicit skill request
aegis:update. The agent can route either form through the local update path:
locate the installed method-pack root, use the host-scoped registry, and call
scripts/aegis-update.py for the current host by default. Updating every
registered host requires an explicit --all request. Aegis does not run
background automatic updates by default.
Before You Use It
Aegis is currently:
Aegis Method Pack (runtime-ready)
It is not the full Aegis Platform, a daemon, a background runner, a runtime
core, an authoritative GateDecision, an authoritative PolicySnapshot, or
final completion authority. User instructions and target-project rules outrank
Aegis guidance.
For smoother host-level behavior, use:
Activation mode defaults to automatic. To switch to explicit mode, run this from the installed method-pack root:
cd <aegis-method-pack-root>
python scripts/aegis-doctor.py activation-mode explicit
Restart the host after changing activation mode. Details and host caveats live in docs/current/AEGIS_ACTIVATION_MODE.md.
TDD mode defaults to off: Aegis does not automatically require TDD, and
completion verification still applies. To enable automatic TDD routing when you
want Aegis to choose strict, light, or skipped by task risk:
cd <aegis-method-pack-root>
python scripts/aegis-doctor.py tdd-mode auto
You can also request strict TDD directly in a query with explicit markers such
as TDD Route: strict, strict TDD, test-first, or
RED / GREEN / REFACTOR.
Details live in docs/current/AEGIS_TDD_MODE.md.
Supported Hosts
Aegis keeps a multi-host, plugin-installable distribution goal.
| Host group | Current status | Start here |
|---|---|---|
Codex, OpenCode | Fresh evidence exists for the current method-pack scope | Codex, OpenCode |
Claude Code, CodeBuddy, DeepSeek-TUI, Trae, GitHub Copilot, Qoder, Kimi Code CLI, ZCode | Install guides exist; release-level fresh host smoke is still pending | Claude Code, CodeBuddy, DeepSeek-TUI, Trae, GitHub Copilot, Qoder, Kimi Code CLI, ZCode |
CC GUI (JetBrains IDEA) | Structural IDE plugin layer support for Claude Code / OpenAI-GPT provider paths; release-level fresh host smoke is still pending | CC GUI |
Antigravity CLI, Antigravity IDE, Antigravity App | Antigravity CLI is the current active closeout target; IDE/App remain structural targets and release-level fresh host smoke is still pending | Antigravity |
Pi CLI, OpenClaw, Hermes Agent | Structural Agent Skills / SKILL.md skill-host adaptations; release-level fresh host smoke is still pending | Pi CLI, OpenClaw, Hermes Agent |
Gemini CLI | Transitional compatibility surface while Antigravity support matures | Compatibility Matrix |
Read the current host verdict before making support claims:
How To Use
After installation and host restart, use normal development requests. Aegis skills should be selected when the task matches the method.
Use a portable goal frame before risky work. It frames the goal, then continues into the routed workflow by default:
Aegis goal: Fix the auth refresh bug without rewriting the auth system.
Use explicit skills when you want a specific method:
aegis:brainstormingaegis:systematic-debuggingaegis:writing-plansaegis:first-principles-reviewaegis:requesting-code-reviewaegis:verification-before-completion
If an expected skill does not trigger, treat it as trigger-chain diagnosis:
verify install/version visibility, host skill discovery, activation mode,
using-aegis routing, task-to-skill routing, and context pressure. Read
docs/current/AEGIS_TRIGGER_HEALTH_BASELINE.md.
Workflow Shape
Aegis routes work by complexity:
- Low-complexity: concise intent, baseline check, TDD Route, verification.
- Medium-complexity: baseline read set, Spec Brief or stable requirements, writing plan, atomic tasks, verification.
- High-complexity: Design Spec, plan, user review when required, then execution.
The core discipline is:
- Baseline first: read current project authority before substantial changes.
- Code necessity before edits: before adding any source-code path, Aegis
naturally states why a non-code path is insufficient, what the minimum change
boundary is, and then enters
code-change; non-trivial source edits use the fullerChange Necessityslot. - Visible governance, on-demand trace: Aegis naturally exposes the risk it
helped control at key governance points. When auditability is requested, it
can output a
Trace Digestsummarizing execution trace, evidence chain, rule effects, skill stability, and verification chain without exposing raw internal reasoning. - Evidence before claims: no completion claim without fresh verification.
- Repair plus retirement: fix the owner and state what old path remains or retires.
- Workflow Quality: keep simple tasks cheap and expand only when risk demands it.
For the full workflow, read:
For Maintainers
Primary verification entry:
bash tests/e2e/run-all.sh --full --host-profile fast
Focused docs / method-pack checks:
bash tests/e2e/boundary-compliance-check.sh
bash tests/e2e/workflow-quality-check.sh
bash tests/e2e/install-verification-policy-check.sh
bash tests/e2e/layer1-fast-check.sh --host-profile none
Read:
Relationship To Superpowers
Aegis is derived from Superpowers, created by Jesse Vincent. Superpowers pioneered composable, multi-harness agent skills. Aegis keeps that foundation and adds an architecture- and evidence-focused method layer for real software projects.
Additional inspiration comes from mattpocock/skills, especially concise communication, shared language, and disciplined debugging patterns. These ideas were re-implemented in Aegis format rather than copied verbatim.
License
MIT License. See LICENSE.
Reviews
No reviews yet. Be the first.
Related
manifest-dev-tools
Tools for working with prompts and PRs alongside the manifest workflow. Collaborative PR walkthroughs, autonomous PR review with per-comment verification, author-side PR babysitting via manifest-dev, gap-calibrated prompt engineering, cross-boundary context handoff, and incremental teaching for session work.
plugin-template
A template for creating new Claude Code plugins
claude-magic-compact
Lossless context compression for Claude Code.
mh install plugins/aegis