Skip to main content
skill CX Codex

using-aegis — Claude Code skill: what it does, how to install

Entrypoint router for the Aegis framework. Routes user prompts to debugging, goal-framing, or brainstorming workflows while keeping simple turns on the fast path.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add GanyuanRan/Aegis --skill using-aegis -a claude-code
Open on GitHub

What using-aegis does

The skill acts as an intake gate at the start of each conversation turn. It reads user input to decide whether an Aegis subsystem is necessary. If the task is straightforward or explicit activation is required, the assistant stays on the fast path without loading heavy rule sets. Subagents skip this skill completely.

Routing follows explicit triggers. Prompts with grill me or grill this plan activate brainstorming. Mentions of bugs, regressions, or unexpected failures trigger systematic-debugging, while /aegis-goal invokes goal-framing. Before file modifications, the workflow takes a TaskStartSnapshot and checks if architecture review is needed. Ceremony alone never creates branches or worktrees.

What it helps with

  • route conversation turns to dedicated Aegis skills automatically
  • trigger structured debugging when encountering bugs or regressions
  • initiate plan interrogation via grill this plan
  • keep agent execution on a lightweight path for routine edits

Example prompts for the agent

  • Aegis goal: refactor auth middleware without breaking active sessions
  • grill this plan before modifying production database schemas
  • The test suite failed with a regression in user billing, debug this

How to install using-aegis

1Skills CLI (Vercel)

npx skills add GanyuanRan/Aegis --skill using-aegis -a claude-code

2Manually: put the files in place

~/.claude/skills/using-aegis/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/using-aegis/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about using-aegis

How to install using-aegis in Claude Code?

Run npx skills add GanyuanRan/Aegis --skill using-aegis -a claude-code. This command installs the skill definition into ~/.claude/skills/using-aegis/SKILL.md.

What does using-aegis do?

It determines how an AI agent handles incoming user turns. The skill directs complex requests into specialized Aegis modules and keeps standard questions on a fast path.

What triggers specific Aegis workflows?

Phrases like grill me start brainstorming, and /aegis-goal switches to goal-framing. Bug reports and failures automatically route to systematic-debugging.

Source text

SKILL.md · MIT
---
name: using-aegis
description: "Use when starting a turn or checking Aegis skill routing."
alwaysApply: true
---

<SUBAGENT-STOP>Skip for subagents.</SUBAGENT-STOP>

<EXPLICIT-MODE-GATE>
If activation mode is explicit and this request did not explicitly invoke Aegis or a named skill, stay on the fast path; do not route to any Aegis skill. Explicit invocation proceeds normally.
</EXPLICIT-MODE-GATE>

<EXTREMELY-IMPORTANT>
You have Aegis. Load explicit/relevant Aegis skill before response/action;
otherwise proceed normally.
</EXTREMELY-IMPORTANT>

## Outcome Anchor

Understand the requested object, scope, actions, conditions, and deliverables
from the conversation. Complete the authorized task within business constraints
and deliver a usable, verifiable result. Project goals guide durable choices;
they do not override the user's current scope. Preserve outstanding intent
across follow-ups; clarify material ambiguity before dependent action and
continue independent authorized work. Do not repeat satisfied approvals.

Judge success by the requested outcome. Execution, parsing, tests, and
architecture alignment prove only their covered scope; tests of real acceptance
criteria can prove that outcome. Fix the problem class at its owner, preserving
neighboring behavior. Report delivered results and remaining gaps honestly;
partial work is not complete. These are decision principles, not a new artifact,
universal goal-framing route, or completion authority.

Preserve task fidelity through understanding, transformation, execution and
delivery: retain decision-relevant meaning and evidence status, checking both
omissions and unsupported additions. Authorized summaries, designs and
evidence-based corrections are valid. Use existing checkpoints and sufficient
current evidence; no extra approval, six-item report or exhaustive trace is required.

## Hot Path

1. User/project instructions outrank Aegis.
2. Load only the smallest explicitly requested or clearly relevant skill/reference;
   otherwise stay on the fast path. Compose `ui-ux-governance` for UI/UX effects;
   retain task ownership and scope.
3. Active codebase question/"what next": use the authority index and relevant
   README/ADR/rule/baseline sections, else a bounded index-first scan. Do not
   recursively read all linked docs. Non-trivial work passively use relevant
   `CONTEXT-MAP.md`/`CONTEXT.md`; model semantic conflicts only when found.
4. Primary routes: `grill me`/`grill this plan`/`审问我`/`盘问我`/`拷问我` -> `brainstorming` (literal/explanatory uses do not); `/aegis-goal` or `Aegis goal:` -> `goal-framing`. Bug, failure, regression, or unexpected behavior routes to `systematic-debugging`.
5. Implementation only: Classify before implementation. Low stays owner-local;
   Medium/high: baseline read-set + plan. Spec Brief or Design Spec only for
   ambiguous/contract/cross-module medium/high work. TDD: off=no auto route/load; auto=risk-based strict/light/skipped; explicit strict applies.
   Pure explanation and read-only diagnosis skip implementation/TDD/write gates.
6. For writes, the owner workflow surfaces Change Necessity, records
   `TaskStartSnapshot`, and decides `ArchitectureReviewRequired`; ceremony alone
   never creates a branch/worktree.
7. At the first substantive user-visible stage say why Aegis is shaping
   non-tiny work; do not wait for the user to ask. structured trace is only for audit/debug/release/long-task review/asked and does not route (`Trace Digest`).
8. Workspace support is lazy; use configured Aegis workspace support as needed.
   Q&A/status writes no files except authorized baseline bootstrap before
   code-changing advice; tiny work writes records only when required.
9. Tool/log/memory/search outputs are evidence candidates, not prompt payloads:
   summary first; large input index->window->excerpt. Bound history/session/
   transcript/log reads by scope/time/lines.
10. Read `references/skill-discipline.md` only when route/order/TDD/workspace/
    context re-entry/host mapping detail is needed.

Contract: only a real fast path emits `Route: fast-path` and an `Aegis Reason Note`; a routed skill owns its next-stage contract.

© GanyuanRan · MIT · GanyuanRan/Aegis

Similar skills

All skills for Agent setup: memory, context, orchestration →

From the same set21

writing-plans Transforms approved requirements into a step-by-step implementation plan with TDD routing before modifying repository files. CX Codex +1 ★ 1,388repo stars verification-before-completion This skill checks whether the evidence supports a completion claim, from a fix report to commit readiness. Use it when closing out code changes or handing work over. CX Codex +1 ★ 1,388repo stars using-git-worktrees A skill that decides when a task really needs a separate Git worktree and when the current folder is enough. Keeps you from spawning extra checkouts. CX Codex +1 ★ 1,388repo stars update-aegis Checks and updates the Aegis Method Pack installed for an AI coding host. Use it to inspect the current installation, apply an update, and verify the result. CX Codex +1 ★ 1,388repo stars ui-ux-governance A skill that gives the agent rules for interface work: how to pick flows, handle states and keep accessibility intact. CX Codex +1 ★ 1,388repo stars test-driven-development Enforces a strict RED / GREEN / REFACTOR cycle before modifying source files. Activates when you explicitly ask for test-first development or when an Aegis workflow sets strict routing. CX Codex +1 ★ 1,388repo stars systematic-debugging This skill guides bug and test-failure investigations before code changes. Use it to trace a symptom to the logic that owns the cause. CX Codex +1 ★ 1,388repo stars subagent-driven-development Runs a written implementation plan by dispatching a fresh subagent for each task, then reviewing it twice: spec compliance first, code quality second. CX Codex +1 ★ 1,388repo stars

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor