From pensyve
Debug with working memory: recall prior root causes and diagnostic procedures before diagnosing, and capture confirmed root causes immediately. Use for non-trivial failures.
How this skill is triggered — by the user, by Claude, or both
Slash command
/pensyve:memory-informed-debugThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Debugging flow with memory baked in as a non-optional reflex.
Debugging flow with memory baked in as a non-optional reflex.
Identify the relevant entity/entities (failing test, failing module, error source) per skills/shared/entity-detection.md.
Call pensyve_recall:
query: a short description of the failure, including secondary entity names where known (e.g., "hybrid-router threshold regression phase-4.3" rather than full stack traces)entity: primary detected entitytypes: ["procedural", "episodic"] (debugging benefits most from known-good diagnostic procedures and prior incident outcomes)limit: 5Secondary entities are folded into the query string since the MCP server scopes results by single primary entity only.
Surface one line: Recalled N memories from prior debug sessions on <entity>. (Skip if N=0.)
If a highly similar incident is found (score >0.8), call that out inline: This looks similar to an incident captured on <date>: <summary>. Consider that path first.
Proceed with the diagnostic work. Use recalled procedural memories as a starting sequence; update the sequence when you learn something new.
When a root cause is confirmed (not just hypothesized), call the memory reflex per skills/shared/memory-reflex.md:
pensyve_observe with episode_id: <session episode_id>, source_entity: "claude-code", about_entity: <primary_entity>, content: "[proactive/in-flight/tier-1] <one-sentence root cause>", content_type: "text".pensyve_observe with episode_id: <session episode_id>, source_entity: "claude-code", about_entity: <primary_entity>, content: "[procedural] [proactive/in-flight/tier-1] trigger=..., action=..., outcome=...", content_type: "text".pensyve_remember.Surface one line: ↳ captured: <one-sentence>.
If an approach was tried and abandoned, observe that too. These are high-value — they prevent re-treading the same dead end next time.
auto_capture mode.npx claudepluginhub khwstolle/memory --plugin pensyve2plugins reuse this skill
First indexed Jul 8, 2026
Debug with working memory: recall prior root causes and diagnostic procedures before diagnosing, and capture confirmed root causes immediately. Use for non-trivial failures.
Guides systematic debugging of bugs, test failures, unexpected behavior: memory integrity check, reproduce, isolate, diagnose root cause before fixes.
Orchestrates persistent, hypothesis-driven debugging sessions across conversations, delegating analysis to subagents and tracking in debug files.