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-kanban
3description: 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.
4type: ops
5version: v0.1
6argument-hint: "<subcommand> [options] [--archive]"
7allowed-tools: Bash(poketo *)
8metadata:
9 source: https://skillmd.com/skills/georgeqle/poketo-kanban
10---
11
12# Poketo Kanban — Board & Task Management
13
14Invoke as `$poketo-kanban`.
15
16Manage Poketo Work kanban boards directly from any session. All operations go through the poketo CLI gateway.
17
18## Prerequisites
19
20- `poketo` CLI installed and on PATH
21- Authenticated: `poketo auth login` or `POKETO_API_KEY` env var set
22
23## Process
24
251. **Parse subcommand** from `$ARGUMENTS`:
26 - `boards` — list all boards
27 - `board <id>` — view a board's lists and cards
28 - `search --query "<term>"` — search cards across all boards
29 - `create-card`, `update-card`, `move-card`, `done` — card mutations
30 - `create-board`, `create-list` — board/list mutations
31
322. **Execute via CLI:**
33 - Run the appropriate command via `poketo kanban <command> [options]`
34
353. **Present results:**
36 - Parse JSON output and display in human-readable format.
37 - After mutations, re-fetch the board to show updated state.
38
39## Output
40
41- For `boards`: table of board names and IDs
42- For `board <id>`: each list as a column header with cards as bullet points (include done status, due dates, starred)
43- For mutations: confirmation with created/updated entity details
44
45## Constraints
46
47- If output contains `{ "error": "..." }`, report the error to the user with remediation steps.
48- `"Not authenticated"` → tell user to run `poketo auth login`
49- `"Could not reach the gateway"` → tell user to check that the gateway is running and reachable
50- After any mutation, re-fetch and display the updated board state.
51
52## Archive Mode (`--archive`)
53
54When `$ARGUMENTS` contains `--archive` (or starts with `archive`), archive old Done and Punt cards. Use `--days <N>` to override the 30-day default.
55
56### Setup
57
58Run 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.
59
60### Process
61
621. **Parse arguments**: Extract `--days <N>` from `$ARGUMENTS`. Default to 30.
632. **Fetch board state**: Run `poketo kanban board <id>` to get all lists and cards.
643. **Find archivable cards**: Cards in Done/Punt lists where age (from `updatedAt` or `createdAt`) exceeds the threshold. If none qualify, report and stop.
654. **Display candidates**: Show each card with list name, last update date, and age.
665. **Confirm with user**: Ask "Archive these N cards? (y/n)". If declined, stop.
676. **Archive cards**: Run `poketo kanban archive-card --id <card-id>` for each. Continue on individual failures.
687. **Report**: "Archived N cards (X from Done, Y from Punt)."
69
70### Constraints
71- Never archive without explicit user confirmation.
72- Process Done cards first, then Punt — oldest first within each list.
73- Only archive from Done and Punt lists.
74- The `poketo kanban archive-card` command handles auto-creating the Archive list.
75
76
77## Alignment Page
78
79When 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`.
80
81## Default Shipping Contract
82
83Follow the shared shipping contract convention in CLAUDE.md.