analyze-code
CommandAnalyze code quality, identify issues, and suggest improvements.
Spin off a new AI session for unrelated work, a fresh continuation, or a worker
> /plugin marketplace add nimbalyst/nimbalyst> /plugin install nimbalyst-wiki@nimbalyst
description: Spin off a new AI session for unrelated work, a fresh continuation, or a worker
Spin off a new AI session, e.g. "/launch-new-session and keep going on the tests" or "/launch-new-session to fix that unrelated bug". Pick the mode from what the user asked for:
Reporting defaults to `"none"`: the calling session is not told when the new session finishes. Use `"final"` only for workers, or when the user asks for the result to come back here.
When the user types `/launch-new-session [task description]`:
1. **Construct a self-contained handoff brief.** The new session will not see this conversation, so the brief must stand on its own. Include:
2. **Pick the mode** (see above). Unrelated work is Independent; "keep going", "continue", or a long context is Continuation; Worker only when this session is coordinating the work. When unsure between Independent and Continuation, ask whether the new work belongs to the current task.
3. **Decide on `useWorktree`.** Default to `false`. The default already inherits the caller's working directory: if the current session is running in a worktree, the spawned session runs in that same worktree (its edits land where the user is looking). Only set `true` when the user's phrasing implies the new session needs its OWN new branch / working directory — e.g. "in a new worktree", "in parallel without conflicts", "without touching my current branch". Note: `isolated` and `useWorktree` are independent — isolated alone still inherits the caller's working directory but separates the session record; combine with `useWorktree: true` to also branch off into a fresh worktree.
4. **Decide on `reporting`.** Omit it (fire and forget) for Independent and Continuation. Use `"final"` for a Worker, or when the user wants the result back in this session ("...and tell me when it's done").
5. **Decide on model.** By default the new session uses the app's global default model. Override only when the user asks for it:
6. **Call `spawn_session`** with:
7. **Report back to the user** with:
Nimbalyst - The open-source visual workspace for Claude Code, Codex, and OpenCode. Run multiple coding agents in parallel, edit their work visually in markdown, mockups, and diagrams, and track tasks. Free, MIT-licensed desktop app for macOS, Windows, Linux, with mobile companion for iOS and Android.
Analyze code quality, identify issues, and suggest improvements.
Audit recent AI coding sessions to find repeated mistakes, speed losses, and missed Nimbalyst tool usage — then propose harness…
Triage pnpm audit findings and produce a prioritized, supply-chain-cautious package-update plan, then apply approved batches
Survey recently triaged GitHub issues, propose the ones safe to fix without a product decision, and fan the selected ones out to…
Gather details and draft an actionable bug report for developers.
Shortcut for "continue working" — pick the work in flight back up exactly where it stopped and keep going until it is done or…