write-pandoc-markdown

write-pandoc-markdown is a skill for Claude Code from cboone/agent-harness-plugins. It costs 116 tokens per session (679 once invoked), scanned A, original, MIT.

A guide to Pandoc-flavored Markdown for academic papers that may be converted to LaTeX. Pandoc is a document converter, and its Markdown adds features such as citations, math, and YAML metadata.

In plain words
What is it for?
Writing or editing academic papers in Pandoc Markdown, including front matter, citations, mathematical notation, and LaTeX output.
Why use it?
It helps keep source files readable while preserving the structure needed for paper conversion and citations.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the write-pandoc-markdown plugin — 1 skill shipped together

Good fit Writing or editing academic papers in Pandoc Markdown, including front matter, citations, mathematical notation, and LaTeX output.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cboone/agent-harness-plugins/write-pandoc-markdown
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 cboone/agent-harness-plugins --skill write-pandoc-markdown
Clone the repo
git clone --depth 1 https://github.com/cboone/agent-harness-plugins

Made for: Claude Code.

Or install write-pandoc-markdown, the plugin that ships this one along with the rest of its 1 skill.

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 write-pandoc-markdown

README.md
[![agentmods](https://agentmods.dev/badge/skills/cboone/agent-harness-plugins/write-pandoc-markdown.svg)](https://agentmods.dev/skills/cboone/agent-harness-plugins/write-pandoc-markdown)
Your own site
<a href="https://agentmods.dev/skills/cboone/agent-harness-plugins/write-pandoc-markdown"><img src="https://agentmods.dev/badge/skills/cboone/agent-harness-plugins/write-pandoc-markdown.svg" alt="Measured on agentmods" height="20"></a>
Per session 116 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 679 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.00116 $0.00679
Opus 5 $0.00058 $0.00340
Sonnet 5 $0.00023 $0.00136
Haiku 4.5 $0.00012 $0.00068

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

Security

Grade A, and why

write-pandoc-markdown 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 3d 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.

plugins/write-pandoc-markdown/skills/write-pandoc-markdown/SKILL.md · 69 lines

How it starts

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

Write Pandoc Markdown

Apply the Pandoc Markdown conventions from the reference files below when creating or editing academic papers authored in Pandoc-flavored Markdown.

This skill covers Pandoc extensions and the Markdown-to-LaTeX pipeline. For GFM formatting and markdownlint rules, see the write-markdown skill instead.

Document titles belong in YAML frontmatter (title:), not as a body # heading. The frontmatter title is the implicit H1, so the first real body section starts at ##.

Core Principles

  1. Plain text sustainability -- Markdown source should remain readable and editable decades from now, independent of any tool
  2. Separation of content and formatting -- write content in Markdown; let the template and build pipeline handle visual presentation
  3. Pandoc syntax over raw LaTeX when possible -- use [@key] for citations, $...$ for math, Markdown headings for sections; fall back to raw LaTeX only for constructs Pandoc cannot express
  4. Format-independent content -- raw LaTeX blocks are invisible in HTML and DOCX output; prefer Pandoc-native syntax for maximum portability

Workflow

  1. Review against the essential checklist: ./references/essential/checklist.md
  2. For specific questions, consult the comprehensive references below

Reference Navigation

Quick reviews (default):

  • references/essential/checklist.md -- condensed, actionable rules

Deep dives by topic:

  • references/comprehensive/math-and-citations.md -- math delimiter rules, currency escaping, citation syntax, natbib vs citeproc
  • references/comprehensive/cross-references.md -- raw LaTeX spans, pandoc-crossref, section labels, filter ordering
  • references/comprehensive/raw-latex-blocks.md -- when to use raw LaTeX, fenced block syntax, inline raw spans, theorem environments
  • references/comprehensive/yaml-frontmatter.md -- academic metadata fields, template variables, header includes, field escaping
  • references/comprehensive/build-pipeline.md -- two-stage build, Pandoc flags, PDF engines, Lua filters

Read the full file on GitHub · 69 lines

Files

What ships with it

6 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. 3d ago First seen · 69 lines · 116 tokens per session scan A d5f223c92102

Subscribe to this mod's changes

write-pandoc-markdown is a skill published in the GitHub repository cboone/agent-harness-plugins (2 stars, last pushed 1mo ago), licensed MIT. It adds 116 tokens to every session and 679 once invoked, about $0.0006 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

clinical-case-report

Structured medical case presentation for clinical rounds, conferences, and documentation. Generates SOAP-format or narrative case reports with physiologically accurate vitals, labs, and evidence-based plans. Use when the brief mentions "case report", "case presentation", "SOAP note", "clinical case", "ward rounds"…

nexu-io/open-design · 73 tokens

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…

anthropics/knowledge-work-plugins · 123 tokens

nature-experiment-log

A workflow for turning experiment notes, images, audio, or text into structured Markdown laboratory logs with YAML metadata. It can also organize raw attachments and optionally connect the logs to Feishu or Obsidian.

Yuan1z0825/nature-skills · 45 tokens

parsing-ccda-documents

Parses C-CDA / CCD XML clinical documents to extract human-readable section narrative plus coded entries, keyed by section LOINC codes and templateIds. Use before OpenMed processing when ingesting C-CDA R2.1 documents (CCD, Discharge Summary, H&P, Consultation Note) exported from an EHR and you need the narrative…

maziyarpanahi/openmed · 152 tokens

nsfc-budget

A tool that creates an editable LaTeX budget justification and renders it as a PDF for an NSFC research-funding application. NSFC is China’s National Natural Science Foundation, and a budget justification explains why proposed costs are needed.

huangwb8/ChineseResearchLaTeX · 138 tokens

paper-plot-stub

Plot a results CSV (x, ybaseline, yours) as a two-line matplotlib chart and write a PDF. Demo-only.

opensquilla/opensquilla · 35 tokens