File contents 🧠 Memory Builder Skill
Overview
Enables the agent to build its own memory through pattern learning and context management. Zero-config local storage.
Why This Matters
This skill allows the agent to:
Learn from interactions (store successful patterns)
Remember context across sessions
Self-evolve by recalling what worked before
Capabilities
Function
Description
learn_pattern(name, data)
Store a learned pattern.
recall_pattern(name)
Retrieve a stored pattern.
list_patterns(category)
List all learned patterns.
update_context(key, value)
Update active context.
get_context(key)
Read current context.
clear_context()
Reset context for fresh start.
Usage
from skills.memory_builder.tool import learn_pattern, recall_pattern, update_context
# Learn a coding pattern
learn_pattern(
pattern_name="api_error_handling",
pattern_data={"technique": "exponential_backoff", "max_retries": 3},
category="coding"
)
# Recall it later
pattern = recall_pattern("api_error_handling")
# Track current project context
update_context("current_feature", "voice_skill")
Storage Location
Patterns: .idx/evolution/learned_patterns.json
Context: .idx/evolution/active_context.json
Requirements
None! Uses Python's built-in json and pathlib.
1 --- 2 name: memory-builder 3 description: 🧠 Memory Builder Skill 4 --- 5 # 🧠 Memory Builder Skill 6 7 ## Overview 8 9 Enables the agent to **build its own memory** through pattern learning and context management. Zero-config local storage. 10 11 ## Why This Matters 12 13 This skill allows the agent to: 14 15 - **Learn from interactions** (store successful patterns) 16 - **Remember context** across sessions 17 - **Self-evolve** by recalling what worked before 18 19 ## Capabilities 20 21 | Function | Description | 22 | :--- | :--- | 23 | `learn_pattern(name, data)` | Store a learned pattern. | 24 | `recall_pattern(name)` | Retrieve a stored pattern. | 25 | `list_patterns(category)` | List all learned patterns. | 26 | `update_context(key, value)` | Update active context. | 27 | `get_context(key)` | Read current context. | 28 | `clear_context()` | Reset context for fresh start. | 29 30 ## Usage 31 32 ```python 33 from skills.memory_builder.tool import learn_pattern, recall_pattern, update_context 34 35 # Learn a coding pattern 36 learn_pattern( 37 pattern_name="api_error_handling", 38 pattern_data={"technique": "exponential_backoff", "max_retries": 3}, 39 category="coding" 40 ) 41 42 # Recall it later 43 pattern = recall_pattern("api_error_handling") 44 45 # Track current project context 46 update_context("current_feature", "voice_skill") 47 ``` 48 49 ## Storage Location 50 51 - **Patterns:** `.idx/evolution/learned_patterns.json` 52 - **Context:** `.idx/evolution/active_context.json` 53 54 ## Requirements 55 56 - **None!** Uses Python's built-in `json` and `pathlib`.
Moeabdelaziz007/Gemini-3.0-Superpowers-and-Pesona/tree/main/skills/memory_builder commit 47bdc27f73
Frequently asked questions How do I install the Memory Builder skill? Run npx skillmds@latest add moeabdelaziz007/memory-builder in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
What does the Memory Builder skill do? 🧠 Memory Builder Skill It is listed under Coding & Dev Tools on SkillMD.
Is Memory Builder safe to use? This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
Which AI agents work with Memory Builder? This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Is Memory Builder free to use? Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
Who published Memory Builder? Moeabdelaziz007 (@moeabdelaziz007) published this skill. Their other Agent Skills are listed on their SkillMD profile.