AI Agent Hub
Back to skills
Self-Improvement Log icon

Self-Improvement Log

Content Creation Updated 2026.08.30

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

Please install @user_189e97e8/weetr according to https://skillhub.cn/install/skillhub.md.

About this skill

Problem Addressed

Long-running coding agents can repeat the same mistakes: failed commands, user corrections, changed API behavior, and outdated knowledge. Without durable notes, the next session starts from scratch and the user has to re-explain context. This skill turns errors, corrections, feature requests, and best practices into searchable project logs instead of ephemeral chat history.

How It Works and Limits

  • Initialisation: create .learnings/ at the workspace root with LEARNINGS.md, ERRORS.md, and FEATURE_REQUESTS.md, without overwriting existing files.
  • Logging: append structured entries when a command fails, the user corrects the agent, knowledge gaps appear, or feature requests are raised, using IDs such as LRN-YYYYMMDD-XXX, ERR-..., and FEAT-..., plus priority, scope, and status.
  • Reuse: search existing logs before creating duplicates, add See Also links, raise priority for recurring issues, and distill stable rules into CLAUDE.md, AGENTS.md, or .github/copilot-instructions.md when they are broadly applicable.

It is not a general article rewriter and does not automatically fix bugs. Its value depends on immediate, specific logging and promoting durable rules from temporary logs into long-lived project memory. Avoid recording secrets, tokens, full source files, or sensitive command output unless the user explicitly asks.

Use Cases

  • After a command or API call fails, write the error output, context, and fix clues into `.learnings/ERRORS.md`.
  • When users repeatedly correct the same implementation style, record the rule in `LEARNINGS.md` and promote it to `CLAUDE.md`.
  • In an OpenClaw workspace, detect recurring tool gotchas and promote them into `TOOLS.md` or `AGENTS.md`.
  • Review `.learnings/` periodically and update still-valid entries from `pending` to `resolved` or `promoted`.

Best For

  • Platform engineers who need to continuously correct AI behavior and persist rules in long-running coding projects
  • Architects who want to keep shareable agent context in multi-person repositories
  • DevOps engineers who need to document tool failure diagnostics in a shared workspace
  • AI engineers using OpenClaw workspaces who want to reuse behavioral guidelines across sessions