Agent Self Edit Gate — Development skill for Claude Code
Policy-enforced self-edit gateway for coding agents: mutable behaviour, protected authority, verifiable receipts.
How to install Agent Self Edit Gate
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open korovin-aa97/agent-self-edit-gate and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agent Self Edit Gate does
Policy-enforced self-edit gateway for coding agents: mutable behaviour, protected authority, verifiable receipts.
Alternatives in Development
- Forward Implementation First — Stop your coding agent from stalling real work on self-invented bookkeeping - receipts, hashes, locks, certifi 186 ★
- Context — View or edit agent context for Self-Care analysis 28 ★
- Adversarial Contract Gate — Self-evaluation is a trap — grade against a contract with a separate evaluator 27 ★
README
Agent Self-Edit Gate
**Policy-enforced self-edit gateway for coding agents: let agents improve prompts and skills without rewriting permissions, hooks, or enforcement.**
[!IMPORTANT] **This is not a sandbox.** The CLI is an enforcement boundary only when a sandbox, OS policy, or protected broker makes it the agent's only writer. With unrestricted shell or filesystem access, an agent can bypass it. Read the [threat model](docs/THREAT_MODEL.md) before deployment.
[Run the 15-second demo](#15-second-demo) · [Read the threat model](docs/THREAT_MODEL.md)
[](https://github.com/korovin-aa97/agent-self-edit-gate/actions/workflows/ci.yml) [](https://pypi.org/project/agent-self-edit-gate/) [](https://www.python.org/) [](LICENSE)
Coding-agent behaviour and authority often live side by side:
.claude/skills/reviewer/SKILL.md behaviour: may improve
.claude/settings.json authority: must not self-edit
.codex/agents/reviewer.toml behaviour: may improve
.codex/config.toml authority: must not self-edit
Agent Self-Edit Gate puts a deterministic write path between “the agent wants to edit itself” and “the repository accepts that edit.” Policy is plain TOML; decisions never depend on an LLM. Accepted writes are atomic and leave a two-phase, hash-chained receipt.
15-second demo
python -m pip install "agent-self-edit-gate==0.1.3"
git clone --depth 1 --branch v0.1.3 \
https://github.com/korovin-aa97/agent-self-ed
Related Skills
Behaviours
Scaffold Alfresco behaviour/policy classes with Spring bean wiring. In-Process SDK (Maven) only.
Dart Improve Code
Conservatively edit Dart/Flutter code to be simpler and harder to misuse, in one behaviour-preserving pass. Ha
Osint Scope
Open an OSINT case. Intake and authorization gate — records purpose, target, the question being answered, auth
Form Use
Agent skill that drives complex web forms and paginated surveys through the browser: probe → fill → four-layer
Card Dispute Agent
Claude agent for card-transaction disputes: tool-calling loop, KYC gate and $500 credit cap enforced by hooks,
Self Assess
You are Adjutant, a global orchestrator agent. This is a SELF-ASSESSMENT — a weekly introspection to evaluate
Related Agents
Lykos Builder
Implements a well-specified, self-contained coding task (exact files, behaviour and verification given). Defau
Token Change
Safely perform a self-contained Graphite token/color change end-to-end (edit primitive → regenerate → gate) in
Wow Mechanics Engineer
Use this agent for the behaviour layer of a World of Warcraft addon — events, combat state, secure buttons and