export

export is a command for Claude Code from punt-labs/prfaq. It costs 22 tokens per session (394 once invoked), scanned B, original, MIT.

A command for converting a PR/FAQ LaTeX document into a Word .docx file using pandoc. LaTeX is a text format often used for structured technical documents, while pandoc converts documents between formats.

In plain words
What is it for?
Use it to find a PR/FAQ .tex file, check whether pandoc is installed, export the document, and report where the Word file was saved.
Why use it?
It provides a Word export without requiring a large TeX installation or PDF compilation.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the prfaq-dev plugin — 1 skill, 14 commands, 8 agents, 1 hook shipped together

Good fit Use it to find a PR/FAQ .tex file, check whether pandoc is installed, export the document, and report where the Word file was saved.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add punt-labs/prfaq
Claude Code
/plugin install prfaq-dev

Made for: Claude Code.

Or install prfaq-dev, the plugin that ships this one along with the rest of its 1 skill, 14 commands, 8 agents, 1 hook.

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 export

README.md
[![agentmods](https://agentmods.dev/badge/commands/punt-labs/prfaq/export/github.svg)](https://agentmods.dev/commands/punt-labs/prfaq/export)
Your own site
<a href="https://agentmods.dev/commands/punt-labs/prfaq/export"><img src="https://agentmods.dev/badge/commands/punt-labs/prfaq/export/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 export

Your own site · 80×15
<a href="https://agentmods.dev/commands/punt-labs/prfaq/export"><img src="https://agentmods.dev/badge/commands/punt-labs/prfaq/export.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 394 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00022 $0.00394
Opus 5.5 $0.00009 $0.00158
Sonnet 5.5 $0.00004 $0.00079
Haiku 4.5 $0.00002 $0.00039

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

Security

Grade B, and why

export scanned grade B with 1 finding 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 3mo 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

Ubuntu: sudo apt install pandoc
plugin/commands/export.md · 30 lines

What it actually says

Export PR/FAQ to Word (.docx)

Convert the PR/FAQ LaTeX document into a Word file using pandoc. This provides a lightweight alternative to PDF compilation that does not require a ~4 GB TeX distribution.

Steps

  1. Locate the .tex file. Use $ARGUMENTS if provided, otherwise look for prfaq.tex or *prfaq*.tex in the current directory. If no .tex file is found, tell the user and stop.

  2. Check pandoc. Run pandoc --version to confirm it's available. If not, tell the user:

    pandoc is required for DOCX export. Install it:
      macOS:  brew install pandoc
      Ubuntu: sudo apt install pandoc
      Other:  https://pandoc.org/installing.html
    
  3. Export. Run:

    bash ${CLAUDE_PLUGIN_ROOT}/scripts/export_prfaq_docx.sh <file.tex>
    

    This preprocesses custom LaTeX environments, converts via pandoc, and produces a .docx file next to the original .tex.

  4. Report result. Tell the user where the .docx file was written. Note that the Word output covers ~80% of the PDF's visual quality — styled headings, numbered FAQs and features, and clean body text — but does not include colored risk ratings, custom quote boxes, or the full typographic treatment of the LaTeX PDF.

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. 3mo ago First seen · 30 lines · 22 tokens per session scan B 84777166f046

Subscribe to this mod's changes

export is a command published in the GitHub repository punt-labs/prfaq (26 stars, last pushed yesterday), licensed MIT. It adds 22 tokens to every session and 394 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

export compared with commands from other repositories

export next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
exportpunt-labs/prfaqCommand26yesterdayMITB22Claude Code
elaborate-devpunt-labs/z-specCommand5yesterdayMITA11Claude Code
oracle-devpunt-labs/z-specCommand5yesterdayMITA12Claude Code
refine-devpunt-labs/z-specCommand5yesterdayMITA14Claude Code
refinepunt-labs/z-specCommand5yesterdayMITA14Claude Code
setup-devpunt-labs/z-specCommand5yesterdayMITA11Claude Code
setuppunt-labs/z-specCommand5yesterdayMITA11Claude Code