session-wrap
Skill0 starsChanged 2 months agoMITView on GitHub
Close a coding or work session with evidence-backed status, explicit ownership, reconciled follow-ups, and a decisive next step. Use for explicit "session wrap" or "$session-wrap" requests, durable handoffs, deployment or audit closeouts, and generic Korean or English requests such as "마무리", "정리", "wrap", or "what do I need to check?"; use quick chat, a single handoff, or a deep multi-agent audit according to scope and risk.
13 other projects use a version of this.
Adopted by
Most recently taken up by
- catesandrew/skillstheir own version, first seen Nov 1, 2026
- itgenius-au/skills-librarytheir own version, first seen Oct 30, 2026
- aberson/skill-meshtheir own version, first seen Oct 24, 2026
- cacardinal/lailatheir own version, first seen Jul 31, 2026
- Kashyap-001/second-brain-templatetheir own version, first seen Jul 23, 2026
- syugoji/agent-skills-packtheir own version, first seen Jul 22, 2026
Other versions13 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 13
- ai-native-camp/camp-2★ 19same name
- leonsong09/session-wrap★ 9same name
- immacualate/claude-forge★ 5same name
- aberson/skill-mesh★ 2same name
- dawish39/session-wrap★ 2same name
- borgesme/fastapi-general-template★ 1same name
- cacardinal/laila★ 1same name
- catesandrew/skills★ 1same name
- itgenius-au/skills-library★ 1same name
- Kashyap-001/second-brain-template★ 0same name
3 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repositoryOne other file it gives its agents.
- project-strategy-opsSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
17 rules. 0 are common, 10 are distinctive, and 7 are very specific to this project.
0
Common
Most of the 10 edited versions we read keep these.
10
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 16
Do not turn a read-only closing question into workspace writes.
- Distinctive: line 29
Treat session notes and prior summaries as leads, not proof.
- Very specific: line 42
Use --mode audit only when its deeper evidence and independent analysis are justified.
- Very specific: line 44
If a previous wrap exists, reconcile each open item as resolved, carried forward, or dropped.
- Distinctive: line 48
Use these lenses while drafting.
- Distinctive: line 53
Follow-up: next actions with owner, dependency, and urgency.
- Distinctive: line 55
Do not seed generic suggestions such as KPI reports, previews, aliases, or CI unless session evidence supports them.
- Very specific: line 59
Read references/audit-agents.md completely before an audit.
- Very specific: line 64
Start these read-only agents with fork_turns="none":
- Very specific: line 71
Wait for all four agents. Condense their outputs into the Phase 1 sections of evidence.md.
- Very specific: line 73
If subagent tools are unavailable, mark analysis_method: single-agent-fallback in evidence.md and disclose that the multi-agent audit …
- Very specific: line 77
After Phase 1 is recorded, start a new read-only duplicate-checker agent with fork_turns="none".
- Distinctive: line 89
Use these action labels:
- Distinctive: line 97
Every remaining item must name its owner and concrete next action.
- Distinctive: line 109
Never present a suggested commit message as completed work.
- Distinctive: line 123
Do not end with a three-option menu.
- Distinctive: line 131
Commit only the canonical summary unless the user explicitly wants audit evidence versioned.
“Common” is measured: kept by at least 6 in 10 of the 10 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Session Wrap
Produce a decisive closeout, not a menu of possible closeouts. Preserve verified facts, expose unfinished state, and minimize files and user turns.
Choose a mode
quick: Use for generic closing questions, status reports, or "what do I need to check?" Do not create files. This is the default when the user did not request an artifact.handoff: Use for an explicit$session-wrap, a requested wrap document, or work another session/person must continue. Create one canonicalwrap-summary.md.audit: Use a real two-phase multi-agent analysis when the user requests evidence or the session involved production deployment/rollback, security or permissions, data migration/mutation, multiple repositories/worktrees/services, unresolved external or physical-device checks, or a mismatch between implementation and live verification. Createwrap-summary.mdplusevidence.md.
Do not turn a read-only closing question into workspace writes. Explicit skill invocation or a requested handoff document authorizes the mode's wrap artifact, but not staging, committing, pushing, deploying, messaging, or creating external tasks.
Apply mode precedence:
- Explicit
quickor "간단히" →quick. - Explicit
audit, "증거까지", or "감사 모드" →audit. - Explicit
$session-wrap/"세션랩" plus any audit risk trigger →audit. - Explicit
$session-wrap/"세션랩" without an audit trigger →handoff. - Generic "마무리"/"더 할 일?" without artifact authorization →
quick, even after complex work. Mention that a deep audit is warranted when applicable, but do not create files without authorization.
Collect evidence
- Re-read the user's requested scope and corrections.
- Treat session notes and prior summaries as leads, not proof. Directly verify cheap local claims such as branch, HEAD, status, changed files, and artifact existence. If a note conflicts with current state, report the verified state and the conflict.
- Reverify drift-prone deployment, service, account, or external state before calling it current. Do not rerun an expensive test suite only to wrap the session when a trustworthy result from this session exists; label it as a prior run rather than a fresh run.
- Separate:
- completed and verified;
- completed but not live-verified;
- blocked or externally waiting;
- optional ideas.
- For
handofforaudit, run from anywhere inside the workspace:
"${CODEX_HOME:-$HOME/.codex}/skills/session-wrap/scripts/run_wrap.sh" --mode handoffUse --mode audit only when its deeper evidence and independent analysis are justified. The script prints the generated file paths.
- If a previous wrap exists, reconcile each open item as
resolved,carried forward, ordropped. Do not reintroduce it as a new suggestion.
Analyze quick and handoff modes
Use these lenses while drafting; do not create one file per lens.
- Documentation: durable decisions or runbook/context changes actually justified by the session.
- Automation: steps repeated at least twice or likely to recur, with expected time/risk reduction and implementation difficulty.
- Learning: what worked, failed, and newly constrained future work.
- Follow-up: next actions with owner, dependency, and urgency.
Do not seed generic suggestions such as KPI reports, previews, aliases, or CI unless session evidence supports them.
Run the audit pipeline
Read references/audit-agents.md completely before an audit. Use actual independent agents; do not describe a single-agent pass as multi-agent analysis.
Phase 1: four independent analyses
- Build one redacted input packet from the user's scope, verified session facts,
evidence.md, relevant changed files, existing documentation/automation indexes, and the latest prior wrap when one exists. - Start these read-only agents with
fork_turns="none":doc-updaterautomation-scoutlearning-extractorfollowup-suggester
- Start all four concurrently when capacity permits. With four total collaboration slots including the root agent, start three immediately and start the fourth as soon as the first slot becomes free; overlap it with any remaining agents when possible. The root agent orchestrates and verifies state but does not substitute for a specialist role.
- Give every role the same evidence packet and only its role brief. Do not give agents the expected conclusion or another role's output.
- Wait for all four agents. Condense their outputs into the Phase 1 sections of
evidence.md; do not create per-agent files.
If subagent tools are unavailable, mark analysis_method: single-agent-fallback in evidence.md and disclose that the multi-agent audit contract was not met. Never silently simulate independent agents.
Phase 2: independent validation
- After Phase 1 is recorded, start a new read-only
duplicate-checkeragent withfork_turns="none". - Tell it to read
evidence.md, relevantAGENTS.md/CLAUDE.md/context.md/README/runbooks, existing skills or automations, the latest prior wrap, and current Git state. - Require
add,merge,skip, orconflictfor every documentation and automation proposal. Require it to flag unsupported completion claims, duplicate follow-ups, and conflicts between notes and verified state. - Record its search scope and verdicts in the Phase 2 section of
evidence.md. - Integrate only approved or merged items into
wrap-summary.md. Put conflicts and unresolved validation gaps before optional ideas.
Agents must remain read-only. Only the root agent may update the two audit artifacts. Audit authorization does not authorize documentation changes, automation creation, commit, push, deployment, or external messages.
Write the canonical summary
For handoff and audit, replace all placeholders in wrap-summary.md. Follow references/output-template.md.
Use these action labels:
[done]: completed with evidence.[agent]: agent can do it within already authorized scope.[user]: requires the user's judgment, credentials, physical action, or new authorization.[external]: waiting on another person or external state.[optional]: useful but not required for completion.
Every remaining item must name its owner and concrete next action. Add an absolute date only when a real deadline exists; otherwise state the dependency instead of inventing a date.
Record mutation state explicitly:
artifact: created | not created
staged: yes | no | not applicable
committed: yes | no | not applicable
pushed: yes | no | not applicable
deployed: yes | no | not applicableNever present a suggested commit message as completed work. Show a commit message only when the user asks for one or when reporting an actual commit.
Respond decisively
Return the result in this order:
종료 상태: complete, partial, or blocked.완료·검증: the smallest useful list.남은 일: required items before optional items, each with a label and owner.사용자가 지금 해야 할 일: say없음when none.기록 상태: artifact link and mutation state when a file exists.추천: one recommended next action, including지금은 종료when appropriate.다음 세션의 첫 작업: one concrete start point.
Do not end with a three-option menu. Ask a question only when a consequential choice is truly unresolved. If the next safe action is already authorized, perform it in the same turn and report the resulting state.
Output contract
quick: chat response only; zero files.handoff:artifacts/wrap/<timestamp>/wrap-summary.mdonly.audit:artifacts/wrap/<timestamp>/wrap-summary.mdandevidence.mdonly.
Commit only the canonical summary unless the user explicitly wants audit evidence versioned. Keep unrelated user changes untouched and stage only explicitly approved wrap files.
Resources
- Generator:
scripts/run_wrap.sh - Regression test:
scripts/test_run_wrap.sh - Output guide:
references/output-template.md - Audit role contracts:
references/audit-agents.md - Upstream license and attribution:
LICENSE
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

