This skill should be used when the user asks to 'operate Claude Code agent view', 'use claude agents', 'manage background Claude Code sessions', 'dispatch multiple Claude Code agents', 'monitor background sessions', 'peek reply attach sessions', 'troubleshoot agent view', or compare agent view with subagents, agent teams, dynamic workflows, and worktrees.
Operate the official Claude Code agent view as a local session-control surface for independent background Claude Code sessions. Keep the skill focused on claude agents, shell management commands, session state, isolation, and troubleshooting. [DOC]
Treat current Claude Code documentation as the behavior authority. If the installed Claude Code version is unknown or not locally verifiable, include coverage_gap: active Claude Code version not verified. [DOC][INFERENCIA]
Use these supporting resources as needed:
references/official-agent-view.md - Command surface, feature gates, dispatch paths, states, isolation, storage, and shell controls. [DOC]references/decision-guide.md - When to choose agent view versus subagents, agent teams, dynamic workflows, worktrees, or background shell commands. [DOC][INFERENCIA]references/troubleshooting.md - Symptom-based recovery for unavailable agent view, stalled supervisor, macOS protected folders, failed sessions, and worktree cleanup. [DOC]assets/agent-view-runbook.md - Portable operator checklist for dispatch, monitoring, review, and closeout. [CONFIG]assets/session-state-matrix.json - Machine-readable state and command matrix for audits and examples. [CONFIG]claude agents --json, claude daemon status, claude logs <id>, git worktree list, or error text.coverage_gap notes for unverified Claude Code version or unavailable local state.Classify the request as one of: launch agent view, dispatch sessions, monitor sessions, reply or attach, troubleshoot, clean up, compare orchestration approaches, or script against JSON output. Do not conflate claude agents with these adjacent control surfaces: /agents is the interactive subagent library, /tasks is the in-session task engine for ordered work items, and /workflows runs dynamic multi-step workflows. Only claude agents and its shell commands operate independent background sessions; the others coordinate work inside one session. [DOC]
For current operations, run or request claude --version when feasible. Agent view is research preview and requires Claude Code v2.1.139 or later. claude agents --cwd <path> requires v2.1.141 or later, and agent-view configuration flags such as --settings, --add-dir, --plugin-dir, and --mcp-config require v2.1.142 or later. Voice dictation in the dispatch or reply input requires v2.1.145 or later with voice dictation enabled, and parallel work-item counts in summaries and peek require v2.1.161 or later. [DOC]
Use claude agents for an interactive terminal dashboard. Use claude agents --json for scripting, optionally with --all and --cwd <path>. Use claude attach <id>, claude logs <id>, claude stop <id>, claude respawn <id>, claude rm <id>, and claude daemon status for shell control without opening the dashboard. [DOC]
Dispatch from agent view when each prompt should start a new independent background session. Use Shift+Enter only when immediate attach is needed. Use claude --bg "<task>" from the shell for direct background launch, and claude --bg --exec '<command>' or ! <command> in agent view for a background shell job rather than an agent session. Know the dispatch syntax: @<repo> runs the session in a sibling repository, while #<number> or a pull request URL selects an existing session already working on that PR instead of starting a new one. [DOC]
Set defaults deliberately: --permission-mode, --model, --effort, and --agent affect sessions dispatched from agent view. Prefer plan or narrow permissions for uncertain write work; avoid broad write-capable parallelism unless worktrees or clear file ownership boundaries exist. [DOC][INFERENCIA]
Interpret row states before acting: working, needs input or blocked, idle, completed, failed, and stopped. Use Space for peek, type a reply and press Enter to answer from the peek panel, and use Enter or right arrow to attach for the full conversation. Detach without stopping the session; stop explicitly when the work should end. [DOC]
Filter by project with --cwd when needed. Remember that the default view can list background sessions across projects. Treat Claude-created worktrees as disposable only after merging, pushing, or otherwise preserving useful changes. Before deleting a session that edited files, inspect its result, PR status, or worktree path. [DOC][INFERENCIA]
Load references/troubleshooting.md when an error message or surprising behavior appears. Prefer local diagnostics such as claude daemon status, /doctor, claude logs <id>, git worktree list, and exact error text over speculation. Mark unknown version, provider-specific behavior, and inaccessible protected folders as coverage_gap. [DOC][INFERENCIA]
claude agents, /agents, /tasks, /workflows, shell commands, or worktrees.--add-dir defaults are treated as dispatch/session configuration, not global truth.coverage_gap items are visible.claude agents.Capas del packet, cargables bajo demanda (disciplina ICM: una capa por vez, nunca todas juntas): references/ guías de profundidad (cargar UNA por etapa) · knowledge/ cuerpo de conocimiento · prompts/ prompts listos · examples/ salida de ejemplo · agents/ subagentes del packet · templates/ plantilla de output · assets/ recursos estáticos.
e8f986b
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.