paper-writer

paper-writer is a skill for Claude Code from kgraph57/paper-writer-skill. It costs 106 tokens per session (19,705 once invoked), scanned A, original, MIT.

A structured workflow for writing medical or scientific papers, from literature research and outlining through review, submission, and revision.

In plain words
What is it for?
Use it to search literature, plan and draft IMRAD papers, manage references, prepare figures and tables, run quality or adversarial reviews, submit manuscripts, and handle revisions or resubmission.
Why use it?
It keeps manuscript sections, references, literature notes, figures, and quality checks organized in one project directory.

Skill for Claude Code

Written for Claude Code: context: fork in frontmatter. Also seen: reads .claude/ paths; mentions Claude Code.

Good fit Use it to search literature, plan and draft IMRAD papers, manage references, prepare figures and tables, run quality or adversarial reviews, submit manuscripts, and handle revisions or resubmission.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kgraph57/paper-writer-skill/paper-writer-skill
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 kgraph57/paper-writer-skill --skill paper-writer-skill
Clone the repo
git clone --depth 1 https://github.com/kgraph57/paper-writer-skill

Made for: Claude Code.

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 paper-writer

README.md
[![agentmods](https://agentmods.dev/badge/skills/kgraph57/paper-writer-skill/paper-writer-skill/github.svg)](https://agentmods.dev/skills/kgraph57/paper-writer-skill/paper-writer-skill)
Your own site
<a href="https://agentmods.dev/skills/kgraph57/paper-writer-skill/paper-writer-skill"><img src="https://agentmods.dev/badge/skills/kgraph57/paper-writer-skill/paper-writer-skill/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 paper-writer

Your own site · 80×15
<a href="https://agentmods.dev/skills/kgraph57/paper-writer-skill/paper-writer-skill"><img src="https://agentmods.dev/badge/skills/kgraph57/paper-writer-skill/paper-writer-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 106 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 19,705 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.00106 $0.19705
Opus 5.5 $0.00042 $0.07882
Sonnet 5.5 $0.00021 $0.03941
Haiku 4.5 $0.00011 $0.01971

Measured 1mo ago against content hash 6805e9cde60c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

paper-writer 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 1mo ago.

The scan reads SKILL.md. This mod also ships 8 executable files (scripts/analysis-template.py, scripts/compile-manuscript.sh, scripts/forest-plot.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.

SKILL.md · 1,685 lines

How it starts

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

Paper Writer Skill

Full-pipeline academic paper writing assistant. From literature search to submission-ready manuscript.

Overview

This skill manages the entire paper writing workflow:

[Discovery] → Literature Search → Outline → Tables/Figures → Draft → Humanize → References → Quality Review → [Adversarial Review] → Pre-Submission → [Revision] → [Post-Acceptance] → [Rejection → Resubmission]

Each paper is a project directory containing structured Markdown files for every section, a literature matrix, and quality checklists.

AI-for-Science Operating Model

This skill is not only a manuscript factory (write → format → submit). It is a research engine that wraps the writing pipeline in a discovery loop and names the two things only a human can supply. Before doing anything else, read ~/.claude/skills/paper-writer/references/ai-for-science-model.md — it defines:

  • The two human-sovereign inputs. 💡 IDEA (what is worth asking, what it means, what is ethical) and 📊 DATA (real, IRB-approved, never machine-originated). AI proposes and executes everything else at full power; the human owns exactly these two gates. AI must never originate a data point, participant, or result.
  • The loop. Phase −1 Discovery (hypothesis → novelty → design → pre-registration lock) feeds the existing pipeline; Phase 6.5 Adversarial Review red-teams the central claim before any journal sees it. A red-team KILL sends the project back to Discovery — that is the system working.
  • The three integrity guardrails that make AI-accelerated research more rigorous, not less: pre-registration (anti-HARKing), novelty check (anti-reinvention/inflation), adversarial self-review (anti-slop). Each prevents a documented frontier failure mode.
  • The autonomy dial (Manual / Co-pilot / Autopilot). Hard rule for clinical work: the 💡 IDEA gate, the 📊 DATA gate, and the pre-registration lock are never autopilot.

The rest of this document is the execution detail. When a phase touches a sovereign gate, stop and get the human; everywhere else, run at full power.

Read the full file on GitHub · 1,685 lines

Files

What ships with it

60 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. 1mo ago First seen · 1,685 lines · 106 tokens per session scan A 6805e9cde60c

Subscribe to this mod's changes

paper-writer is a skill published in the GitHub repository kgraph57/paper-writer-skill (62 stars, last pushed 2mo ago), licensed MIT. It adds 106 tokens to every session and 19,705 once invoked, about $0.0004 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-08-30.

Related

Other skills, from other repositories

anti-defensive-writing-en

Stops defensive writing across the entire paper lifecycle — writing, revising, cutting, and organizing experiments. Treats the paper as a press conference, not a project summary, lab log, or self-audit: identify the single most publishable strength of the work and build the most favorable, complete, and persuasive…

Adkid-Zephyr/anti-defensive-writing-Skill · 138 tokens

anti-defensive-writing

A Chinese-language writing guide for presenting a research paper around its strongest supported contribution. It treats the paper as a focused academic presentation rather than a project diary or complete lab record.

Adkid-Zephyr/anti-defensive-writing-Skill · 160 tokens

exploring-data

Exploratory data analysis. Use when users upload .csv/.xlsx/.json/.parquet files or request "explore data", "analyze dataset", "EDA", "profile data". Small files get ydata-profiling HTML/JSON reports; large files (over 200MB or 5M rows) get fixed-memory DuckDB/sketch profiling. Also covers near-duplicate row…

oaustegard/claude-skills · 108 tokens

running-cluster-experiments

Use when planning, budgeting, submitting or resuming a multi-job experiment campaign on a Slurm/HPC cluster — sizing walltime, shaping jobs and arrays, deciding what to submit first, or after a job hit its walltime, produced no results, silently ran the wrong configuration, or got the wrong number of GPUs.

chgagne/claude-skills-research · 72 tokens

verifying-proofs

Use when checking the mathematics of a paper rather than its claims — verifying a theorem's proof, an algebraic derivation, a bound, or an appendix full of lemmas. Triggers on "check this proof", "verify the derivation", "is Lemma 3 correct", "does the algebra work", a paper directory containing theorem/proof…

chgagne/claude-skills-research · 88 tokens

explaining-derivations

Use when a proof or derivation needs to be made explicit step by step — expanding a paper's algebra for a reader without formal mathematical training, producing a worked companion document, or establishing whether a derivation can be justified at all. Triggers on "explain this derivation", "walk me through this…

chgagne/claude-skills-research · 109 tokens