Swarm manager workshop research

From Vrooli/Vrooli · View interactive version

Swarm manager workshop research is an AI agent skill from the GitHub repository Vrooli/Vrooli. Run one workshop round for a **research** backlog item. Analyze the research question, explore investigation directions, generate targeted decisions and informational findings, self-assess readiness a

How to use this skill

Skill file

Workshop: Iterative Research Exploration

Purpose

Run one workshop round for a research backlog item. Analyze the research question, explore investigation directions, generate targeted decisions and informational findings, self-assess readiness across 5 research-oriented dimensions, and update the draft conclusion based on accumulated user responses and findings.

Research items are fundamentally different from other kinds (idea, fix, execute, chore). The workshop rounds ARE the research work itself — each round investigates, discovers, and refines understanding. The goal is not an implementation plan but a research conclusion with actionable findings.

Input Context

Required reading: prompt-manager skill read swarm-manager-backlog-tools — folder structure, artifact schemas, and CLI commands for reading/writing backlog files.

Required reading: prompt-manager skill read research-conclusion-authoring — canonical conclusion structure, mandatory sections, quality gates, and guardrails for conclusion.md.

Scope

In scope:

Out of scope:

Important: This skill runs within Swarm Manager. Any actions that result from research findings should create work through the swarm-manager CLI (e.g., creating new backlog items), not attempt direct implementation.

Output Requirements

All writes via CLI using --stdin with a heredoc:

swarm-manager backlog file-upload --kind research --name {{ITEM_NAME}} --path <path> --stdin <<'EOF'
<content>
EOF

Every Round Produces

  1. workshop/round-{{ROUND_NUMBER}}.json — the round file (see schema below)
  2. conclusion.md — updated research conclusion (create if first round, update if subsequent)

Workshop Round Schema

{
  "round": {{ROUND_NUMBER}},
  "generated_at": "<ISO-8601 timestamp>",
  "mode": "workshop",
  "pending_synthesis": false,
  "readiness": {
    "problem_clarity": 0,
    "scope_defined": 0,
    "approach_solid": 0,
    "testable": 0,
    "risk_awareness": 0
  },
  "items": [
    {
      "id": "d1",
      "type": "decision",
      "topic": "Investigation direction",
      "context": "Why this matters and what was found",
      "options": [
        {"key": "A", "label": "Explore approach X", "rationale": "Covers the most common case", "recommended": true},
        {"key": "B", "label": "Investigate approach Y", "rationale": "Addresses edge cases"},
        {"key": "C", "label": "Other", "rationale": "Provide your own direction"}
      ],
      "selected": null,
      "freeform": null,
      "notes": null
    },
    {
      "id": "i1",
      "type": "info",
      "text": "Found that the existing implementation uses pattern Z, which contradicts the initial assumption"
    }
  ],
  "plan_updates": "Brief description of what conclusion sections were created or updated this round"
}

Every workshop-generated round must set "mode": "workshop" and "pending_synthesis": false. Swarm Manager flips pending_synthesis to true only after the user saves fully-answered decisions.

Item Types

| Type | Purpose | User Action |

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

| decision | A clarification or direction choice for the user to guide the investigation. The agent presents researched alternatives with rationale for each. | Select an option (A, B, C...) or choose "Other" and provide freeform input. Optional notes. |

| info | Share a noteworthy finding, observation, or important discovery from the investigation | Read-only — no action needed |

Decision Item Guidelines

Readiness Dimensions (Research-Oriented)

Score each dimension honestly from 0-3 based on the CURRENT state of the conclusion:

| Dimension | What It Measures | 0 | 1 | 2 | 3 |

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

| problem_clarity | Is the research question well-defined? | No research question articulated | Vague topic area | Clear question, some ambiguity in scope | Precise, well-bounded research question |

| scope_defined | Are investigation boundaries clear? | No boundaries set | General area identified | Clear in-scope/out-of-scope boundaries | Crisp boundaries with explicit exclusions |

| approach_solid | Is the methodology sound and findings substantive? | No methodology or findings | General direction, preliminary observations | Sound methodology, substantive findings emerging | Rigorous methodology, comprehensive findings with evidence |

| testable | Can we verify the findings are accurate? | No verification possible | Some claims could be checked | Key findings have verification paths | All findings verifiable with documented evidence |

| risk_awareness | Are limitations and unknowns identified? | Not considered | Some gaps noted | Key limitations documented with impact | Comprehensive limitations, confidence levels, and knowledge gaps |

Scoring rules:

Research Conclusion Format

The conclusion.md file structure, mandatory sections, quality gates, and guardrails are defined by the research-conclusion-authoring skill (loaded via required reading above). Follow that skill exactly when creating or updating conclusion.md.

Workshop-specific notes:

Instructions

You are running workshop round {{ROUND_NUMBER}} for a swarm-manager research backlog item.

Item context:

Processing Steps

  1. Read all available context

```bash

swarm-manager backlog get --kind research --name {{ITEM_NAME}}

swarm-manager backlog files --kind research --name {{ITEM_NAME}}

```

Then read each available artifact:

```bash

swarm-manager initiatives get --name {{ITEM_INITIATIVE}}

swarm-manager initiatives files --name {{ITEM_INITIATIVE}}

```

Read any files present (orchestration summaries, decision logs, strategy docs). Use initiative context to align decisions with the broader initiative goals and understand how this item relates to sibling items.

  1. Analyze prior rounds (if ROUND_NUMBER > 1)

Review all prior workshop rounds. For each:

  1. Define the research question (round 1) or refine it (subsequent rounds)

On round 1:

On subsequent rounds:

  1. Investigate

This is the core research work. Based on the current question and direction:

Methodological rigor (adapted from research best practices):

  1. Generate workshop items

Based on the investigation, produce a focused set of items:

Target counts:

| Decisions | Info | Focus |

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

| 2-4 | 2-5 | Investigation direction, scope clarification, methodology, key findings |

Research rounds typically have MORE info items than other kinds because the findings themselves are valuable outputs. Decisions guide the direction of further investigation.

Decision examples for research:

Quality rules:

  1. Score readiness

Evaluate each dimension honestly based on the current state of the conclusion AFTER incorporating findings from this round. Use the research-oriented scoring rubric above.

  1. Update conclusion.md

Incorporate all findings and settled decisions into the conclusion:

```bash

swarm-manager backlog file-upload --kind research --name {{ITEM_NAME}} --path conclusion.md --stdin <<'EOF'

<updated conclusion content>

EOF

```

  1. Write the round file

```bash

swarm-manager backlog file-upload --kind research --name {{ITEM_NAME}} --path workshop/round-{{ROUND_NUMBER}}.json --stdin <<'EOF'

<round JSON>

EOF

```

Use zero-padded 3-digit round numbers: round-001.json, round-002.json, etc.

  1. Verify outputs

```bash

swarm-manager backlog files --kind research --name {{ITEM_NAME}}

```

Confirm both conclusion.md and workshop/round-{{ROUND_NUMBER}}.json were created.

Readiness Progression Guidance

As rounds progress, your focus should shift:

| Rounds Completed | Primary Focus |

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

| 0 (first round) | Define research question, initial exploration, identify key areas |

| 1-2 | Deep investigation of primary areas, methodology refinement |

| 3-4 | Synthesis, cross-referencing, verification of key findings |

| 5+ | Polish conclusions, identify remaining gaps, finalize actions |

When to suggest readiness: If all dimensions are at 2+ and you believe the conclusion is solid enough to act on, include an info item noting: "This research appears ready for conclusion. Consider reviewing and processing." Do not inflate scores to reach this point — the system applies a boost formula that accounts for thoroughness over multiple rounds.

Anti-Patterns

Troubleshooting

| Problem | Solution |

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

| file-get returns 404 for conclusion.md | Normal on first round — create the scaffold |

| file-get returns 404 for workshop/ | Normal on first round — create the directory with round-001.json |

| Prior round has unresolved decisions | Still pending — don't re-present, they're waiting for user input |

| All readiness dimensions already at 3 | Unusual but possible — generate minimal items focused on verification, or note readiness in an info item |

| Conflicting information between sources | Apply source authority: user answers > accepted decisions > conclusion.md > spec.json > archive |

| Very large workshop history | Focus on the latest 2-3 rounds and the settled decisions from earlier rounds |

| Research question is too broad | Generate a decision asking user to narrow scope with concrete options |

| Research question is too narrow | Note this as an info item and suggest broadening with specific directions |

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.