hongbietcode/synthetic-claude/coder-memory-recall
Claude Code and agent skill by hongbietcode/synthetic-claude
- community
Checking that the SKILL.md file is still in the repository.
Retrieve universal coding patterns from vector database using true two-stage retrieval. Auto-invokes before complex tasks or when user says "--recall". Searches relevant role collections based on task context.
Install
npx vskill@latest install hongbietcode/synthetic-claude/coder-memory-recallSKILL.md
⚠️ MANDATORY: Use Task Tool (Sub-Agent)
NEVER call memory MCP tools directly! Use Task tool with subagent_type: "general-purpose" to keep main context clean.
CRITICAL: When NOT to Search Memory
Skip memory search for obvious tasks - killing processes, starting servers, basic file operations, standard workflows.
Only search for hard problems - non-obvious bugs, complex architectures, performance issues, unfamiliar domains.
Rule: If basic knowledge suffices, skip memory. Memory is for hard-won lessons.
Embedded Role Configuration
You can create new role if you think it worth it. But be EXTREMELY CONSERVATIVE when creating new roles - when you create a new one, add it in this very doc (~/.claude/skills/coder-memory-recall/SKILL.md and ~/.claude/skills/coder-memory-store/SKILL.md).
PHASE 1: Intelligent Query Construction
Note: Claude Code automatically determines relevant roles from task context. No explicit role detection logic needed - Claude is smart enough to select appropriate roles when calling MCP tools.
Query Building
Build semantic query (2-3 sentences) capturing:
- What is the problem/goal?
- What is the technical context?
- What outcome is desired?
MCP Server Tools
CRITICAL: Use tools from the memory MCP server:
search_memory- Search and get previewsget_memory- Get full content by IDbatch_get_memories- Get multiple full contentsstore_memory- Store new memoryupdate_memory- Update existing memorydelete_memory- Delete memorylist_collections- List all collections
PHASE 2: Two-Stage Retrieval
Stage 1: Search for Previews (Cast Wide Net)
Use search_memory tool (from memory MCP server) with the query and correct memory_level (global, project, etc.), default: memory_level="global". Claude Code determines relevant roles automatically. Default limit is 20 previews.
Stage 2: Analyze Previews (Intelligence Over Thresholds)
Analyze each preview:
- Does title match the problem domain?
- Does description indicate relevant solution?
- Do tags align with task?
- Is memory type appropriate? (episodic for debugging, procedural for workflows, semantic for principles)
Select 3-5 most relevant based on your judgement.
Stage 3: Retrieve Full Content
Use batch_get_memories tool (from memory MCP server) with the selected doc_ids and memory_level="global". This retrieves full content for 3-5 most relevant memories.
PHASE 3: Present Results
Format for Claude to consume: Key: Let Claude read and decide what to use. Don't force-fit patterns.
Tool Usage
See top of this document - MUST use Task tool (sub-agent) to avoid context pollution.
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingplugins/productivity-kit/skills/coder-memory-recall/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/hongbietcode/synthetic-claude/coder-memory-recall)