Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

document-authoring

Skill by leon-ai

Creates, inspects and delivers charts, PDFs, Word documents and spreadsheets, and opens animated browser presentations for AI assistants. It is aimed at people who need finished documents built from a brief and reference material.

  • Score 89
  • 18k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install document-authoring

Built from the published package, never by AI.

git clone --depth 1 https://github.com/leon-ai/leon /tmp/leon && mkdir -p ~/.claude/skills && cp -r /tmp/leon/skills/agent/document-authoring ~/.claude/skills/document-authoring

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install document-authoring in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

Document Authoring is an agent skill that guides an AI assistant through creating and checking documents. It covers charts rendered with ECharts to SVG or PNG, Slidev presentations opened in the host's browser, PDFs compiled from Typst source, and editable Word files created as DOCX. It also covers images of existing Markdown or HTML documents, and plain text, CSV or Markdown files written with the file tool.

The skill asks the assistant to ground chart values in supplied or retrieved data and to inspect rendered previews before delivery. Presentations are checked with a full deck check and can be exported as web, PDF, PNG or PPTX files. It is written for people who need charts, reports, Word files and slide decks produced from a brief and reference material.

Written from the project's SKILL.md and checked against it.

What it can do

  • Chart renderingRenders named ECharts charts as separate SVG or PNG artifacts using document.echarts.render.
  • Slidev presentationsCreates an editable Slidev project with document.slidev.create and opens the deck in the browser with present.
  • PDF creationWrites a local Typst source and compiles it to PDF with document.typst.compile.
  • Word documentsCreates editable DOCX files with document.document.create using format=docx.
  • Document imagesRenders existing Markdown or HTML documents into images, with checks on the output.
  • Hosted generationUses document.document.capabilities and generate for Office formats that need a provider.
  • File attachmentsAttaches existing files with file_system.file.attach so they can be downloaded.

What you need

  • Node.js to run serve.mjs from an exported web ZIP
  • A configured hosted generation provider for Office formats that require one
  • An approved renderer command for Markdown or HTML image output

Try asking

  • Make a PDF report from these notes using a Typst layout.
  • Create an ECharts bar chart from this data as SVG and PNG.
  • Build a Slidev deck from this brief and open it in the browser.

Good to know

  • PDF, PNG and PowerPoint exports capture slide states rather than native browser motion.
  • Typst does not export DOCX, so Word files use the DOCX creation path.
  • Shared web decks omit speaker notes by default.
  • Preview-package imports may download missing packages, so they are unsuitable for offline work.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/agent/document-authoring/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md8 KB
  • skill.json632 B

Alternatives to document-authoring

All alternatives →

Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr

document-authoring: common questions

Can it create a Word document?

Yes. It creates editable Word files with document.document.create using format=docx. Typst does not export DOCX.

Should an image model draw the charts?

No. The source says not to use image-generation models to invent or redraw quantitative charts. Charts are rendered with document.echarts.render from grounded values.

Can presentations be exported?

Yes. Web, PDF, PNG and PPTX downloads can be exported when requested. PDF, PNG and PowerPoint exports capture slide states rather than native browser motion.

How do I install document-authoring?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is document-authoring free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is document-authoring safe to use?

It scores 89 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to document-authoring?

Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.

document-authoring Install

Add to stack

Loading.