agentleFS
softkleenexsoftkleenex/open-primeagent/skills/refine/SKILL.md

refine

Skill1 starsChanged 3 months agoApache-2.0View on GitHub

Turn what this session taught you into the smallest possible harness change (prompt notes, memory, skills, sub-agent specs), so the next task starts better. Reversible.

47 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use daily-arxiv, exp-eval and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • LambenthanSkill

    daily-arxiv

    每日从 arXiv 拉取新论文,过滤相关性,auto-ingest 高优先级论文,检测 SOTA 更新

    Also in 5 projects that use this

  • LambenthanSkill

    exp-eval

    实验判决门:Review LLM 独立评判实验结果 → 4 种判决路径 → 自动更新 claims confidence、ideas status、graph edges

    Also in 5 projects that use this

  • ryanportfolioSkill

    addskill

    Create, import, update, or install repo or personal skills: runtime ownership, resources, discovery checks.

    Also in 6 projects that use this

  • ryanportfolioSkill

    apply-firmware

    Bring current folder (plain folder, existing repo, old or partial firmware copy) up to full Harness Firmware in place. Mirror external repo → adopt-repo.

    Also in 6 projects that use this

  • +5 more from Lambenthan
  • +3 more from ryanportfolio

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 41 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

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

    Do not promote something you saw once.

    line 21
  2. Distinctive:

    Never modify the base system prompt.

    line 38
  3. Very specific:

    Run opa_bootstrap() afterwards so the next session actually reads it.

    line 40
  4. Distinctive:

    Write it for any machine: no absolute paths, no local interpreter locations.

    line 44

“Common” is measured: kept by at least 6 in 10 of the 41 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

Refine

"Self-improving" means the harness improves, not the model's weights.

evidence = await harness.evidence()  # grounds, gathered from this session
await harness.apply([...], trigger="refine", evidence=str(evidence))
await harness.rollback(event_id)  # exact revert

harness does not decide what to change — you do. The host does not lend us its model, so the judgement is yours (or a refiner child's).

What to promote

Do not promote something you saw once. Promote only what recurred — evidence() counts the repetitions and names the kind each one argues for:

signalargues for
repeated_errorsa prompt policy, or a memory fact
repeated_commandsa skill — you keep running the same procedure
retasked_subagentsa subagent spec — the same delegation role keeps coming back

It will miss the best lessons. Those signals see repetition, not wrongness: a call that succeeded and returned something stale or misleading leaves no trace at all. If you noticed something the trajectory cannot show, that is exactly the thing worth writing down — pass it in the evidence argument yourself.

Rules

  • Smallest change. One or two CRUD operations, not a rewrite.
  • Never modify the base system prompt.
  • Everything must be reversible.
  • Run opa_bootstrap() afterwards so the next session actually reads it.
  • A rule others must follow is a prompt, not a memory. Prompts are written out in AGENTS.md / CLAUDE.md, which Codex, opencode and a teammate without open-primeagent all read. A memory shows there only as a title.
  • Write it for any machine: no absolute paths, no local interpreter locations.

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.