wrap

Synchronize tasks, lessons, and decisions across touched projects at session end.

Updated Mar 22, 2026
One-click install
npx skills add https://github.com/engineai-nz/engineai-skills --skill wrap-engineai-nz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wrap
Source: https://github.com/engineai-nz/engineai-skills/tree/main/session/wrap
Command: npx skills add https://github.com/engineai-nz/engineai-skills --skill wrap-engineai-nz

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It prevents lost context and messy project state when a session ends by ensuring tasks, lessons, and decisions are captured accurately and only when something truly changed.

Core Features & Use Cases

  • Project-aware cleanup: Detects the projects touched this session (via current working directory and presence of project markers like tasks/ or CLAUDE.md) and applies updates only where relevant.
  • Selective task updates: Updates tasks/todo.md to mark completed items, add new ones, and move blocked work into a clearly labeled blocked section with reasons.
  • Session knowledge capture: Appends meaningful learnings to tasks/lessons.md and records significant decisions to docs/decisions.md when it exists.
  • Cross-project memory promotion: Promotes broadly reusable lessons and references to the global memory store at ~/.claude/projects/-home-duchats/memory/ while avoiding duplicates and project-specific implementation details.
  • Operational safeguards: Checks for stray directories in ~/ and warns about uncommitted changes before writing .last_session timestamps used by /resume.

Quick Start

Use the wrap skill right before ending a session (for example, before you run /exit) to update the touched project files and generate a concise handoff.

Frequently Asked Questions about wrap

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a session wrap-up summary for multiple projects before exiting?

To create a session wrap-up summary for multiple projects, use a project-aware cleanup tool that detects touched project directories, updates task trackers like todo.md, and writes per-project handoff timestamps. It synchronizes tasks and lessons across all projects touched during your session.

What is the best way to capture project lessons and decisions consistently across multi-project edits?

Capturing project lessons and decisions consistently requires appending meaningful learnings to tasks/lessons.md and recording significant decisions to docs/decisions.md. Cross-project learnings are promoted to a global memory store to prevent lost context and maintain project hygiene.

How do I update markdown task trackers to mark completed work and move blocked items?

Updating markdown task trackers involves selectively editing tasks/todo.md to mark completed items, add new ones, and move blocked work into a clearly labeled section with reasons. This ensures your task tracking remains accurate when a session ends.

Does session wrap-up skip file rewrites when nothing changed in the project?

Yes, session wrap-up conditionally skips file rewrites when nothing changed in the project state. This operational safeguard prevents unnecessary modifications to your task trackers and lessons files during multi-project edits.

Can I check for uncommitted work and stray directories before ending a coding session?

You can check for uncommitted work and stray directories before ending a coding session by running a wrap-up process that warns about uncommitted changes and scans for stray directories in your home folder before writing final session timestamps.

When do I need to promote cross-project learnings to a global memory store?

You need to promote cross-project learnings to a global memory store when broadly reusable lessons are identified during a session. This avoids duplicates and project-specific implementation details while preserving significant context for future workflows.