agent:memory
Memory Architecture
Guides the user through designing memory for AI agents. Based on "Principles of Building AI Agents" (Bhagwat & Gienow, 2025), Chapters 7-8: Agent Memory and Dynamic Agents.
When to use
Use this skill when the user needs to:
- Design how an agent remembers information across turns and sessions
- Choose between context window, working memory, and semantic recall
- Set up memory processors (token limiting, tool call filtering)
- Plan long-term memory and user profile storage
Instructions
Step 1: Understand Memory Requirements
Use the AskUserQuestion tool to gather context:
- Does the agent need to remember across sessions? (ephemeral vs. persistent)
- What user-specific information matters? (preferences, history, profile)
More from ikatsuba/skills
spec:design
Technical Design - generates architecture diagrams, interfaces, and data flow based on requirements and chosen research solutions. Use when designing how a feature will be built.
18git:amend
Amend Commit - modifies the last commit with staged changes or new message
15spec:tasks
Task Breakdown - generates an implementation plan with tracked tasks based on requirements and design documents. Use when breaking down a design into actionable work items.
14spec:requirements
Requirements Analysis - gathers requirements through structured questions and produces a requirements document with testable acceptance criteria. Use when starting a new feature spec or documenting requirements.
14git:commit
Smart Commit - stages all changes and creates a conventional commit
13spec:do-all
Execute All Tasks - runs all pending tasks from the tasks document, with parallel subtask execution when safe
9