build-research-paper

build-research-paper is a skill for Claude Code, Codex from microsoft/discovery. It costs 184 tokens per session (4,820 once invoked), scanned A, original, MIT.

A build workflow for turning research results, notes, and figures into a publication-ready PDF. It supports LaTeX or Markdown source and uses tools such as Tectonic or Pandoc to produce the document.

In plain words
What is it for?
It is for creating scientific papers suitable for arXiv from authored text and PNG figures. It also helps shape the results into a paper with a clear thesis and readable narrative.
Why use it?
It gives research projects a repeatable way to assemble a paper instead of manually rebuilding the same document structure and PDF process.

Skill for Claude CodeCodex ✓ vendor

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths.

Good fit It is for creating scientific papers suitable for arXiv from authored text and PNG figures. It also helps shape the results into a paper with a clear thesis and readable narrative.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/microsoft/discovery/build-research-paper
About the project

Microsoft Discovery is an extensible platform for scientific research and research-and-development workflows that combines agent orchestration, reasoning, graph-based knowledge, and high-performance computing. Researchers, partners, and product users use its Azure enterprise platform or local Windows app to explore and build research workflows. The catalogue entries provide skills and instructions for working with the Discovery community and platform.

microsoft/discovery · 286 stars · on GitHub

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.

Any agent
npx skills add microsoft/discovery --skill build-research-paper
Clone the repo
git clone --depth 1 https://github.com/microsoft/discovery

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 build-research-paper

README.md
[![agentmods](https://agentmods.dev/badge/skills/microsoft/discovery/build-research-paper/github.svg)](https://agentmods.dev/skills/microsoft/discovery/build-research-paper)
Your own site
<a href="https://agentmods.dev/skills/microsoft/discovery/build-research-paper"><img src="https://agentmods.dev/badge/skills/microsoft/discovery/build-research-paper/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for build-research-paper

Your own site · 80×15
<a href="https://agentmods.dev/skills/microsoft/discovery/build-research-paper"><img src="https://agentmods.dev/badge/skills/microsoft/discovery/build-research-paper.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 184 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,820 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00184 $0.04820
Opus 5.5 $0.00074 $0.01928
Sonnet 5.5 $0.00037 $0.00964
Haiku 4.5 $0.00018 $0.00482

Measured 4d ago against content hash 3cc8baf409d4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

build-research-paper 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 4d ago.

The scan reads SKILL.md. This mod also ships 6 executable files (scripts/build-md.sh, scripts/build.sh, scripts/check-deps.sh, …), 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.

skills/build-research-paper/SKILL.md · 423 lines

How it starts

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

build-research-paper — Research Paper Builder Skill

Turn a project's results + figures + notes into a publication-quality, arxiv-ready PDF. This skill captures a pattern re-discovered across many research projects, distilled into two build paths: a LaTeX-first path (tectonic, the default) and a Markdown-first path (pandoc, the escape hatch).

First: a paper is a paper

Read this before touching main.tex, and re-read it before declaring done. Everything below is tooling. This is the point.

A paper is a document a human being reads, front to back, to learn something they did not know. That is the whole definition. Not a compliance artifact. Not a results dump. Not a receipt proving work occurred. Not a serialization of a task tree.

It follows that:

  • The paper has a thesis — a story the data is telling. If you cannot say in one sentence what this paper found, it is not ready, regardless of how many sections exist. Write that sentence down before you write anything else.
  • The reader is a domain expert, not a validator. They came for the finding. They will grant that you did the work carefully if you show them it holds; they will not read twenty pages of proof that it does before being told what "it" is.
  • Figures carry the argument. A picture shows shape; a table files values. A data-analysis paper with no charts has not been written, only assembled.
  • Rigor is the warrant, not the subject. Provenance, validation, failure logs and reproduction tests make the story trustable. They are not the story. When they migrate to the front, the paper has inverted itself.
  • Nothing in the body may be unresolvable to an outsider. Internal task IDs, ticket numbers, commit SHAs and pipeline filenames mean nothing to a reader. If a sentence only parses inside your workspace, it is not prose.
  • A paper is finished when someone has read it, not when the checks pass. Build the PDF, open it, and read it like a stranger would.

Read the full file on GitHub · 423 lines

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. 4d ago First seen · 423 lines · 184 tokens per session scan A 3cc8baf409d4

Subscribe to this mod's changes

build-research-paper is a skill published in the GitHub repository microsoft/discovery (286 stars, last pushed 2d ago), licensed MIT. It adds 184 tokens to every session and 4,820 once invoked, about $0.0007 per session on Opus 5.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-11-04.

Related

build-research-paper compared with skills from other repositories

build-research-paper next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
build-research-papermicrosoft/discoverySkill2862d agoMITA184Claude Code, Codex
instrument-data-to-allotropeanthropics/knowledge-work-pluginsSkill35kyesterdayApache-2.0A123Claude Code
matlabK-Dense-AI/scientific-agent-skillsSkill56k6d agoMITA44Claude Code
exploratory-data-analysisK-Dense-AI/scientific-agent-skillsSkill56k6d agoMITA83Claude Code
phylogeneticsK-Dense-AI/scientific-agent-skillsSkill56k6d agoMITA71Claude Code, Codex
research-engineerdavila7/claude-code-templatesSkill33ktodayMITA43Claude Code, Codex
mapping-to-snomedmaziyarpanahi/openmedSkill5.8ktodayApache-2.0A205Claude Code