Mastermind research

From monoes/monomind · View interactive version

Mastermind research is an AI agent skill from the GitHub repository monoes/monomind. Research: market, competitors, users, trends. A Research Manager coordinates researcher agents and reports the findings.

How to use this skill

Skill file

Mastermind Research Domain

This skill is invoked directly via /mastermind:research, or by /mastermind:master (pack extras — monomind packs add extras).


Inputs


Complexity Assessment

Assess the prompt to determine execution mode:

Simple (direct execution): Single-answer lookup or quick scan:

→ Use a single researcher agent. Skip manager delegation.

Complex (spawn Research Manager agent): Any of these:

→ Spawn Research Manager agent with full briefing.


Standalone Execution (when called without master)

If this skill is invoked directly (not by master):

  1. Load brain context following mastermind-protocol/SKILL.md Brain Load Procedure (namespace: research)
  2. Run intake from mastermind-intake/SKILL.md if prompt is vague
  3. Follow mastermind-protocol/SKILL.md Monotask Space+Board Setup Procedure:

```bash

project_name="${project_name:-$(basename "$PWD")}"

space_id=$(monotask space list 2>/dev/null | awk -F' \| ' -v n="$project_name" '$2==n{print $1}' | head -1)

[ -z "$space_id" ] && space_id=$(monotask space create "$project_name" 2>&1 | grep -oE '[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}')

[ -z "$space_id" ] && { echo "ERROR: Could not find or create space '$project_name'"; exit 1; }

board_id=$(monotask board create "research" --json | jq -r '.id // empty')

[ -z "$board_id" ] && { echo "ERROR: Failed to create research board"; exit 1; }

monotask space boards add "$space_id" "$board_id" >/dev/null 2>&1 || true

todo_col=$(monotask column create "$board_id" "Todo" --json | jq -r '.id')

doing_col=$(monotask column create "$board_id" "Doing" --json | jq -r '.id')

done_col=$(monotask column create "$board_id" "Done" --json | jq -r '.id')

```

  1. Proceed with complexity assessment below
  2. At end: follow mastermind-protocol/SKILL.md Brain Write Procedure (namespace: research)

Complex Execution — Research Manager Agent

Spawn a Research Manager agent via Task tool:

Task({
  subagent_type: "researcher",
  description: `You are the Research Manager for project <project_name>.

CONTEXT: <date> | Project: <project_name> | Spawned by: mastermind:research

BRAIN CONTEXT:
<brain_context>

YOUR BOARD: <board_id>
YOUR GOAL: <prompt>

STEP 1 — PLAN
Decompose the research goal into parallel intelligence streams. For each stream, identify:
- What specific question it answers
- Which data sources to tap (web, docs, user signals, code, analytics)
- Which specialist is best suited
- How outputs from different streams combine into a final answer

STEP 2 — CREATE TASKS
For each research stream, create a monotask card on the project board. First look up column IDs and assign shell variables:

columns=$(monotask column list "$BOARD_ID" --json)

COL_TODO_ID=$(echo "$columns" | jq -r '.[] | select(.title == "Todo" or .title == "Backlog") | .id' | head -1)

COL_DONE_ID=$(echo "$columns" | jq -r '.[] | select(.title == "Done") | .id' | head -1)

Then create the card:

result=$(monotask card create "$BOARD_ID" "$COL_TODO_ID" "<short summary of research question, ≤80 chars>" --json)

CARD_ID=$(echo "$result" | jq -r '.id // empty')

monotask card set-description "$BOARD_ID" "$CARD_ID" "[specific research question this stream answers]"

monotask card comment add "$BOARD_ID" "$CARD_ID" "CONTEXT: <date> | Project: <project_name> | Created by: Research Manager

BRAIN MEMORY: [paste most relevant 3-5 brain context excerpts]

SCOPE: [sources to consult, search queries to run, depth of analysis]

CONSTRAINTS: [recency requirements, geographic scope, data reliability thresholds]

SUCCESS CRITERIA:

AGENT: [specialist picked in STEP 3]

SWARM: mesh 4 gossip

DEPENDENCIES: [task IDs or \"none\"]

OUTPUT FORMAT: unified output schema"


STEP 3 — EXECUTE
Spawn one Task agent per research stream (mesh topology — findings cross-pollinate).
Pick one specialist per research stream from the shared agent index (the Jev decision model when configured, keyword ranking otherwise); it only returns agents that exist. In order: the prompt's `[PICK]` line when it fits this research stream; else `mcp__monomind__pick({ task: "<research stream>: <scope>", kind: "agents", top: 1 })` → `agents.ranked[0].name`; else the local CLI through the version-checked `mmpick` helper (never npx; the block defines it because each Bash call starts a fresh shell):

Local only — never npx. Accept a binary only when its pick output is the

unified index (skill entries carry `source`); see mastermind-agent-select.

mmpick() { for c in monomind ./node_modules/.bin/monomind; do

command -v "$c" >/dev/null 2>&1 || continue

out=$("$c" pick "$@" --json 2>/dev/null) || continue

printf '%s' "$out" | jq -e '[.skills.ranked[]? | has("source")] | (length > 0 and all)' \

>/dev/null 2>&1 && { printf '%s\n' "$out"; return 0; }

done; return 127; }

mmpick -t "<research stream>: <scope>" --top 1 | jq -r '.agents.ranked[0].name // empty'

Use the returned name as that research stream's subagent_type. If nothing is returned, use the default below.
- Any stream: "researcher"

Also run /mastermind:do --board <board_id> to track execution.

STEP 4 — COLLECT AND RETURN
Synthesize all research streams into an intelligence report. Return to caller:

domain: research
status: complete | partial | blocked
artifacts:
  - path: [research report if written to disk]
    type: report
decisions:
  - what: [key findings and recommended actions]
    why: [evidence from research]
    confidence: [0.0-1.0]
    outcome: pending
lessons:
  - what_worked: [which sources or methods yielded best signal]
  - what_didnt: [gaps or low-quality sources]
next_actions:
  - [e.g. "run mastermind:idea to act on market insights"]
  - [e.g. "run mastermind:marketing with validated positioning"]
board_url: monotask://<project_name>/research
run_id: <ISO8601-timestamp>`,
  run_in_background: true
})

Simple Execution

For simple tasks (single researcher, single question):

  1. Spawn one Task agent with the research question as a self-contained briefing
  2. Collect output
  3. Return unified output schema with status: complete

Domain Swarm Defaults

| Task Type | Agent | Swarm |

|---|---|---|

| Full competitive analysis | researcher + trend + UX | mesh 4 gossip balanced |

| Market sizing | researcher | hierarchical 3 raft specialized |

| Trend scan | researcher | single agent |

| User research synthesis | researcher + Monodesign | hierarchical 3 raft specialized |

| Quick factual lookup | researcher | single agent |

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.