omnimind-ai/omnibot/self-improving-agent
- community
Checking that the SKILL.md file is still in the repository.
Built-in self-improvement loop for Omnibot agents. Use to record non-trivial failures, user corrections, outdated assumptions, and reusable best practices into structured workspace learnings, then promote stable rules into memory.
Install
npx vskill@latest install omnimind-ai/omnibot/self-improving-agentSKILL.md
Self Improving Agent
This built-in skill is fixed-injected for Omnibot agent runs.
Use it to maintain a lightweight learning loop without interrupting the user's main task.
The runtime may auto-read this skill after a tool failure and auto-record the failure into data/ERRORS.md. Repeated failures with the same signature are merged into one bounded entry. If an argument/schema failure is followed by a successful call to the same tool in the same Agent run, the runtime closes that pending entry and distills the verified recovery into short-term memory.
When To Record
Record after the immediate task is safe or complete when any of these happens:
- a non-trivial command, tool, browser, or device action fails
- the user corrects your understanding, path, rule, or project assumption
- you discover an outdated Omnibot/runtime/project convention
- you find a reusable workaround or best practice that will likely save future retries
- the same mistake repeats in the same task or across tasks
Do not record ordinary chat, tiny one-off slips, or anything the user asked not to save.
Default Storage
- skill-local learnings:
.omnibot/skills/self-improving-agent/data/ - project-local learnings:
<project>/.learnings/only when the lesson is repo-specific - long-term memory:
.omnibot/memory/MEMORY.mdviamemory_upsert_longterm - short-term memory:
.omnibot/memory/short-memories/viamemory_write_daily
Logging Workflow
- Finish or stabilize the current user-facing step first.
- Prefer the bundled
scripts/omnibot_auto_log.shfor structured logging because it keeps IDs, headers, and append rules consistent. - Use skill scope by default.
- Switch to
--project /workspace/<repo>only when the lesson is clearly tied to one repository. - Use
learningfor corrected knowledge or best practices. - Use
errorfor concrete failures with stderr, HTTP errors, stack traces, or invalid assumptions. - Use
featurefor recurring capability gaps the user actually wants. - Use
promote <ENTRY_ID>only after the lesson looks reusable across tasks.
Memory Promotion
As soon as you actually fix a failure — or the same failure recurs — write one short "遇到 X 先 Y" rule to memory (memory_write_daily, or memory_upsert_longterm when it is broadly stable) and back-fill the ERRORS entry's 建议修复 and 状态 (pending → resolved). Do not leave a resolved failure sitting as pending with an empty fix.
The runtime can automatically close a same-run argument/schema failure after verified success. An execution/runtime failure remains pending and still needs a concrete fix from you before promotion. Do not promote a generic “retry succeeded” observation as a stable rule.
Promote a lesson into memory only when it is stable, short, and broadly reusable.
Good candidates:
- a rule like “遇到 X 先检查 Y”
- a stable workspace convention
- a long-term user preference the user explicitly wants remembered
Prefer this order:
- log into the skill data first
- promote to the skill public area if it becomes broadly reusable
- write the distilled rule with
memory_write_dailyormemory_upsert_longterm
Do not invent Minis-only paths or tools such as /var/minis/... or memory_write.
Recall
Recorded failures and lessons are indexed into memory retrieval. Before retrying a tool, command, or environment step that has failed before — or when the injected memory context mentions a related pitfall — trust that recall (or call memory_search) and apply the known fix instead of repeating the failed step.
Command Patterns
Use the bundled script through sh:
If you need to refine an existing entry instead of appending a new one, use read and edit.
Output Discipline
- keep summaries short and specific
- include the concrete command/tool/context that failed
- include the corrected rule, not only the symptom
- avoid logging secrets, tokens, and personal data
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingapp/src/main/assets/builtin_skills/self-improving-agent/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/omnimind-ai/omnibot/self-improving-agent)