Self-Improving Agent Memory
Paste the following prompt into your AI chat to install this skill:
Please install @user_fbff92f1/wangshumin according to https://skillhub.cn/install/skillhub.md.
About this skill
Problem
Agents often repeat mistakes or lose user preferences across sessions. This skill turns explicit feedback and self-reflection logs into local memory files, so reusable lessons persist without manual re-explanation.
How It Works
- Learning signals: records explicit corrections, stated preferences, and repeatedly useful workflows; ignores one-off instructions, context-specific requests, and hypotheticals.
- Tiered storage: keeps HOT rules in
memory.md, context-matched WARM patterns inprojects/anddomains/, and decayed entries inarchive/. - Promotion and compaction: frequently used patterns can move up to HOT, unused patterns demote after 30 days, and stale patterns archive after 90 days; over-limit files are merged or summarized rather than blindly deleted.
- Transparency and limits: cites memory sources such as
Using X (from projects/foo.md:12); it does not access calendar, email, or contacts, make network requests, or store credentials.
Fit and Caveats
Best for long-running engineering workflows where preferences, project conventions, and correction patterns matter. Not for inferring preferences from silence, modifying its own skill file, or treating local memory files as a shared backend.
Use Cases
- When users repeatedly correct agent naming, comment, or formatting choices, persist explicit rules locally.
- Track branch conventions, testing habits, and project preferences in a long-lived agent workflow.
- After multi-step tasks, make the agent self-reflect, record reusable lessons, and review learning state.
- Inspect memory tiers, count entries, export or remove confirmed preferences without external data access.
Best For
- Engineers maintaining agent workflows who want explicit corrections and project conventions persisted as long-term rules.
- Developers using local agents who need to inspect, export, and clean `~/self-improving/` memory files.
- Team leads building multi-step automations who want agents to retain failure lessons and cite memory sources.
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.