/kanban:whoamifrom kanban
Show current kanban driver state — project, board, AP, token validity.
Ships in kanban. Installing the plugin adds it to Claude Code.
Read-only summary of the kanban configuration in this repo. Never displays
the API token value — only present / missing / valid / invalid.
$CLAUDE_PROJECT_DIR if set, else git rev-parse --show-toplevel, else
current working directory.
Read kanban.json. If missing: print Repo: <path>\nDriver: (no kanban.json — run /kanban:init) and stop.
Pull version (default 0.1), backend.driver (default local).
Repo: <path>
Driver: local
Schema: <version>
Tasks: <count of tasks[]> (DOING <n> · BLOCKED <n>)
Stop here.
Pull backend.jira.{boardUrl, boardId, projectKey}. Then:
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/jira_setup.py read-credentials
For token validity, run health (will hit /myself):
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/jira_setup.py health \
--kanban-path '<kanban.json path>'
Token row maps from health.status:
ok → ✓ validunauthenticated → ✗ invalid (re-run /kanban:reset-credentials)unreachable → ? unknown (network)degraded → ? degraded — <detail>Read this repo's AP via the helper (it parses .claude/kanban-agent.json):
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/jira_setup.py read-agent-ap \
--kanban-path '<kanban.json path>'
For the live AP roster, ask Jira directly (the local
backend.jira.ap.registered is a stale hint — Jira is the source of
truth for which AP options actually exist):
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/jira_setup.py live-list-aps \
--kanban-path '<kanban.json path>'
| Response | AP roster row reads |
|---|---|
{ok: true, registered: [...]} | <comma list> (live) |
{ok: false, error, fallback} | <comma list> (offline — local hint) |
Run the MCP conflict scan:
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/jira_setup.py mcp-conflict-scan \
--kanban-path '<kanban.json path>'
The Jira MCP row reports ✓ none (empty conflicts) or
⚠ N detected: <comma-list> (so the user knows what to scope away).
Read the board-config cache state (no Jira API call):
python3 ${CLAUDE_PLUGIN_ROOT}/scripts/jira_setup.py read-board-config-cache \
--kanban-path '<kanban.json path>'
Returns {cachedAt, cacheAgeHours, stale, ttlHours, projectKey, propertyKey}.
The Board config row maps from these:
| Response | Board config row reads |
|---|---|
cachedAt: null | Jira project <projectKey> properties.kanban-config (never synced — run /kanban:pull-board-config) |
cachedAt set, stale: false | Jira project <projectKey> properties.kanban-config (synced <cacheAgeHours>h ago, fresh) |
cachedAt set, stale: true | Jira project <projectKey> properties.kanban-config (synced <cacheAgeHours>h ago, ⚠ stale — auto-syncs on next /kanban:sync) |
Render:
Repo: <path>
Driver: jira
Base URL: <baseUrl>
Email: <email>
Project: <projectKey>
Board: #<boardId>
AP field: <fieldName> (<fieldId> — or "(unconfigured — run /kanban:initjira)")
AP (this repo): <ap or "(unset — run /kanban:assign-ap <name>)">
AP (registered): <live comma-list or "(empty — run /kanban:register-ap <name>)" or "<list> (offline — local hint)">
Token: <validity row>
Transitions: <count> defined (e.g. TODO→..., DOING→..., ...)
Board config: <cache row>
Jira MCP: <conflict row>
kanban.json or .env from this command.What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub kirinchen/claude-workbench --plugin kanban29 commands in this plugin
/assign-ap/kanban:assign-apSet the current repo's Agent Property (AP) — written to .claude/kanban-agent.json./block/kanban:blockMove a task to BLOCKED with a required reason./create/kanban:createCreate a single top-level card (no parent) on the board, auto-tagged with this repo's AP./create-sub/kanban:create-subSpawn N sub-cards from a parent issue, linked back via Jira issue link./delete/kanban:deleteDelete a Jira card. Destructive — refuses without --confirm; writes an audit snapshot first./doing/kanban:doingWork the DOING pool — read every card you currently own (status=DOING) and execute them in a sensible order.Other plugins' commands for the same job