Agent skill
episodic-memory
Search past conversations for context, decisions, and patterns. Use when the user references previous work or when you encounter familiar problems.
Install this agent skill to your Project
npx add-skill https://github.com/Dwsy/agent/tree/main/skills/episodic-memory
SKILL.md
Episodic Memory
You have access to a searchable index of all past pi conversations across all projects.
When to Search
- User says "like we did before", "remember when", "how did we solve X", "what did we try"
- User references a past session, project, or decision
- You encounter an error or pattern that might have been addressed previously
- Starting work on a feature similar to something done before
- User asks about project history or past decisions
How to Search
Use the episodic_memory_search tool:
// Semantic search (finds by meaning, not just keywords)
{ "query": "authentication middleware implementation" }
// Multi-concept AND search (results must match ALL concepts)
{ "query": ["React Router", "authentication", "JWT"] }
// Filter by date
{ "query": "database migration", "after": "2025-01-01" }
// Text search for exact phrases
{ "query": "useAuth hook", "mode": "text" }
Tips for Good Queries
- Use descriptive phrases, not single keywords
- Try the problem description, not just the solution
- If first search doesn't find it, try rephrasing or broadening
- Use multi-concept search when looking for a specific intersection of topics
Viewing Full Conversations
If a search result snippet isn't enough context, use episodic_memory_show with the session file path from the search results to see the full conversation.
Important
- Search results are snippets (chunks of ~4 turns). They show the relevant part, not the whole conversation.
- Results include a relevance score — higher is better.
- The project name in results shows which directory the session was in.
- Don't search for every query — only when past context would genuinely help.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
undo-redo
Use the undo_redo tool to rewind or reapply buffered file changes or inspect diffs without UI navigation. Use when you need to adjust or verify changes in the current session history.
exa
使用 Exa.ai API 进行高质量的互联网搜索。需要 EXA_API_KEY 环境变量。
backend-unit-test
后端单元测试技能。触发场景: - 用户要求运行/创建单元测试 - 用户要求验证数据 - 用户要求用 Maven 运行测试 - 关键词:test, maven test, junit, springboot test, 单元测试, 测试验证 核心:不改 pom,用 reactor 模式运行。
mermaid-flow-image
将流程需求整理为可渲染的 Mermaid(简化版/详细版),并通过 Kroki 生成可发送的高分辨率 PNG 图片。适用于“把架构流程画出来并直接发图”的场景。
web-browser
Allows to interact with web pages by performing actions such as clicking buttons, filling out forms, and navigating links. It works by remote controlling Google Chrome or Chromium browsers using the Chrome DevTools Protocol (CDP). When Claude needs to browse the web, it can use this skill to do so.
ralph-loop-gen
任务管理系统模板生成器 - 根据用户输入或JSON配置生成完整的任务管理结构(模板生成器,非直接执行器)
Didn't find tool you were looking for?