AI Agent Hub
Back to skills
Universal Self-Reflection and Learning Memory System icon

Universal Self-Reflection and Learning Memory System

AI Agent Updated 2026.08.30

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

Please follow https://skillhub.cn/install/skillhub.md to install @user_6bedba2d/memorypor.

About this skill

Problem it addresses

AI agents often mix one-off corrections with durable preferences: mistakes are not retained, repeated instructions keep appearing, and project style can conflict with global rules. memorypor stores the material that should be remembered in local files instead of relying on session context. It is triggered by user corrections, post-task review, or detected output improvements.

How it works

  • memory.md holds confirmed hot-layer rules.
  • corrections.md holds explicit corrections and candidate lessons.
  • projects/, domains/, and archive/ hold scoped patterns and decayed items.

Learning signals include explicit corrections such as “No, that’s wrong” and preferences such as “Always do X”. After a pattern appears three times, it asks for confirmation before promotion. Capacity limits trigger merging, downgrading, or archiving rather than blind deletion. It can also support periodic heartbeat checks, statistics, export, and import.

Boundaries

It only maintains local memory. It does not access calendars, email, or contacts, does not make network requests, and does not read files outside ~/self-improving/. It does not infer preferences from silence or hypothetical discussion, and it does not modify its own SKILL.md. It suits agent workflows that need cross-session style, process corrections, and explicit preferences.

Use Cases

  • Record repeated style or command corrections and promote confirmed rules to the hot layer.
  • Review a completed multi-step task and write reusable lessons to corrections.md for promotion.
  • Separate global preferences, project rules, and domain habits using projects and domains namespaces.
  • Check memory stats, export a ZIP backup, and migrate the local memory to another machine.

Best For

  • Engineers using Claude Code or Codex who need agents to remember code style and corrections.
  • Owners maintaining multiple agent workflows who need shared local memory and rules.
  • Technical leads reviewing agent tasks who want confirmed process lessons retained long-term.
  • DevOps engineers who want to back up and migrate agent preferences as local memory files.