세션 종료 시 자동 정리를 수행합니다. CLAUDE.md 업데이트 제안, 반복 패턴 자동화 기회 탐지, 배운 것 정리, 미완성 작업 정리. 사용자가 /wrap 또는 세션 마무리 요청 시 사용.
Install
mkdir -p .claude/skills/wrap && curl -L -o skill.zip "https://mcp.directory/api/skills/download/9495" && unzip -o skill.zip -d .claude/skills/wrap && rm skill.zipInstalls to .claude/skills/wrap
About this skill
wrap Skill
Claude Code 세션 종료 시 자동 정리를 수행하는 스킬입니다. "이거 CLAUDE.md에 적어야 하나?"라는 반복적인 고민을 해결합니다.
사용법
/wrap # 전체 분석
/wrap --quick # 간단 모드 (CLAUDE.md만)
/wrap --no-commit # 커밋 옵션 제외
예시
# 세션 마무리 시
/wrap
# 빠르게 CLAUDE.md만 체크
/wrap --quick
# 분석만 하고 커밋은 나중에
/wrap --no-commit
워크플로우
/wrap
│
▼
┌─────────────────────────────────────────────────────────────┐
│ Phase 1: 병렬 분석 │
├──────────────┬──────────────┬──────────────┬───────────────┤
│ doc-updater │ automation- │ learning- │ followup- │
│ │ scout │ extractor │ suggester │
│ CLAUDE.md │ 반복 패턴 │ 배운 것 │ 미완성 작업 │
│ 업데이트 │ 자동화 │ 실수/발견 │ 우선순위 │
└──────┬───────┴──────┬───────┴──────┬───────┴───────┬───────┘
│ │ │ │
└──────────────┴──────────────┴───────────────┘
│
▼
┌─────────────────────────────────────────────────────────────┐
│ Phase 2: 중복 검증 및 정리 │
│ duplicate-checker │
│ 기존 CLAUDE.md와 비교하여 중복 항목 제거 │
└─────────────────────────────────────────────────────────────┘
│
▼
┌─────────────────────────────────────────────────────────────┐
│ Phase 3: 사용자 선택 │
│ AskUserQuestion으로 다음 중 선택: │
│ 1. CLAUDE.md 업데이트 │
│ 2. 자동화 스킬 생성 │
│ 3. 커밋 생성 │
│ 4. 결과만 확인 (아무 작업 안 함) │
└─────────────────────────────────────────────────────────────┘
실행 지침
Step 0: 사전 준비
-
CLAUDE.md 파일 읽기
Read: /Users/junchan/Documents/GitHub/stanford-cs146s-kr/CLAUDE.md -
--quick모드인 경우 Phase 1에서 doc-updater만 실행
Step 1: Phase 1 - 병렬 분석
4개의 에이전트를 병렬로 실행합니다. 각 에이전트에게 현재 대화 컨텍스트를 전달합니다.
중요: 현재 대화의 핵심 내용을 요약하여 에이전트에게 전달해야 합니다.
- 수행한 작업들
- 발생한 문제들과 해결 방법
- 사용한 명령어나 패턴
- 미완료된 작업
Task (4개 병렬 호출):
1. doc-updater
- subagent_type: "general-purpose"
- description: "CLAUDE.md 업데이트 분석"
- prompt: .claude/agents/wrap/doc-updater.md 지침 + 세션 요약 + 현재 CLAUDE.md 내용
2. automation-scout
- subagent_type: "general-purpose"
- description: "반복 패턴 자동화 기회 탐지"
- prompt: .claude/agents/wrap/automation-scout.md 지침 + 세션 요약
3. learning-extractor
- subagent_type: "general-purpose"
- description: "학습 내용 추출"
- prompt: .claude/agents/wrap/learning-extractor.md 지침 + 세션 요약
4. followup-suggester
- subagent_type: "general-purpose"
- description: "미완성 작업 정리"
- prompt: .claude/agents/wrap/followup-suggester.md 지침 + 세션 요약
Step 2: Phase 2 - 중복 검증
Phase 1의 모든 결과를 수집한 후, duplicate-checker 에이전트를 실행합니다.
Task:
- subagent_type: "general-purpose"
- description: "중복 검증 및 정리"
- prompt: .claude/agents/wrap/duplicate-checker.md 지침 + Phase 1 결과 + 현재 CLAUDE.md 내용
Step 3: Phase 3 - 결과 정리 및 사용자 선택
중복이 제거된 결과를 정리하여 사용자에게 보여주고 선택을 받습니다.
결과 출력 형식:
## 세션 정리 결과
### CLAUDE.md 업데이트 제안 (N건)
- [섹션명] 내용 요약
- ...
### 자동화 기회 (N건)
- "패턴 설명" (N회 반복) → `/suggested-skill` 스킬 제안
- ...
### 배운 것 (N건)
- [발견/실수/인사이트] 내용
- ...
### 미완성 작업 (N건)
- [P0/P1/P2] 작업 설명
- ...
AskUserQuestion으로 선택:
AskUserQuestion:
- question: "어떤 작업을 수행할까요?"
- header: "Action"
- options:
- label: "CLAUDE.md 업데이트 (Recommended)"
description: "제안된 내용을 CLAUDE.md에 추가합니다"
- label: "자동화 스킬 생성"
description: "반복 패턴을 스킬로 만듭니다"
- label: "커밋 생성" (--no-commit이면 제외)
description: "현재 변경사항을 커밋합니다"
- label: "아무것도 안 함"
description: "결과만 확인하고 종료합니다"
- multiSelect: true
Step 4: 선택된 작업 수행
사용자 선택에 따라 작업을 수행합니다.
CLAUDE.md 업데이트 선택 시:
- 현재 CLAUDE.md 읽기
- 적절한 섹션에 새 내용 추가
- Edit tool로 파일 수정
- 결과 확인
자동화 스킬 생성 선택 시:
- 사용자에게 생성할 스킬 선택 받기 (여러 개인 경우)
- 선택된 패턴에 대해 스킬 뼈대 생성
.claude/skills/{skill-name}/SKILL.md생성- 필요시 에이전트 파일 생성
커밋 생성 선택 시:
/commit스킬 호출과 동일한 워크플로우 수행- git status 확인
- 커밋 메시지 생성
- 사용자 확인 후 커밋
에러 처리
| 상황 | 처리 |
|---|---|
| CLAUDE.md 없음 | 새로 생성할지 사용자에게 확인 |
| 에이전트 실패 | 해당 섹션 스킵하고 경고 표시 |
| 제안 사항 없음 | "이번 세션에서 추가할 내용이 없습니다" 메시지 |
| 선택 취소 | 정상 종료 |
에이전트 파일
| 에이전트 | 파일 경로 |
|---|---|
| doc-updater | .claude/agents/wrap/doc-updater.md |
| automation-scout | .claude/agents/wrap/automation-scout.md |
| learning-extractor | .claude/agents/wrap/learning-extractor.md |
| followup-suggester | .claude/agents/wrap/followup-suggester.md |
| duplicate-checker | .claude/agents/wrap/duplicate-checker.md |
참고
- 원본: session-wrap 플러그인
- 관련 스킬:
/commit
More by team-attention
View all skills by team-attention →You might also like
flutter-development
aj-geddes
Build beautiful cross-platform mobile apps with Flutter and Dart. Covers widgets, state management with Provider/BLoC, navigation, API integration, and material design.
drawio-diagrams-enhanced
jgtolentino
Create professional draw.io (diagrams.net) diagrams in XML format (.drawio files) with integrated PMP/PMBOK methodologies, extensive visual asset libraries, and industry-standard professional templates. Use this skill when users ask to create flowcharts, swimlane diagrams, cross-functional flowcharts, org charts, network diagrams, UML diagrams, BPMN, project management diagrams (WBS, Gantt, PERT, RACI), risk matrices, stakeholder maps, or any other visual diagram in draw.io format. This skill includes access to custom shape libraries for icons, clipart, and professional symbols.
ui-ux-pro-max
nextlevelbuilder
"UI/UX design intelligence. 50 styles, 21 palettes, 50 font pairings, 20 charts, 8 stacks (React, Next.js, Vue, Svelte, SwiftUI, React Native, Flutter, Tailwind). Actions: plan, build, create, design, implement, review, fix, improve, optimize, enhance, refactor, check UI/UX code. Projects: website, landing page, dashboard, admin panel, e-commerce, SaaS, portfolio, blog, mobile app, .html, .tsx, .vue, .svelte. Elements: button, modal, navbar, sidebar, card, table, form, chart. Styles: glassmorphism, claymorphism, minimalism, brutalism, neumorphism, bento grid, dark mode, responsive, skeuomorphism, flat design. Topics: color palette, accessibility, animation, layout, typography, font pairing, spacing, hover, shadow, gradient."
godot
bfollington
This skill should be used when working on Godot Engine projects. It provides specialized knowledge of Godot's file formats (.gd, .tscn, .tres), architecture patterns (component-based, signal-driven, resource-based), common pitfalls, validation tools, code templates, and CLI workflows. The `godot` command is available for running the game, validating scripts, importing resources, and exporting builds. Use this skill for tasks involving Godot game development, debugging scene/resource files, implementing game systems, or creating new Godot components.
nano-banana-pro
garg-aayush
Generate and edit images using Google's Nano Banana Pro (Gemini 3 Pro Image) API. Use when the user asks to generate, create, edit, modify, change, alter, or update images. Also use when user references an existing image file and asks to modify it in any way (e.g., "modify this image", "change the background", "replace X with Y"). Supports both text-to-image generation and image-to-image editing with configurable resolution (1K default, 2K, or 4K for high resolution). DO NOT read the image file first - use this skill directly with the --input-image parameter.
pdf-to-markdown
aliceisjustplaying
Convert entire PDF documents to clean, structured Markdown for full context loading. Use this skill when the user wants to extract ALL text from a PDF into context (not grep/search), when discussing or analyzing PDF content in full, when the user mentions "load the whole PDF", "bring the PDF into context", "read the entire PDF", or when partial extraction/grepping would miss important context. This is the preferred method for PDF text extraction over page-by-page or grep approaches.
Related MCP Servers
Browse all serversSync Trello with Google Calendar easily. Fast, automated Trello workflows, card management & seamless Google Calendar in
Cometix Indexer — local code indexer for fast semantic code search. Index workspaces and run incremental searches with a
Ripgrep offers high-performance text search, ideal for SEO optimization software and rapid content discovery across loca
Automate GUI testing and control across OS with PyAutoGUI. Perform mouse, keyboard, screenshots, and image recognition e
Streamline Jira Cloud integration and workflows using a modular, TypeScript-based MCP server featuring key Jira API capa
Securely access YggTorrent with an unofficial API for torrent search, category filtering, metadata, and magnet link gene
Stay ahead of the MCP ecosystem
Get weekly updates on new skills and servers.