AI Agent Hub
Back to skills
Self-Iteration Core icon

Self-Iteration Core

AI Agent Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Please follow https://skillhub.cn/install/skillhub.md to install @user_c0f5ae43/self-iteration-core.

About this skill

The problem it addresses

When an agent misses replies, repeats itself, loses context, or skips SOP steps, saying "noted" is not enough. This skill turns a failure into a checkable mechanism problem and pushes the fix to a specific rule, memory, tool, or process point.

How it works

The core loop is a four-step retrospective:
- Trace the root cause: keep asking why until the issue moves from symptom to mechanism.
- Identify the fix point: decide whether MEMORY.md, USER.md, TOOLS.md, the SOP, or a skill file should change.
- Apply the change: use edit_file for immediate-layer files, avoid overwriting with write_file, and append a change record.
- Verify and consolidate: re-run the scenario or simulate it, then promote the lesson into long-term memory.

It also defines a three-level memory lookup order: first immediate context files, then recent_memory/index.json, and finally semantic retrieval with memory_search. It fits agents that need continuously refined behavior rules. It is not meant to escalate transient tool failures, network outages, or minor user preferences into full retrospectives. Keep changes single-point so the effect of each update stays attributable.

Use Cases

  • When an agent misses an important reply, run the four-step retrospective and update the checklist rule.
  • After replying to the same user twice, identify the missing state comparison and add a state snapshot.
  • When a user flags a biased rule, revise MEMORY.md wording with positive and negative examples.
  • After skipping an SOP step, decide whether to fix the SOP or SKILL.md, then apply and simulate.

Best For

  • Maintainers of personal assistant agents who need to consolidate lessons from mistakes instead of only promising fixes.
  • Agent engineers responsible for behavior rules and debugging missed replies, duplicates, or lost context.
  • AI product owners who want user corrections and retrospective notes stored in layered memory for later retrieval.
  • Leads standardizing agent iteration workflows with single-point fixes and verification before promotion.