/agent-deck:agent-deck-sessionfrom agent-deck
Verifies Agent Deck MCP connection at session start, binds to the active deck, and applies playbook triggers and operating instructions before task work begins.
Ships in agent-deck. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This skill verifies an MCP connection; it does not create one. The host connects over pure MCP (streamable HTTP) through one global headerless entry — no per-folder setup — and a session with no folder pin binds to the user's default deck automatically. An existing folder pin stays valid and keeps precedence, but no new pin is needed.
When Agent Deck MCP is configured for the current session, or .agent-deck/use.json indicates
that it is expected, this opener is a hard gate. The file is only one optional signal; the
gate also includes launch-selected sessions that deliberately have no assignment file.
Complete the opener before reading repository files, running task commands, or answering the
task. Once per conversation (or after the selected deck changes):
get_session_context — one call returns the workspace, effective deck,
display_summary, services, credential metadata, and playbook summariesdisplay_summary verbatim (e.g. ◆ dev · 2 MCP · 0 keys · 1 playbooks).
display_summary is the one source string for this canonical session
receipt: do not reconstruct the deck name, counts, badge, or the
session (default …) override suffix — print the suffix exactly as
returned when the session deck differs from the workspace default. This
transcript receipt is the authoritative binding record for the session;
workspace badges and terminal status lines are optional secondary context
and never override it.agent-deck-playbooks skill and call get_playbook before taking task action.operatingInstructions ('' when the deck sets none) and
follow the non-empty instructions for this session's deck only.Deck instructions never override platform safety, developer/user instructions, or
authorization boundaries, and never enable extra tools; on any conflict the
higher-priority instruction wins, so report the conflict instead of complying. MCP
initialize-time server instructions are a bootstrap hint only and never update after
a hot switch — get_session_context is the authoritative live value. After a
confirmed deck change, call get_session_context once before more task work and
follow only the new deck's instructions; the previous deck's instructions stop
applying immediately. No reconnect is needed after a switch.
If the Agent Deck tools are unavailable, disconnected, return GRANT_REQUIRED, or the
required call fails, stop and report the connection problem. Do not inspect the repository,
improvise from memory, or silently fall back to another route. Before the gate passes,
checking for the optional assignment signal, checking whether Agent Deck is configured, and
other read-only diagnostics needed to restore the connection are allowed.
Give the operator recovery for the failed layer:
agent-deck status. In Codex, verify the Agent Deck plugin
is installed, enabled, and current; in Claude Code, check claude mcp list; in Cursor,
check the MCP server list; in Muse, check /mcp. Trust the folder, then reload or start
a new task. agent-deck setup --client codex|claude|cursor|muse writes the global
headerless fallback and refreshes the host guidance only; it does not install or repair
the plugin.agent-deck default <deck>, or pick
a deck in the dashboard Decks panel), then reload or retry the MCP connection. An
existing folder pin stays valid and keeps precedence, but no new pin is needed. A session
already bound to the default deck moves with switch_deck, never request_deck_assignment.x-agent-deck-deck-id / the launch configuration.Do not repeat the receipt on later turns when the binding is unchanged. A confirmed binding change allows exactly one new receipt line.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Other plugins' skills for the same job
npx claudepluginhub not-so-fat/agent-deck --plugin agent-deck4 skills in this plugin
/agent-deck-playbooksUse when a task matches a bound-deck playbook trigger, or when the user corrects output produced from a playbook. Fetch playbooks; propose patches from corrections./agent-deck-runUse when delegating a task to another coding session on a deck: brief it, start it through Agent Deck MCP (start_run), monitor it (get_run), review the result against the goal, and resume (start_run with resumeSessionId) or cancel (cancel_run) until done./agent-deck-setupUse when setting up Agent Deck, the MCP is disconnected, or the local daemon is down. Guides install/start with read-only checks; the user runs install commands.