paper-writing

paper-writing is a skill for Claude Code from diillson/chatcli. It costs 86 tokens per session (599 once invoked), scanned A, original, Apache-2.0.

A local writing and typesetting workflow for academic papers, reports, and other formal documents. It uses Markdown and LaTeX, tools for structured documents and high-quality PDF output, and supports BibTeX citations.

In plain words
What is it for?
Use it to draft papers, convert Markdown, Word, PDF, and LaTeX files, and add formatted citations and bibliographies.
Why use it?
It reduces the manual work of formatting documents, converting file types, and maintaining references.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to draft papers, convert Markdown, Word, PDF, and LaTeX files, and add formatted citations and bibliographies.

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

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-writing

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/diillson/chatcli/paper-writing"><img src="https://agentmods.dev/badge/skills/diillson/chatcli/paper-writing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 86 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 599 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00086 $0.00599
Opus 5.5 $0.00034 $0.00240
Sonnet 5.5 $0.00017 $0.00120
Haiku 4.5 $0.00009 $0.00060

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

Security

Grade A, and why

paper-writing 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.

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.

pkg/persona/builtin/skills/paper-writing/SKILL.md · 64 lines

What it actually says

Paper / Document Writing

Local, keyless typesetting with Pandoc (+ LaTeX for PDF). Detect: command -v pandoc pdflatex xelatex 2>/dev/null. Install: brew install pandoc basictex / apt install pandoc texlive-xetex / choco install pandoc miktex.

Author in Markdown

Write the document as markdown with a YAML metadata block:

---
title: A Study of X
author: Jane Doe
date: 2026-06-03
bibliography: refs.bib
---
# Introduction
As shown by prior work [@smith2024] ...

Convert

pandoc paper.md -o paper.pdf --pdf-engine=xelatex     # PDF (needs LaTeX)
pandoc paper.md -o paper.docx                          # Word
pandoc paper.md -o paper.tex                           # LaTeX source
pandoc report.docx -o report.md                        # reverse: docx → markdown

Citations

  • Keep references in refs.bib (BibTeX). Cite with [@key].
  • Render with --citeproc and a style: pandoc paper.md --citeproc --csl=ieee.csl -o paper.pdf.
  • Fetch BibTeX for a DOI/arXiv id via @webfetch (e.g. https://doi.org/<doi> with Accept: application/x-bibtex), then append to refs.bib.

Workflow

  1. Draft structure (sections), then prose.
  2. Insert citations as you go; collect them in refs.bib.
  3. Render to the requested format; if LaTeX errors, read the log and fix the offending markup.

Rules

  • For PDF you need a LaTeX engine — if absent, offer DOCX/HTML instead of failing.
  • Report the output path; for papers, do a final pass for figure/table/citation references.
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 · 64 lines · 86 tokens per session scan A d2b124073bbc

Subscribe to this mod's changes

paper-writing is a skill published in the GitHub repository diillson/chatcli (94 stars, last pushed today), licensed Apache-2.0. It adds 86 tokens to every session and 599 once invoked, about $0.0003 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-09-03.

Related

Other skills, from other repositories

pptx

A guide for turning a paper, outline, or structured text into a PowerPoint presentation. It covers an 8–12-slide structure, concise slide points, and generation of a .pptx file.

bojieli/ai-agent-book · 84 tokens

surfsense-documents

Make or change a Word document (.docx), a PDF, a PowerPoint deck (.pptx) or an Excel workbook (.xlsx) by writing a Python script that surfsenserenderdocument runs, optionally starting from a source's own Word or PowerPoint file. Load it whenever the user asks for one of these, or for a change to one you made.

MODSetter/SurfSense · 80 tokens

hive.pdf

Read, write, merge, split, rotate, watermark, encrypt, and OCR PDF files using Python (pypdf, pdfplumber, reportlab, pypdfium2) and command-line tools (poppler-utils, qpdf). Use when the user asks to extract text/tables/images from a PDF, create or modify a PDF, combine or split PDFs, OCR a scanned PDF…

aden-hive/hive · 98 tokens

pdf-toolkit

Structured .pdf operations: extract text/tables, merge pages from multiple PDFs, split a PDF by page ranges, fill PDF form fields, and generate fresh PDFs from JSON. Trigger when the user wants programmatic PDF work without natural-language rewriting — examples: pull tables from a report, combine three PDFs, extract…

opensquilla/opensquilla · 127 tokens

surfsense-pdf

Work on PDFs the user has, or PDFs in Studio, without changing them - merge, take out, split, turn or reorder pages, add a watermark, page numbers, a header or a footer, and list or fill a form's fields. Load it whenever the user asks for one of these on a PDF.

MODSetter/SurfSense · 70 tokens

omh-long-document-reading

This is a Hermes-native long-document-reading workflow skill.

rlaope/oh-my-hermes · 81 tokens