Poketo Kanban — Board & Task Management
Invoke as $poketo-kanban.
Manage Poketo Work kanban boards directly from any session. All operations go through the poketo CLI gateway.
Prerequisites
poketo CLI installed and on PATH
- Authenticated:
poketo auth login or POKETO_API_KEY env var set
Process
Parse subcommand from $ARGUMENTS:
boards — list all boards
board <id> — view a board's lists and cards
search --query "<term>" — search cards across all boards
create-card, update-card, move-card, done — card mutations
create-board, create-list — board/list mutations
Execute via CLI:
- Run the appropriate command via
poketo kanban <command> [options]
Present results:
- Parse JSON output and display in human-readable format.
- After mutations, re-fetch the board to show updated state.
Output
- For
boards: table of board names and IDs
- For
board <id>: each list as a column header with cards as bullet points (include done status, due dates, starred)
- For mutations: confirmation with created/updated entity details
Constraints
- If output contains
{ "error": "..." }, report the error to the user with remediation steps.
"Not authenticated" → tell user to run poketo auth login
"Could not reach the gateway" → tell user to check that the gateway is running and reachable
- After any mutation, re-fetch and display the updated board state.
Archive Mode (--archive)
When $ARGUMENTS contains --archive (or starts with archive), archive old Done and Punt cards. Use --days <N> to override the 30-day default.
Setup
Run board resolution: check tasks/.kanban-board for stored ID, validate via poketo kanban board <id>. If missing, match board names against basename $(pwd). If no match, ask the user. If setup fails, report the error and stop — this operation requires a working kanban connection.
Process
- Parse arguments: Extract
--days <N> from $ARGUMENTS. Default to 30.
- Fetch board state: Run
poketo kanban board <id> to get all lists and cards.
- Find archivable cards: Cards in Done/Punt lists where age (from
updatedAt or createdAt) exceeds the threshold. If none qualify, report and stop.
- Display candidates: Show each card with list name, last update date, and age.
- Confirm with user: Ask "Archive these N cards? (y/n)". If declined, stop.
- Archive cards: Run
poketo kanban archive-card --id <card-id> for each. Continue on individual failures.
- Report: "Archived N cards (X from Done, Y from Punt)."
Constraints
- Never archive without explicit user confirmation.
- Process Done cards first, then Punt — oldest first within each list.
- Only archive from Done and Punt lists.
- The
poketo kanban archive-card command handles auto-creating the Archive list.
Alignment Page
When this skill produces durable deliverables (research, specs, plans, reports, prototypes, or any document output), build a full-depth HTML alignment page following ALIGNMENT-PAGE.md in this skill's directory. Output: alignment/poketo-kanban-{topic}.html.
Default Shipping Contract
Follow the shared shipping contract convention in CLAUDE.md.
1---2name: poketo-kanban3description: Manage Poketo kanban boards — list boards, view board state, create/update/move cards, manage lists. Use when the user wants to track tasks, view project status, or manage work items.4---5
6# Poketo Kanban — Board & Task Management
7
8Invoke as `$poketo-kanban`.
9
10Manage Poketo Work kanban boards directly from any session. All operations go through the poketo CLI gateway.
11
12## Prerequisites
13
14- `poketo` CLI installed and on PATH
15- Authenticated: `poketo auth login` or `POKETO_API_KEY` env var set
16
17## Process
18
191. **Parse subcommand** from `$ARGUMENTS`:
20 - `boards` — list all boards
21 - `board <id>` — view a board's lists and cards
22 - `search --query "<term>"` — search cards across all boards
23 - `create-card`, `update-card`, `move-card`, `done` — card mutations
24 - `create-board`, `create-list` — board/list mutations
25
262. **Execute via CLI:**
27 - Run the appropriate command via `poketo kanban <command> [options]`
28
293. **Present results:**
30 - Parse JSON output and display in human-readable format.
31 - After mutations, re-fetch the board to show updated state.
32
33## Output
34
35- For `boards`: table of board names and IDs
36- For `board <id>`: each list as a column header with cards as bullet points (include done status, due dates, starred)
37- For mutations: confirmation with created/updated entity details
38
39## Constraints
40
41- If output contains `{ "error": "..." }`, report the error to the user with remediation steps.
42- `"Not authenticated"` → tell user to run `poketo auth login`
43- `"Could not reach the gateway"` → tell user to check that the gateway is running and reachable
44- After any mutation, re-fetch and display the updated board state.
45
46## Archive Mode (`--archive`)
47
48When `$ARGUMENTS` contains `--archive` (or starts with `archive`), archive old Done and Punt cards. Use `--days <N>` to override the 30-day default.
49
50### Setup
51
52Run board resolution: check `tasks/.kanban-board` for stored ID, validate via `poketo kanban board <id>`. If missing, match board names against `basename $(pwd)`. If no match, ask the user. If setup fails, report the error and stop — this operation requires a working kanban connection.
53
54### Process
55
561. **Parse arguments**: Extract `--days <N>` from `$ARGUMENTS`. Default to 30.
572. **Fetch board state**: Run `poketo kanban board <id>` to get all lists and cards.
583. **Find archivable cards**: Cards in Done/Punt lists where age (from `updatedAt` or `createdAt`) exceeds the threshold. If none qualify, report and stop.
594. **Display candidates**: Show each card with list name, last update date, and age.
605. **Confirm with user**: Ask "Archive these N cards? (y/n)". If declined, stop.
616. **Archive cards**: Run `poketo kanban archive-card --id <card-id>` for each. Continue on individual failures.
627. **Report**: "Archived N cards (X from Done, Y from Punt)."
63
64### Constraints
65- Never archive without explicit user confirmation.
66- Process Done cards first, then Punt — oldest first within each list.
67- Only archive from Done and Punt lists.
68- The `poketo kanban archive-card` command handles auto-creating the Archive list.
69
70
71## Alignment Page
72
73When this skill produces durable deliverables (research, specs, plans, reports, prototypes, or any document output), build a full-depth HTML alignment page following `ALIGNMENT-PAGE.md` in this skill's directory. Output: `alignment/poketo-kanban-{topic}.html`.
74
75## Default Shipping Contract
76
77Follow the shared shipping contract convention in CLAUDE.md.