Skip to content
Development
Command

/unity-sessions

List all saved sessions with branch, phase, modified-file count, and timestamp. Sessions are snapshots in .claude/state/sessions/ created by /unity-session-save.

From plugin
everything-claude-unity
2427 skills20 agents27 commands
Install
> /plugin marketplace add XeldarAlz/everything-claude-unity

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/unity-sessions

Context preview

What this command does when you run it.

List all saved sessions with branch, phase, modified-file count, and timestamp. Sessions are snapshots in .claude/state/sessions/ created by /unity-session-save.

Command definition

unity-sessions.md
name: unity-sessions
description: "List all saved sessions with branch, phase, modified-file count, and timestamp. Sessions are snapshots in .claude/state/sessions/ created by /unity-session-save."
user-invocable: true
args: none

/unity-sessions — List Saved Sessions

Show every saved session snapshot with enough context to decide which to resume.

Steps

1. Read the directory `.claude/state/sessions/` (create if missing, then report "no sessions saved yet"). 2. For each `*.json` file, read:

  • `label` (from filename, stem)
  • `branch`, `workflow_phase`, `saved_at` (ISO8601)
  • `tool_calls`, `warnings_count`
  • `modified_files` length
  • `plan.description` if present

3. Sort by `saved_at` descending. 4. Render a table:

## Saved Sessions

| Label | Branch | Phase | Age | Files | Plan |
|---|---|---|---|---|---|
| refactor-hud | feature/hud | Execute | 2h ago | 14 | Rewrite HUD to UI Toolkit |
| perf-spike   | main        | Verify  | 1d ago | 3  | Pool bullet VFX |
| ... | ... | ... | ... | ... | ... |

5. Suggest the next command:

> Resume one with `/unity-session-resume <label>` or start fresh — your current session is unaffected until you resume.

Rules

  • **Read-only.** Never delete or modify session files.
  • **Handle missing dir gracefully** — say "no sessions saved yet" and point to `/unity-session-save`.
  • **Ignore malformed JSON files** — report count of skipped files at the bottom but do not fail.
Read more
Ships witheverything-claude-unity

The ultimate Claude Code toolkit for Unity game development. A production-ready, plug-and-play system that gives Claude Code deep Unity expertise — from writing performant C# to building scenes, profiling performance, and triggering iOS/Android builds — all

Get the whole plugin

Other commands on everything-claude-unity.