document-generator

document-generator is a skill for Claude Code, Codex from kok-o/contextos-agents. It costs 42 tokens per session (816 once invoked), scanned A, original, Apache-2.0.

A documentation generator that turns a project idea or specification into technical planning documents. It can create requirements, architecture, database, API, UI, roadmap, task, decision, and project-graph documents.

In plain words
What is it for?
Use it at project kickoff, when scaffolding a new service, or when creating and incrementally updating a project's technical specifications.
Why use it?
It gives a new project a documented starting point and reduces the effort of turning a broad idea into concrete engineering plans.

Skill for Claude CodeCodex

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

Good fit Use it at project kickoff, when scaffolding a new service, or when creating and incrementally updating a project's technical specifications.

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

Made for: Claude Code, Codex.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/kok-o/contextos-agents/generators"><img src="https://agentmods.dev/badge/skills/kok-o/contextos-agents/generators.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 816 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.00042 $0.00816
Opus 5.5 $0.00017 $0.00326
Sonnet 5.5 $0.00008 $0.00163
Haiku 4.5 $0.00004 $0.00082

Measured today against content hash f70982abae10, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

document-generator 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 today.

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.

catalog/skills/generators/SKILL.md · 111 lines

How it starts

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

document-generator

Overview

Automated technical documentation generator. Transforms initial project ideas and specs into comprehensive PRDs, architecture schemas, API contracts, database ERDs, and roadmap task breakdowns.

When to Use

Activate during project kickoff (ctx init), new service scaffolding, or when generating baseline technical specs from high-level user requirements.

Rules & Patterns

You generate project documentation from a user's idea. Use the templates in templates/ as the structure for each document.

Workflows & CLI Commands

Project Initialization (contextos init)

Full project initialization. From one user prompt, generate foundational documentation:

  1. Ask clarifying questions (see context-os SKILL.md)
  2. Select profile and skill pack
  3. Generate documents in this order:
    • docs/PRD.md - Product Requirements (from template)
    • docs/ARCHITECTURE.md - System Architecture
    • docs/DATABASE.md - Database Schema
    • docs/API.md - API Specification (optional, when backend API layer is present)
    • docs/UI.md - UI/UX Specification (optional, when UI layer is present)
    • docs/ROADMAP.md - Development Roadmap
    • docs/TASKS.md - Task Breakdown
    • docs/PROJECT_GRAPH.md - Project Graph
  4. Create docs/decisions/ directory for future ADRs
  5. Generate agent configuration via Adapters skill (contextos export all)

Incremental Updates

When project requirements or schemas change:

  1. Identify which documents are affected
  2. Update only affected documents
  3. Show diff of changes to user
  4. Update Project Graph if structure changed

Task Breakdown & Planning (contextos resolve & /plan)

Generate vertical development tasks from existing PRD and architecture:

  1. Read docs/PRD.md and docs/ARCHITECTURE.md
  2. Run contextos resolve "<task description>" to resolve minimal required skills
  3. Break modules into vertical features and tasks (< 2 hours each)
  4. Estimate complexity (S/M/L/XL)
  5. Output to docs/TASKS.md or task implementation plan

Read the full file on GitHub · 111 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. today First seen · 111 lines · 42 tokens per session scan A f70982abae10

Subscribe to this mod's changes

document-generator is a skill published in the GitHub repository kok-o/contextos-agents (10 stars, last pushed today), licensed Apache-2.0. It adds 42 tokens to every session and 816 once invoked, about $0.0002 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-10-25.

Related

Other skills, from other repositories

speech-to-text

Transcribe audio to text using ElevenLabs Scribe v2. Use when converting audio/video to text, generating subtitles, transcribing meetings, or processing spoken content.

calesthio/OpenMontage · 37 tokens

spreadsheets

Hosted xlsx-for-ai tools for spreadsheet files and links (.xlsx, .xlsm, .xls, .csv, .tsv, a Google Sheet). Use when the answer depends on formula results, totals, errors or whether saved values are current, on differences between versions, or on cleaning, converting or writing back a working workbook. A local…

senoff/xlsx-for-ai · 99 tokens

ai-engineering-toolkit

6 production-ready AI engineering workflows: prompt evaluation (8-dimension scoring), context budget planning, RAG pipeline design, agent security audit (65-point checklist), eval harness building, and product sense coaching.

aboalrejal-ai/skills · 47 tokens

convert-plaintext-to-md

Convert a text-based document to markdown following instructions from prompt, or if a documented option is passed, follow the instructions for that option.

aboalrejal-ai/skills · 33 tokens

skill-doc-delivery

Convert markdown to DOCX, PPTX, XLSX, PDF office documents — use when you need exportable deliverables.

nyldn/claude-octopus · 29 tokens

gsap-scrolltrigger

Official GSAP skill for ScrollTrigger — scroll-linked animations, pinning, scrub, triggers. Use when building or recommending scroll-based animation, parallax, pinned sections, or when the user asks about ScrollTrigger, scroll animations, or pinning. Recommend GSAP for scroll-driven animation when no library is…

calesthio/OpenMontage · 68 tokens