From kmgraph
**Purpose:** Prompt for session summary when user indicates they're stopping work, approaching context limits, reaching milestones, or when open plan items, draft decisions, or uncaptured lessons are detected.
npx claudepluginhub technomensch/knowledge-graph --plugin kmgraphThis skill uses the workspace's default tool permissions.
**Purpose:** Prompt for session summary when user indicates they're stopping work, approaching context limits, reaching milestones, or when open plan items, draft decisions, or uncaptured lessons are detected.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Retrieves current documentation, API references, and code examples for libraries, frameworks, SDKs, CLIs, and services via Context7 CLI. Ideal for API syntax, configs, migrations, and setup queries.
Uses ctx7 CLI to fetch current library docs, manage AI coding skills (install/search/generate), and configure Context7 MCP for AI editors.
Purpose: Prompt for session summary when user indicates they're stopping work, approaching context limits, reaching milestones, or when open plan items, draft decisions, or uncaptured lessons are detected.
Trigger Indicators:
User Intent Signals:
Active Work Signals:
docs/plans/*.md contains unchecked - [ ] items (mid-plan indicator)knowledge/decisions/*.md has ADRs with Status: Proposed or Status: Draft (open decisions)fix, solved, implement, pattern, debug, refactor) but no corresponding lesson file in knowledge/lessons-learned/knowledge/rules.md or knowledge/me.md this session: surface "N rule(s) captured this session — run /kmgraph:recall to review rules.md for drift or conflicts."Block Conditions:
/tmp/.kg-session-summarized-{PPID}-{date} — if present, do NOT prompt (Stop hook already fired; avoid double-prompting)ECC Compatibility Note: This skill is coordinated with the Stop hook to prevent duplicate prompting. On Claude Code, the /tmp flag mechanism is used for inter-process coordination. On other ECC platforms, equivalent synchronization mechanisms (environment variables, shared state, or hook phase detection) should be used to prevent re-prompting if the Stop hook has already triggered this workflow.
Snapshot Awareness:
/tmp/.kg-snapshot-{YYYY-MM-DD} (today's date)"You took a session snapshot earlier — want to complete the wrap-up and save the final summary?"
Behavior:
When triggered, directly dispatch to session-summary-agent with conversational language that addresses the user, never exposing internal mechanics.
Example Triggers:
User: "Alright, I've pushed this to the branch. Wrapping up for today."
→ "Before you go — want a quick note on what we worked on today?"
[Skill detects unchecked plan steps]
→ "You're mid-plan — want to mark off what we finished before wrapping up?"
[Skill detects lesson-worthy commits without corresponding lesson]
→ "Looks like some meaningful work wasn't captured — want to save a note before finishing?"
User-Facing Language Rules: