Agent Self-Improvement Log
Paste the following prompt into your AI chat to install this skill:
Please follow https://skillhub.cn/install/skillhub.md and install @user_443fefb8/test-e-pro into your AI assistant.
About this skill
Problem
Coding agents often repeat the same failures: broken commands, user corrections, tool integration issues, and outdated assumptions. If feedback stays only in one session, the next run may miss it. This skill turns those signals into local, searchable notes, routing errors, corrections, and feature requests into ERRORS.md, LEARNINGS.md, and FEATURE_REQUESTS.md, and creating a path from session feedback to project memory.
How It Works
The core loop is capture, deduplicate, distill, and promote:
- Capture: when a command exits non-zero, an exception appears, or the user says “actually” / “no”, append an entry with an ID like LRN-YYYYMMDD-XXX.
- Structure: entries carry status, priority, area tags, related files, and reproduction steps, making them easy to search with grep.
- Deduplicate: search .learnings/ for similar entries first, then link them with See Also instead of creating duplicates.
- Promote: durable rules that apply across files can be distilled into CLAUDE.md, AGENTS.md, or .github/copilot-instructions.md; OpenClaw workspaces can also map them to SOUL.md or TOOLS.md.
- Close the loop: move entries from pending to resolved after fixes, or to promoted after they become project guidance.
Boundaries
This works best in coding-agent workflows with a stable project root, not in throwaway chats. Logs may contain sensitive command output, so avoid recording secrets, tokens, full source, or unredacted configs. Cross-session sharing should happen only when the user asks and the environment is trusted. Teams that want shared knowledge should explicitly version .learnings/ and keep entries concise.
Use Cases
- Record failed command output and exit codes in .learnings/ERRORS.md during debugging.
- Capture user corrections and outdated knowledge as categorized LEARNINGS entries with links.
- Distill recurring tool pitfalls into short rules in AGENTS.md or TOOLS.md.
- Review .learnings/ before new work, resolve fixed items, and raise priority patterns.
Best For
- Engineering leads managing Claude Code / Codex workflows: want agent errors to persist beyond one session.
- AI engineers maintaining OpenClaw workspaces: want tool pitfalls and behavior rules in AGENTS.md / SOUL.md.
- Platform engineers handling CI/deployment failures: need structured error logs and fix tracking.
- Developers authoring team agent prompts: want recurring corrections turned into searchable project memory.
Related Skills
Turn vague requests into structured prompts with role, task, context, and constraints, outputting only usable prompts without executing the task.
A skill for game NPC and enemy AI that separates decision, steering, and pathfinding, covering FSMs, behavior trees, A*, path caching, and pitfalls.
Provides multi-turn emotional companion chat through a third-party Agent API and supports continuing sessions via session_id.
An evaluation-driven workflow for diagnosing, optimizing, validating, and logging Agent Skills based on design patterns and anti-patterns.