Agent skill

Great Docs

by pymc-labs in pymc-labs/pathmc

Generate documentation sites for Python packages with Great Docs.

MITAuto-check passedFrontend & Design

Install Great Docs

skills CLI
$ npx skills add pymc-labs/pathmc --skill great-docs -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install pymc-labs/pathmc great-docs --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/pymc-labs/pathmc.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/great-docs .claude/skills/great-docs && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
great-docs
GitHub stars
132
Token cost
~2.7k tokens
SKILL.md length
866 words
Files
7 (incl. scripts, references, assets)
Skills in repo
7
Repo updated
First seen
Licence
MIT

At a glance

Generate documentation sites for Python packages with Great Docs.

  • Works in 12 steps: Prepare build directory (copy assets,… → Copy user guide from user_guide/ → Copy project assets/ → …
  • Troubleshooting Python package documentation
  • SKILL.md covers Quick start, Skill directory structure, When to use what and Core concepts, plus 8 more sections
  • Runs Shell scripts from its folder; calls pip and python; reaches quarto.org

What it does

Great Docs is an agent skill from pymc-labs/pathmc. Generate documentation sites for Python packages with Great Docs. Covers init, build, preview, configuration (great-docs.yml), API reference, CLI docs, user guides, theming, deployment, and the llms.txt agent-context files. Use when creating, configuring, building, or troubleshooting Python package documentation.

Its SKILL.md is about 2.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 9 other files, including scripts, reference files and assets (for example `assets/config-template.yaml`, `references/cli-reference.md` and `references/common-errors.md`). Compatibility notes: Requires Python =3.11, Quarto CLI installed.

It sits in Frontend & Design, covering Static sites and blogs, Technical writing and Theming and dark mode. It works with Python and GitHub. The repository describes itself as: Structural causal models with Bayesian estimation and interventional simulation via a concise DSL. The licence is MIT.

When your agent uses it

  • Troubleshooting Python package documentation
  • Tasks that involve Static sites and blogs
  • Tasks that involve Technical writing

Example prompts

  • “/great-docs”

Requirements

  • Python 3
  • A Bash shell
  • Compatibility (from SKILL.md): Requires Python >=3.11, Quarto CLI installed.

Workflow steps

12 steps, taken from the first numbered list in SKILL.md.

  1. Prepare build directory (copy assets, JS, SCSS)
  2. Copy user guide from user_guide/
  3. Copy project assets/
  4. Refresh API reference (introspect package)
  5. Generate llms.txt and llms-full.txt
  6. Generate skill.md (if enabled)
  7. Generate source links JSON
  8. Generate changelog (from GitHub Releases)
  9. Generate CLI reference (if enabled)
  10. Process user guide (frontmatter, sidebar)
  11. Process custom sections
  12. Render API reference (.qmd files)

What it can do on your machine

Read from SKILL.md and the folder at commit e3b9467. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • pip
    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • quarto.org

    Also links to:

    • posit-dev.github.io
    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

  • Compatibility

    Requires Python >=3.11, Quarto CLI installed.

    From compatibility in the SKILL.md frontmatter.

Context cost

Great Docs loads about 2.7k tokens when it runs, and up to ~6.5k if it reads all its reference files. Until then it costs about 81 tokens; SKILL.md has 866 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~81
When it runs · the whole SKILL.md, loaded when a task matches
~2.7k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~6.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from pymc-labs/pathmc at commit e3b9467, republished under its MIT licence (© pymc-labs). 866 words, ~2,676 tokens.

Download SKILL.mdSave it as .claude/skills/great-docs/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.
name
great-docs
description
Generate documentation sites for Python packages with Great Docs. Covers init, build, preview, configuration (great-docs.yml), API reference, CLI docs, user guides, theming, deployment, and the llms.txt agent-context files. Use when creating, configuring, building, or troubleshooting Python package documentation.
compatibility
Requires Python >=3.11, Quarto CLI installed.
license
MIT
metadata.author
rich-iannone
metadata.version
2.0
metadata.tags
documentation, python-packages, quarto, api-reference, static-site

Great Docs

A docs generator for Python packages. Introspects your API, renders reference pages, and produces a Quarto-based static site with user guides, CLI docs, theming, and more.

Quick start

bash
pip install great-docs
# Quarto must also be installed: https://quarto.org/docs/get-started/

cd my-package/        # directory with pyproject.toml
great-docs init       # create great-docs.yml, discover API
great-docs build      # full build -> great-docs/_site/
great-docs preview    # local server on port 3000

Skill directory structure

This skill ships with companion files for agent consumption:

skills/great-docs/
├── SKILL.md                ← This file
├── references/
│   ├── config-reference.md ← All great-docs.yml options
│   ├── cli-reference.md    ← CLI commands and arguments
│   └── common-errors.md    ← Error patterns and fixes
├── scripts/
│   ├── setup-env.sh        ← Environment bootstrap script
│   └── run-build.sh        ← Build with validation
└── assets/
    └── config-template.yaml ← Starter great-docs.yml

When to use what

NeedUse
Start a new docs sitegreat-docs init
Full build from scratchgreat-docs build
Rebuild after editsgreat-docs build --no-refresh
Live previewgreat-docs preview
See discoverable APIgreat-docs scan --verbose
Change docstring parserparser: google in great-docs.yml
Add CLI referencecli: {enabled: true, module: pkg.cli}
Add a gradient navbarnavbar_style: sky
Exclude internal symbolsexclude: [_InternalClass]
Add user guide pagesCreate user_guide/05-topic.qmd
Add recipesCreate recipes/07-topic.qmd
Set up GitHub Pages CIgreat-docs setup-github-pages
Use static analysisdynamic: false (for tricky imports)
Generate agent skill fileskill: {enabled: true}

Core concepts

Configuration (great-docs.yml)

Single YAML file at the project root controls everything. All keys are optional — sensible defaults are auto-detected from pyproject.toml and package structure.

Full config reference: See references/config-reference.md

Build pipeline

The build command runs 13 steps in order:

  1. Prepare build directory (copy assets, JS, SCSS)
  2. Copy user guide from user_guide/
  3. Copy project assets/
  4. Refresh API reference (introspect package)
  5. Generate llms.txt and llms-full.txt
  6. Generate skill.md (if enabled)
  7. Generate source links JSON
  8. Generate changelog (from GitHub Releases)
  9. Generate CLI reference (if enabled)
  10. Process user guide (frontmatter, sidebar)
  11. Process custom sections
  12. Render API reference (.qmd files)
  13. Run quarto render -> _site/ HTML output

The great-docs/ directory is ephemeral — regenerated on every build. Never edit files inside it directly.

Two rendering modes
  • Dynamic (default): imports the package at runtime for full introspection. Requires pip install -e . first.
  • Static (dynamic: false): uses griffe for AST-based analysis. Use when the package has circular imports, lazy loading, or compiled extensions.

Dynamic mode auto-falls-back to static if the import fails.

Docstring directives

Custom directives inside docstrings use % prefix:

python
def my_function():
    """
    Description.

    %seealso func_a, func_b: related functions, ClassC
    %nodoc
    """
  • %seealso name1, name2: desc — Cross-references in rendered docs
  • %nodoc — Exclude this item from documentation

Workflows

New documentation site
Task Progress:
- [ ] Step 1: Install prerequisites
- [ ] Step 2: Initialize configuration
- [ ] Step 3: Customize config
- [ ] Step 4: Build and preview
- [ ] Step 5: Verify output

Step 1: Ensure great-docs and quarto are installed. The target package must be importable (pip install -e .).

Step 2: Run great-docs init from the project root (where pyproject.toml lives). This creates great-docs.yml.

Step 3: Edit great-docs.yml to customize. See references/config-reference.md or assets/config-template.yaml for all options.

Step 4: Run great-docs build then great-docs preview.

Step 5: Check the site at http://localhost:3000. If errors occur, see references/common-errors.md.

Adding content

User guide page: Create user_guide/NN-title.qmd with a 2-digit numeric prefix. Auto-discovered on next build.

Recipe: Create recipes/NN-title.qmd. Same numeric prefix convention.

Custom section: Add to great-docs.yml:

yaml
sections:
  - title: Examples
    dir: examples
Customizing appearance
yaml
# great-docs.yml
navbar_style: sky # gradient: sky, peach, lilac, mint, etc.
content_style: lilac # content area glow
dark_mode_toggle: true # toggle switch in navbar
logo: assets/logo.svg # or {light: ..., dark: ...}
hero: true # landing page hero section
announcement:
  content: "v2 is out!"
  type: info
  dismissable: true
Troubleshooting a build
  1. Run great-docs build and read the error output
  2. Check references/common-errors.md for the error pattern
  3. Fix the config or source file
  4. Rebuild with great-docs build --no-refresh (faster, skips API rediscovery)
  5. If the error persists, try great-docs build with full refresh

Reference files

Config reference (references/config-reference.md)

Complete list of every great-docs.yml option with types, defaults, and examples. Organized by category: metadata, GitHub, navigation, theming, content, features, and advanced.

Show full SKILL.md (359 more words)Show less
CLI reference (references/cli-reference.md)

All CLI commands with arguments and usage examples:

CommandPurpose
initCreate config, discover API
buildFull build pipeline
previewLocal dev server
scanPreview discoverable API
configGenerate template config
uninstallRemove config and build dir
setup-github-pagesCreate CI/CD workflow
Common errors (references/common-errors.md)

Error patterns, causes, and fixes for the most frequent build failures — import errors, missing exports, config mismatches, Quarto issues, and more.

Scripts

scripts/setup-env.sh

Bootstrap a development environment:

bash
#!/usr/bin/env bash
set -euo pipefail
python -m venv .venv
source .venv/bin/activate
pip install -e ".[dev]"
pip install great-docs
quarto --version || echo "ERROR: Quarto not installed"
scripts/run-build.sh

Build with validation:

bash
#!/usr/bin/env bash
set -euo pipefail
great-docs build
echo "Build complete. Site at great-docs/_site/"
ls great-docs/_site/index.html && echo "OK: index.html exists"

Configuration template

The assets/config-template.yaml provides a starter config with annotated options. Copy it as great-docs.yml and customize.

Gotchas

  1. Run from project root. All commands must run from the directory containing great-docs.yml (and pyproject.toml).
  2. module vs package name. The module key is the Python importable name, not the PyPI name. For py-shiny, set module: shiny.
  3. Circular imports. Set dynamic: false for packages with lazy loading or circular aliases.
  4. User guide ordering. Files need numeric prefixes (00-intro.qmd, 01-install.qmd) for deterministic order.
  5. Don't edit great-docs/ directly. It's regenerated on every build. Edit source files instead.
  6. Quarto required. If quarto is not on PATH, the build fails at step 13.
  7. Package must be importable. In dynamic mode, run pip install -e . before building.

Capabilities and boundaries

What agents can configure:

  • All great-docs.yml settings
  • User guide .qmd pages in user_guide/
  • Recipe .qmd pages in recipes/
  • Custom section .qmd pages
  • Logo, favicon, and other assets
  • Custom CSS/SCSS overrides
  • Docstring directives (%seealso, %nodoc)

Requires human setup:

  • pip install great-docs and Quarto installation
  • pip install -e . for the target package
  • GitHub Pages or hosting deployment
  • Custom domain DNS
  • GitHub access tokens (for changelog)

This is the general-purpose skill for Great Docs. For deeper guidance on specific tasks, use these companion skills:

TaskSkillWhen to use
Write user guide pageswrite-user-guideCreating or editing .qmd pages in user_guide/
Improve docstringsrevise-docstringsAuditing or rewriting Python docstrings for the API reference
Configure the siteconfigure-siteCustomizing great-docs.yml theming, features, and layout
Create or distribute skillsauthor-skillsWriting SKILL.md files, setting up multi-skill distribution

Resources

© pymc-labs, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 6 other files (scripts, references, assets) in .agents/skills/great-docs of pymc-labs/pathmc.

  • SKILL.md
  • assets/config-template.yaml
  • references/cli-reference.md
  • references/common-errors.md
  • references/config-reference.md
  • scripts/run-build.sh
  • scripts/setup-env.sh

Open the folder on GitHubat commit e3b9467

Compare with similar skills

Great Docs next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Great Docs compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Great Docs this skillpymc-labs/pathmc132—~2.7kAutomated safety check: PassMIT
Create Docsvictorgarciaesgi/nuxt-typed-router4132 repos~2.8kAutomated safety check: PassMIT
GitHub Pages Publisherartwist-polyakov/polyakov-claude-skills206—~1.2kAutomated safety check: PassMIT
Nuxt UImegaarmos/vue-spring-bottom-sheet1411 repos~2.5kAutomated safety check: PassMIT
Building Streamlit Custom Components V2iusztinpaul/designing-real-world-ai-agents-workshop513—~2.8kAutomated safety check: PassApache-2.0
Linkyee Style DesignerZhgChgLi/linkyee180—~4.4kAutomated safety check: NotesMIT

Similar skills

  • Create Docs

    victorgarciaesgi/nuxt-typed-router

    Create complete documentation sites for projects. An agent skill from victorgarciaesgi/nuxt-typed-router.

    413 GitHub starsUsed in 2 repos~2.8k tokens
    Frontend & DesignAuto-check passed
  • GitHub Pages Publisher

    artwist-polyakov/polyakov-claude-skills

    Publishes already-built static pages to a GitHub Pages repo under a year, year-month and slug folder layout, optimizes large images and returns the public URL.

    206 GitHub stars~1.2k tokensUpdated 15 days ago
    DevOps & CloudAuto-check passed
  • Nuxt UI

    megaarmos/vue-spring-bottom-sheet

    Build UIs with @nuxt/ui v4 — 125+ accessible Vue components with Tailwind CSS theming.

    141 GitHub starsUsed in 1 repo~2.5k tokens
    Frontend & DesignAuto-check passed
  • Building Streamlit Custom Components V2

    iusztinpaul/designing-real-world-ai-agents-workshop

    Builds bidirectional Streamlit Custom Components v2 (CCv2) using st.components.v2.component.

    513 GitHub stars~2.8k tokensUpdated 4 mo ago
    Frontend & DesignAuto-check passed
  • Linkyee Style Designer

    ZhgChgLi/linkyee

    A skill your agent uses when the user wants to design, customize, or generate a custom visual theme for their linkyee site (a Hexo-like LinkTree-style static site).

    180 GitHub stars~4.4k tokensUpdated today
    Frontend & DesignAuto-check: notes
  • Bryl Minimal Design

    bryllim/bryl-minimal-design

    Apply the bryl-minimal design language — a monochrome, typography-driven minimal aesthetic with halftone dot textures, pixel-font display headings, tiny uppercase monospace labels, soft large-radius…

    114 GitHub stars~2.9k tokensUpdated 2 mo ago
    Frontend & DesignAuto-check passed

More from pymc-labs/pathmc

  • Author Skills

    pymc-labs/pathmc

    Author, configure, and distribute Agent Skills for a Great Docs site.

    132 GitHub stars~2.6k tokensUpdated 6 days ago
    Auto-check passed
  • Configure Site

    pymc-labs/pathmc

    Configure a Great Docs documentation site through great-docs.yml.

    132 GitHub stars~2k tokensUpdated 6 days ago
    Auto-check passed
  • Revise Docstrings

    pymc-labs/pathmc

    Review and improve Python docstrings for Great Docs API reference generation.

    132 GitHub stars~2.3k tokensUpdated 6 days ago
    Auto-check passed
  • Write User Guide

    pymc-labs/pathmc

    Write and maintain narrative user-guide pages for a Great Docs site.

    132 GitHub stars~2.3k tokensUpdated 6 days ago
    Auto-check passed
  • Fix Bug

    pymc-labs/pathmc

    Autonomous bug-fix workflow. An agent skill from pymc-labs/pathmc.

    132 GitHub stars~4.6k tokensUpdated 6 days ago
    Auto-check passed
  • Pathmc

    pymc-labs/pathmc

    Bayesian path analysis (observed-variable SEM) in PyMC. An agent skill from pymc-labs/pathmc.

    132 GitHub stars~4k tokensUpdated 6 days ago
    Auto-check passed

Works with

Questions about Great Docs

What does Great Docs do?

Generate documentation sites for Python packages with Great Docs. Great Docs is an agent skill from pymc-labs/pathmc. Generate documentation sites for Python packages with Great Docs.

When should I use Great Docs?

Great Docs fits situations like: troubleshooting Python package documentation; tasks that involve Static sites and blogs; tasks that involve Technical writing.

How do I install Great Docs in Claude Code?

Run `npx skills add pymc-labs/pathmc --skill great-docs -a claude-code`. Or copy the skill folder (.agents/skills/great-docs in pymc-labs/pathmc) into .claude/skills/great-docs in your project. Claude Code loads it when a task matches its description.

How do I install Great Docs in Codex?

Run `npx skills add pymc-labs/pathmc --skill great-docs -a codex`. Or copy the skill folder (.agents/skills/great-docs in pymc-labs/pathmc) into .agents/skills/great-docs in your project. Codex loads it when a task matches its description.

Can I use Great Docs in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add pymc-labs/pathmc --skill great-docs -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/great-docs, .gemini/skills/great-docs, .github/skills/great-docs and .opencode/skills/great-docs in your project.

What does Great Docs need to run?

Going by SKILL.md and its folder, Great Docs needs a shell for the scripts in its folder and the command-line tools its instructions call (pip and python). Our summary lists: Python 3; A Bash shell. Compatibility (from SKILL.md): Requires Python >=3.11, Quarto CLI installed..

Does Great Docs access the network?

SKILL.md names 3 domains. In commands or code: quarto.org; the agent is likely to contact it when it follows the instructions. As links in the text: posit-dev.github.io and github.com. This is read from the text; nothing was executed.

Is Great Docs safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Great Docs use?

Great Docs is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Great Docs use?

About 2.7k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.8k tokens, read only when the agent opens those files.

What are the alternatives to Great Docs?

Skills that share tags, products or a category with Great Docs: Create Docs (victorgarciaesgi/nuxt-typed-router, 413 stars), GitHub Pages Publisher (artwist-polyakov/polyakov-claude-skills, 206 stars), Nuxt UI (megaarmos/vue-spring-bottom-sheet, 141 stars) and Building Streamlit Custom Components V2 (iusztinpaul/designing-real-world-ai-agents-workshop, 513 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Great Docs?

pymc-labs (a GitHub organization) maintains it in pymc-labs/pathmc, which has 132 GitHub stars. The repository holds 7 skills in this directory. The repository was last updated on October 2, 2026.

Source: pymc-labs/pathmc on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.