← ClaudeAtlas

dept-wraplisted

Freezes department state at session end — writes dept-state.md, updates member-roster.md, flushes active-coords.md, and archives dept scratch files. Invoke as /dept-wrap [dept-slug] or /dept-wrap all. Fully autonomous, no user interaction. Parallel-safe when saving all departments.
Tekkiiiii/the-agency · ★ 0 · AI & Automation · score 62
Install: claude install-skill Tekkiiiii/the-agency
# /dept-wrap Writes all department session-end state files. Caller spawns and waits — zero work done in the calling session. Pairs with `/dept-resume` (session start) and `/dept-status` (read-only check). ## Department Registry The 14 departments and their paths: | Slug | Path | Abbr | |------|------|------| | career | ~/.agency/agents/career | car | | content-creation | ~/.agency/agents/content-creation | cc | | design | ~/.agency/agents/design | des | | engineering | ~/.agency/agents/engineering | eng | | game-development | ~/.agency/agents/game-development | gd | | marketing | ~/.agency/agents/marketing | mkt | | operations | ~/.agency/agents/operations | ops | | paid-media | ~/.agency/agents/paid-media | pm | | product | ~/.agency/agents/product | prd | | project-management | ~/.agency/agents/project-management | prj | | sales | ~/.agency/agents/sales | sal | | spatial-computing | ~/.agency/agents/spatial-computing | spa | | specialized | ~/.agency/agents/specialized | spc | | testing | ~/.agency/agents/testing | tst | ## Argument Resolution | Argument | Action | |---|---| | `all` | Save all 14 departments, in parallel via subagents | | `[dept-slug]` | Save exactly one department | | no arg | Fail with message: "Pass a dept slug or 'all'" | ## Step 1 — Read Current State For the target department, read: 1. `{dept-path}/state/dept-state.md` — current snapshot 2. `{dept-path}/scratch/dept-scratch.md` — active session scratch (if exists) 3. `{dept-path}/scratch/coor