From pensyve
End-of-session memory capture -- analyzes session for decisions, outcomes, and patterns worth remembering, then stores confirmed items via Pensyve. Use when ending a work session or when the user wants to capture what was learned.
npx claudepluginhub sumeet138/qwen-code-agents --plugin pensyveThis skill uses the workspace's default tool permissions.
Analyze the current session for memorable decisions, outcomes, and patterns, then store confirmed items in Pensyve memory.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Searches prompts.chat for AI prompt templates by keyword or category, retrieves by ID with variable handling, and improves prompts via AI. Use for discovering or enhancing prompts.
Guides implementation of event-driven hooks in Claude Code plugins using prompt-based validation and bash commands for PreToolUse, Stop, and session events.
Analyze the current session for memorable decisions, outcomes, and patterns, then store confirmed items in Pensyve memory.
When this skill is invoked (typically at the end of a coding session), follow these steps:
Review the current session conversation for three categories of memorable content:
Decisions (confidence: 0.9):
Outcomes (confidence: 0.8):
Patterns (confidence: 0.7):
Skip routine, low-signal content that does not warrant long-term storage:
pensyve_recall with targeted queries)Present the candidate memories to the user in a structured format:
Session Memory Candidates
Decisions (confidence: 0.9):
auth-service: Chose RS256 over HS256 for JWT signing to support key rotationapi-design: POST endpoints return 201 with the created resource, not 200Outcomes (confidence: 0.8): 3.
database: Migration script fails silently when Python < 3.11 -- added version checkPatterns (confidence: 0.7): 4.
testing: Integration tests that touch the filesystem need tmpdir cleanupWhich items should I store? (e.g., "all", "1,3", "none")
For each confirmed item, decide the storage type:
Episodic (observations) -- things that happened this session. Call pensyve_observe with:
episode_id: From the session state (set by SessionStart hook)content: The observation textsource_entity: "claude-code"about_entity: The inferred entity name (lowercase, hyphenated)content_type: "text" for decisions/patterns, "code" for code-related outcomesUse for: bug fixes, failed approaches, debugging outcomes, performance findings, session-specific events.
Semantic (durable facts) -- truths that persist beyond this session. Call pensyve_remember with:
entity: The inferred entity name (lowercase, hyphenated)fact: The memory textconfidence: 0.9 for decisions, 0.8 for outcomes, 0.7 for patternsUse for: architecture decisions, technology choices, user preferences, project conventions.
When in doubt, prefer pensyve_observe -- the consolidation engine promotes recurring patterns to semantic facts automatically.
Before storing, run pensyve_recall with a query matching the candidate fact to check for duplicates. If a highly similar memory already exists (score > 0.85), skip it and inform the user.
After storing, summarize what was saved:
Stored 3 memories:
auth-service: Chose RS256 over HS256 for JWT signing (confidence: 0.9)database: Migration script fails silently when Python < 3.11 (confidence: 0.8)testing: Integration tests need tmpdir cleanup (confidence: 0.7)
pensyve_remember. This is a hard requirement..claude/ memory files. All memory operations go through the Pensyve MCP tools exclusively.pensyve_remember fails, display the error and continue with remaining items.pensyve_recall (duplicate check) fails, proceed with storage but note that duplicate checking was skipped.