Discover and explore top open-source AI tools and projects—updated daily.
bladerAI agent continual learning via persistent memory
New!
Top 85.4% on SourcePulse
A Claude Code skill, Napkin, provides agents with persistent memory of their mistakes by maintaining a per-repository markdown scratchpad (.claude/napkin.md). This enables agents to learn from past errors and corrections, leading to significantly improved performance and proactive issue resolution over multiple sessions, benefiting users who want more reliable and adaptive AI assistance.
How It Works
Napkin operates by reading a .claude/napkin.md file at the start of each session, creating it if it doesn't exist. During the session, it continuously logs the agent's mistakes, user corrections, unexpected tool/environment behaviors, and successful approaches. This accumulated knowledge compounds over sessions, allowing the agent to avoid repeating errors and anticipate problems, effectively implementing a form of "baby continual learning."
Quick Start & Requirements
git clone https://github.com/blader/napkin.git ~/.claude/skills/napkingit clone https://github.com/blader/napkin.git ~/.codex/skills/napkingit clone command.Highlighted Details
.claude/napkin.md).Maintenance & Community
No specific details on contributors, sponsorships, or community channels beyond the GitHub repository were provided in the README.
Licensing & Compatibility
Limitations & Caveats
The skill activates "unconditionally," offering no immediate mechanism for selective disabling. The primary benefit is realized over multiple sessions, implying initial sessions may not demonstrate significant improvements. The README does not elaborate on the agent's specific methods for designing the initial file structure or adapting it to diverse project domains.
5 days ago
Inactive
THUDM
microsoft