Skip to content
Back to skills

Self Evolve

ASecurity

Improve an existing skill or repository through isolated proposals, reproducible evaluation and evidence-based acceptance. Use for self-evolve or skill improvement.

  • 27 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 2, 2026
ai-agentspythongobashgit

Works with

  • cli

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned December 2, 2026

npx -y skills add DaizeDong/self-evolve --skill self-evolve --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Self Evolve?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Self Evolve
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/daizedong-self-evolve-self-evolve/badge)](https://www.skillsdirectory.com/skills/daizedong-self-evolve-self-evolve)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: self-evolve
description: "Improve an existing skill or repository through isolated proposals, reproducible evaluation and evidence-based acceptance. Use for self-evolve or skill improvement."
---

# self-evolve

Propose changes in a Git worktree, measure parent and candidate the same way, and let code decide
from the evidence. A passing check proves only what it measured.

`<repo>` below is the plugin or checkout root, two levels above this file. Run the CLI as
`python <repo>/tools/sie_cli.py <command>`.

## Invariants

1. **Fix the comparison before editing.** Freeze the goal, allowed edits, evaluation policy and
   holdout before any candidate change, and keep parent obligations in the comparison even when the
   candidate removes them. A changed goal needs a new run, not new rules for an old one.
2. **Evidence comes from observation.** A is executed tests, B is independently verified facts, C
   is supplied regression and consistency measurements. The loop has no C measurement producer and
   refuses A+B. A missing measurement stays unavailable; relabeling it creates no evidence.
3. **Models propose, code accepts.** Reflection and proposals come from installed `llmcall`
   (`mode="agent"` for agents, default mode for judges), inheriting its routing, model, timeout and
   fallback. Only actually returned, known, different providers establish review independence.
4. **Keep decisions recoverable.** Preserve failures, rejection reasons, provider metadata, events
   and exact accepted snapshots; a digest identifies content but cannot restore it.
5. **Real evidence stays private.** Run records live only in the PRIVATE companion, with no in-repo
   fallback. Worktrees, prompt filtering and AST checks are not an operating-system sandbox.
   ACCEPT archives a candidate; merging, publishing and sending follow the caller's authorization.

Reasons and rejected alternatives: [PHILOSOPHY.md](../../PHILOSOPHY.md).

## Before a Run

1. Confirm the target repository, base revision, allowed scope and the behavior to improve.
2. Choose the signal (A, B or C) under invariant 2.
3. Select the PRIVATE companion: [runtime.md](reference/runtime.md#configuration).
4. Run `doctor --target <target>` and read its JSON, including `private_data.available`. Doctor
   calls no model; exit zero alone does not prove readiness.

## Workflow

| Step | Work |
|---|---|
| PROFILE | Freeze the evaluation policy, target contract and holdout; resume keeps them |
| REFLECT | Diagnose from existing records and check citations; a structural pass is not a fact check |
| PROPOSE | Propose changes inside the allowed scope; keep actual providers and failure reasons |
| PATCH | Apply in the candidate worktree with path, AST and IMMUTABLE checks |
| EVALUATE | Measure parent and candidate with the same identities; keep unavailable reasons |
| ACCEPT / REVIEW | Code applies the gates: archive, reject or queue human review |

```bash
python <repo>/tools/sie_cli.py init --target <target>
python <repo>/tools/sie_cli.py run --target <target> --run-id <id> --base-ref HEAD
python <repo>/tools/sie_cli.py status --target <target> --run-id <id>
```

The default `builtin` proposer turns supplied fixes into proposals and discovers none. `--live`
enables model proposals and parallel reflection; `--proposer llm-artifact` proposes JSON artifacts.
Resume by running the same run ID; `--max-rounds` counts rounds for this invocation. Options,
replay, rollback and selfboot: [runtime.md](reference/runtime.md).

## Accept and Deliver

- Report missing baselines, regression records, fact checks or independent providers as gaps.
  No regressions or an all-green suite is not by itself an improvement; read evidence with
  [evaluation.md](reference/evaluation.md). Statistical claims need the assumptions in
  [acceptor_math.md](reference/acceptor_math.md).
- When the candidate changes a skill repository, it follows skill-smith's
  [repo-layout.md](https://github.com/DaizeDong/skill-smith/blob/main/skills/skill-smith/reference/repo-layout.md):
  edit every doc line the change makes wrong, PHILOSOPHY.md included, and release with
  `bump_version.py` when shipped behavior changes. With the change staged, run skill-smith's doc
  pass `scripts/artifact_catalog.py <candidate repo>` and edit or confirm each document it prints.
  Finish this before the review snapshot; a change after review needs the affected checks again.
- Deliver the candidate diff, source revision, actual measurements, acceptance reason, uncovered
  scope and run state.
- Storage inventory, retention and recovery limits: [DATA.md](../../DATA.md).

Load each reference only for its step; do not substitute historical research for current code and
measurements.

Files in this skill

  • SKILL.md4.6 KB
  • reference/acceptor_math.md8.8 KB
  • reference/evaluation.md7.3 KB
  • reference/runtime.md9.8 KB
  • scripts/setup_btarget_repo.py5.9 KB
  • scripts/validate_btarget.py5.1 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.