Auto-load relevant memories at session start from both mem0 and graph
Auto-loads relevant memories from Mem0 and knowledge graph at session start.
/plugin marketplace add yonatangross/skillforge-claude-plugin/plugin install skillforge-complete@skillforgeThis skill is limited to using the following tools:
Auto-load relevant memories at session start from both Mem0 semantic memory and the knowledge graph for seamless session continuity.
CC 2.1.6 Context-Aware: Loading adapts based on context_window.used_percentage.
auto-invoke: session-start/load-context to reload memories mid-sessionMemory Fabric adjusts how much context to load based on current context pressure:
| Context Usage | Decisions | Blockers | Entities | Behavior |
|---|---|---|---|---|
| 0-40% (Green) | 5 | 3 | 5 | Full context load |
| 40-70% (Yellow) | 3 | 1 | 3 | Reduced context |
| 70-90% (Orange) | 1 | critical only | 0 | Minimal context |
| >90% (Red) | 0 | 0 | 0 | Skip, show hint only |
If context_window.used_percentage > 90%:
→ Output: "[Memory Fabric] Skipping - context at {X}%"
→ Exit early
If > 70%: Use minimal tier (1 decision, critical blockers only)
If > 40%: Use reduced tier (3 decisions, 1 blocker, 3 entities)
Call mcp__mem0__search_memories:
{
"query": "session context blockers next steps",
"filters": {
"AND": [
{ "user_id": "{project}-continuity" },
{ "created_at": { "gte": "7 days ago" } }
]
},
"limit": 3,
"enable_graph": true
}
Call mcp__mem0__get_memories:
{
"filters": {
"AND": [{ "user_id": "{project}-decisions" }]
},
"page_size": 5
}
Call mcp__memory__search_nodes:
{
"query": "recent decisions patterns"
}
[Memory Fabric Loaded]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Recent Decisions ({count}):
- [{time ago}] {decision_text}
Unresolved Blockers ({count}):
- {blocker_text} (session {date})
Active Entities ({count}):
- {entity} -> {relation} -> {entity}
Next Steps from Last Session:
- {step_1}
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Show configuration hints and continue without that source:
[Memory Fabric]
Mem0 MCP server unavailable. Run /configure to enable.
Continuing without semantic memory...
[Memory Fabric Loaded]
No memories found for this project.
This is normal for new projects. Use /remember to start building memory.
mem0-sync - Save context at session endremember - Store decisions and patterns manuallyrecall - Search memories on-demand--refresh: Force reload even if recently loaded--verbose: Show detailed MCP query resultsActivates when the user asks about AI prompts, needs prompt templates, wants to search for prompts, or mentions prompts.chat. Use for discovering, retrieving, and improving prompts.
Activates when the user asks about Agent Skills, wants to find reusable AI capabilities, needs to install skills, or mentions skills for Claude. Use for discovering, retrieving, and installing skills.
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.