doc-processor

doc-processor is a skill for Claude Code from Rune-kit/rune. It costs 47 tokens per session (2,166 once invoked), scanned A, original, MIT.

A utility for generating and reading common office files: PDF, DOCX, XLSX, PPTX, and CSV. It handles file formats rather than deciding what the document should contain.

In plain words
What is it for?
Use it to generate reports, presentations, tables, or PDFs, or to parse uploaded office files. It is not for maintaining project documentation.
Why use it?
It removes the need to build separate format-handling code when a tool needs to create or process office files.

Skill for Claude Code

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

Part of the rune plugin — 66 skills, 1 command, 66 agents, 6 hooks shipped together

Good fit Use it to generate reports, presentations, tables, or PDFs, or to parse uploaded office files. It is not for maintaining project documentation.

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

Made for: Claude Code.

Or install rune, the plugin that ships this one along with the rest of its 66 skills, 1 command, 66 agents, 6 hooks.

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 doc-processor

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/rune-kit/rune/doc-processor"><img src="https://agentmods.dev/badge/skills/rune-kit/rune/doc-processor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,166 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.00047 $0.02166
Opus 5.5 $0.00019 $0.00866
Sonnet 5.5 $0.00009 $0.00433
Haiku 4.5 $0.00005 $0.00217

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

Security

Grade A, and why

doc-processor 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 8d 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.

skills/doc-processor/SKILL.md · 255 lines

How it starts

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

doc-processor

Purpose

Document format utility. Generates and parses office documents (PDF, DOCX, XLSX, PPTX, CSV). Pure utility — no business logic, just format handling. Other skills call doc-processor when they need to produce or consume structured documents.

Triggers

  • Called by docs when export to PDF/DOCX is requested
  • Called by marketing for generating PDF reports, PPTX presentations
  • Called by Rune Pro packs for business document generation
  • /rune doc-processor generate <format> <source> — manual document generation
  • /rune doc-processor parse <file> — manual document parsing

Calls (outbound)

None — pure L3 utility. Receives content, produces formatted output.

Called By (inbound)

  • docs (L2): export documentation to PDF/DOCX
  • marketing (L2): generate PDF reports, PPTX pitch decks
  • Rune Pro packs: business document generation (invoices, proposals, reports)
  • User: /rune doc-processor direct invocation

Format Reference

Supported Formats

Format Generate Parse Node.js Library Python Library
PDF Yes Yes (via the runtime's document/PDF reader) jsPDF, Puppeteer (HTML→PDF) reportlab, weasyprint
DOCX Yes Yes docx (officegen) python-docx
XLSX Yes Yes ExcelJS openpyxl
PPTX Yes Yes pptxgenjs python-pptx
CSV Yes Yes Built-in (fs + string ops) Built-in (csv module)
HTML Yes Yes Built-in Built-in

Library Selection

Detect project language from context:

  • If Node.js project → use Node.js libraries
  • If Python project → use Python libraries
  • If unclear → default to Node.js (wider ecosystem)
  • For HTML→PDF → prefer Puppeteer (best fidelity) or weasyprint (Python)

Executable Steps

Generate Mode

Step 1 — Determine Format and Template

Identify:

  • Target format (PDF, DOCX, XLSX, PPTX, CSV)
  • Content source (markdown, data object, template + data)
  • Styling requirements (brand colors, fonts, layout)
  • Output path

Read the full file on GitHub · 255 lines

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. 8d ago First seen · 255 lines · 47 tokens per session scan A e6d5464db759

Subscribe to this mod's changes

doc-processor is a skill published in the GitHub repository Rune-kit/rune (96 stars, last pushed 2d ago), licensed MIT. It adds 47 tokens to every session and 2,166 once invoked, about $0.0002 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-11-22.

Related

doc-processor compared with skills from other repositories

doc-processor next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
doc-processorRune-kit/runeSkill962d agoMITA47Claude Code
smart-data-collectionUnicomAI/wanwuSkill2.4k5d agoApache-2.0A115Claude Code
report-generatorforyourhealth111-pixel/Vibe-SkillsSkill3.9k21d agoApache-2.0A24Claude Code
resilient-context-extractionHKUDS/OpenSpaceSkill8.1k18d agoMITA29Claude Code, Codex
prioritize-context-dataHKUDS/OpenSpaceSkill8.1k18d agoMITA21Claude Code, Codex
pdf-processorlofcz/LLMTornadoSkill6565d agoMITA39Claude Code, Codex
llama-parsehankunpeng/skillsSkill264d agoMITA97Claude Code, Codex