agentleFS
joeloverbeckjoeloverbeck/skill-evidence/.claude/skills/skill-evolution/SKILL.md

skill-evolution

Skill0 starsChanged 3 months agoMITView on GitHub

Evidence-gated revision of another skill — hard-refuses unless the freshly derived gate authorizes a review, and lands only a blind-validated candidate.

9 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 7 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read references/authorized-review.md and execute it end-to-end, starting by claiming the review.

    line 47

“Common” is measured: kept by at least 6 in 10 of the 7 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Skill Evolution

Revise a target skill only when accumulated prospective evidence has opened a mechanical authorization gate, review confirms the target owns the recurring failure, and fresh blind comparative trials prove an isolated candidate materially better without unacceptable regression. This skill is deliberately unavailable for preventive checking, aesthetic cleanup, reassurance, or reaction to a newly noticed imperfection: it is event-authorized, never schedule-authorized, and a hard refusal on a closed gate is a successful, complete run. Invoking it is authorization to land a validated candidate — no second "implement now" prompt — and equally authorization for nothing at all when the gate or validation says no.

Arguments: the path of the target skill directory (required). Everything else is derived mechanically from its evidence store, reports/skill-evidence/<skill-key>/.

Hard boundaries

  • Only the freshly derived gate authorizes work. No rationale substitutes: not reassurance, a noticed possible improvement, staleness, size or ugliness, one non-severe incident, many clean uses, a new model or tool version without observed incompatibility, old skill-audit history, a prior premature refusal, explicit user insistence, or an "obvious tiny" change.
  • Until the preflight passes: never read the target semantically, inspect it or repository conventions for improvement opportunities, propose or suggest anything, append any incident, or edit anything. Repeated invocations do not advance the gate, create evidence, or shorten the cooldown.
  • Fresh session means a different top-level session. Never satisfy the cooldown through a child agent, subagent, continuation, or context reset inside the same top-level session.
  • Self-targeting is forbidden. If this skill's own evidence gate ever opens, route the bounded evidence packet to an independent skill-authoring workflow; judging the live skill via a copied candidate of itself is still self-review.
  • Evidence is immutable: every event write goes through the compiled command; never hand-edit events.jsonl or gate-status.json, and never delete or rewrite earlier events.

Workflow

1. Run the mechanical preflight

From the repository root:

cargo run --locked -p skill-evidence -- skills evolution preflight \
  --target <skill-path> --recorded-at <RFC3339-clock> \
  --now-epoch-milliseconds <clock-ms> --session-id <top-level-session-id> \
  --lock-owner <caller-owned-lock-id>

One run is the whole check: the compiled command validates event-stream integrity, regenerates gate-status.json, hashes the live target, and evaluates every authorization term — authorized workflow, eligible or quarantined-eligible state, hash match, no active review, fresh-session/cooldown, non-self target. Clock, session, and lock identities are explicit caller inputs; the command never reads the ambient clock or generates an identity.

Done when the compiled command printed either a refusal block or an authorized evidence packet.

2. On refusal: relay and stop

Relay the compiled command's refusal verbatim — gate state, failed condition, terminal outcome — and end the run with no analysis, no suggestions, and no softening ("we could still look at…"). Safe refusal is success.

Done when the refusal was relayed unchanged and nothing else was done to or about the target.

3. On authorization: run the review

Read references/authorized-review.md and execute it end-to-end, starting by claiming the review.

Done when exactly one close disposition was recorded through the compiled command, the review report names its truthful terminal outcome under reports/skill-evidence/<skill-key>/reviews/, and the user-facing completion states whether the live skill changed.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.