research-workflow

research-workflow is a skill for Claude Code, Codex from docxology/template. It costs 91 tokens per session (1,008 once invoked), scanned A, original, Apache-2.0.

A seven-stage framework for guiding an AI agent through a research project, from defining a question to writing the results. It provides structured prompts and acceptance criteria for each stage.

In plain words
What is it for?
It is for scoping questions, reviewing prior work, planning methods and experiments, analyzing results, synthesizing findings, and drafting a manuscript.
Why use it?
It helps turn an open-ended research task into a sequence of smaller decisions and checks. This makes the process easier to organize and repeat.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/docxology/template/research
Any agent
npx skills add docxology/template --skill research
Clone the repo
git clone --depth 1 https://github.com/docxology/template

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for research-workflow

README.md
[![agentmods](https://agentmods.dev/badge/skills/docxology/template/research.svg)](https://agentmods.dev/skills/docxology/template/research)
Your own site
<a href="https://agentmods.dev/skills/docxology/template/research"><img src="https://agentmods.dev/badge/skills/docxology/template/research.svg" alt="Measured on agentmods" height="20"></a>
Per session 91 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,008 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00091 $0.01008
Opus 5 $0.00046 $0.00504
Sonnet 5 $0.00018 $0.00202
Haiku 4.5 $0.00009 $0.00101

Measured 2d ago against content hash 933aa1c43d22, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

research-workflow scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

The scan reads SKILL.md. This mod also ships 3 executable files (__init__.py, config.py, workflow.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

infrastructure/research/SKILL.md · 132 lines

How it starts

The opening of the file, as written. The whole thing — 132 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Research Workflow

Seven-stage research workflow scaffolding for AI-assisted research processes. Each stage produces structured prompts and acceptance criteria for agent loops.

Stages

# Stage Purpose
1 SCOPE Define research question, scope, and success criteria
2 LITERATURE Survey prior work; produce annotated bibliography
3 REASON Identify gaps, contradictions, and open questions
4 DESIGN Formulate methodology and experimental plan
5 COMPUTE Execute analysis; collect and validate results
6 SYNTHESIZE Interpret results relative to prior work
7 WRITE Draft manuscript sections and iterative revision

Quick Start

from infrastructure.research import ResearchWorkflow

# Print all stage descriptions
ResearchWorkflow.describe()

# Get a structured prompt for a specific stage
prompt = ResearchWorkflow.prompt("SCOPE", question="What drives protein misfolding?")
print(prompt)

# Iterate stages in order
for stage in ResearchWorkflow.stages():
    print(f"{stage.index}. {stage.name}: {stage.description}")

Pipeline Orchestrator

# Run research workflow scaffolding for a named project
uv run python scripts/pipeline/stage_10_research_workflow.py --project my_project

# Run only specific stages
uv run python scripts/pipeline/stage_10_research_workflow.py --project my_project --stages SCOPE,LITERATURE

# Generate stage prompts without executing
uv run python scripts/pipeline/stage_10_research_workflow.py --project my_project --dry-run

Config Integration

Set stage overrides in projects/{name}/manuscript/config.yaml:

research_workflow:
  question: "How do transformer attention patterns relate to syntactic structure?"
  stages:
    SCOPE:
      depth: detailed
    LITERATURE:
      max_papers: 50
      sources:
        - arxiv
        - semantic_scholar
    WRITE:
      target_venue: NeurIPS

Key Types

from infrastructure.research import (
    ResearchWorkflow,        # instance API — workflow.stage(name) / all_stages() / describe()
    ResearchStage,           # Stage descriptor: name, label, description, inputs, outputs, gate, status, order
    ResearchWorkflowConfig,  # Parsed config.yaml `research_workflow:` block
)

Read the full file on GitHub · 132 lines

Files

What ships with it

9 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 132 lines · 91 tokens per session scan A 933aa1c43d22

Subscribe to this mod's changes

research-workflow is a skill published in the GitHub repository docxology/template (19 stars, last pushed today), licensed Apache-2.0. It adds 91 tokens to every session and 1,008 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

planning-with-files

Persistent file-based planning for multi-step AI-agent work. Keeps taskplan.md, findings.md, and progress.md on disk; lifecycle hooks inject selected project planning context. Automatic recovery reads project planning files only. Explicit session-catchup.py --metadata reads same-project local agent session records and…

mxyhi/ok-skills · 117 tokens

aerospace-engineering-technician

Use when a task needs the judgment of an Aerospace Engineering and Operations Technologist/Technician — verifying an installed fastener's preload against a drawing's torque callout via the T=K·D·F relationship, reducing strain-gauge data from a structural proof-load test into stress and checking it against an…

wonsukchoi/domain-experts · 169 tokens

agricultural-sciences-professor

Use when a task needs the judgment of a tenure-track or tenured Agricultural Sciences faculty member at a land-grant university — deciding whether to submit a grant this cycle versus wait, allocating time across the teaching/research/extension appointment split, diagnosing a stalled graduate student or field trial, or…

wonsukchoi/domain-experts · 75 tokens

auto-body-repairer

Use when a task needs the judgment of an auto-body-repairer — deciding whether a damaged structural component gets pulled or replaced, reconciling an insurance estimate against actual teardown damage, writing a supplement, determining whether a repair triggers ADAS recalibration, or checking a proposed repair against…

wonsukchoi/domain-experts · 68 tokens

auto-service-technician

Use when a task needs senior auto-service-technician judgment — diagnosing a check-engine-light or drivability complaint from DTCs and live data, deciding whether a code-named part actually needs replacing or the fault lies upstream, scoping a flat-rate repair order and labor time, choosing warranty vs. customer-pay…

wonsukchoi/domain-experts · 81 tokens

aviation-inspector

Use when a task needs the judgment of an Aviation Inspector — determining whether an air carrier's fleet is in compliance with an Airworthiness Directive across a maintenance-records sample, deciding where the FAA's compliance-and-enforcement ladder places a finding (compliance action vs. Letter of Correction vs.…

wonsukchoi/domain-experts · 113 tokens