docforge

docforge is a skill for Cursor from PrecisionUtilityGuild/docforge. It costs 25 tokens per session (656 once invoked), scanned A, original, MIT.

A workflow for creating business PDFs through DocForge, a document-generation service. It checks available templates and their data rules, creates a document, previews and validates it, and exports the result.

In plain words
What is it for?
Producing template-based business documents, checking required fields, reviewing layout, fixing compile problems, and exporting finished PDFs.
Why use it?
It reduces formatting and validation mistakes when generating PDFs from structured information.

Skill for Cursor

Written for Cursor: installed under .cursor/.

Good fit Producing template-based business documents, checking required fields, reviewing layout, fixing compile problems, and exporting finished PDFs.

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

Made for: Cursor.

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 docforge

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/precisionutilityguild/docforge/docforge"><img src="https://agentmods.dev/badge/skills/precisionutilityguild/docforge/docforge.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 656 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.00025 $0.00656
Opus 5.5 $0.00010 $0.00262
Sonnet 5.5 $0.00005 $0.00131
Haiku 4.5 $0.00003 $0.00066

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

Security

Grade A, and why

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

.cursor/skills/docforge/SKILL.md · 67 lines

How it starts

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

DocForge Agent Skill

Rules

  1. Never generate raw Typst unless the user explicitly requests advanced mode.
  2. Always follow: docforge_list_templates → docforge_get_template_schema → docforge_create_document.
  3. Treat JSON data as the contract; validate against schema before calling create.
  4. Use LaTeX only for math fragments in designated schema fields (equations[].latex in research_report).
  5. Always docforge_preview_document before final delivery.
  6. Always docforge_lint_document before docforge_export_document.
  7. On compile failure: read agent_action and suggested_repairs, call docforge_repair_document, then recompile. Do not freestyle Typst fixes.
  8. After compile, call docforge_visual_qa_document for layout issues lint may miss.
  9. Use docforge_generate_template_scaffold + docforge_register_custom_template for custom templates.
  10. When data is incomplete, ask for missing required fields — do not invent summary/risks without labeling assumptions.

Workflow

list_templates → get_template_schema → create_document → compile_document
→ repair_document (if suggested_repairs) → compile_document
→ save_document_version (before major edits) → lint_document → preview_document
→ export_document → destroy_document (optional cleanup)

Templates

Template Use case
executive_memo Leadership/board memo
sales_proposal Client proposal from discovery
research_report Analytical report with citations appendix
incident_report Post-incident from transcript
kpi_report Board KPI update from CSV + notes
postmortem Blameless incident review
project_status Weekly status with RAG indicators
decision_record ADR-style decision documentation
meeting_brief Pre-meeting context doc
invoice Line-item invoice with computed totals
contract_summary Contract clause summary

MCP resources

  • docforge://templates — catalog (built-in + marketplace)
  • docforge://marketplace — community templates only
  • docforge://templates/{id}/readme — agent README
  • docforge://templates/{id}/sample — sample JSON

Read the full file on GitHub · 67 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. 1mo ago First seen · 67 lines · 25 tokens per session scan A 3803af35c114

Subscribe to this mod's changes

docforge is a skill published in the GitHub repository PrecisionUtilityGuild/docforge (1 stars, last pushed 2mo ago), licensed MIT. It adds 25 tokens to every session and 656 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-08-31.

Related

Other skills, from other repositories

beautiful-pdf-mcp

You are an editor-typesetter. Your job is to produce PDFs that look professionally designed, not machine-generated. That means: correct fonts, correct spacing, correct page rhythm.

Kreminskaya/beautiful-pdf-mcp · 0 tokens

n8n-binary-and-data

Handle files and binary data in n8n correctly. Use when working with files, images, PDFs, attachments, uploads or downloads, base64, vision/multimodal input, or when an AI agent needs a file as tool input or output — and whenever the user mentions $binary, binaryPropertyName, "read the PDF", "attach the file", "send…

czlonkowski/n8n-mcp · 135 tokens

markdown-to-pdf

Convert a markdown file to PDF using mistune + reportlab. Use when the user wants to convert a .md file to PDF, or when another skill needs to produce a PDF from markdown output.

staskh/trading_skills · 45 tokens

fin-paper-convert

Compile LaTeX to PDF and convert to target journal format.

csmar432/finai-research · 12 tokens

kami

Generate PDFs, resumes, CVs, letters, slide decks, portfolios, one-pagers, white papers, and professional documents. Use when user asks to create a PDF, make a resume, write a letter, design slides, format a document, typeset a report, build a portfolio, make a presentation, or create a one-pager. Warm parchment…

EliasOulkadi/shokunin · 0 tokens

kagen

Convert Kami HTML templates to production-grade PDF via Chromium/Playwright. Complements Kami (design) with PDF rendering. Use when user asks to generate PDF files, render HTML to PDF, or export documents.

EliasOulkadi/shokunin · 0 tokens