AGENT SKILL

mastermind-tasks

Mastermind tasks — view, create, assign, and move tasks on an org's task board. Supports parent-child chains, goal linkage, and status filtering.

License 许可
Apache-2.0
所属仓库
monoes/monomind
最近更新
2026-11-14
Stars
★ 23
Forks
2

01 前言 Front Matter

name
mastermind-tasks
pick
low
type
domain-skill
description
Mastermind tasks — view, create, assign, and move tasks on an org's task board. Supports parent-child chains, goal linkage, and status filtering.
default_mode
auto

03 SKILL.md 正文

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 block
  • org_name: org whose board to manage
  • action: list | create | assign | move | close | chain
  • task_title: title for create
  • task_id: card id for assign/move/close
  • role_id: role to assign the task to
  • parent_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.

04 同仓库更多 Skills

monoes
monoes/monomind

isms-audit-expert

Use when planning or running an ISO 27001 ISMS audit: risk-based audit schedules, Annex A control assessment, Statement of Applicability and nonconformities. Auditor-side procedures, versus compliance-auditor, which is org role guidance across SOC 2, HIPAA and PCI-DSS.

★ 23
monoes
monoes/monomind

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full ASM JSON, flattened CSV for easy import, and exportable Python code for data engineers. Common triggers include converting instrument files, standardizing lab data, preparing data for upload to LIMS/ELN systems, or generating parser code for production pipelines.

★ 23
monoes
monoes/monomind

experiment-designer

Use when planning a product A/B or multivariate test: If/Then/Because hypotheses, primary and guardrail metrics, sample size and MDE, ICE prioritization. For logging and reproducing ML runs use experiment-tracker; for scientific study design use experimental-design.

★ 23
monoes
monoes/monomind

digest

Generate a daily or weekly digest of activity across all connected sources. Use when catching up after time away, starting the day and wanting a summary of mentions and action items, or reviewing a week's decisions and document updates grouped by project.

★ 23
monoes
monoes/monomind

design-critique

Get structured design feedback on usability, hierarchy, and consistency. Trigger with "review this design", "critique this mockup", "what do you think of this screen?", or when sharing a Figma link or screenshot for feedback at any stage from exploration to final polish.

★ 23
monoes
monoes/monomind

deployment-pipeline-design

Use when architecting a multi-stage CI/CD pipeline with approval gates, SAST and DAST scans, environment promotion, canary rollout and automated rollback. Design-level; for concrete Dockerfile and health check patterns use deployment-patterns.

★ 23