wrap

Capture session insights and classify them into rules, skills, or hooks.

2|Updated Feb 23, 2026
One-click install
npx skills add https://github.com/roach88/claude-config --skill wrap-roach88
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: wrap
Source: https://github.com/roach88/claude-config/tree/main/skills/wrap
Command: npx skills add https://github.com/roach88/claude-config --skill wrap-roach88

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

After a coding session, valuable insights like behavior corrections, repeated workflows, and user preferences are often lost if not intentionally captured, leading to repeated mistakes, redundant work, and inconsistent practices across future sessions. This Skill solves that by providing a structured process to reflect on session activity and identify learnings worth persisting.

Core Features & Use Cases

  • Structured Session Reflection: Scans conversation history for actionable signals including behavior corrections, multi-step workflows, repeated patterns, and expressed user preferences.
  • Intelligent Classification: Categorizes identified candidates into rules (behavioral directives), skills (reusable multi-step workflows), or hooks (automated lifecycle actions), and assigns the correct user or project scope based on applicability.
  • Guided Execution Flow: Generates a structured reflection report for your approval, then creates or updates the corresponding rule files, skill definitions, hook configurations, or journal entries as confirmed.
  • Use Case Example: If you spent a session repeatedly fixing a missing linting step, this Skill will identify the pattern, propose a project-level hook to run the linter automatically on file save, and implement it once you approve.

Quick Start

Use the wrap skill at the end of your current session to reflect on your work and get a prioritized list of proposed rules, skills, and hooks to persist for future use.

Frequently Asked Questions about wrap

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

FAQPage Schema
How do I save session learnings as rules and hooks in Claude Code?

To save session learnings as rules and hooks, you can use a reflection workflow that scans your conversation history for behavior corrections and repeated workflows. It categorizes these insights into rules, skills, or hooks with appropriate project or user scope for future sessions.

What is the best way to capture user preferences and prevent repetitive tasks after a coding session?

Capturing user preferences to prevent repetitive tasks is best achieved through structured session reflection. This process identifies actionable signals like multi-step workflows from your conversation history and persists them as automated lifecycle hooks or behavioral directives.

How do I automatically generate rules from conversation history?

You generate rules from conversation history by scanning for behavior corrections and repeated patterns at the end of a session. The identified insights are classified into behavioral directives, reusable workflows, or automated actions and assigned correct user or project scope.

Does session reflection work for creating both project-level and user-level configurations?

Session reflection works for creating both project-level and user-level configurations by evaluating the applicability of identified insights. It assigns the correct scope based on whether a learning should be enforced across a specific project or for the user globally.

Can I automate multi-step workflows as hooks from past session activity?

You can automate multi-step workflows as hooks by identifying repeated patterns in your session activity. The reflection process proposes these automated lifecycle actions for your approval and then creates the corresponding hook configurations to enforce consistent practices.

What are the limitations of automatically persisting learned behaviors from a session?

The limitation of automatically persisting learned behaviors is that it requires a guided execution flow with human approval. It generates a reflection report of proposed rules, skills, and hooks, but creates or updates files only after you explicitly confirm the changes.