skills/11-James-Traina-compound-science/skills/slfg/SKILL.md
Full autonomous research workflow using swarm mode for parallel execution
npx skillsauth add brycewang-stanford/Awesome-Agent-Skills-for-Empirical-Research slfgInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Swarm-enabled LFG. Run these steps in order, parallelizing where indicated. Do not stop between steps — complete every step through to the end.
/workflows:brainstorm $ARGUMENTS
Gate: must produce a file in docs/brainstorms/ before proceeding.
/workflows:plan
Gate: must produce a file in docs/plans/ before proceeding.
/workflows:work — Use swarm mode: Break the plan into independent tasks and launch parallel subagents via Task tool to build them concurrently. Each subagent handles one task from the plan. See references/orchestration-patterns.md for parallel dispatch patterns.
Gate: must produce at least one code change (committed or staged) before proceeding. If work fails with no changes, stop and report the failure.
After work completes, launch steps 4 and 5 as parallel swarm agents (both only need completed code to operate):
/workflows:review — spawn as background Task agent/workflows:compound — spawn as background Task agentWait for both to complete before finishing.
When all steps are done, output:
Research workflow complete.
Brainstorm: [brainstorm file path]
Plan: [plan file path]
Work: [summary of implementation]
Review: [summary of findings]
Documentation: [docs/solutions/ path if created]
Start with step 1 now.
tools
Show mcp-stata identity, connected tools, and status. Use when the user asks if mcp-stata is available, asks about access to the toolkit, or asks what Stata tools are connected.
tools
Activate when users mention Stata commands, .do files, regressions, econometrics, stored results, graphs, dataset inspection, replication, or Stata errors. Route the task through mcp-stata tools and the specialized research skills instead of treating it as plain text coding.
development
Build and review paper-ready regression, balance, and summary tables from Stata outputs. Use when the user needs a clean table for a draft, appendix, or coauthor share-out.
tools
Install, configure, update, or verify mcp-stata across Claude Code, Codex, Gemini CLI, Cursor, Windsurf, and VS Code. Activate when users ask to set up the Stata toolkit or troubleshoot the installation.