document-creator

document-creator is a skill for Claude Code from oyi77/1ai-skills. It costs 37 tokens per session (1,168 once invoked), scanned A, original, MIT.

A shared workflow for creating Word, PowerPoint, Excel, and PDF files with code. It covers preparing the structure, loading data, generating the file, and checking that it opens correctly.

In plain words
What is it for?
Use it to create reports, contracts, presentations, spreadsheets, and PDFs from data or structured content.
Why use it?
It removes the need to design a separate document-generation process for each Office format.

Skill for Claude Code

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

Part of the 1ai-skills plugin — 212 skills, 4 commands shipped together

Good fit Use it to create reports, contracts, presentations, spreadsheets, and PDFs from data or structured content.

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

Made for: Claude Code.

Or install 1ai-skills, the plugin that ships this one along with the rest of its 212 skills, 4 commands.

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 document-creator

README.md
[![agentmods](https://agentmods.dev/badge/skills/oyi77/1ai-skills/document-creator/github.svg)](https://agentmods.dev/skills/oyi77/1ai-skills/document-creator)
Your own site
<a href="https://agentmods.dev/skills/oyi77/1ai-skills/document-creator"><img src="https://agentmods.dev/badge/skills/oyi77/1ai-skills/document-creator/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 document-creator

Your own site · 80×15
<a href="https://agentmods.dev/skills/oyi77/1ai-skills/document-creator"><img src="https://agentmods.dev/badge/skills/oyi77/1ai-skills/document-creator.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 37 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,168 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.00037 $0.01168
Opus 5.5 $0.00015 $0.00467
Sonnet 5.5 $0.00007 $0.00234
Haiku 4.5 $0.00004 $0.00117

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

Security

Grade A, and why

document-creator 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.

content/document-creator/SKILL.md · 126 lines

How it starts

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

Document Creator

Generate professional Office documents programmatically across all major formats. Each format has dedicated reference files with library-specific code, but the workflow is shared:

Overview

Format Library (Python) Library (Node.js) Reference
Word (.docx) python-docx docx reference/format/docx.md
PowerPoint (.pptx) python-pptx pptxgenjs reference/format/pptx.md
Excel (.xlsx) openpyxl / xlsxwriter exceljs / xlsx reference/format/xlsx.md
PDF (.pdf) fpdf2 / reportlab pdfkit / jspdf reference/format/pdf.md

Workflow

  1. Define structure — Plan document sections, sheets, slides, or pages
  2. Choose format — Select the right format for the audience (Word for contracts, PPTX for presentations, XLSX for data, PDF for distribution)
  3. Load data — From JSON, CSV, database, or API
  4. Generate — Use the format-specific reference for exact API calls
  5. Validate — Check output opens cleanly in the target application
  6. Deliver — Save or stream to client

When to Use

Need Format
Contracts, proposals, reports Word (.docx)
Meeting decks, pitches PowerPoint (.pptx)
Financial models, data tables Excel (.xlsx)
Distribution, printing, archiving PDF
Bulk personalized documents Word + mail merge
Charts with live data Excel or PowerPoint
Invoice generation PDF or Word

Verification

  • Generate one document per supported format (e.g. a DOCX report, PPTX deck, PDF export) and confirm each opens and renders correctly.
  • Verify content fidelity: headings, tables, and images in the generated file match the input data.
  • Test a template with missing fields and confirm the tool errors clearly or fills documented defaults.
  • Confirm batch generation produces files with unique, expected names and no partial writes on failure.

Read the full file on GitHub · 126 lines

Files

What ships with it

4 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. 1mo ago Changed · +26 lines 174967aad7a4
  2. 1mo ago First seen · 100 lines · 37 tokens per session scan A 1dcc1a64acd0

Subscribe to this mod's changes

document-creator is a skill published in the GitHub repository oyi77/1ai-skills (17 stars, last pushed 2d ago), licensed MIT. It adds 37 tokens to every session and 1,168 once invoked, about $0.0001 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

document-processing-expert

Read, generate and modify office documents and PDFs from code: PDF extraction and forms, Word documents, Excel workbooks and PowerPoint decks. Use when the user mentions PDF, DOCX, XLSX, PPTX, Word, Excel, PowerPoint or spreadsheets, wants data extracted from documents, needs a report or invoice generated as a file…

personamanagmentlayer/pcl · 102 tokens

document-generation

Generate Word (.docx), Excel (.xlsx) and PowerPoint (.pptx) documents and fill existing PDF forms, from real NetClaw data, with per-element provenance and no fabrication. This is the generic document-writing engine (tool surface, tagged-value shapes, fabrication rules). For the four standard NetClaw report…

automateyournetwork/netclaw · 118 tokens

office-artifacts

Manage Office files, formats and versions; use Writer, Calc or Impress for content.

agent0ai/agent-zero · 21 tokens

document-processing

End-to-end document processing agent skill covering PDF manipulation (extract, merge, split, rotate, watermark, form-fill, OCR), DOCX creation and editing (templates, mail-merge, style management), XLSX spreadsheet handling (formulas, charts, pivot tables, data analysis), PPTX presentation generation (layouts, charts…

JPeetz/agent-skills · 174 tokens

office-router

Route Office requests into the correct xlsx, docx, or pptx workflow, while preferring Slidev for new presentation drafts unless .pptx is explicitly required.

matingai/crab · 38 tokens

anthropics-office-skills

A local collection of documentation skills for Anthropic office tools, with instructions for cloning and installing only the needed files.

AvalonLee/AstraCraft-Program · 0 tokens