Dev & Engineering self-improvement-loopsharness-engineeringevolutionary-searchcontext-evolutionreward-hackingruntime-sandboxing

Self-Improvement Loops

Evolve agent harnesses, workflows, and context mechanisms under bounded, evidence-based evaluation.

FollowSkills review · FSRS-2.0
Not recommended
58/ 100 5-point scale 2.9 / 5
Trust16 / 25 · 3.2/5

The document specifies runtime-enforced budgets and permissions, external evaluators, sandboxing, human approval points, candidate archives, lineage, and failed-candidate retention, reducing overreach and irrecoverable self-modification risk. It does not concretely define sensitive-data handling, user-confirmation flows, a general rollback implementation, or dependency-security controls, so 9 points are deducted.

Reliability8 / 20 · 2.0/5

The guidance is internally coherent and covers capability validation, stagnation detection, two-split acceptance, reward-hacking failures, and intelligible trace feedback, with readable pseudocode and archive examples. However, this is a static review; the selected skill has no accompanying executable tests or scripts reproducing its key paths, and several controls depend on external implementation, so 12 points are deducted.

Adaptability12 / 15 · 4.0/5

Activation scenarios, non-fit boundaries, optimization levels, and routing to adjacent skills are clearly stated for several self-improvement use cases. Inputs and output contracts, empirical semantic-trigger coverage, Chinese-language support, and mainland-China environment fit are not established, so 3 points are deducted.

Convention11 / 15 · 3.7/5

The skill has layered sections, a readiness checklist, examples, integration guidance, an internal evidence reference, version and update metadata, and repository-level MIT licensing. Maintenance ownership, changelog practice, dependency/install guidance, and a concrete update path are incomplete; authorship is attributed only to a contributor group, so 4 points are deducted.

Effectiveness6 / 15 · 2.0/5

The optimization ladder, failure-driven loop, acceptance gate, archive layout, and routing example are directly useful for design work and address common failure modes. The selected skill remains a conceptual and pseudocode guide without a runnable implementation or verified representative outputs, leaving substantial engineering work, so 1 point is deducted.

Verifiability5 / 10 · 2.5/5

Key claims carry claim IDs, and the internal reference records dates plus papers or reports and experimental details, while also disclosing revalidation limits. Evidence is still primarily documentary and relayed from external sources; no independent reproduction, skill-specific test coverage, or broad corroboration is present in the supplied files, so the static-review ceiling of 5 applies.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision c578e85e40fe
Before you use it
  • This is a low-confidence static assessment; examples, code, and repository CI were not executed.
  • The cited numbers and research conclusions are marked as volatile and should be revalidated before adoption.
  • A host runtime must still implement isolation, immutable evaluation, rollback, and human approval; the skill text alone cannot guarantee those controls.
  • Chinese interaction and mainland-China network reachability are not specified; accessibility should be checked wherever external papers, sites, or remote infrastructure are required.
Review evidence [1][2][3][4][5][6][7][8][9]
See the full review method →

What does this skill do, and when should you use it?

This skill is for systems that optimize the harness, scaffold, workflow, or context mechanism itself. It covers failure-driven self-edits, meta-harness search, evolutionary scaffold search, context-mechanism evolution, and acceptance gates for self-modifying systems. Its central rule is to keep evaluation, permissions, instrumentation, and budgets outside the editable loop while testing candidates on held-in and held-out data. It is a fit for teams with reliable automated feedback and a need for iterative agent-system improvement, not for one-shot prompt tuning without dependable execution signals.

It guides teams to cluster failed traces by verifier cause, agent responsibility, and reusable mechanism; declare editable surfaces and require each proposal to record its target, expected effect, and regression risks; evaluate candidates repeatedly on held-in and held-out splits; store candidate source, scores, raw execution traces, diffs, lineage, and decisions in a filesystem archive; preserve search diversity through archive-based selection, offspring-count discounting, and near-duplicate rejection; and enforce permissions, budgets, and sandbox boundaries in the runtime outside the loop.

  1. A harness engineer wants to generate bounded self-edits from recurring failure traces and validate regressions before merging.
  2. A research team is searching over workflow graphs, harness programs, or optimizer code with a meta-agent proposer.
  3. A context engineer wants an itemized playbook or context-producing skill to evolve incrementally from execution feedback.
  4. An evaluation engineer needs two-split acceptance gates, repeated trials, and protections against evaluator gaming.
  5. An agent platform team is diagnosing reward hacking, diversity collapse, context collapse, or silent stagnation in an improvement loop.

What are this skill's strengths and limitations?

Pros
  • Provides a six-rung optimization ladder from instruction prompts to optimizer code, helping teams fix failures at the lowest suitable level.
  • Clearly separates mutable optimization surfaces from evaluation, instrumentation, permissions, and budget enforcement.
  • Treats candidate source and raw traces as first-class evidence instead of relying only on scores or model-written summaries.
  • Offers concrete patterns for failure mining, two-split acceptance, diversity preservation, and incremental context merging.
Limitations
  • Requires a fast, deterministic, automatable evaluator; slow, ambiguous, or judge-only domains are poor fits.
  • The skill provides design guidance and Python pseudocode examples, not a complete self-modifying runtime or deployable implementation.
  • Adoption requires filesystem archives, runtime sandboxing, permission boundaries, and preferably an independent evaluator.
  • The source provides no standalone test suite or cross-platform benchmark results for this individual skill.

How do you install this skill?

Copy the complete skills/self-improvement-loops directory into a compatible skills directory, for example: mkdir -p .codex/skills && cp -R skills/self-improvement-loops .codex/skills/. The README also documents .claude/skills/, .cursor/skills/, and .agents/skills/ as installation locations. Preserve the directory layout; do not flatten the skill into a single markdown file. The source does not document a standalone executable installer or turnkey runtime for this skill.

How do you use this skill?

On a host that loads Agent Skills, use a task such as: “Design a self-improvement loop that mines failure traces, proposes bounded harness edits, applies held-in/held-out acceptance, and archives raw traces.” Before enabling self-modification, verify that a fast deterministic evaluator, an unseen held-out split, runtime sandboxing, explicit editable surfaces, and full candidate lineage are available.

How does this skill compare with similar options?

Compared with harness-engineering, this skill focuses on optimizing the control surfaces themselves; harness-engineering governs a single autonomous loop's locked surfaces, logs, rollback, and approval boundaries. evaluation and advanced-evaluation own evaluator and judge design, while context-optimization focuses on one-shot context efficiency rather than evolving the context mechanism over time.

FAQ

Does this skill automatically modify and deploy a production harness?
No. It describes proposal, evaluation, archival, and merge patterns, while production promotion, evaluator changes, and editable-surface expansion remain human decisions.
Should the proposer see the evaluator source code?
No. The skill recommends exposing scores and traces while hiding the scoring implementation and protecting instrumentation and permission checks.
Can context evolution work without reliable feedback?
It is not recommended. The skill states that self-managed context can fall below a static baseline without reliable execution signals or labels.

More skills from this repository

All from muratcankoylan/Agent-Skills-for-Context-Engineering

Dev & Engineering

Context Engineering for Production Agents

A structured guide to designing, optimizing, and evaluating production agent systems with reliable context management.

Dev & Engineering

Autonomous Agent Harness

Designs autonomous agent loops that remain controlled, recoverable, and auditable.

Dev & Engineering

Context Engineering Fundamentals

Understand and shape reliable agent context through attention budgets, context-window mechanics, and signal-density principles.

Dev & Engineering

Latent Briefing

Share task-relevant orchestrator state with workers through task-guided KV-cache compaction when the inference runtime is controllable.

Dev & Engineering

Agent Evaluation Methods

Build repeatable evaluation, regression detection, and quality gates for agent pipelines.

Dev & Engineering

Agent Skill Blueprint

A reusable structure for authoring well-scoped context-engineering skills.

Dev & Engineering

Multi-Agent Architecture Patterns

Design multi-agent systems with context isolation, explicit handoffs, coordinated execution, and controlled failure handling.

Dev & Engineering

Context Degradation Diagnosis

Identify and mitigate lost attention, poisoning, distraction, confusion, and conflict in long agent contexts.

Dev & Engineering

Context Compression Strategies

Compress long-running agent sessions while preserving files, decisions, risks, and next actions.

Dev & Engineering

Filesystem Context Engineering

Move large, durable, or shared agent context into files and retrieve it selectively when needed.

Dev & Engineering

Context Efficiency Optimizer

Reduce context cost with caching, masking, compaction, and partitioning while preserving answer quality.

Dev & Engineering

Reasoning Trace Optimizer

Diagnose context, tool, and instruction failures by analyzing agent traces and iteratively improving prompts.

Dev & Engineering

Long-Horizon Prompting

Designs auditable launch briefs for autonomous agents and parallel multi-agent work on difficult, long-running tasks.

Dev & Engineering

Advanced LLM Evaluation

Build auditable, calibrated LLM-output evaluations with explicit rubrics, confidence scoring, and bias controls.

Dev & Engineering

Persistent Semantic Memory Design

Design durable, retrievable agent memory that scales from simple files to temporal knowledge graphs.

Dev & Engineering

Agent Tool Design Guide

Design tool interfaces agents can route, call, and recover from reliably.

Dev & Engineering

Project Development Methodology

Decide whether an LLM fits the job, then design a staged agent pipeline with predictable parsing, iteration, and cost control.

Dev & Engineering

BDI Mental State Modeling

Turn RDF context into explainable belief, desire, and intention chains.

Dev & Engineering

Rigorous Research Agent

A validation, recovery, and source-tracking protocol for multi-step research.

Productivity & Collaboration

Digital Brain Personal OS

Manage content, relationships, knowledge, and goals through structured files and AI.

Related skills