Orca CLI
stablyai/orca
Operate Orca-managed worktrees, folder contexts, terminals, repos, automations, artifacts, skill sharing, worktree comments, and Orca's embedded browser…
A skill your agent uses when touching retiring old logic, collapsing duplicate owners, removing fallbacks, or schema/persistence/source-of-truth boundaries; identify opportunities automatically…
$ npx skills add GanyuanRan/Aegis --skill anti-entropy-governance -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install GanyuanRan/Aegis anti-entropy-governance --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/GanyuanRan/Aegis.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/anti-entropy-governance .claude/skills/anti-entropy-governance && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "anti-entropy-governance" agent skill from https://github.com/GanyuanRan/Aegis/tree/main/skills/anti-entropy-governance into .claude/skills/anti-entropy-governance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "anti-entropy-governance", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/GanyuanRan/Aegis/tree/main/skills/anti-entropy-governanceType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add GanyuanRan/Aegis --skill anti-entropy-governance -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install GanyuanRan/Aegis anti-entropy-governance --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/GanyuanRan/Aegis.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/anti-entropy-governance .agents/skills/anti-entropy-governance && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "anti-entropy-governance" agent skill from https://github.com/GanyuanRan/Aegis/tree/main/skills/anti-entropy-governance into .agents/skills/anti-entropy-governance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "anti-entropy-governance", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add GanyuanRan/Aegis --skill anti-entropy-governance -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install GanyuanRan/Aegis anti-entropy-governance --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/GanyuanRan/Aegis.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/anti-entropy-governance .cursor/skills/anti-entropy-governance && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "anti-entropy-governance" agent skill from https://github.com/GanyuanRan/Aegis/tree/main/skills/anti-entropy-governance into .cursor/skills/anti-entropy-governance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "anti-entropy-governance", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/GanyuanRan/Aegis.git --path skills/anti-entropy-governance--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add GanyuanRan/Aegis --skill anti-entropy-governance -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install GanyuanRan/Aegis anti-entropy-governance --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/GanyuanRan/Aegis.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/anti-entropy-governance .gemini/skills/anti-entropy-governance && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "anti-entropy-governance" agent skill from https://github.com/GanyuanRan/Aegis/tree/main/skills/anti-entropy-governance into .gemini/skills/anti-entropy-governance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "anti-entropy-governance", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install GanyuanRan/Aegis anti-entropy-governanceInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add GanyuanRan/Aegis --skill anti-entropy-governance -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/GanyuanRan/Aegis.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/anti-entropy-governance .github/skills/anti-entropy-governance && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "anti-entropy-governance" agent skill from https://github.com/GanyuanRan/Aegis/tree/main/skills/anti-entropy-governance into .github/skills/anti-entropy-governance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "anti-entropy-governance", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add GanyuanRan/Aegis --skill anti-entropy-governance -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install GanyuanRan/Aegis anti-entropy-governance --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/GanyuanRan/Aegis.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/anti-entropy-governance .opencode/skills/anti-entropy-governance && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "anti-entropy-governance" agent skill from https://github.com/GanyuanRan/Aegis/tree/main/skills/anti-entropy-governance into .opencode/skills/anti-entropy-governance/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "anti-entropy-governance", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
anti-entropy-governanceA skill your agent uses when touching retiring old logic, collapsing duplicate owners, removing fallbacks, or schema/persistence/source-of-truth boundaries; identify opportunities automatically…
Anti Entropy Governance is an agent skill from GanyuanRan/Aegis. Use when touching retiring old logic, collapsing duplicate owners, removing fallbacks, or schema/persistence/source-of-truth boundaries; identify opportunities automatically; destructive execution requires explicit confirmation.
Its SKILL.md is about 3.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Agent Workflows. The repository describes itself as: Make AI coding agents architecture-aware: baseline-first, evidence-verified, drift-checked, and safe across long tasks. The licence is MIT.
Read from SKILL.md and the folder at commit 61867e9. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Anti Entropy Governance loads about 3.1k tokens when it runs. Until then it costs about 63 tokens; SKILL.md has 1,365 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from GanyuanRan/Aegis at commit 61867e9, republished under its MIT licence (© GanyuanRan). 1,365 words, ~3,103 tokens.
.claude/skills/anti-entropy-governance/SKILL.md (or your agent's skills folder).Use this skill when the task is not merely "change code" but "remove old paths safely without growing entropy".
This skill chooses between:
delete-first for internal code retirementcompat-exception for proven external dependency boundariesconfirmation-first for irreversible state or an external contract whose
distributed consumers cannot be observedIt does not replace brainstorming, writing-plans,
systematic-debugging, or verification-before-completion. It is a narrow
governance owner for retirement, fallback collapse, duplicate-owner cleanup,
and deletion safety.
Use when any of these are true:
Do not use for:
This skill should be composed by other owners. It should not become a new global hot-path entry.
Prefer composition from:
brainstorming for approach selection involving retirement or persistence riskwriting-plans for plans that delete old paths or touch schema / migration /
persistencesystematic-debugging when the tempting fix is fallback growth or
delete-vs-retainverification-before-completion for cleanup / retirement / compatibility /
migration closeoutLoad automatically when the task touches owner collapse, fallback removal, or schema/persistence/source-of-truth boundaries. Automatic loading identifies and advises only; destructive execution still requires explicit scoped user confirmation.
Default to reducing internal entropy, not preserving internal history.
Retirement is responsibility-scoped before it is carrier-scoped. Name the
obsolete or duplicated authority first. If the same carrier has a separately
evidenced legitimate role, remove the invalid responsibility and keep only
that role-scoped capability; this is not a compatibility exception. Apply
delete-first to the carrier once no legitimate responsibility remains.
Unknown consumers alone still do not justify retaining an internal carrier.
Use this rule:
delete-firstcompat-exception with active dependency
evidence; confirmation-first when distribution is proven but consumers
cannot be observedconfirmation-firstUnknown alone neither proves an external dependency nor blocks internal
delete-first. Once distribution is proven, unobservable consumers also do not
prove deletion safe: inspect read-only. Before editing, require user-authored,
scoped authorization that explicitly accepts the concrete external risk.
An informed instruction may already supply it; otherwise disclose the risk
and request scoped confirmation.
Mentioning, loading, or discussing destructive-action rules never authorizes destructive execution. Without explicit scoped user confirmation:
Classify the deletion target first:
code-retirement
contract-carrying code
live-state mutation surface
derived-state
persistent-state
code-retirement -> delete-firstcontract-carrying code -> classify by the Core Principle; internal-only
retirement uses delete-first with high-risk verificationlive-state mutation surface -> inspect and classify; destructive execution
still requires confirmation when it reaches persistent-statederived-state -> verify rebuildability first, then decidepersistent-state -> confirmation-firstIf the target is persistent-state or another irreversible source-of-truth
object:
Examples that require confirmation:
DROP TABLEDROP COLUMNTRUNCATEWhen confirmation-first protects persistent-state or an irreversible
source-of-truth object, stop normal retirement flow and emit:
Data Destruction Guard:
- Target Class:
- Exact Target(s):
- Environment:
- Why Irreversible:
- Backup / Rollback Note:
- Allowed Read-Only Next Steps:
- Blocked Destructive Steps:
- Confirmation Required: yes
- Status: awaiting scoped confirmationOnly explicit scoped confirmation can continue. Broad assent such as "OK", "continue", or "sounds good" is insufficient. If scope changes at all, previous confirmation is invalid and fresh confirmation is required.
Before deletion, state:
Anti-Entropy Declaration:
- Deletion Class:
- Old Path/Object:
- Invalid Responsibility / Authority:
- Legitimate Capability Remaining on Carrier:
- New Canonical Owner:
- Expected Preserved Behavior:
- Expected Retired Behavior:
- External Boundary Touched: no | yes
- Source-of-Truth Data Risk: none | possible | confirmed
- User Confirmation Required: no | yesFor external-unknown code, fill User Confirmation Required with yes unless
the user's own instruction already names the concrete external risk, accepts
its possible breakage, and authorizes the exact retirement scope, or the user
later gives scoped confirmation after your disclosure. A generic original
deletion request does not satisfy this slot. Do not infer acceptance from mere
awareness of external use or from your own risk summary.
If User Confirmation Required: yes, stop normal delete-first flow.
Persistent-state or irreversible targets enter Data Destruction Guard;
external-unknown code stays in the Retirement Decision hold below.
Choose one path only:
Retirement Decision:
- Path: delete-first | compat-exception | confirmation-first
- Why:
- Non-edits:Rules:
delete-first for internal retirement unless a stronger boundary blocks itcompat-exception only when external dependency is provenconfirmation-first for irreversible targets or proven distribution
whose consumers cannot be observedIf Path = confirmation-first, no destructive execution may happen until
scoped confirmation is established. For external-unknown code, earlier generic
deletion instructions do not count. An informed, scoped user instruction may
establish confirmation before your disclosure; otherwise disclose the risk
and directly ask the user to confirm the exact retirement scope before editing.
Do not only state that confirmation is required or quote the words needed.
Do not verify only by "tests are green". Verify that the old logic actually died and the new owner actually carries the behavior.
Verification Plan:
- Main-path check:
- Lingering-reference check:
- Negative check:
- Boundary check:Meaning:
Main-path check: new canonical owner still satisfies intended behaviorLingering-reference check: the retired responsibility is no longer active;
when its carrier was deleted, the old path is no longer referenced on the
main pathNegative check: retired trigger/path really stopped workingBoundary check: host/API/schema/persistence boundary was not accidentally brokenIf a gap appears after deletion, classify it before repairing:
expected-retirementmissing-owner-logicstale-internal-consumerbaseline-gapexternal-compatpersistent-state-riskpersistent-state-risk is a stop condition, not a normal repair branch.
Repair order:
expected-retirementmissing-owner-logicstale-internal-consumerbaseline-gapexternal-compatpersistent-state-riskUse this contract:
Gap Closure:
- Gap Found:
- Gap Type:
- Repair Action:
- Reintroduced Compat: no | yes
- If yes, External Dependency Evidence:
- Retirement Trigger:If Gap Type = persistent-state-risk, stop and return to the confirmation
gate. Do not improvise destructive repair.
Retention is allowed only if all are true:
Without these, do not retain compat.
Completion claims must reflect the real outcome:
bounded mitigation or
deferred debt, not clean retirementbounded compatibility exceptionDo not:
This shape is the anti-entropy workflow's decision surface, not a separate
final completion report. When anti-entropy materially shapes a completed task,
its preserved/retired behavior, deletion class, retained boundary, verification
plan, and residual risk should flow into verification-before-completion's
unified Aegis impact/safety receipt.
Aegis Visibility:
Anti-Entropy Declaration:
Retirement Decision:
Verification Plan:
Gap Closure:Use the compact shape by default. Expand only when task risk requires it.
© GanyuanRan, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/anti-entropy-governance of GanyuanRan/Aegis.
Open the folder on GitHubat commit 61867e9
We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in GanyuanRan/Aegis, which our catalogue first saw on October 7, 2026.
Anti Entropy Governance next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Anti Entropy Governance this skillGanyuanRan/Aegis | 1.3k | 1 repos | ~3.1k | Automated safety check: Pass | MIT | |
| Orca CLIstablyai/orca | 89k | 2 repos | ~593 | Automated safety check: Pass | MIT | |
| OpenSpec Guided OnboardingFission-AI/OpenSpec | 72k | 1 repos | ~4.5k | Automated safety check: Pass | MIT | |
| Brainstormingobra/superpowers | 297k | 1 repos | ~2.5k | Automated safety check: Pass | MIT | |
| Claude Code Plugin Structureanthropics/claude-plugins-official | 38k | 10 repos | ~3.4k | Automated safety check: Pass | Apache-2.0 | |
| Neat-Freak Knowledge CloseoutKKKKhazix/khazix-skills | 21k | — | ~1.9k | Automated safety check: Pass | MIT |
stablyai/orca
Operate Orca-managed worktrees, folder contexts, terminals, repos, automations, artifacts, skill sharing, worktree comments, and Orca's embedded browser…
Fission-AI/OpenSpec
Walks you through a complete OpenSpec workflow cycle with narration while doing real work in your codebase.
obra/superpowers
Makes the agent clarify intent and agree on a design with you before writing any code, scaling the process from a quick spike to a written spec.
anthropics/claude-plugins-official
Explains the directory layout, plugin.json manifest and component organization of a Claude Code plugin, including auto-discovery and portable paths.
KKKKhazix/khazix-skills
Brings project docs, agent rule files, authorized memory and leftover workspace files back in line with what the code and runtime actually do at the end of a work session.
openobserve/openobserve
Splits a change into planner, coder and independent reviewer roles: you confirm a spec, a subagent implements it, and a separate reviewer checks each round's local WIP commit.
GanyuanRan/Aegis
A skill your agent uses when executing a written implementation plan across sessions or with review checkpoints.
GanyuanRan/Aegis
A skill your agent uses when asked for first-principles or Occam's-razor review, or when high-risk decisions involve competing constraints, fallback growth, duplicate owners, or architecture…
GanyuanRan/Aegis
A skill your agent uses when the user explicitly sets an Aegis goal with /aegis-goal, Aegis goal:, or asks to define goal, success evidence, stop condition, or task boundaries before work.
GanyuanRan/Aegis
A skill your agent uses when the user asks to establish shared project language, or project work exposes a conflicting, renamed, or deprecated domain term that needs active semantic modeling.
GanyuanRan/Aegis
A skill your agent uses when the user asks to create, write, update, amend, supersede, or evaluate an ADR, architecture decision record, durable architecture decision, decision log, or baseline sync…
GanyuanRan/Aegis
A skill your agent uses when requesting independent code review, after implementation slices, before merging high-risk work, or when verification exposes evidence, baseline, architecture…
Categories
A skill your agent uses when touching retiring old logic, collapsing duplicate owners, removing fallbacks, or schema/persistence/source-of-truth boundaries; identify opportunities automatically…. Anti Entropy Governance is an agent skill from GanyuanRan/Aegis. Use when touching retiring old logic, collapsing duplicate owners, removing fallbacks, or schema/persistence/source-of-truth boundaries; identify opportunities automatically; destructive execution requires explicit confirmation.
Anti Entropy Governance fits situations like: touching retiring old logic; collapsing duplicate owners; removing fallbacks; schema/persistence/source-of-truth boundaries.
Run `npx skills add GanyuanRan/Aegis --skill anti-entropy-governance -a claude-code`. Or copy the skill folder (skills/anti-entropy-governance in GanyuanRan/Aegis) into .claude/skills/anti-entropy-governance in your project. Claude Code loads it when a task matches its description.
Run `npx skills add GanyuanRan/Aegis --skill anti-entropy-governance -a codex`. Or copy the skill folder (skills/anti-entropy-governance in GanyuanRan/Aegis) into .agents/skills/anti-entropy-governance in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add GanyuanRan/Aegis --skill anti-entropy-governance -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/anti-entropy-governance, .gemini/skills/anti-entropy-governance, .github/skills/anti-entropy-governance and .opencode/skills/anti-entropy-governance in your project.
SKILL.md names no scripts, command-line tools or credentials: Anti Entropy Governance is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Anti Entropy Governance is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.1k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Anti Entropy Governance: Orca CLI (stablyai/orca, 89k stars), OpenSpec Guided Onboarding (Fission-AI/OpenSpec, 72k stars), Brainstorming (obra/superpowers, 297k stars) and Claude Code Plugin Structure (anthropics/claude-plugins-official, 38k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
GanyuanRan (a GitHub user) maintains it in GanyuanRan/Aegis, which has 1,337 GitHub stars. The repository holds 21 skills in this directory. The repository was last updated on October 10, 2026.
Source: GanyuanRan/Aegis on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.