ape-write-paper

ape-write-paper is a skill for Claude Code, Codex from arpitbbhayani/ape-skills. It costs 125 tokens per session (3,292 once invoked), scanned A, original, MIT.

A workflow for turning source material such as code, experiment records, notes, and result files into a research paper and compiled PDF. A research paper presents methods and findings in a format others can inspect.

In plain words
What is it for?
Use it to prepare standalone or conference-style papers, including LaTeX documents for venues such as ACM, IEEE, NeurIPS, ICML, and ACL.
Why use it?
It helps organise evidence into a clear paper while preserving correct numbers, references, figures, tables, and venue-specific formatting.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; positional $N argument; mentions AGENTS.md.

Good fit Use it to prepare standalone or conference-style papers, including LaTeX documents for venues such as ACM, IEEE, NeurIPS, ICML, and ACL.

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

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 ape-write-paper

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/arpitbbhayani/ape-skills/ape-write-paper"><img src="https://agentmods.dev/badge/skills/arpitbbhayani/ape-skills/ape-write-paper.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 125 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,292 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.00125 $0.03292
Opus 5.5 $0.00050 $0.01317
Sonnet 5.5 $0.00025 $0.00658
Haiku 4.5 $0.00013 $0.00329

Measured today against content hash 727163700996, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ape-write-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 today.

The scan reads SKILL.md. This mod also ships 1 executable file (reference/verify.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.

ape-write-paper/SKILL.md · 146 lines

How it starts

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

Write Paper Skill

Turns a pile of source material (repo, docs, experiment logs, result JSONs, notes) into a conference-style paper and a compiled PDF. The goal is a paper a skeptical reviewer can follow in one pass and check number by number.

Priorities, in order: correct, then clear, then polished. A beautiful paper with one invented number is worse than a plain one with none.

Workflow

Run these phases in order. Do not start writing prose before phase 2 is done.

1. Gather and obey constraints

  • Read every project instruction file first (AGENTS.md, CLAUDE.md, venue notes). Typical rules: target conference, approved title, author identity, layout, forbidden claims, which results may appear. They override this skill.
  • Venue template check: If a specific conference or journal is targeted (e.g., ACM SIGMOD/VLDB requires acmart; IEEE requires IEEEtran; NeurIPS/ICML/ACL require their .sty packages), use the official conference documentclass and native metadata commands (\begin{CCSXML}, \keywords, \author{...}\affiliation{...}) rather than the standalone title block from reference/preamble.tex. See reference/snippets.md for the ACM acmart skeleton.
  • Read the existing draft if there is one. Treat its numbers as unverified until traced.
  • Read all of: design docs, evaluation files, result JSONs, benchmark scripts, training logs, tests. Read the scripts too, to learn the real protocol (prompts, normalisation, hardware pinning, warmups, metric definitions).
  • Find the tooling: which pdflatex xelatex tectonic typst. Prefer what is installed. See reference/preamble.tex for engine-specific notes.

2. Build a claim ledger (before writing)

Make a table in your scratch space: claim | value | source file | verified?. Every number, speedup, count, percentage, throughput, latency percentile, and comparison that will appear in the paper gets a row.

Rules:

  • A number enters the paper only if it traces to a file you opened, or to a computation you ran from such a file. Recompute derived numbers (speedups, gaps, intervals) yourself.
  • Check counts against raw data, not against prose. Draft tables often carry wrong N per category; count the items.
  • If a number appears only in a doc and not in a reproducible result file, either use it with its provenance stated ("measured separately") or flag it to the user as unreproducible.
  • Delete what has no source: invented curves, estimated costs, baselines never run, market claims ("30-40% of fields..."), competitor tables from memory, hardware names you cannot confirm. Do not soften them, remove them.
  • Never add results for systems that were not actually run. A baseline that cannot be run is described qualitatively, or by construction, not with a number.
  • Discrete uncertainty: Compute Wilson 95% interval for proportions on small samples. State N next to every percentage that matters.
  • Continuous variance: For continuous measurements (latency, throughput, runtime, loss), report mean $\pm$ standard deviation, confidence intervals, or median with tail percentiles (p95, p99, p99.9) across seeds or repeated runs. Never quote a single cherry-picked run as a general fact without explicitly stating it was an unrepeated single run.
  • Systems & Database metrics: For systems/DB workloads, track throughput (QPS, ops/sec), tail latency (p99, p99.9), multi-core scalability ($1 \to N$ threads), memory footprint (peak RSS, bytes per record), and write/read amplification.

Read the full file on GitHub · 146 lines

Files

What ships with it

3 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. today First seen · 146 lines · 125 tokens per session scan A 727163700996

Subscribe to this mod's changes

ape-write-paper is a skill published in the GitHub repository arpitbbhayani/ape-skills (49 stars, last pushed today), licensed MIT. It adds 125 tokens to every session and 3,292 once invoked, about $0.0005 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-10-25.

Related

Other skills, from other repositories

LaTeX工具

A tool for creating, compiling, and checking mathematical modelling papers written in LaTeX, a document system often used for technical writing.

XiaoMaColtAI/math-modeling-skill · 46 tokens

lab-report

A skill for generating a finished laboratory-report document in DOCX, PDF, or Markdown format from an existing `report.md` file. It can also place available images into the document.

id-andyyy/LabAI · 21 tokens

pydicom

Reads, inspects, writes, transforms, and preflights local DICOM datasets and pixel data. Applies to DICOM metadata, transfer syntaxes, compression plugins, frames, private elements, JSON, and bounded de-identification review.

K-Dense-AI/scientific-agent-skills · 52 tokens

pptx-posters

Creates and audits editable scientific posters in macro-free PowerPoint (.pptx) from author-approved local content and assets. Used when the requested deliverable is a PowerPoint research/conference poster and exact physical, printer, accessibility, provenance, and package-security checks are required.

K-Dense-AI/scientific-agent-skills · 59 tokens

slides-as-code

Build research slides with text-first source (Slidev/Marp/Reveal/Quarto) and reproducible export (PDF). Includes structure, figure reuse rules, and quality checklist for top-tier scientific presentations.

foryourhealth111-pixel/Vibe-Skills · 46 tokens

arxiv-preflight

Pre-submission validation audit for arXiv papers across TeX source, PDF, figures, metadata, bibliography, file organization, and common-error scans. Produces pass/fail report with specific fixes per arXiv requirement. Triggers on: "check my arXiv submission", "validate for arXiv", "arXiv preflight", "ready for arXiv"…

Mathews-Tom/armory · 120 tokens