/modular-research:runfrom modular-research
Run one research task from a (usually dictated) brief through whichever output modules the user wants — a GitHub repo as the research notebook, parallel-subagent research with logged sources, a typeset PDF report, a two-host educational podcast (MP3), Google Drive upload and an email. Use when the user dictates or pastes a research brief and wants "the usual" research run, says "research this and send me the PDF/podcast", or asks for a research repo plus report. Any module can be switched off ("no podcast", "don't email", "just the PDF"); run inside an existing workspace it adds a follow-up round instead of a new repo.
Ships in modular-research. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Brief → workspace repo → research → report PDF → podcast → Drive → email. Every stage after research is a module: the user's defaults come from the config, and the brief can switch any of them on or off. Each stage writes to the workspace and commits, so a run that stops can be resumed (see Resuming).
The task is self-contained, so a workspace can be a one-off. It can also become ongoing: run this skill again inside the workspace and it adds a round (see Follow-up rounds) rather than starting a new repo.
Plugin root (scripts and templates live there, not in this file):
${CLAUDE_PLUGIN_ROOT} if set; otherwise the plugin_clone path in the config;
otherwise gh repo clone danielrosehill/Claude-Modular-Research-Plugin into a
scratch directory. git -C <root> pull --ff-only before use if it is a clone.
Every references/… path below means <plugin-root>/skills/run/references/….
Config, first hit wins:
$MODULAR_RESEARCH_CONFIG~/.claude-plugins/modular-research/config.jsonIf neither exists, run the setup interview in references/config.md and write the
file before continuing. Read references/config.md for every field's meaning.
Report which config file you loaded in one line.
The brief usually arrives as dictation: run-on, no punctuation, mis-heard words, the point arriving halfway through. If it is an audio file, transcribe it first with whatever transcription tool the session has.
brief/raw-dictation.md unchanged.brief/brief.md, template in references/workspace.md):
brief.md under Assumptions.Follow references/workspace.md: name, parent directory, scaffold, private GitHub
repo, first commit and push. Commit the brief as the first content.
Follow references/research.md. In short: one subagent per sub-question, launched
together in a single message; each writes notes/NN-<slug>.md with sources logged
in sources/sources.md. Then you read every note, check the load-bearing claims
yourself, and resolve contradictions. Commit and push.
Follow references/report.md. Output: report/report.md →
outputs/<Name>.pdf via <plugin-root>/scripts/render_pdf.sh. Read the rendered PDF
back (pdftotext, or rasterise page 1 and look at it) before going on. Commit and
push the markdown and the PDF.
Skip if podcast.enabled is false or the user said no podcast. Otherwise follow
references/podcast.md (shared with the make-podcast skill): write
podcast/script.md from the report, then render outputs/<Name>-podcast.mp3 with
<plugin-root>/scripts/podcast_tts.py. Commit the script; the MP3 is gitignored.
Follow references/delivery.md: upload the PDF (and MP3) to Drive, then send the
email. Say in one line before uploading that the files are leaving this machine.
Record every ID and link in delivery.json at the workspace root, commit and push.
Reply with: the repo URL, the Drive links, whether the email went out (and to whom), podcast length in minutes, and anything the research could not settle. No recap of the process.
delivery.json and the files on disk say how far a run got:
| Present | Resume at |
|---|---|
brief/brief.md only | 3. Research |
notes/*.md but no report/report.md | 3, synthesis step |
report/report.md but no PDF | 4, render |
PDF, no podcast/script.md (and podcast enabled) | 5 |
| script, no MP3 | 5, render only |
outputs present, delivery.json missing or without email.sent_at | 6 |
Never redo a stage whose output exists unless the user asks.
If the current directory is already a workspace (it has brief/brief.md) and the
new brief extends it rather than resuming it, skip step 2 and run as round NN
(02, 03…):
brief/round-NN.md (raw dictation → brief/round-NN-raw.md)notes/; sources append to sources/sources.md## Round NN changelog line under
Open questions; or, if the user wants a separate document,
report/round-NN.md → outputs/<Name>-NN.pdfpodcast/round-NN.md → outputs/<Name>-NN-podcast.mp3, covering
only what is newdelivery.json gets a rounds array; earlier entries are never overwrittenAsk which way the report should go only if the brief doesn't say.
What SKILL.md sets; muted values are Claude Code's defaults
4 skills in this plugin
/deliverUpload a research task's PDF and podcast to Google Drive and email the summary with links — the delivery module of modular-research, on its own. Use when outputs already exist and the user says "send it to me", "put it on Drive and email me", "re-send the report", or a run stopped before delivery./make-podcastTurn a document — a research report, a PDF, a markdown file, a repo's README — into a two-host educational podcast episode (script plus MP3) using Gemini multi-speaker TTS. Use when the user says "make a podcast of this", "turn this report into audio", "I want to listen to this", or wants to (re)generate only the podcast module of a modular-research task./research-reportResearch a question inside the current project repo by delegating to research subagents, then turn the result into a timestamped executive report - a Typst PDF (IBM Plex Sans) with the bottom line, findings, open questions and numbered sources, stamped with the agent and model that did the research and the exact start and finish time. Saves the markdown, sources and PDF into the repo, commits and pushes, and emails it (Google Drive too when asked). Use when the user says "research X and give me a report", "send an agent to research this and PDF it", "research report on…", or asks for research to be written up as a PDF in this repo. For a standalone research task with its own new repo and a podcast, use `run` instead.Other plugins' skills for the same job
modular-research@danielrosehill is listed by danielrosehill/claude-code-plugins — review the source before installing
npx claudepluginhub danielrosehill/claude-code-plugins --plugin modular-research