Agent Self-Improvement Log
Paste the following prompt into your AI chat to install this skill:
Please install @user_e177f003/skilltest01 according to https://skillhub.cn/install/skillhub.md.
About this skill
Problem
Coding agents often remember a mistake, correction, or tool quirk within one session, then repeat the same issue in the next. If lessons stay only in chat history, future sessions cannot read them quickly, and durable project rules are hard to form.
How It Works
This skill writes reusable lessons into local Markdown files instead of relying on model memory. Core flow:
- Log immediately: command failures go to .learnings/ERRORS.md, user corrections or knowledge gaps go to .learnings/LEARNINGS.md, and missing capabilities go to .learnings/FEATURE_REQUESTS.md.
- Structure entries: use IDs like LRN-YYYYMMDD-XXX, ERR-..., or FEAT-..., with Status, Priority, Area, and See Also fields.
- Promote to project memory: when a lesson applies across files or persists over time, distill it into a short rule in CLAUDE.md, AGENTS.md, or .github/copilot-instructions.md.
- Detect recurrence: search similar entries with grep -r "keyword" .learnings/, increment Recurrence-Count, and promote repeated patterns into system prompt guidance when thresholds are met.
Boundaries
It fits agent workflows that maintain persistent project files and review regularly; one-off Q&A benefits less. Logging adds small context overhead, so keep entries reproducible, actionable, and prioritized rather than pasting long incident notes into memory files.
Use Cases
- When an agent repeatedly hits environment config errors, log failing commands and fixes to ERRORS.md, then promote to AGENTS.md.
- When users correct npm/pnpm choices, record a LRN entry and distill it into a CLAUDE.md rule.
- When API auth keeps failing, search .learnings for similar entries and update Recurrence-Count to decide escalation.
- Before a new agent session, promote verified pnpm install rules into CLAUDE.md to avoid reusing npm.
Best For
- Engineering maintainers of multi-agent workflows who need repeated tool pitfalls written into project files for later sessions.
- Technical leads using Claude Code who want user corrections distilled into shared team rules.
- Engineers debugging CI/CD or external APIs who need auth failures, timeouts, and fixes recorded.
- Agent developers who want to identify which LRN entries qualify for extraction into reusable skills.
Related Skills
Provides Claw with character-library selection, switching, saving, and global SOUL.md style sync for role-based conversation.
An AIONE Agentic AI Infrastructure SDK wrapper for building production AI agents with memory, skills, workflows, and hooks.
A Python/TypeScript SDK wrapper for the DeepSeek-Reasonix native AI coding agent, with prefix-cache support.
A browser automation tool for analysts, operators, and developers that locates elements, fills forms, extracts structured content, and supports no-code scheduling and export.