मुख्य सामग्री पर जाएँ
Skillpedia
एजेंट18k · #10650

self-improvement-loops

यह क्या करती है

यह स्किल ऐसे सिस्टमों के बारे में है जहाँ एजेंट का अपना harness, scaffold या workflow ही सुधारा जा रहा है, जैसे एक एजेंट जो अपनी विफलताएँ पढ़कर बदलाव सुझाता है। यह खुद को संशोधित करने वाले एजेंट सिस्टम बनाने वाले उन्नत बिल्डरों के लिए है।

कब इस्तेमाल करें

  • ✓जब एजेंट को अपने prompts, scaffold या workflow में बदलाव सुझाने हों।
  • ✓जब आप तय कर रहे हों कि खुद-संशोधित सिस्टम के बदलाव कैसे स्वीकार या अस्वीकार करें।
  • ✓जब सुधार लूप अपने metric से खिलवाड़ करने लगे या उसके विचारों की विविधता खोने लगे।

Skill का लिंक

https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering/blob/main/skills/self-improvement-loops/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering/blob/main/skills/self-improvement-loops/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मैं चाहता हूँ कि मेरा एजेंट अपने विफल रन पढ़े और सुरक्षित workflow बदलाव सुझाए। मैं उसे स्कोरिंग से खिलवाड़ करने से कैसे रोकूँ?”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

स्किल सीमित संपादन डिज़ाइन करना, विफलता के पैटर्न खोजना और स्वीकृति द्वार तय करना समझाती है, ताकि लूप कमज़ोर metric के बजाय असली लक्ष्य पर सुधार करे।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Self-Improvement Loops

This skill covers systems where the harness is the artifact being optimized: an agent mines its own failures and edits its own scaffold, a meta-agent searches over harness code, a population of workflow candidates evolves against an evaluator, or the mechanism that produces context is itself versioned and improved. The design question shifts from "how do I control one loop" (harness-engineering) to "how do I let a loop rewrite parts of itself without corrupting the signal that steers it".

The controlling constraint across every published system: the loop optimizes whatever signal it is given, including the signal's own weaknesses. Design the loop assuming the optimizer will find every gap between the metric and the intent.

When to Activate

Activate this skill when:

  • Building a loop where an agent proposes edits to its own harness, prompts, context playbook, or workflow based on mined failure patterns
  • Designing meta-level search over harness or scaffold code: meta-agent search, tree search over workflow graphs, evolutionary program search with an LLM mutation operator
  • Choosing acceptance criteria for any self-modifying agent system
  • Evolving the mechanism that manages context (a skill, playbook, or context function) rather than hand-editing the context artifact
  • Diagnosing a degenerating self-improvement loop: reward hacking, diversity collapse, context collapse, or silent stagnation
  • Deciding which level of the optimization ladder (prompt, context, workflow, harness code, optimizer code) a recurring failure should be fixed at

Do not activate this skill for adjacent work owned by other skills:

  • Governance of a single autonomous loop that does not modify itself: locked and editable surfaces, durable logs, rollback, novelty gates, PR preparation, and human approval boundaries belong to harness-engineering. That skill defines the control surfaces; this skill defines what happens when the surfaces themselves become the optimization target.
  • Building the evaluator, regression suite, or quality gates that score candidates: evaluation.
  • LLM-as-judge design, pairwise comparison, and bias mitigation for candidate scoring: advanced-evaluation.
  • One-shot token efficiency, masking, or caching without an improvement loop: context-optimization.
  • Remote sandboxes and background execution infrastructure for running the loop: hosted-agents.
  • Whether to build the loop at all, pipeline shape, and cost estimation: project-development.
  • The self-editing context behavior and efficiency reward a loop optimizes: self-managed-context.

Core Concepts

The Optimization Ladder

Published self-improvement systems target progressively deeper objects:

Rung Optimized object Example systems
1 Instruction prompts Promptbreeder, GEPA
2 Structured context ACE (playbook of itemized bullets)
3 Context mechanism MCE (the skill that produces context)
4 Workflow graph ADAS, AFlow
5 Harness code Self-Harness (bounded self-edits), Meta-Harness, Darwin Godel Machine
6 Optimizer code STOP (the improver improves the improver)

Each rung up buys a larger design space and more leverage, and costs more per evaluation with a larger surface for gaming. Fix a recurring failure at the lowest rung that can express the fix. A stale-library failure is a context fix, not a workflow rewrite. Only move up when failure clusters at the current rung persist across candidates.

The Loop Is Not the Intelligence

Recursive structure amplifies base-model quality in both directions. The same recursive improver design that compounds gains with a strong model degrades mean performance across iterations with weaker models (claim-self-improvement-capability-threshold). Two implications:

  1. Run a capability validation before enabling recursion: a fixed number of iterations on a held-out task set, with the loop counted as net-negative if the trajectory declines.
  2. Detect the degenerate stagnation mode. A broken improver that silently returns its input unchanged looks like stability in aggregate metrics. Track edit diffs, not only scores.

The Outside-the-Loop Invariant

The evaluator, its instrumentation, permission control, and budget enforcement must live outside the surface the loop can modify. Every documented reward hack broke this invariant: agents removed the logging markers a hallucination detector depended on, and hacking bec

अक्सर पूछे जाने वाले सवाल

self-improvement loop क्या है?

यह एक चक्र है जिसमें AI सिस्टम अपने नतीजों का अध्ययन करता है और बेहतर करने के लिए अपना सेटअप बदलता है।

reward hacking जोखिम क्यों है?

लूप जो भी संकेत पाता है उसे अनुकूलित करता है, उसकी कमज़ोरियों समेत, इसलिए metric असली लक्ष्य से भटक सकता है।

यह harness engineering से कैसे अलग है?

Harness engineering एक लूप को नियंत्रित करता है, जबकि यह स्किल सिखाती है कि कोई लूप अपने हिस्से सुरक्षित रूप से कैसे दोबारा लिखे।

जानकारी

लेखक का मूल विवरण

This skill should be used when the harness, scaffold, workflow, or optimizer itself is the optimization target: recursive self-improvement (RSI) loops, meta-harnesses, self-improving harnesses that mine their own failures and propose bounded edits, evolutionary or population-based search over agent scaffolds, acceptance gates for self-modifying systems, and agentic context evolution where the mechanism that produces context is versioned and evolved. Route governance of a single autonomous loop (locked surfaces, durable logs, rollback, novelty gates, approval boundaries) to harness-engineering,

repo: muratcankoylan/Agent-Skills-for-Context-Engineering

लोकप्रियता

GitHub स्टार
18k
रैंकिंग में स्थान
#10650
लाइसेंस
MIT
अपडेट की गई
11/10/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

context-engineering-collection

18k

यह आपके एजेंट को AI मॉडल की context window में क्या जाए, इसका प्रबंधन करने में मदद करती है, मेमोरी और टूल्स से लेकर मल्टी-एजेंट सेटअप और मूल्यांकन तक।

AI और एजेंटएजेंट

advanced-evaluation

18k

यह आपके एजेंट को सिखाती है कि दूसरे AI की मदद से AI के जवाबों को कैसे परखा जाए, स्कोरिंग, आमने-सामने तुलना और पूर्वाग्रह जाँच के साथ।

AI और एजेंटएजेंट

bdi-mental-states

18k

यह आपके एजेंट को BDI तरीके से विश्वास, लक्ष्य और योजनाओं का मॉडल बनाना सिखाती है, ताकि उसके फ़ैसले ट्रेस और समझाए जा सकें।

AI और एजेंटएजेंट

context-compression

18k

यह आपके एजेंट को लंबे AI सत्रों को ऐसे सारांशों में छोटा करने में मदद करती है जिनमें फ़ैसले, फ़ाइलें, जोखिम और अगले कदम बचे रहें।

AI और एजेंटएजेंट

मिलती-जुलती skills