โ† Back to Skills Marketplace
bustes01

๐Ÿ”„ Self-Iteration Engine

by shake27 ยท GitHub โ†— ยท v1.0.0 ยท MIT-0
cross-platform โœ“ Security Clean
74
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install self-iteration-engine
Description
Self-iteration and feedback learning engine for AI agent skills. Tracks usage logs, detects performance patterns, triggers skill updates, and proposes new sk...
README (SKILL.md)

๐Ÿ”„ Self-Iteration Engine

Self-iteration and feedback learning engine for AI agent skills. Tracks usage logs, detects performance patterns, triggers skill updates, and proposes new skill creation based on repeated request patterns.

This is a shared component skill โ€” other skills reference it for self-improvement. When updating, ensure backward compatibility with all dependent skills. Users may install this skill standalone for its capabilities.

Usage Log Format

Maintain a usage log file for each skill that declares dependency:

# Usage Log: \x3Cskill-name>
## [YYYY-MM-DD]
- Request: \x3Cbrief description>
- Outcome: success | partial | fail
- User corrected: yes | no
- Correction detail: \x3Cif yes, what was corrected>
- Lesson: \x3Cwhat to do differently next time>

File location: memory/usage-logs/\x3Cskill-name>.md

Self-Iteration Triggers

Evaluate these conditions during each periodic review (default daily, configurable):

Condition Action
3+ consecutive successful invocations Mark skill as "stable" โ€” reduce context allocation
2+ failures for the same scenario Flag for SKILL.md reassessment
Same request type appears 3+ times Evaluate creating a new dedicated skill
User corrected output Log correction, adjust future behavior for that scenario
Skill hasn't been reviewed in 30+ days Trigger review: check if dependencies changed, update examples
External tech change detected Compare against skill's core technology stack, update if needed

Feedback Loop Implementation

# memory/feedback-loop/\x3Cskill-name>.yaml
feedback_loop:
  last_review: "2026-05-19"
  next_review: "2026-05-26"
  status: "stable" | "needs-attention" | "monitoring"
  patterns_observed:
    - pattern: "user asks for financial data on weekends"
      current_response: "check if markets are open"
      improvement: "pre-fill with last trading day data"
      status: "resolved" | "pending" | "in-progress"
  skill_performance:
    total_calls: 47
    success_rate: 0.96
    issues:
      - "data freshness on weekends"

Review Cycle

Daily (lightweight)

  • Scan today's usage log entries
  • Check for failure patterns
  • Log any user corrections

Weekly (moderate)

  • Aggregate performance stats
  • Check iteration triggers (listed above)
  • If any trigger fires โ†’ update SKILL.md or create new skill
  • Archive usage logs older than 7 days

Monthly (deep)

  • Full performance review across all skills
  • Compare success rates, identify declining trends
  • Check if any external technology replaced the skill's core stack
  • Propose new skill ideas based on accumulated pattern data
  • Run memory cleanup (delegate to complex-memory-manager)

Update Decision Matrix

Signal Decision
80%+ success rate, no user corrections No update needed
60-80% success rate Minor update: clarify instructions, add edge cases
\x3C60% success rate Major update: redesign workflow, check data sources
User corrects same thing 3+ times Fix that specific guidance in SKILL.md
External API / tool changed Update immediately
New competing technology available Evaluate migration; update if 2x+ better

New Skill Creation Criteria

Create a new skill when:

  • Same request pattern appears 3+ times across different users
  • The pattern cannot be handled well by existing skills
  • The pattern has a clear, bounded scope
  • A distinct tool/API would improve the result

Document in memory/skill-ideas/:

proposal:
  name: \x3Csuggested-slug>
  rationale: "Pattern X appeared N times. Existing skill Y handles it poorly because..."
  scope: "\x3Cbounded description>"
  priority: high | medium | low
  created: \x3Cdate>

Cross-Skill Usage

Other skills declare dependency:

metadata:
  openclaw:
    requires:
      skills:
        - self-iteration-engine

Usage logs are prefixed with the source skill name:

  • memory/usage-logs/skill-a.md
  • memory/feedback-loop/skill-a.yaml

When this skill updates log format, check ALL dependent skills' parsing logic.


๐Ÿ”„ ่‡ช่ฟญไปฃๅผ•ๆ“Ž

้ขๅ‘AI AgentๆŠ€่ƒฝ็š„่‡ช่ฟญไปฃไธŽๅ้ฆˆๅญฆไน ๅผ•ๆ“Žใ€‚่ฟฝ่ธชไฝฟ็”จๆ—ฅๅฟ—ใ€ๆฃ€ๆต‹ๆ€ง่ƒฝๆจกๅผใ€่งฆๅ‘ๆŠ€่ƒฝๆ›ดๆ–ฐ๏ผŒๅนถๅŸบไบŽ้‡ๅค่ฏทๆฑ‚ๆจกๅผๆๅ‡บๆ–ฐๆŠ€่ƒฝๅˆ›ๅปบๅปบ่ฎฎใ€‚

่ฟ™ๆ˜ฏไธ€ไธชๅ…ฑไบซ็ป„ไปถๆŠ€่ƒฝโ€”โ€”ๅ…ถไป–ๆŠ€่ƒฝ้€š่ฟ‡ๅฎƒๅฎž็Žฐ่‡ชๆˆ‘ๆ”น่ฟ›ใ€‚ๆ›ดๆ–ฐๆ—ถ้œ€ไฟ่ฏๅ‘ๅŽๅ…ผๅฎนใ€‚็”จๆˆทไนŸๅฏ่ƒฝ็‹ฌ็ซ‹ๅฎ‰่ฃ…ๆญคๆŠ€่ƒฝไฝฟ็”จๅ…ถ่ƒฝๅŠ›ใ€‚

ไฝฟ็”จๆ—ฅๅฟ—ๆ ผๅผ

ๆฏไธชๅฃฐๆ˜Žไพ่ต–็š„ๆŠ€่ƒฝ็ปดๆŠคไธ€ไปฝไฝฟ็”จๆ—ฅๅฟ—๏ผš

# ไฝฟ็”จๆ—ฅๅฟ—๏ผš\x3Cskillๅ็งฐ>
## [YYYY-MM-DD]
- ่ฏทๆฑ‚๏ผš\x3C็ฎ€่ฟฐ>
- ็ป“ๆžœ๏ผšๆˆๅŠŸ | ้ƒจๅˆ†ๆˆๅŠŸ | ๅคฑ่ดฅ
- ็”จๆˆทไฟฎๆญฃ๏ผšๆ˜ฏ | ๅฆ
- ไฟฎๆญฃ่ฏฆๆƒ…๏ผš\x3Cๅฆ‚ๆžœๆ˜ฏ๏ผŒไฟฎๆญฃไบ†ไป€ไนˆ>
- ็ป้ชŒ๏ผš\x3Cไธ‹ๆฌกๅบ”่ฏฅๆ€Žไนˆๅš>

ๆ–‡ไปถไฝ็ฝฎ๏ผšmemory/usage-logs/\x3Cskillๅ็งฐ>.md

่‡ช่ฟญไปฃ่งฆๅ‘ๆกไปถ

ๅฎšๆœŸๅฎกๆŸฅๆ—ถ่ฏ„ไผฐไปฅไธ‹ๆกไปถ๏ผˆ้ป˜่ฎคๆฏๅคฉ๏ผŒๅฏ้…็ฝฎ๏ผ‰๏ผš

ๆกไปถ ่กŒๅŠจ
่ฟž็ปญๆˆๅŠŸ3ๆฌกไปฅไธŠ ๆ ‡่ฎฐไธบ"็จณๅฎš"โ€”โ€”ๅ‡ๅฐ‘ไธŠไธ‹ๆ–‡ๅˆ†้…
ๅŒไธ€ๅœบๆ™ฏๅคฑ่ดฅ2ๆฌกไปฅไธŠ ๆ ‡่ฎฐSKILL.md้œ€้‡ๆ–ฐ่ฏ„ไผฐ
ๅŒ็ฑป่ฏทๆฑ‚ๅ‡บ็Žฐ3ๆฌกไปฅไธŠ ่ฏ„ไผฐๅˆ›ๅปบๆ–ฐไธ“็”จskill
็”จๆˆทไฟฎๆญฃไบ†่พ“ๅ‡บ ่ฎฐๅฝ•ไฟฎๆญฃ๏ผŒ่ฐƒๆ•ดๅŽ็ปญ่ฏฅๅœบๆ™ฏ็š„่กŒไธบ
ๆŠ€่ƒฝ่ถ…่ฟ‡30ๅคฉๆœชๅฎกๆŸฅ ่งฆๅ‘ๅฎกๆŸฅ๏ผšๆฃ€ๆŸฅไพ่ต–ๆ˜ฏๅฆๅ˜ๆ›ดใ€ๆ›ดๆ–ฐ็คบไพ‹
ๆฃ€ๆต‹ๅˆฐๅค–้ƒจๆŠ€ๆœฏๅ˜ๅŒ– ไธŽๆŠ€่ƒฝๆ ธๅฟƒๆŠ€ๆœฏๆ ˆๅฏนๆฏ”๏ผŒ้œ€่ฆๆ—ถๆ›ดๆ–ฐ

ๅ้ฆˆๅพช็Žฏๅฎž็Žฐ

# memory/feedback-loop/\x3Cskillๅ็งฐ>.yaml
feedback_loop:
  last_review: "2026-05-19"
  next_review: "2026-05-26"
  status: "stable" | "needs-attention" | "monitoring"
  patterns_observed:
    - pattern: "็”จๆˆทๅœจๅ‘จๆœซๆŸฅ่ฏข้‡‘่žๆ•ฐๆฎ"
      current_response: "ๆฃ€ๆŸฅๅธ‚ๅœบๆ˜ฏๅฆๅผ€็›˜"
      improvement: "่‡ชๅŠจๅกซๅ……ๆœ€่ฟ‘ไบคๆ˜“ๆ—ฅๆ•ฐๆฎ"
      status: "resolved" | "pending" | "in-progress"
  skill_performance:
    total_calls: 47
    success_rate: 0.96
    issues:
      - "ๅ‘จๆœซๆ•ฐๆฎๆ–ฐ้ฒœๅบฆ"

ๅฎกๆŸฅๅ‘จๆœŸ

ๆฏๆ—ฅ๏ผˆ่ฝป้‡๏ผ‰

  • ๆ‰ซๆไปŠๅคฉ็š„ๆ—ฅๅฟ—ๆก็›ฎ
  • ๆฃ€ๆŸฅๅคฑ่ดฅๆจกๅผ
  • ่ฎฐๅฝ•็”จๆˆทไฟฎๆญฃ

ๆฏๅ‘จ๏ผˆไธญ็ญ‰๏ผ‰

  • ๆฑ‡ๆ€ปๆ€ง่ƒฝ็ปŸ่ฎก
  • ๆฃ€ๆŸฅ่งฆๅ‘ๆกไปถ
  • ่งฆๅ‘ๆ›ดๆ–ฐๆˆ–ๅˆ›ๅปบๆ–ฐๆŠ€่ƒฝ
  • ๅฝ’ๆกฃ่ถ…่ฟ‡7ๅคฉ็š„ๆ—ฅๅฟ—

ๆฏๆœˆ๏ผˆๆทฑๅบฆ๏ผ‰

  • ๅ…จๆŠ€่ƒฝๆ€ง่ƒฝๅฎกๆŸฅ
  • ๅฏนๆฏ”ๆˆๅŠŸ็އ๏ผŒ่ฏ†ๅˆซไธ‹้™่ถ‹ๅŠฟ
  • ๆฃ€ๆŸฅๅค–้ƒจๆŠ€ๆœฏๆ˜ฏๅฆๅ–ไปฃไบ†ๆŠ€่ƒฝๆ ธๅฟƒ
  • ๅŸบไบŽ็งฏ็ดฏ็š„ๆจกๅผๆ•ฐๆฎๆๅ‡บๆ–ฐๆŠ€่ƒฝๆƒณๆณ•
  • ๆ‰ง่กŒ่ฎฐๅฟ†ๆธ…็†๏ผˆๅง”ๆ‰˜็ป™complex-memory-manager๏ผ‰

ๆ›ดๆ–ฐๅ†ณ็ญ–็Ÿฉ้˜ต

ไฟกๅท ๅ†ณ็ญ–
ๆˆๅŠŸ็އ>80%๏ผŒๆ— ็”จๆˆทไฟฎๆญฃ ๆ— ้œ€ๆ›ดๆ–ฐ
ๆˆๅŠŸ็އ60-80% ๅฐๅน…ๆ›ดๆ–ฐ๏ผšๆพ„ๆธ…่ฏดๆ˜Žใ€่กฅๅ……่พน็•Œๆƒ…ๅ†ต
ๆˆๅŠŸ็އ\x3C60% ้‡ๅคงๆ›ดๆ–ฐ๏ผš้‡ๆ–ฐ่ฎพ่ฎกๅทฅไฝœๆตใ€ๆฃ€ๆŸฅๆ•ฐๆฎๆบ
็”จๆˆทไฟฎๆญฃๅŒไธ€ๅ†…ๅฎน3ๆฌกไปฅไธŠ ๅœจSKILL.mdไธญไฟฎๅค่ฏฅๆŒ‡ๅฏผ
ๅค–้ƒจAPI/ๅทฅๅ…ทๅ˜ๆ›ด ็ซ‹ๅณๆ›ดๆ–ฐ
ๅ‡บ็Žฐๆ–ฐ็š„็ซžไบ‰ๆŠ€ๆœฏ ่ฏ„ไผฐ่ฟ็งป๏ผ›่‹ฅ2ๅ€ไปฅไธŠไผ˜ไบŽ็Žฐๆœ‰ๅˆ™ๆ›ดๆ–ฐ

ๆ–ฐๆŠ€่ƒฝๅˆ›ๅปบๆ ‡ๅ‡†

ไปฅไธ‹ๆƒ…ๅ†ตๅˆ›ๅปบๆ–ฐๆŠ€่ƒฝ๏ผš

  • ็›ธๅŒ่ฏทๆฑ‚ๆจกๅผๅœจไธๅŒ็”จๆˆทๅ‡บ็Žฐ3ๆฌกไปฅไธŠ
  • ็Žฐๆœ‰ๆŠ€่ƒฝๆ— ๆณ•่‰ฏๅฅฝๅค„็†่ฏฅๆจกๅผ
  • ่ฏฅๆจกๅผๆœ‰ๆธ…ๆ™ฐใ€ๆœ‰่พน็•Œ็š„่Œƒๅ›ด
  • ๆœ‰็‹ฌ็‰นๅทฅๅ…ท/APIๅฏๆๅ‡็ป“ๆžœ

่ฎฐๅฝ•ๅœจ memory/skill-ideas/๏ผš

proposal:
  name: \x3Cๅปบ่ฎฎ็š„slug>
  rationale: "ๆจกๅผXๅ‡บ็Žฐไบ†Nๆฌกใ€‚็Žฐๆœ‰ๆŠ€่ƒฝYๅค„็†ไธไฝณๅ› ไธบ..."
  scope: "\x3Cๆœ‰่พน็•Œ็š„ๆ่ฟฐ>"
  priority: high | medium | low
  created: \x3Cๆ—ฅๆœŸ>

่ทจๆŠ€่ƒฝไฝฟ็”จ

ๅ…ถไป–ๆŠ€่ƒฝๅฃฐๆ˜Žไพ่ต–็š„ๆ–นๅผ๏ผš

metadata:
  openclaw:
    requires:
      skills:
        - self-iteration-engine

ไฝฟ็”จๆ—ฅๅฟ—ไปฅๆบๆŠ€่ƒฝๅ็งฐไธบๅ‰็ผ€๏ผš

  • memory/usage-logs/skill-a.md
  • memory/feedback-loop/skill-a.yaml

ๆœฌๆŠ€่ƒฝๆ›ดๆ–ฐๆ—ฅๅฟ—ๆ ผๅผๆ—ถ๏ผŒ้œ€ๆฃ€ๆŸฅๆ‰€ๆœ‰ไพ่ต–ๆŠ€่ƒฝ็š„่งฃๆž้€ป่พ‘ใ€‚

Usage Guidance
Do not rely on this as a completed security review. Rerun ClawScan in an environment where metadata.json and the artifact directory can be read.
Capability Assessment
โ„น Purpose & Capability
Not assessed from artifact contents; local file inspection failed before metadata.json or artifact files could be read.
โ„น Instruction Scope
Not assessed from artifact contents due to workspace inspection failure.
โ„น Install Mechanism
Not assessed from artifact contents due to workspace inspection failure.
โ„น Credentials
Not assessed from artifact contents due to workspace inspection failure.
โ„น Persistence & Privilege
Not assessed from artifact contents due to workspace inspection failure.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install self-iteration-engine
  3. After installation, invoke the skill by name or use /self-iteration-engine
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release: usage logging, feedback loops, update decision matrix
Metadata
Slug self-iteration-engine
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is ๐Ÿ”„ Self-Iteration Engine?

Self-iteration and feedback learning engine for AI agent skills. Tracks usage logs, detects performance patterns, triggers skill updates, and proposes new sk... It is an AI Agent Skill for Claude Code / OpenClaw, with 74 downloads so far.

How do I install ๐Ÿ”„ Self-Iteration Engine?

Run "/install self-iteration-engine" in the OpenClaw or Claude Code chat to install it in one step โ€” no extra setup required.

Is ๐Ÿ”„ Self-Iteration Engine free?

Yes, ๐Ÿ”„ Self-Iteration Engine is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does ๐Ÿ”„ Self-Iteration Engine support?

๐Ÿ”„ Self-Iteration Engine is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created ๐Ÿ”„ Self-Iteration Engine?

It is built and maintained by shake27 (@bustes01); the current version is v1.0.0.

๐Ÿ’ฌ Comments