Writes to a monotask board, not to
<org>-issues.json. This skill only works
on an org config that still carries a monotask
board_id(the legacy config
format); the Org Runtime never reads that board. For org issue tracking —
including sub-issues — use
/mastermind-issues --action create --parent-id <id>.
Mastermind Tasks
This skill is invoked directly via /mastermind-tasks.
Inputs
brain_context: BRAIN CONTEXT blockorg_name: org whose board to manageaction: list | create | assign | move | close | chaintask_title: title for createtask_id: card id for assign/move/closerole_id: role to assign the task toparent_id: parent task id (for hierarchical task chains)goal_ref: goal slug this task contributes to (links task to goal)status: todo | doing | done (for move)caller: command | master
Step 0 — Brain Load (standalone only)
If caller is not "command", load brain context following mastermind-protocol/SKILL.md Brain Load Procedure with namespace: ops.
Step 1 — Load Org Config
# board/column ids only exist on legacy-format org configs
orgFile=".monomind/orgs/${org_name}.json"
board_id=$(jq -r '.board_id // empty' "$orgFile")
todo_col=$(jq -r '.todo_col_id // empty' "$orgFile")
doing_col=$(jq -r '.doing_col_id // empty' "$orgFile")
done_col=$(jq -r '.done_col_id // empty' "$orgFile")
[ -z "$board_id" ] && { echo "ERROR: org config has no board_id — the Org Runtime does not use monotask boards. Use /mastermind-issues for org issues."; exit 1; }
Step 2 — Execute Action
list (default)
Show all tasks grouped by column with role labels and parent chains:
echo "=== TODO ==="
monotask card list $board_id --col $todo_col --json | jq -r '.[] | "[\(.id)] \(.title) role=\(.labels // [] | map(select(startswith("role:"))) | .[0] // "unassigned")"'
echo "=== DOING ==="
monotask card list $board_id --col $doing_col --json | jq -r '.[] | "[\(.id)] \(.title) role=\(.labels // [] | map(select(startswith("role:"))) | .[0] // "unassigned")"'
echo "=== DONE ==="
monotask card list $board_id --col $done_col --json | jq -r '.[] | "[\(.id)] \(.title)"'
Render as:
TASKS — org: <org_name>
──────────────────────────────────────────────
TODO (N)
[abc123] Write homepage copy → role:content-writer
[def456] └─ Draft hero section → role:content-writer (child of abc123)
DOING (N)
[ghi789] Review brand guidelines → role:reviewer
DONE (N)
[jkl012] Research competitor sites
create
Create a task card and optionally link it to a parent or goal:
CARD_ID=$(monotask card create $board_id $todo_col "$task_title" --json | jq -r .id)
[ -n "$role_id" ] && monotask card label add $board_id $CARD_ID "role:${role_id}"
[ -n "$parent_id" ] && monotask card subtask add $board_id $CARD_ID $board_id $todo_col "$task_title" --json
[ -n "$goal_ref" ] && monotask card label add $board_id $CARD_ID "goal:${goal_ref}"
echo "Created task: $CARD_ID"
Emit org:task:created event to dashboard.
assign
[ -n "$role_id" ] && monotask card label add $board_id $task_id "role:${role_id}"
echo "Assigned task $task_id to role $role_id"
move
case "$status" in
todo) col_target=$todo_col ;;
doing) col_target=$doing_col ;;
done) col_target=$done_col ;;
esac
monotask card move $board_id $task_id $col_target
echo "Moved task $task_id to $status"
Emit org:task:moved event.
chain
Build a task chain (parent → child sequence) from a list of task titles:
Parse task_title as newline-separated titles. Create each card in order, linking each as a prerequisite of the next:
prev_id=""
while IFS= read -r title; do
CARD_ID=$(monotask card create $board_id $todo_col "$title" --json | jq -r .id)
[ -n "$role_id" ] && monotask card label add $board_id $CARD_ID "role:${role_id}"
[ -n "$prev_id" ] && monotask card prerequisite add $board_id $CARD_ID $board_id $prev_id
prev_id=$CARD_ID
echo " Created: [$CARD_ID] $title"
done <<< "$task_title"
Step 3 — Return Output
domain: ops
status: complete
action: <action>
org: <org_name>
task_id: <task_id if applicable>
Step 4 — Brain Write (standalone only)
If caller is not "command", follow mastermind-protocol/SKILL.md Brain Write Procedure for domain ops.