Creator · GanyuanRan
Last updated · Sep 2, 2026
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.
Creator · GanyuanRan
Last updated · Sep 2, 2026
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.
Creator · GanyuanRan
Last updated · Sep 2, 2026
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.
Creator · GanyuanRan
Last updated · Sep 2, 2026
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.
Sandbox only
Install targets
Codex install prompt
Install the "anti-entropy-governance" agent skill from https://github.com/GanyuanRan/Aegis/tree/main/skills/anti-entropy-governance. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: 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. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"ganyuanran-anti-entropy-governance","task":"Install anti-entropy-governance","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Deep research, source comparison, literature review, RAG, knowledge search, and reports.
Scenario
RAG and knowledge
I need my agent to build a RAG workflow over documents and retrieve reliable context.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add GanyuanRan/Aegis --skill anti-entropy-governance
Maintenance
fresh
6d since push
Risk
Needs review
Permission surface may require sandboxing
GitHub quality
1.2K
77/100 Quality · 80/100 Trust
Coverage tags
Review notes
Permission surface may require sandboxing · Quality score needs review
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
StrongSolid option that is likely worth shortlisting for production workflows.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
1.2K GitHub stars
Repo activity
1.2K stars, 51 forks
Maintenance
6d since push
License
MIT
Install
npx skills add GanyuanRan/Aegis --skill anti-entropy-governance
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add GanyuanRan/Aegis --skill anti-entropy-governanceDo not use when
Alternative
1.9K Stars
npx skills add yanliudesign/mono-color-skill --skill mono-color
Alternative
61.0K Stars
npx skills add mvanhorn/last30days-skill -g
Alternative
38.4K Stars
npx skills add Imbad0202/academic-research-skills
Alternative
256.3K Stars
npx skills add mattpocock/skills --skill grill-me
Agent safety v2
Sparse or mixed signals. Useful for discovery, but not for autonomous installation.
Test manually in an isolated workspace and compare against safer alternatives.
high
Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
medium
Skill may inspect schemas, query databases, or work with persistent stores.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20anti-entropy-governance%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20anti-entropy-governance%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/ganyuanran-anti-entropy-governance/install
Agent should check
Copy prompt
Task: Use anti-entropy-governance in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20anti-entropy-governance%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/ganyuanran-anti-entropy-governance/install
Install command: npx skills add GanyuanRan/Aegis --skill anti-entropy-governance
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/ganyuanran-anti-entropy-governance/install
LLM text format
/api/skills/ganyuanran-anti-entropy-governance/install?format=text
Find alternatives
/api/skills/search?q=anti-entropy-governance&limit=3
Agent prompt
Use anti-entropy-governance for this task. Review https://www.openagentskill.com/api/skills/ganyuanran-anti-entropy-governance/install, then install with: npx skills add GanyuanRan/Aegis --skill anti-entropy-governanceRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/ganyuanran-anti-entropy-governance
LLM text
/api/registry/manifest/ganyuanran-anti-entropy-governance?format=text
Install alias
/api/registry/install/ganyuanran-anti-entropy-governance
Recommend
/api/registry/recommend?task=Use%20anti-entropy-governance%20in%20an%20agent%20workflow&limit=3
Agent fit
RAG and knowledge
Use-case tags
Platforms
Claude Code
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Use this as a leading candidate, then validate the README and install path in your own agent stack.
Role in stack
Primary pick
Primary fit
RAG and knowledge
Trust label
Production-ready
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
PASS1.2K GitHub stars
Stars/forks activity
INFO1.2K stars, 51 forks; issue activity unavailable in current metadata
Recent maintenance
PASS6d since push
License clarity
PASSMIT
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
Solid option that is likely worth shortlisting for production workflows.
Workflow fit
Search private knowledge
I need my agent to build a RAG workflow over documents and retrieve reliable context.
Investigate faster
I need my agent to research a topic, compare sources, and produce a concise report.
Automate repeated work
I need my agent to automate a repeated workflow across tools and files.
Workflow fit
Find, compare, and synthesize
A workflow for agents that gather sources, compare claims, summarize long material, and draft useful research briefs.
Ingest, retrieve, and cite
A workflow for document-heavy agents that ingest files, create searchable knowledge, retrieve relevant context, and answer with grounded sources.
Turn skills into distribution
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
Alternative shortlist
Similar skills that may fit this task.
Generate original one-ink or controlled two-ink editorial images from any theme, sentence, article idea, object, or reference photo. Always use this skill when the user asks for 单色海报、双色印刷、单色调视觉、蓝色/绿色孔版印刷、risograph、网点照片、复古或当代编辑排版、zine poster, monochrome editorial poster, duotone print, or asks to use the mono-color style. It uses an adaptive white, gray, or pale-beige substrate, no more than two printing inks, active negative space, terse human language, and strong serif/grotesk/mono typography without making retro styling the default or copying a source composition, wording, logo, or artwork. Produce both the final generation prompt and the generated raster image unless the user explicitly asks for prompt only.
Research the last 30 days across Reddit, X, YouTube, Hacker News, Polymarket, GitHub, and the web, then synthesize a grounded brief for an AI agent.
Academic Research Skills for Claude Code: research → write → review → revise → finalize
A relentless interview to sharpen a plan or design.
--- name: anti-entropy-governance description: "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
## Overview
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 retirement - `compat-exception` for proven external dependency boundaries - `confirmation-first` for irreversible state or an external contract whose distributed consumers cannot be observed
It 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.
## When to Use
Use when any of these are true:
- old logic, duplicate owners, or stale fallbacks should be retired - a candidate fix is "delete old path" vs "add another fallback" - internal keyword / phrase / trigger logic is being replaced by structured logic - a new canonical owner exists and the old owner may still carry real behavior - a cleanup, migration, or deprecation task touches schema, persistence, source-of-truth, or external compatibility boundaries - the task risks confusing code retirement with live data deletion
Do not use for:
- pure additive feature work with no retirement decision - tiny wording edits - simple status or read-only Q&A - normal bug fixes that do not involve owner collapse, fallback cleanup, or deletion choice
## Auto-Compose Boundary
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 risk - `writing-plans` for plans that delete old paths or touch schema / migration / persistence - `systematic-debugging` when the tempting fix is fallback growth or delete-vs-retain - `verification-before-completion` for cleanup / retirement / compatibility / migration closeout
Load 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.
## Core Principle
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:
- internal code retirement -> `delete-first` - external compatibility boundary -> `compat-exception` with active dependency evidence; `confirmation-first` when distribution is proven but consumers cannot be observed - persistent-state or irreversible source-of-truth object -> `confirmation-first`
Unknown 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 and require scoped post-disclosure confirmation before editing.
Mentioning, loading, or discussing destructive-action rules never authorizes destructive execution. Without explicit scoped user confirmation:
- no irreversible deletion is executed - no destructive tool call is made - no runnable destructive command is emitted as the next action - no broad assent is reinterpreted as deletion approval
## Deletion Classes
Classify the deletion target first:
- `code-retirement` - source code - internal triggers - duplicate owners - stale fallback branches - compat-only carriers - dead tests/config tied to removed internal behavior
- `contract-carrying code` - schema definition files - migration files - public API contract code - host install/discovery code - persistence read/write logic
- `live-state mutation surface` - code or commands that would mutate live databases, object stores, queues, or other persistent state
- `derived-state` - rebuildable caches - generated indexes - temporary exports - recomputable artifacts
- `persistent-state` - live database tables / columns / rows - source-of-truth object storage files - user records - permission / identity / membership records - audit / billing / irreversible business records - non-rebuildable queue or event contents
## Default Path By Class
- `code-retirement` -> `delete-first` - `contract-carrying code` -> classify by the Core Principle; internal-only retirement uses `delete-first` with high-risk verification - `live-state mutation surface` -> inspect and classify; destructive execution still requires confirmation when it reaches persistent-state - `derived-state` -> verify rebuildability first, then decide - `persistent-state` -> `confirmation-first`
## Hard Stops
If the target is `persistent-state` or another irreversible source-of-truth object:
- do not execute deletion automatically - do not emit a runnable destructive command as the next action - do not call a destructive tool - do not interpret generic agreement as confirmation - ask for explicit scoped user confirmation - request backup / rollback / migration note when relevant
Examples that require confirmation:
- `DROP TABLE` - `DROP COLUMN` - `TRUNCATE` - bulk delete of real business data - deleting source-of-truth uploaded files - deleting permission, identity, audit, billing, or membership records - purging non-rebuildable queues or event streams
## Data Destruction Guard
When `confirmation-first` protects persistent-state or an irreversible source-of-truth object, stop normal retirement flow and emit:
```text 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 confirmation ```
Only 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.
## Anti-Entropy Declaration
Before deletion, state:
```text 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 | yes ```
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.
## Retirement Decision
Choose one path only:
```text Retirement Decision: - Path: delete-first | compat-exception | confirmation-first - Why: - Non-edits: ```
Rules:
- choose `delete-first` for internal retirement unless a stronger boundary blocks it - choose `compat-exception` only when external dependency is proven - choose `confirmation-first` for irreversible targets or proven distribution whose consumers cannot be observed
If `Path = confirmation-first`, no destructive execution may happen until scoped confirmation is received. For external-unknown code, earlier generic deletion instructions do not count; disclose the risk first.
## Verification Plan
Do not verify only by "tests are green". Verify that the old logic actually died and the new owner actually carries the behavior.
```text Verification Plan: - Main-path check: - Lingering-reference check: - Negative check: - Boundary check: ```
Meaning:
- `Main-path check`: new canonical owner still satisfies intended behavior - `Lingering-reference check`: the retired responsibility is no longer active; when its carrier was deleted, the old path is no longer referenced on the main path - `Negative check`: retired trigger/path really stopped working - `Boundary check`: host/API/schema/persistence boundary was not accidentally broken
## Gap Taxonomy
If a gap appears after deletion, classify it before repairing:
- `expected-retirement` - `missing-owner-logic` - `stale-internal-consumer` - `baseline-gap` - `external-compat` - `persistent-state-risk`
`persistent-state-risk` is a stop condition, not a normal repair branch.
## Gap Closure
Repair order:
- `expected-retirement` - update tests, docs, or caller expectations - `missing-owner-logic` - fix the new canonical owner - `stale-internal-consumer` - migrate the internal consumer - `baseline-gap` - correct requirement / spec / baseline first - `external-compat` - allow compat only if active external dependency evidence exists - `persistent-state-risk` - stop and ask for user confirmation
Use this contract:
```text 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.
## Compat Exception Gate
Retention is allowed only if all are true:
- an external boundary is touched - current active dependency evidence exists - deletion would break a published or documented contract - the current slice cannot complete owner repair or consumer migration - an observation metric exists - a retirement trigger exists
Without these, do not retain compat.
## Completion Semantics
Completion claims must reflect the real outcome:
- internal retirement with old compat preserved -> `bounded mitigation` or `deferred debt`, not clean retirement - external compat retained with full evidence -> `bounded compatibility exception` - persistent-state deletion without scoped confirmation -> not complete
## Common Mistakes
Do not:
- treat unknown dependency as proof of dependency - treat missing active-dependency evidence as proof that deletion is safe across a proven external boundary - keep both owners active "for safety" - add a fallback before checking whether the gap belongs in the new owner - confuse migration-file deletion with live database deletion - treat source-of-truth data cleanup as ordinary code retirement - call a task "cleaned up" when old logic still carries main-path behavior - delete a carrier merely because one authority on it was invalid when a separately evidenced legitimate role remains - treat a warning or guard card as destructive authorization
## Minimal Reporting Shape
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.
```text Aegis Visibility: Anti-Entropy Declaration: Retirement Decision: Verification Plan: Gap Closure: ```
Use the compact shape by default. Expand only when task risk requires it.
Source provenance
Decision snapshot
1,164 GitHub stars
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for anti-entropy-governance, ready for a manual X post.
anti-entropy-governance: Use when touching retiring old logic, collapsing duplicate owners, removing fallbacks, or sch... 1.2K stars https://www.openagentskill.com/skills/ganyuanran-anti-entropy-governance?ref=x
Listing + install path for anti-entropy-governance: https://www.openagentskill.com/skills/ganyuanran-anti-entropy-governance?ref=x Install: npx skills add GanyuanRan/Aegis --skill anti-entropy-governance
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to GanyuanRan but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/ganyuanran-anti-entropy-governance?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/ganyuanran-anti-entropy-governance?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/ganyuanran-anti-entropy-governance/audit)
[](https://www.openagentskill.com/skills/ganyuanran-anti-entropy-governance?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)GanyuanRan
@ganyuanran
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only
mono-color
Generate original one-ink or controlled two-ink editorial images from any theme, sentence, article idea, object, or reference photo. Always use this skill when the user asks for 单色海报、双色印刷、单色调视觉、蓝色/绿色孔版印刷、risograph、网点照片、复古或当代编辑排版、zine poster, monochrome editorial poster, duotone print, or asks to use the mono-color style. It uses an adaptive white, gray, or pale-beige substrate, no more than two printing inks, active negative space, terse human language, and strong serif/grotesk/mono typography without making retro styling the default or copying a source composition, wording, logo, or artwork. Produce both the final generation prompt and the generated raster image unless the user explicitly asks for prompt only.
1.9K StarsLast30days Skill
Research the last 30 days across Reddit, X, YouTube, Hacker News, Polymarket, GitHub, and the web, then synthesize a grounded brief for an AI agent.
61.0K StarsAcademic Research Skills
Academic Research Skills for Claude Code: research → write → review → revise → finalize
38.4K Starsgrill-me
A relentless interview to sharpen a plan or design.
256.3K StarsSandbox only
Install targets
Codex install prompt
Install the "anti-entropy-governance" agent skill from https://github.com/GanyuanRan/Aegis/tree/main/skills/anti-entropy-governance. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: 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. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"ganyuanran-anti-entropy-governance","task":"Install anti-entropy-governance","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Deep research, source comparison, literature review, RAG, knowledge search, and reports.
Scenario
RAG and knowledge
I need my agent to build a RAG workflow over documents and retrieve reliable context.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add GanyuanRan/Aegis --skill anti-entropy-governance
Maintenance
fresh
6d since push
Risk
Needs review
Permission surface may require sandboxing
GitHub quality
1.2K
77/100 Quality · 80/100 Trust
Coverage tags
Review notes
Permission surface may require sandboxing · Quality score needs review
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
StrongSolid option that is likely worth shortlisting for production workflows.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
1.2K GitHub stars
Repo activity
1.2K stars, 51 forks
Maintenance
6d since push
License
MIT
Install
npx skills add GanyuanRan/Aegis --skill anti-entropy-governance
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add GanyuanRan/Aegis --skill anti-entropy-governanceDo not use when
Alternative
1.9K Stars
npx skills add yanliudesign/mono-color-skill --skill mono-color
Alternative
61.0K Stars
npx skills add mvanhorn/last30days-skill -g
Alternative
38.4K Stars
npx skills add Imbad0202/academic-research-skills
Alternative
256.3K Stars
npx skills add mattpocock/skills --skill grill-me
Agent safety v2
Sparse or mixed signals. Useful for discovery, but not for autonomous installation.
Test manually in an isolated workspace and compare against safer alternatives.
high
Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
medium
Skill may inspect schemas, query databases, or work with persistent stores.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20anti-entropy-governance%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20anti-entropy-governance%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/ganyuanran-anti-entropy-governance/install
Agent should check
Copy prompt
Task: Use anti-entropy-governance in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20anti-entropy-governance%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/ganyuanran-anti-entropy-governance/install
Install command: npx skills add GanyuanRan/Aegis --skill anti-entropy-governance
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/ganyuanran-anti-entropy-governance/install
LLM text format
/api/skills/ganyuanran-anti-entropy-governance/install?format=text
Find alternatives
/api/skills/search?q=anti-entropy-governance&limit=3
Agent prompt
Use anti-entropy-governance for this task. Review https://www.openagentskill.com/api/skills/ganyuanran-anti-entropy-governance/install, then install with: npx skills add GanyuanRan/Aegis --skill anti-entropy-governanceRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/ganyuanran-anti-entropy-governance
LLM text
/api/registry/manifest/ganyuanran-anti-entropy-governance?format=text
Install alias
/api/registry/install/ganyuanran-anti-entropy-governance
Recommend
/api/registry/recommend?task=Use%20anti-entropy-governance%20in%20an%20agent%20workflow&limit=3
Agent fit
RAG and knowledge
Use-case tags
Platforms
Claude Code
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Use this as a leading candidate, then validate the README and install path in your own agent stack.
Role in stack
Primary pick
Primary fit
RAG and knowledge
Trust label
Production-ready
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
PASS1.2K GitHub stars
Stars/forks activity
INFO1.2K stars, 51 forks; issue activity unavailable in current metadata
Recent maintenance
PASS6d since push
License clarity
PASSMIT
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
Solid option that is likely worth shortlisting for production workflows.
Workflow fit
Search private knowledge
I need my agent to build a RAG workflow over documents and retrieve reliable context.
Investigate faster
I need my agent to research a topic, compare sources, and produce a concise report.
Automate repeated work
I need my agent to automate a repeated workflow across tools and files.
Workflow fit
Find, compare, and synthesize
A workflow for agents that gather sources, compare claims, summarize long material, and draft useful research briefs.
Ingest, retrieve, and cite
A workflow for document-heavy agents that ingest files, create searchable knowledge, retrieve relevant context, and answer with grounded sources.
Turn skills into distribution
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
Alternative shortlist
Similar skills that may fit this task.
Generate original one-ink or controlled two-ink editorial images from any theme, sentence, article idea, object, or reference photo. Always use this skill when the user asks for 单色海报、双色印刷、单色调视觉、蓝色/绿色孔版印刷、risograph、网点照片、复古或当代编辑排版、zine poster, monochrome editorial poster, duotone print, or asks to use the mono-color style. It uses an adaptive white, gray, or pale-beige substrate, no more than two printing inks, active negative space, terse human language, and strong serif/grotesk/mono typography without making retro styling the default or copying a source composition, wording, logo, or artwork. Produce both the final generation prompt and the generated raster image unless the user explicitly asks for prompt only.
Research the last 30 days across Reddit, X, YouTube, Hacker News, Polymarket, GitHub, and the web, then synthesize a grounded brief for an AI agent.
Academic Research Skills for Claude Code: research → write → review → revise → finalize
A relentless interview to sharpen a plan or design.
--- name: anti-entropy-governance description: "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
## Overview
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 retirement - `compat-exception` for proven external dependency boundaries - `confirmation-first` for irreversible state or an external contract whose distributed consumers cannot be observed
It 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.
## When to Use
Use when any of these are true:
- old logic, duplicate owners, or stale fallbacks should be retired - a candidate fix is "delete old path" vs "add another fallback" - internal keyword / phrase / trigger logic is being replaced by structured logic - a new canonical owner exists and the old owner may still carry real behavior - a cleanup, migration, or deprecation task touches schema, persistence, source-of-truth, or external compatibility boundaries - the task risks confusing code retirement with live data deletion
Do not use for:
- pure additive feature work with no retirement decision - tiny wording edits - simple status or read-only Q&A - normal bug fixes that do not involve owner collapse, fallback cleanup, or deletion choice
## Auto-Compose Boundary
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 risk - `writing-plans` for plans that delete old paths or touch schema / migration / persistence - `systematic-debugging` when the tempting fix is fallback growth or delete-vs-retain - `verification-before-completion` for cleanup / retirement / compatibility / migration closeout
Load 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.
## Core Principle
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:
- internal code retirement -> `delete-first` - external compatibility boundary -> `compat-exception` with active dependency evidence; `confirmation-first` when distribution is proven but consumers cannot be observed - persistent-state or irreversible source-of-truth object -> `confirmation-first`
Unknown 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 and require scoped post-disclosure confirmation before editing.
Mentioning, loading, or discussing destructive-action rules never authorizes destructive execution. Without explicit scoped user confirmation:
- no irreversible deletion is executed - no destructive tool call is made - no runnable destructive command is emitted as the next action - no broad assent is reinterpreted as deletion approval
## Deletion Classes
Classify the deletion target first:
- `code-retirement` - source code - internal triggers - duplicate owners - stale fallback branches - compat-only carriers - dead tests/config tied to removed internal behavior
- `contract-carrying code` - schema definition files - migration files - public API contract code - host install/discovery code - persistence read/write logic
- `live-state mutation surface` - code or commands that would mutate live databases, object stores, queues, or other persistent state
- `derived-state` - rebuildable caches - generated indexes - temporary exports - recomputable artifacts
- `persistent-state` - live database tables / columns / rows - source-of-truth object storage files - user records - permission / identity / membership records - audit / billing / irreversible business records - non-rebuildable queue or event contents
## Default Path By Class
- `code-retirement` -> `delete-first` - `contract-carrying code` -> classify by the Core Principle; internal-only retirement uses `delete-first` with high-risk verification - `live-state mutation surface` -> inspect and classify; destructive execution still requires confirmation when it reaches persistent-state - `derived-state` -> verify rebuildability first, then decide - `persistent-state` -> `confirmation-first`
## Hard Stops
If the target is `persistent-state` or another irreversible source-of-truth object:
- do not execute deletion automatically - do not emit a runnable destructive command as the next action - do not call a destructive tool - do not interpret generic agreement as confirmation - ask for explicit scoped user confirmation - request backup / rollback / migration note when relevant
Examples that require confirmation:
- `DROP TABLE` - `DROP COLUMN` - `TRUNCATE` - bulk delete of real business data - deleting source-of-truth uploaded files - deleting permission, identity, audit, billing, or membership records - purging non-rebuildable queues or event streams
## Data Destruction Guard
When `confirmation-first` protects persistent-state or an irreversible source-of-truth object, stop normal retirement flow and emit:
```text 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 confirmation ```
Only 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.
## Anti-Entropy Declaration
Before deletion, state:
```text 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 | yes ```
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.
## Retirement Decision
Choose one path only:
```text Retirement Decision: - Path: delete-first | compat-exception | confirmation-first - Why: - Non-edits: ```
Rules:
- choose `delete-first` for internal retirement unless a stronger boundary blocks it - choose `compat-exception` only when external dependency is proven - choose `confirmation-first` for irreversible targets or proven distribution whose consumers cannot be observed
If `Path = confirmation-first`, no destructive execution may happen until scoped confirmation is received. For external-unknown code, earlier generic deletion instructions do not count; disclose the risk first.
## Verification Plan
Do not verify only by "tests are green". Verify that the old logic actually died and the new owner actually carries the behavior.
```text Verification Plan: - Main-path check: - Lingering-reference check: - Negative check: - Boundary check: ```
Meaning:
- `Main-path check`: new canonical owner still satisfies intended behavior - `Lingering-reference check`: the retired responsibility is no longer active; when its carrier was deleted, the old path is no longer referenced on the main path - `Negative check`: retired trigger/path really stopped working - `Boundary check`: host/API/schema/persistence boundary was not accidentally broken
## Gap Taxonomy
If a gap appears after deletion, classify it before repairing:
- `expected-retirement` - `missing-owner-logic` - `stale-internal-consumer` - `baseline-gap` - `external-compat` - `persistent-state-risk`
`persistent-state-risk` is a stop condition, not a normal repair branch.
## Gap Closure
Repair order:
- `expected-retirement` - update tests, docs, or caller expectations - `missing-owner-logic` - fix the new canonical owner - `stale-internal-consumer` - migrate the internal consumer - `baseline-gap` - correct requirement / spec / baseline first - `external-compat` - allow compat only if active external dependency evidence exists - `persistent-state-risk` - stop and ask for user confirmation
Use this contract:
```text 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.
## Compat Exception Gate
Retention is allowed only if all are true:
- an external boundary is touched - current active dependency evidence exists - deletion would break a published or documented contract - the current slice cannot complete owner repair or consumer migration - an observation metric exists - a retirement trigger exists
Without these, do not retain compat.
## Completion Semantics
Completion claims must reflect the real outcome:
- internal retirement with old compat preserved -> `bounded mitigation` or `deferred debt`, not clean retirement - external compat retained with full evidence -> `bounded compatibility exception` - persistent-state deletion without scoped confirmation -> not complete
## Common Mistakes
Do not:
- treat unknown dependency as proof of dependency - treat missing active-dependency evidence as proof that deletion is safe across a proven external boundary - keep both owners active "for safety" - add a fallback before checking whether the gap belongs in the new owner - confuse migration-file deletion with live database deletion - treat source-of-truth data cleanup as ordinary code retirement - call a task "cleaned up" when old logic still carries main-path behavior - delete a carrier merely because one authority on it was invalid when a separately evidenced legitimate role remains - treat a warning or guard card as destructive authorization
## Minimal Reporting Shape
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.
```text Aegis Visibility: Anti-Entropy Declaration: Retirement Decision: Verification Plan: Gap Closure: ```
Use the compact shape by default. Expand only when task risk requires it.
Source provenance
Decision snapshot
1,164 GitHub stars
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for anti-entropy-governance, ready for a manual X post.
anti-entropy-governance: Use when touching retiring old logic, collapsing duplicate owners, removing fallbacks, or sch... 1.2K stars https://www.openagentskill.com/skills/ganyuanran-anti-entropy-governance?ref=x
Listing + install path for anti-entropy-governance: https://www.openagentskill.com/skills/ganyuanran-anti-entropy-governance?ref=x Install: npx skills add GanyuanRan/Aegis --skill anti-entropy-governance
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to GanyuanRan but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/ganyuanran-anti-entropy-governance?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/ganyuanran-anti-entropy-governance?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/ganyuanran-anti-entropy-governance/audit)
[](https://www.openagentskill.com/skills/ganyuanran-anti-entropy-governance?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)GanyuanRan
@ganyuanran
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only
mono-color
Generate original one-ink or controlled two-ink editorial images from any theme, sentence, article idea, object, or reference photo. Always use this skill when the user asks for 单色海报、双色印刷、单色调视觉、蓝色/绿色孔版印刷、risograph、网点照片、复古或当代编辑排版、zine poster, monochrome editorial poster, duotone print, or asks to use the mono-color style. It uses an adaptive white, gray, or pale-beige substrate, no more than two printing inks, active negative space, terse human language, and strong serif/grotesk/mono typography without making retro styling the default or copying a source composition, wording, logo, or artwork. Produce both the final generation prompt and the generated raster image unless the user explicitly asks for prompt only.
1.9K StarsLast30days Skill
Research the last 30 days across Reddit, X, YouTube, Hacker News, Polymarket, GitHub, and the web, then synthesize a grounded brief for an AI agent.
61.0K StarsAcademic Research Skills
Academic Research Skills for Claude Code: research → write → review → revise → finalize
38.4K Starsgrill-me
A relentless interview to sharpen a plan or design.
256.3K StarsSandbox only
Install targets
Codex install prompt
Install the "anti-entropy-governance" agent skill from https://github.com/GanyuanRan/Aegis/tree/main/skills/anti-entropy-governance. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: 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. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"ganyuanran-anti-entropy-governance","task":"Install anti-entropy-governance","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Deep research, source comparison, literature review, RAG, knowledge search, and reports.
Scenario
RAG and knowledge
I need my agent to build a RAG workflow over documents and retrieve reliable context.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add GanyuanRan/Aegis --skill anti-entropy-governance
Maintenance
fresh
6d since push
Risk
Needs review
Permission surface may require sandboxing
GitHub quality
1.2K
77/100 Quality · 80/100 Trust
Coverage tags
Review notes
Permission surface may require sandboxing · Quality score needs review
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
StrongSolid option that is likely worth shortlisting for production workflows.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
1.2K GitHub stars
Repo activity
1.2K stars, 51 forks
Maintenance
6d since push
License
MIT
Install
npx skills add GanyuanRan/Aegis --skill anti-entropy-governance
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add GanyuanRan/Aegis --skill anti-entropy-governanceDo not use when
Alternative
1.9K Stars
npx skills add yanliudesign/mono-color-skill --skill mono-color
Alternative
61.0K Stars
npx skills add mvanhorn/last30days-skill -g
Alternative
38.4K Stars
npx skills add Imbad0202/academic-research-skills
Alternative
256.3K Stars
npx skills add mattpocock/skills --skill grill-me
Agent safety v2
Sparse or mixed signals. Useful for discovery, but not for autonomous installation.
Test manually in an isolated workspace and compare against safer alternatives.
high
Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
medium
Skill may inspect schemas, query databases, or work with persistent stores.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20anti-entropy-governance%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20anti-entropy-governance%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/ganyuanran-anti-entropy-governance/install
Agent should check
Copy prompt
Task: Use anti-entropy-governance in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20anti-entropy-governance%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/ganyuanran-anti-entropy-governance/install
Install command: npx skills add GanyuanRan/Aegis --skill anti-entropy-governance
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/ganyuanran-anti-entropy-governance/install
LLM text format
/api/skills/ganyuanran-anti-entropy-governance/install?format=text
Find alternatives
/api/skills/search?q=anti-entropy-governance&limit=3
Agent prompt
Use anti-entropy-governance for this task. Review https://www.openagentskill.com/api/skills/ganyuanran-anti-entropy-governance/install, then install with: npx skills add GanyuanRan/Aegis --skill anti-entropy-governanceRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/ganyuanran-anti-entropy-governance
LLM text
/api/registry/manifest/ganyuanran-anti-entropy-governance?format=text
Install alias
/api/registry/install/ganyuanran-anti-entropy-governance
Recommend
/api/registry/recommend?task=Use%20anti-entropy-governance%20in%20an%20agent%20workflow&limit=3
Agent fit
RAG and knowledge
Use-case tags
Platforms
Claude Code
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Use this as a leading candidate, then validate the README and install path in your own agent stack.
Role in stack
Primary pick
Primary fit
RAG and knowledge
Trust label
Production-ready
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
PASS1.2K GitHub stars
Stars/forks activity
INFO1.2K stars, 51 forks; issue activity unavailable in current metadata
Recent maintenance
PASS6d since push
License clarity
PASSMIT
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
Solid option that is likely worth shortlisting for production workflows.
Workflow fit
Search private knowledge
I need my agent to build a RAG workflow over documents and retrieve reliable context.
Investigate faster
I need my agent to research a topic, compare sources, and produce a concise report.
Automate repeated work
I need my agent to automate a repeated workflow across tools and files.
Workflow fit
Find, compare, and synthesize
A workflow for agents that gather sources, compare claims, summarize long material, and draft useful research briefs.
Ingest, retrieve, and cite
A workflow for document-heavy agents that ingest files, create searchable knowledge, retrieve relevant context, and answer with grounded sources.
Turn skills into distribution
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
Alternative shortlist
Similar skills that may fit this task.
Generate original one-ink or controlled two-ink editorial images from any theme, sentence, article idea, object, or reference photo. Always use this skill when the user asks for 单色海报、双色印刷、单色调视觉、蓝色/绿色孔版印刷、risograph、网点照片、复古或当代编辑排版、zine poster, monochrome editorial poster, duotone print, or asks to use the mono-color style. It uses an adaptive white, gray, or pale-beige substrate, no more than two printing inks, active negative space, terse human language, and strong serif/grotesk/mono typography without making retro styling the default or copying a source composition, wording, logo, or artwork. Produce both the final generation prompt and the generated raster image unless the user explicitly asks for prompt only.
Research the last 30 days across Reddit, X, YouTube, Hacker News, Polymarket, GitHub, and the web, then synthesize a grounded brief for an AI agent.
Academic Research Skills for Claude Code: research → write → review → revise → finalize
A relentless interview to sharpen a plan or design.
--- name: anti-entropy-governance description: "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
## Overview
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 retirement - `compat-exception` for proven external dependency boundaries - `confirmation-first` for irreversible state or an external contract whose distributed consumers cannot be observed
It 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.
## When to Use
Use when any of these are true:
- old logic, duplicate owners, or stale fallbacks should be retired - a candidate fix is "delete old path" vs "add another fallback" - internal keyword / phrase / trigger logic is being replaced by structured logic - a new canonical owner exists and the old owner may still carry real behavior - a cleanup, migration, or deprecation task touches schema, persistence, source-of-truth, or external compatibility boundaries - the task risks confusing code retirement with live data deletion
Do not use for:
- pure additive feature work with no retirement decision - tiny wording edits - simple status or read-only Q&A - normal bug fixes that do not involve owner collapse, fallback cleanup, or deletion choice
## Auto-Compose Boundary
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 risk - `writing-plans` for plans that delete old paths or touch schema / migration / persistence - `systematic-debugging` when the tempting fix is fallback growth or delete-vs-retain - `verification-before-completion` for cleanup / retirement / compatibility / migration closeout
Load 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.
## Core Principle
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:
- internal code retirement -> `delete-first` - external compatibility boundary -> `compat-exception` with active dependency evidence; `confirmation-first` when distribution is proven but consumers cannot be observed - persistent-state or irreversible source-of-truth object -> `confirmation-first`
Unknown 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 and require scoped post-disclosure confirmation before editing.
Mentioning, loading, or discussing destructive-action rules never authorizes destructive execution. Without explicit scoped user confirmation:
- no irreversible deletion is executed - no destructive tool call is made - no runnable destructive command is emitted as the next action - no broad assent is reinterpreted as deletion approval
## Deletion Classes
Classify the deletion target first:
- `code-retirement` - source code - internal triggers - duplicate owners - stale fallback branches - compat-only carriers - dead tests/config tied to removed internal behavior
- `contract-carrying code` - schema definition files - migration files - public API contract code - host install/discovery code - persistence read/write logic
- `live-state mutation surface` - code or commands that would mutate live databases, object stores, queues, or other persistent state
- `derived-state` - rebuildable caches - generated indexes - temporary exports - recomputable artifacts
- `persistent-state` - live database tables / columns / rows - source-of-truth object storage files - user records - permission / identity / membership records - audit / billing / irreversible business records - non-rebuildable queue or event contents
## Default Path By Class
- `code-retirement` -> `delete-first` - `contract-carrying code` -> classify by the Core Principle; internal-only retirement uses `delete-first` with high-risk verification - `live-state mutation surface` -> inspect and classify; destructive execution still requires confirmation when it reaches persistent-state - `derived-state` -> verify rebuildability first, then decide - `persistent-state` -> `confirmation-first`
## Hard Stops
If the target is `persistent-state` or another irreversible source-of-truth object:
- do not execute deletion automatically - do not emit a runnable destructive command as the next action - do not call a destructive tool - do not interpret generic agreement as confirmation - ask for explicit scoped user confirmation - request backup / rollback / migration note when relevant
Examples that require confirmation:
- `DROP TABLE` - `DROP COLUMN` - `TRUNCATE` - bulk delete of real business data - deleting source-of-truth uploaded files - deleting permission, identity, audit, billing, or membership records - purging non-rebuildable queues or event streams
## Data Destruction Guard
When `confirmation-first` protects persistent-state or an irreversible source-of-truth object, stop normal retirement flow and emit:
```text 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 confirmation ```
Only 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.
## Anti-Entropy Declaration
Before deletion, state:
```text 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 | yes ```
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.
## Retirement Decision
Choose one path only:
```text Retirement Decision: - Path: delete-first | compat-exception | confirmation-first - Why: - Non-edits: ```
Rules:
- choose `delete-first` for internal retirement unless a stronger boundary blocks it - choose `compat-exception` only when external dependency is proven - choose `confirmation-first` for irreversible targets or proven distribution whose consumers cannot be observed
If `Path = confirmation-first`, no destructive execution may happen until scoped confirmation is received. For external-unknown code, earlier generic deletion instructions do not count; disclose the risk first.
## Verification Plan
Do not verify only by "tests are green". Verify that the old logic actually died and the new owner actually carries the behavior.
```text Verification Plan: - Main-path check: - Lingering-reference check: - Negative check: - Boundary check: ```
Meaning:
- `Main-path check`: new canonical owner still satisfies intended behavior - `Lingering-reference check`: the retired responsibility is no longer active; when its carrier was deleted, the old path is no longer referenced on the main path - `Negative check`: retired trigger/path really stopped working - `Boundary check`: host/API/schema/persistence boundary was not accidentally broken
## Gap Taxonomy
If a gap appears after deletion, classify it before repairing:
- `expected-retirement` - `missing-owner-logic` - `stale-internal-consumer` - `baseline-gap` - `external-compat` - `persistent-state-risk`
`persistent-state-risk` is a stop condition, not a normal repair branch.
## Gap Closure
Repair order:
- `expected-retirement` - update tests, docs, or caller expectations - `missing-owner-logic` - fix the new canonical owner - `stale-internal-consumer` - migrate the internal consumer - `baseline-gap` - correct requirement / spec / baseline first - `external-compat` - allow compat only if active external dependency evidence exists - `persistent-state-risk` - stop and ask for user confirmation
Use this contract:
```text 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.
## Compat Exception Gate
Retention is allowed only if all are true:
- an external boundary is touched - current active dependency evidence exists - deletion would break a published or documented contract - the current slice cannot complete owner repair or consumer migration - an observation metric exists - a retirement trigger exists
Without these, do not retain compat.
## Completion Semantics
Completion claims must reflect the real outcome:
- internal retirement with old compat preserved -> `bounded mitigation` or `deferred debt`, not clean retirement - external compat retained with full evidence -> `bounded compatibility exception` - persistent-state deletion without scoped confirmation -> not complete
## Common Mistakes
Do not:
- treat unknown dependency as proof of dependency - treat missing active-dependency evidence as proof that deletion is safe across a proven external boundary - keep both owners active "for safety" - add a fallback before checking whether the gap belongs in the new owner - confuse migration-file deletion with live database deletion - treat source-of-truth data cleanup as ordinary code retirement - call a task "cleaned up" when old logic still carries main-path behavior - delete a carrier merely because one authority on it was invalid when a separately evidenced legitimate role remains - treat a warning or guard card as destructive authorization
## Minimal Reporting Shape
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.
```text Aegis Visibility: Anti-Entropy Declaration: Retirement Decision: Verification Plan: Gap Closure: ```
Use the compact shape by default. Expand only when task risk requires it.
Source provenance
Decision snapshot
1,164 GitHub stars
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for anti-entropy-governance, ready for a manual X post.
anti-entropy-governance: Use when touching retiring old logic, collapsing duplicate owners, removing fallbacks, or sch... 1.2K stars https://www.openagentskill.com/skills/ganyuanran-anti-entropy-governance?ref=x
Listing + install path for anti-entropy-governance: https://www.openagentskill.com/skills/ganyuanran-anti-entropy-governance?ref=x Install: npx skills add GanyuanRan/Aegis --skill anti-entropy-governance
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to GanyuanRan but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/ganyuanran-anti-entropy-governance?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/ganyuanran-anti-entropy-governance?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/ganyuanran-anti-entropy-governance/audit)
[](https://www.openagentskill.com/skills/ganyuanran-anti-entropy-governance?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)GanyuanRan
@ganyuanran
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only
mono-color
Generate original one-ink or controlled two-ink editorial images from any theme, sentence, article idea, object, or reference photo. Always use this skill when the user asks for 单色海报、双色印刷、单色调视觉、蓝色/绿色孔版印刷、risograph、网点照片、复古或当代编辑排版、zine poster, monochrome editorial poster, duotone print, or asks to use the mono-color style. It uses an adaptive white, gray, or pale-beige substrate, no more than two printing inks, active negative space, terse human language, and strong serif/grotesk/mono typography without making retro styling the default or copying a source composition, wording, logo, or artwork. Produce both the final generation prompt and the generated raster image unless the user explicitly asks for prompt only.
1.9K StarsLast30days Skill
Research the last 30 days across Reddit, X, YouTube, Hacker News, Polymarket, GitHub, and the web, then synthesize a grounded brief for an AI agent.
61.0K StarsAcademic Research Skills
Academic Research Skills for Claude Code: research → write → review → revise → finalize
38.4K Starsgrill-me
A relentless interview to sharpen a plan or design.
256.3K StarsSandbox only
Install targets
Codex install prompt
Install the "anti-entropy-governance" agent skill from https://github.com/GanyuanRan/Aegis/tree/main/skills/anti-entropy-governance. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: 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. After the install attempt, report the result to https://www.openagentskill.com/api/agent/outcome with POST JSON {"event_id":"install_<unique-id>","skill_slug":"ganyuanran-anti-entropy-governance","task":"Install anti-entropy-governance","agent":"codex","outcome":"success","install_used":true}. Replace event_id with a unique value and outcome with success or failed. Report success only after the skill is installed and a minimal verification passes.Supply asset profile
Deep research, source comparison, literature review, RAG, knowledge search, and reports.
Scenario
RAG and knowledge
I need my agent to build a RAG workflow over documents and retrieve reliable context.
Agent fit
Claude Code + CLI + Codex
Codex, Claude Code, Cursor, CLI, or custom agents.
Install
Ready
npx skills add GanyuanRan/Aegis --skill anti-entropy-governance
Maintenance
fresh
6d since push
Risk
Needs review
Permission surface may require sandboxing
GitHub quality
1.2K
77/100 Quality · 80/100 Trust
Coverage tags
Review notes
Permission surface may require sandboxing · Quality score needs review
Agent adoption scorecard
These scores combine public repository metadata, OpenAgentSkill review signals, maintenance freshness, and install readiness. They are a shortlist signal, not a replacement for human review.
Quality
StrongSolid option that is likely worth shortlisting for production workflows.
Trust
Sandbox onlyUseful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
Audit
Needs reviewA machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
OpenAgentSkill Trust Score v5
Run only in a sandbox and compare close alternatives before using it for real work.
Stars
1.2K GitHub stars
Repo activity
1.2K stars, 51 forks
Maintenance
6d since push
License
MIT
Install
npx skills add GanyuanRan/Aegis --skill anti-entropy-governance
Install safety
Agent-readable metadata
Use this block or the embedded JSON to decide whether an agent should install this skill, choose an alternative, or ask for human review first.
Suited tasks
Suited agents
Install decision
Trust and risk
Outcome loop
Install command
npx skills add GanyuanRan/Aegis --skill anti-entropy-governanceDo not use when
Alternative
1.9K Stars
npx skills add yanliudesign/mono-color-skill --skill mono-color
Alternative
61.0K Stars
npx skills add mvanhorn/last30days-skill -g
Alternative
38.4K Stars
npx skills add Imbad0202/academic-research-skills
Alternative
256.3K Stars
npx skills add mattpocock/skills --skill grill-me
Agent safety v2
Sparse or mixed signals. Useful for discovery, but not for autonomous installation.
Test manually in an isolated workspace and compare against safer alternatives.
high
Skill metadata references terminal, CLI, shell, subprocess, or command execution workflows.
medium
Skill likely fetches remote pages, APIs, repositories, or external services.
medium
Skill may read or write project files, documents, generated artifacts, or local workspace state.
medium
Skill may inspect schemas, query databases, or work with persistent stores.
Agent resolve plan
The Resolve API returns the selected skill, alternatives, safety policy, audit notes, install target, and copy-paste prompt an agent can follow without scraping this page.
Open JSON
/api/agent/resolve?task=Use%20anti-entropy-governance%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Resolve text
/api/agent/resolve?task=Use%20anti-entropy-governance%20for%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text
Install handoff
/api/skills/ganyuanran-anti-entropy-governance/install
Agent should check
Copy prompt
Task: Use anti-entropy-governance in this workspace.
Resolve first: https://www.openagentskill.com/api/agent/resolve?task=Use%20anti-entropy-governance%20for%20an%20agent%20workflow&agent=codex&max_risk=medium
Review install handoff: https://www.openagentskill.com/api/skills/ganyuanran-anti-entropy-governance/install
Install command: npx skills add GanyuanRan/Aegis --skill anti-entropy-governance
Before running it, summarize audit warnings, required permissions, and the fallback skill if install is risky.Agent handoff
Use the public install endpoint to fetch the command, safety checklist, target prompts, and canonical links for this skill.
Install handoff
/api/skills/ganyuanran-anti-entropy-governance/install
LLM text format
/api/skills/ganyuanran-anti-entropy-governance/install?format=text
Find alternatives
/api/skills/search?q=anti-entropy-governance&limit=3
Agent prompt
Use anti-entropy-governance for this task. Review https://www.openagentskill.com/api/skills/ganyuanran-anti-entropy-governance/install, then install with: npx skills add GanyuanRan/Aegis --skill anti-entropy-governanceRegistry metadata
This page exposes the same decision, trust, audit, use-case, and install signals through the Registry API, so agents can rank this skill without scraping the UI.
Manifest
/api/registry/manifest/ganyuanran-anti-entropy-governance
LLM text
/api/registry/manifest/ganyuanran-anti-entropy-governance?format=text
Install alias
/api/registry/install/ganyuanran-anti-entropy-governance
Recommend
/api/registry/recommend?task=Use%20anti-entropy-governance%20in%20an%20agent%20workflow&limit=3
Agent fit
RAG and knowledge
Use-case tags
Platforms
Claude Code
Audit report
A machine-readable review of install readiness, security metadata, maintenance, and adoption risk.
Agent decision cockpit
Use this as a leading candidate, then validate the README and install path in your own agent stack.
Role in stack
Primary pick
Primary fit
RAG and knowledge
Trust label
Production-ready
Install path
Command ready
Use when
Evidence
review first
Implementation path
Trust profile
Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.
GitHub adoption
PASS1.2K GitHub stars
Stars/forks activity
INFO1.2K stars, 51 forks; issue activity unavailable in current metadata
Recent maintenance
PASS6d since push
License clarity
PASSMIT
Good signals
Review before install
Recommended action
Run only in a sandbox and compare close alternatives before using it for real work.
Quality profile
Solid option that is likely worth shortlisting for production workflows.
Workflow fit
Search private knowledge
I need my agent to build a RAG workflow over documents and retrieve reliable context.
Investigate faster
I need my agent to research a topic, compare sources, and produce a concise report.
Automate repeated work
I need my agent to automate a repeated workflow across tools and files.
Workflow fit
Find, compare, and synthesize
A workflow for agents that gather sources, compare claims, summarize long material, and draft useful research briefs.
Ingest, retrieve, and cite
A workflow for document-heavy agents that ingest files, create searchable knowledge, retrieve relevant context, and answer with grounded sources.
Turn skills into distribution
A workflow for turning newly indexed skills into SEO briefs, social drafts, comparison pages, and reusable publishing workflows.
Alternative shortlist
Similar skills that may fit this task.
Generate original one-ink or controlled two-ink editorial images from any theme, sentence, article idea, object, or reference photo. Always use this skill when the user asks for 单色海报、双色印刷、单色调视觉、蓝色/绿色孔版印刷、risograph、网点照片、复古或当代编辑排版、zine poster, monochrome editorial poster, duotone print, or asks to use the mono-color style. It uses an adaptive white, gray, or pale-beige substrate, no more than two printing inks, active negative space, terse human language, and strong serif/grotesk/mono typography without making retro styling the default or copying a source composition, wording, logo, or artwork. Produce both the final generation prompt and the generated raster image unless the user explicitly asks for prompt only.
Research the last 30 days across Reddit, X, YouTube, Hacker News, Polymarket, GitHub, and the web, then synthesize a grounded brief for an AI agent.
Academic Research Skills for Claude Code: research → write → review → revise → finalize
A relentless interview to sharpen a plan or design.
--- name: anti-entropy-governance description: "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
## Overview
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 retirement - `compat-exception` for proven external dependency boundaries - `confirmation-first` for irreversible state or an external contract whose distributed consumers cannot be observed
It 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.
## When to Use
Use when any of these are true:
- old logic, duplicate owners, or stale fallbacks should be retired - a candidate fix is "delete old path" vs "add another fallback" - internal keyword / phrase / trigger logic is being replaced by structured logic - a new canonical owner exists and the old owner may still carry real behavior - a cleanup, migration, or deprecation task touches schema, persistence, source-of-truth, or external compatibility boundaries - the task risks confusing code retirement with live data deletion
Do not use for:
- pure additive feature work with no retirement decision - tiny wording edits - simple status or read-only Q&A - normal bug fixes that do not involve owner collapse, fallback cleanup, or deletion choice
## Auto-Compose Boundary
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 risk - `writing-plans` for plans that delete old paths or touch schema / migration / persistence - `systematic-debugging` when the tempting fix is fallback growth or delete-vs-retain - `verification-before-completion` for cleanup / retirement / compatibility / migration closeout
Load 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.
## Core Principle
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:
- internal code retirement -> `delete-first` - external compatibility boundary -> `compat-exception` with active dependency evidence; `confirmation-first` when distribution is proven but consumers cannot be observed - persistent-state or irreversible source-of-truth object -> `confirmation-first`
Unknown 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 and require scoped post-disclosure confirmation before editing.
Mentioning, loading, or discussing destructive-action rules never authorizes destructive execution. Without explicit scoped user confirmation:
- no irreversible deletion is executed - no destructive tool call is made - no runnable destructive command is emitted as the next action - no broad assent is reinterpreted as deletion approval
## Deletion Classes
Classify the deletion target first:
- `code-retirement` - source code - internal triggers - duplicate owners - stale fallback branches - compat-only carriers - dead tests/config tied to removed internal behavior
- `contract-carrying code` - schema definition files - migration files - public API contract code - host install/discovery code - persistence read/write logic
- `live-state mutation surface` - code or commands that would mutate live databases, object stores, queues, or other persistent state
- `derived-state` - rebuildable caches - generated indexes - temporary exports - recomputable artifacts
- `persistent-state` - live database tables / columns / rows - source-of-truth object storage files - user records - permission / identity / membership records - audit / billing / irreversible business records - non-rebuildable queue or event contents
## Default Path By Class
- `code-retirement` -> `delete-first` - `contract-carrying code` -> classify by the Core Principle; internal-only retirement uses `delete-first` with high-risk verification - `live-state mutation surface` -> inspect and classify; destructive execution still requires confirmation when it reaches persistent-state - `derived-state` -> verify rebuildability first, then decide - `persistent-state` -> `confirmation-first`
## Hard Stops
If the target is `persistent-state` or another irreversible source-of-truth object:
- do not execute deletion automatically - do not emit a runnable destructive command as the next action - do not call a destructive tool - do not interpret generic agreement as confirmation - ask for explicit scoped user confirmation - request backup / rollback / migration note when relevant
Examples that require confirmation:
- `DROP TABLE` - `DROP COLUMN` - `TRUNCATE` - bulk delete of real business data - deleting source-of-truth uploaded files - deleting permission, identity, audit, billing, or membership records - purging non-rebuildable queues or event streams
## Data Destruction Guard
When `confirmation-first` protects persistent-state or an irreversible source-of-truth object, stop normal retirement flow and emit:
```text 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 confirmation ```
Only 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.
## Anti-Entropy Declaration
Before deletion, state:
```text 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 | yes ```
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.
## Retirement Decision
Choose one path only:
```text Retirement Decision: - Path: delete-first | compat-exception | confirmation-first - Why: - Non-edits: ```
Rules:
- choose `delete-first` for internal retirement unless a stronger boundary blocks it - choose `compat-exception` only when external dependency is proven - choose `confirmation-first` for irreversible targets or proven distribution whose consumers cannot be observed
If `Path = confirmation-first`, no destructive execution may happen until scoped confirmation is received. For external-unknown code, earlier generic deletion instructions do not count; disclose the risk first.
## Verification Plan
Do not verify only by "tests are green". Verify that the old logic actually died and the new owner actually carries the behavior.
```text Verification Plan: - Main-path check: - Lingering-reference check: - Negative check: - Boundary check: ```
Meaning:
- `Main-path check`: new canonical owner still satisfies intended behavior - `Lingering-reference check`: the retired responsibility is no longer active; when its carrier was deleted, the old path is no longer referenced on the main path - `Negative check`: retired trigger/path really stopped working - `Boundary check`: host/API/schema/persistence boundary was not accidentally broken
## Gap Taxonomy
If a gap appears after deletion, classify it before repairing:
- `expected-retirement` - `missing-owner-logic` - `stale-internal-consumer` - `baseline-gap` - `external-compat` - `persistent-state-risk`
`persistent-state-risk` is a stop condition, not a normal repair branch.
## Gap Closure
Repair order:
- `expected-retirement` - update tests, docs, or caller expectations - `missing-owner-logic` - fix the new canonical owner - `stale-internal-consumer` - migrate the internal consumer - `baseline-gap` - correct requirement / spec / baseline first - `external-compat` - allow compat only if active external dependency evidence exists - `persistent-state-risk` - stop and ask for user confirmation
Use this contract:
```text 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.
## Compat Exception Gate
Retention is allowed only if all are true:
- an external boundary is touched - current active dependency evidence exists - deletion would break a published or documented contract - the current slice cannot complete owner repair or consumer migration - an observation metric exists - a retirement trigger exists
Without these, do not retain compat.
## Completion Semantics
Completion claims must reflect the real outcome:
- internal retirement with old compat preserved -> `bounded mitigation` or `deferred debt`, not clean retirement - external compat retained with full evidence -> `bounded compatibility exception` - persistent-state deletion without scoped confirmation -> not complete
## Common Mistakes
Do not:
- treat unknown dependency as proof of dependency - treat missing active-dependency evidence as proof that deletion is safe across a proven external boundary - keep both owners active "for safety" - add a fallback before checking whether the gap belongs in the new owner - confuse migration-file deletion with live database deletion - treat source-of-truth data cleanup as ordinary code retirement - call a task "cleaned up" when old logic still carries main-path behavior - delete a carrier merely because one authority on it was invalid when a separately evidenced legitimate role remains - treat a warning or guard card as destructive authorization
## Minimal Reporting Shape
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.
```text Aegis Visibility: Anti-Entropy Declaration: Retirement Decision: Verification Plan: Gap Closure: ```
Use the compact shape by default. Expand only when task risk requires it.
Source provenance
Decision snapshot
1,164 GitHub stars
Audit
Install and adoption review
Agent-proven evidence
Outcome reports after resolve, review, install, and one narrow run.
No agent outcome data yet. The first agent run can report success, setup needs, risk blocks, failure, or not-relevant through /api/agent/outcome.
Install
Free and open source. Review the report before installing into production agents.
Growth loop
Scenario-led draft for anti-entropy-governance, ready for a manual X post.
anti-entropy-governance: Use when touching retiring old logic, collapsing duplicate owners, removing fallbacks, or sch... 1.2K stars https://www.openagentskill.com/skills/ganyuanran-anti-entropy-governance?ref=x
Listing + install path for anti-entropy-governance: https://www.openagentskill.com/skills/ganyuanran-anti-entropy-governance?ref=x Install: npx skills add GanyuanRan/Aegis --skill anti-entropy-governance
Listing source
This listing was indexed from public sources and is not marked official until a maintainer claim is approved.
Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals.
Claim this skillOwner claim
This Registry indexed listing is attributed to GanyuanRan but is not marked official yet. Claim it to add a verified owner signal and make future launch, install, and audit updates easier to trust.
Creator backlink kit
Show the canonical listing, current trust and audit signals, and real Agent-Proven evidence where developers evaluate the repository.
[](https://www.openagentskill.com/skills/ganyuanran-anti-entropy-governance?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/ganyuanran-anti-entropy-governance?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)
[](https://www.openagentskill.com/skills/ganyuanran-anti-entropy-governance/audit)
[](https://www.openagentskill.com/skills/ganyuanran-anti-entropy-governance?ref=github&utm_source=github&utm_medium=referral&utm_campaign=creator_badge)GanyuanRan
@ganyuanran
Share whether this skill looks useful for your agent workflow. Aggregated feedback improves rankings over time.
Sandbox only
mono-color
Generate original one-ink or controlled two-ink editorial images from any theme, sentence, article idea, object, or reference photo. Always use this skill when the user asks for 单色海报、双色印刷、单色调视觉、蓝色/绿色孔版印刷、risograph、网点照片、复古或当代编辑排版、zine poster, monochrome editorial poster, duotone print, or asks to use the mono-color style. It uses an adaptive white, gray, or pale-beige substrate, no more than two printing inks, active negative space, terse human language, and strong serif/grotesk/mono typography without making retro styling the default or copying a source composition, wording, logo, or artwork. Produce both the final generation prompt and the generated raster image unless the user explicitly asks for prompt only.
1.9K StarsLast30days Skill
Research the last 30 days across Reddit, X, YouTube, Hacker News, Polymarket, GitHub, and the web, then synthesize a grounded brief for an AI agent.
61.0K StarsAcademic Research Skills
Academic Research Skills for Claude Code: research → write → review → revise → finalize
38.4K Starsgrill-me
A relentless interview to sharpen a plan or design.
256.3K StarsPermission surface
shell or command execution, filesystem or document access
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Install readiness
Permission surface
shell or command execution, filesystem or document access
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Install readiness
Permission surface
shell or command execution, filesystem or document access
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Install readiness
Permission surface
shell or command execution, filesystem or document access
Agent outcomes
No agent outcome data yet
Docs
Strong README/SKILL.md context
Risk summary
Install readiness