Kanban agent skill

From Starchild-ai-agent/official-skills · View interactive version

Kanban agent skill is an AI agent skill from the GitHub repository Starchild-ai-agent/official-skills. Full read/write access to YOUR OWN published Kanban board. The board URL is resolved automatically at runtime (community URL when published, localhost for dev) — no hardcoding, no edits. Use when an agent needs to manage tasks on its board — list tasks, create/update/move/delete tasks, manage column

How to use this skill

Skill file

Overview

This skill connects to your own Kanban board. The board URL is resolved

automatically at runtime — you never hardcode or edit it:

  1. KANBAN_URL env var (if set) — trusted, no ping.
  2. https://community.iamstarchild.com/{USER_ID}-kanban-board — your published board, if reachable.
  3. http://localhost:5555 — local dev fallback (node server.js in skills/kanban/).

The first candidate that answers a health ping wins, and the result is cached.

So the same code hits localhost before you publish and your community board

after — zero edits. No auth, no collisions with other users' boards.

The default board ID is board-001. All functions default to it — you don't need to pass it unless working with multiple boards.


Quick Start

from exports import kb_health, kb_summary, kb_list_tasks, kb_create_task, kb_move_task

kb_health()   # ← call FIRST: shows which board you're wired to + reachability
kb_summary()  # then orient: columns + task counts

Connecting / targeting a board

kb_health()                       # what am I connected to?
kb_use_board("https://community.iamstarchild.com/{THEIR_USER_ID}-kanban-board")  # target another board (collab)
kb_reset_board()                  # back to automatic resolution

Auto-detect needs no setup. Use kb_use_board() only to reach a board that

isn't your own (a shared/team board, or another agent's for collaboration).

Sharing your board with a colleague (pre-wired handoff)

Don't hand over a raw copy — a raw copy auto-detects the recipient's own board,

not yours. Instead stamp a copy with your board URL first:

kb_export_for_sharing()   # writes a copy pre-wired to YOUR board + a zip

It resolves your own community board URL, copies this folder to

output/kanban-agent-share/kanban_agent_skill/, stamps DISTRIBUTED_BOARD_URL

into it, and zips it. Send that folder/zip. The recipient:

  1. Drops kanban_agent_skill/ into their skills/ directory.
  2. Their agent runs skill_refresh (registers it as kanban-agent).
  3. kb_health() — it auto-connects to your board, no config.

(To wire the copy to a different board, pass kb_export_for_sharing(board_url=...).

The recipient can still set their own KANBAN_URL to use their own board.)


Functions

Board Overview

kb_summary(board_id="board-001")

Returns board info + all columns with task counts and task titles. Always call this first to orient yourself — get column IDs before creating or moving tasks.

kb_list_boards()

Returns all boards. Each has an id field — pass it as board_id to scope all other calls.

kb_create_board(title="Sprint 3", emoji=":fire:")

Creates a new board. Returns the new board object including its id.

kb_delete_board(board_id="b-123")

Deletes a board and all its columns and tasks. Irreversible.


Columns

kb_list_columns(board_id="board-001")

Returns all columns. Each has an id field you'll need for kb_create_task and kb_move_task.

kb_create_column(title="QA", board_id="board-001", color="#FF8607")

Add a new column. Color is a hex string.

kb_delete_column(list_id="list-backlog")

⚠️ Deletes the column and all its tasks permanently.


Tasks — Reading

kb_list_tasks(
    board_id="board-001",
    list_id=None,       # column ID (exact)
    owner=None,         # name/email substring e.g. "Eric", "ole"
    status=None,        # column name or ID e.g. "In Progress", "done"
    priority=None,      # "low" | "normal" | "medium" | "high" | "urgent"
    archived=False,     # True = archived only, False = active only (default)
    due_before=None,    # unix timestamp
    due_after=None,     # unix timestamp
    search=None,        # full-text across title, description, tags, owners
)

List tasks with filters. All args are optional — combine freely. Examples:

kb_get_task(task_id="t1")

Get full details of a single task by ID.


Tasks — Writing

kb_create_task(
    title="Fix login bug",
    list_id="list-backlog",          # required — get from kb_list_columns()
    board_id="board-001",
    description="Users can't log in on mobile",
    tags=["bug", "auth"],
    priority="high",                 # low | normal | high | urgent
    due_date=1782014400,             # unix timestamp, 0 = none
    checklist=["Reproduce", "Fix", "Test"],
)
kb_update_task(
    task_id="t1",
    title="New title",
    description="Updated description",
    tags=["frontend"],
    priority="urgent",
)

Pass only the fields you want to change — the rest are preserved.

kb_move_task(task_id="t1", list_id="list-done")

Move a task to a different column (equivalent to drag-and-drop).

kb_delete_task(task_id="t1")

Permanent delete.

kb_archive_task(task_id="t1")

Soft delete — hides the task without destroying it.

kb_unarchive_task(task_id="t1")

Restore an archived task.

kb_assign_owners(task_id="t1", owners=["alice", "bob@example.com"])

Set (replace) all owners on a task.

kb_bulk_move(from_list_id="list-progress", to_list_id="list-backlog")

Move every task from one column to another in one call. Returns {"moved": N, "errors": [...]}.


Checklist

kb_add_checklist_item(task_id="t1", text="Write tests")
kb_toggle_checklist_item(task_id="t1", index=0, checked=True)

Index is 0-based.


Typical Agent Workflow

# 1. Orient — see the board state
summary = kb_summary()

# 2. Find the column you need
columns = {c["title"]: c["id"] for c in summary["columns"]}
# e.g. columns = {"Backlog": "list-backlog", "In Progress": "list-progress", ...}

# 3. Create a task
task = kb_create_task(
    title="Investigate memory leak",
    list_id=columns["Backlog"],
    priority="high",
    tags=["performance"],
)

# 4. Move it when work starts
kb_move_task(task["id"], columns["In Progress"])

# 5. Mark done when complete
kb_move_task(task["id"], columns["Done"])

Notes


UI Features (kanban.html)

Key front-end behaviours to be aware of when editing kanban-board/kanban.html:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.