@autono/create-open-pdf
v0.14.0
Published
Scaffold an open-pdf workspace — agent skills preconfigured, live real-PDF preview out of the box.
Maintainers
Readme
@autono/create-open-pdf
Scaffold a workspace for open-pdf — the PDF framework built for agents. Your coding agent writes documents as React components; you get a live preview that is the PDF, click-to-comment, and export to PDF or editable Word.
Usage
npm create @autono/open-pdf@latest my-docs
cd my-docs
npm run devThis creates a workspace containing:
docs/getting-started/— a starter doc you can edit or delete.package.json— depends on@autono/open-pdf, which provides the runtime (viewer, inspector, export) and theopen-pdfCLI.open-pdf.config.ts— optional typed config (docsDir, port, base)..claude/skills/and.agents/skills/— agent skills (create-doc,apply-comments, …).CLAUDE.md— agent guide for authoring documents.
You won't see any Vite, React, or tsconfig files in the workspace. They live inside @autono/open-pdf and you never touch them.
Flags
| Flag | Description |
| --- | --- |
| init [dir] | Scaffold into dir (defaults to the current directory). |
| -f, --force | Scaffold into a non-empty directory. |
| -n, --name <name> | Override the generated package.json name. |
| --use-npm / --use-pnpm / --use-yarn / --use-bun | Pick the package manager for the install step. |
| --no-install | Skip dependency installation. |
| --no-git | Skip git init and the initial commit. |
The loop
- Ask your agent to "make a doc about X" — the
create-docskill writes the React. npm run devshows the live PDF preview; every save re-renders real PDF bytes.- Press
i, click anything, leave a note — it lands in the source as a marker. - The agent runs
apply-comments;open-pdf exportships PDF or editable Word.
Full documentation: docs.openpdf.sh
License
MIT
