memory-query
Search episodic memory for relevant past experiences
Install / Use
npx skills add AngusKingCAI/Devin-HarnessInstalls into whichever agent you are using.
SKILL.md
Installable skill definition
Quality Score
Category
Development & EngineeringSupported Platforms
Tags
Skill content
View source on GitHubtriggers: ["user", "model"] description: Search episodic memory for relevant past experiences subagent: true
Memory Query Skill
Purpose
Search the episodic memory at .devin/memory/episodes.json for information relevant to the current task.
When to Use
- Before starting a complex task to check for similar past experiences
- When encountering errors to find known solutions
- When making architectural decisions to reference past patterns
- When you're stuck and need to learn from previous sessions
Procedure
-
Extract Key Terms: Identify 3-5 key terms from the current task
- Focus on the core problem, technology, or domain
- Include error messages if applicable
- Consider both technical and conceptual terms
-
Search Memory: Use the MCP memory tool to search episodes
Call: mcp__memory__memory_search Parameters: - query: "<key terms>" - limit: 5 (default) - hours: 168 (default - 1 week, adjust based on recency needs) - importance: "high" (optional, for critical decisions) -
Analyze Results: Review the returned episodes for relevance
- Check episode content for similar patterns
- Look for successful solutions to similar problems
- Note any warnings or failures related to your current task
- Consider the recency and importance of results
-
Apply Learnings: Incorporate relevant findings into your current task
- Apply successful patterns from past solutions
- Avoid known pitfalls mentioned in episodes
- Reference specific episode IDs when documenting your approach
- If no relevant results found, proceed with standard approach
Example Usage
Scenario: Encountering file permission errors
Key terms: "file permissions", "access denied", "exec command"
Search: mcp__memory__memory_search(query="file permissions error", limit=3)
Results: Found 2 similar episodes with solutions
Apply: Use chmod before running exec commands
Tips
- Use specific, technical terms for better results
- Search multiple times with different term combinations
- Check both recent and older episodes for different perspectives
- High-importance episodes often contain critical lessons
- Episode IDs provide traceability for future reference
Related Skills
claude-howto
41.0kA visual, example-driven guide to Claude Code — from basic concepts to advanced agents, with copy-paste templates that bring immediate value.
ai-job-search
31.7kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
guizang-ppt-skill
24.1kAI-agent Skill for generating polished HTML slide decks: editorial magazine and Swiss layouts, image prompts, social covers, and a WebGL/low-power presentation runtime.
colleague-skill
22.2k将冰冷的离别化为温暖的 Skill,欢迎加入数字生命1.0!Transforming cold farewells into warm skills? It's giving rebirth era. Welcome to Digital Life 1.0. 🫶
Security Score
Audited on Invalid Date
