document-creator

document-creator is a skill for Claude Code, Codex from oyi77/1ai-skills. It costs 37 tokens per session (986 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 CodeCodex

Written for no agent in particular: nothing here depends on one.

Part of the 1ai-skills plugin — 187 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, Codex.

Or install 1ai-skills, the plugin that ships this one along with the rest of its 187 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 986 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.00986
Opus 5 $0.00018 $0.00493
Sonnet 5 $0.00007 $0.00197
Haiku 4.5 $0.00004 $0.00099

Measured 5d ago against content hash 1dcc1a64acd0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 5d 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 · 100 lines

How it starts

The opening of the file, as written. The whole thing — 100 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

Anti-Rationalization Table

Excuse Reality Rule
"I'll just use one library for everything" Each format has different semantics — one library can't do it all Use the right library per format (python-docx, python-pptx, openpyxl, fpdf2)
"Manual document creation is fine" Manual creation doesn't scale and introduces errors Programmatic generation ensures consistency and version control
"PDF generation is too complex" fpdf2 and reportlab handle complex layouts well Invest in learning the library; it pays off on every document

Read the full file on GitHub · 100 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. 5d 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 (12 stars, last pushed yesterday), licensed MIT. It adds 37 tokens to every session and 986 once invoked, about $0.0002 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

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

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. Use when someone needs a deliverable rather than an answer — a change record to attach to a CR, an audit workbook for a compliance reviewer, a…

automateyournetwork/netclaw · 91 tokens

office-artifacts

Use when creating, opening, reading, or editing Office artifacts such as LibreOffice-native ODT/ODS/ODP files and compatibility DOCX/XLSX/PPTX files with the officeartifact tool.

agent0ai/agent-zero · 47 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