context
Analyze and optimize Claude Code's context configuration (analyze, optimize, or reset).
Archive a completed change in the experimental workflow
> /plugin marketplace add komluk/scaffolding > /plugin install scaffolding@komluk-scaffolding
How it fires
How this command gets triggered: by you, by Claude, or both.
/archiveContext preview
What this command does when you run it.
Archive a completed change in the experimental workflow
name: "Specs: Archive" description: Archive a completed change in the experimental workflow category: Workflow tags: [workflow, archive, experimental]
Archive a completed change by updating its status in context.json.
**Input**: Optionally specify a conversation_id after `/specs:archive`. If omitted, use the current conversation's UUID. If vague or ambiguous, list conversations that have specs directories.
**UUID Enforcement**: The conversation_id MUST be a UUID (format: `xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx`). NEVER use descriptive names.
**Steps**
1. **Locate the specs directory**
Use the current conversation's UUID or the provided one to find: `.scaffolding/conversations/{conversation_id}/specs/`
If no specs directory exists, inform the user and stop.
2. **Check artifact completion status**
Check which of the 3 artifacts exist:
**If any artifacts are missing:**
3. **Check task completion status**
Read `tasks.md` to check for incomplete tasks.
Count tasks marked with `- [ ]` (incomplete) vs `- [x]` (complete).
**If incomplete tasks found:**
**If no tasks.md exists:** Proceed without task-related warning.
4. **Perform the archive**
Update the conversation's `context.json` to set `openspec.status` to `"archived"`:
The specs files remain in place as a decision record.
5. **Display summary**
Show archive completion summary including:
**Output On Success**
## Archive Complete
**Conversation:** <conversation_id>
**Status:** archived (updated in context.json)
All artifacts complete. All tasks complete.
The specs remain at `.scaffolding/conversations/{conversation_id}/specs/` as a decision record.**Output On Success With Warnings**
## Archive Complete (with warnings) **Conversation:** <conversation_id> **Status:** archived (updated in context.json) **Warnings:** - Archived with 2 missing artifacts - Archived with 3 incomplete tasks Review the specs if this was not intentional.
**Guardrails**
Spec-driven multi-agent orchestration for Claude Code — pure markdown, zero backend, runs on the stock runtime. 13 agents, 36 skills, 19 commands, 15 hooks, per-phase model tiers, opt-in lifecycle hooks, optional cross-device semantic memory.
Repo: komluk/scaffolding
Analyze and optimize Claude Code's context configuration (analyze, optimize, or reset).
Scaffold a new scaffolding-compatible skill: an interactive flow that creates `skills/<name>/SKILL.md` from the canonical template, composes a `TRIGGER`/`SKIP`…
Health-check the scaffolding install and report install problems plus exact fixes (diagnose-only, never mutates).
Initialize OpenSpec in a project directory with the scaffolding-workflow schema.
Scaffold opt-in path-scoped nested CLAUDE.md rule files into the project to lazy-load per-area conventions while keeping routing always-loaded.
Bootstrap a new project with the scaffolding CLAUDE.md, settings.json, and `.scaffolding/` directory structure.