Agent skill

Author Skills

by pymc-labs in pymc-labs/pathmc

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

MITAuto-check passedAgent Workflows

Install Author Skills

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

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

GitHub CLI
$ gh skill install pymc-labs/pathmc author-skills --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/author-skills .claude/skills/author-skills && 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
author-skills
GitHub stars
132
Token cost
~2.6k tokens
SKILL.md length
927 words
Files
3 (incl. references)
Skills in repo
7
Repo updated
First seen
Licence
MIT

At a glance

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

  • Works in 2 steps: Immutable by default. Methods return new… → Lazy evaluation. Call .render() to…
  • Configuring SKILL.md files for package documentation
  • SKILL.md covers The three scenarios, Quick start, When to use what and API overview, plus 7 more sections
  • Calls npx and pip

What it does

Author Skills is an agent skill from pymc-labs/pathmc. Author, configure, and distribute Agent Skills for a Great Docs site. Covers the three scenarios: automatic skill generation, adding a single hand-written skill, and distributing multiple named skills with a switcher page. Use when creating, editing, or configuring SKILL.md files for package documentation.

Its SKILL.md is about 2.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/config-reference.md` and `references/skill-anatomy.md`). Compatibility notes: Requires Great Docs =0.8, Quarto CLI installed.

It sits in Agent Workflows, covering Skill authoring and Static sites and blogs. 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

  • Configuring SKILL.md files for package documentation
  • Tasks that involve Skill authoring
  • Tasks that involve Static sites and blogs

Example prompts

  • “/author-skills”

Requirements

  • Python 3
  • Node.js
  • Compatibility (from SKILL.md): Requires Great Docs >=0.8, Quarto CLI installed.

Workflow steps

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

  1. Immutable by default. Methods return new objects.
  2. Lazy evaluation. Call .render() to produce output.

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

    Shell commands in SKILL.md call:

    • npx
    • pip

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

  • Network

    No URLs in SKILL.md. Its commands use npx and pip, which can reach the network depending on how they are called.

    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 Great Docs >=0.8, Quarto CLI installed.

    From compatibility in the SKILL.md frontmatter.

Context cost

Author Skills loads about 2.6k tokens when it runs, and up to ~4.7k if it reads all its reference files. Until then it costs about 80 tokens; SKILL.md has 927 words of instructions outside code blocks.

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

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); files beside SKILL.md are not scanned.

SKILL.md

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

Download SKILL.mdSave it as .claude/skills/author-skills/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
author-skills
description
Author, configure, and distribute Agent Skills for a Great Docs site. Covers the three scenarios: automatic skill generation, adding a single hand-written skill, and distributing multiple named skills with a switcher page. Use when creating, editing, or configuring SKILL.md files for package documentation.
compatibility
Requires Great Docs >=0.8, Quarto CLI installed.
license
MIT
metadata.author
rich-iannone
metadata.version
1.0
metadata.tags
skills, agent-skills, distribution, configuration

Author Skills

Skill for creating and distributing Agent Skills through a Great Docs documentation site. An Agent Skill is a structured Markdown file (SKILL.md) that gives AI coding agents context about a package, its API, and best practices.

Great Docs supports three scenarios for skills, each with a different level of effort and control.

The three scenarios

Scenario 1: Automatic generation

Great Docs generates a skill.md automatically from your package metadata, API reference sections, and great-docs.yml config. This is the zero-effort default.

How it works: during great-docs build, the tool reads your pyproject.toml (for name, description, license, Python version), your API reference sections, and any skill.* config keys. It produces a skill file with installation instructions, an API overview, gotchas, best practices, and resource links.

Config options that enrich the auto-generated skill:

yaml
# great-docs.yml
skill:
  enabled: true # default; set false to skip
  well_known: true # publish to .well-known/agent-skills/
  gotchas:
    - "Column expressions are lazy; call .collect() to materialize."
    - "Method chaining returns a new object; the original is not mutated."
  best_practices:
    - "Prefer method chaining over intermediate variables."
  decision_table:
    - need: "Create a table from a dict"
      use: "GT(data)"
    - need: "Format currency values"
      use: "fmt_currency()"
  extra_body: "skills/extra-skill-content.md"

When to use this scenario: you want a skill page with minimal effort and are satisfied with auto-generated content derived from your API reference.

Scenario 2: Single hand-written skill

Write a SKILL.md by hand (or with LLM assistance) and point great-docs.yml at it. Great Docs copies it into the build and generates the Skills page from it.

Directory layout:

project-root/
├── skills/
│   └── my-package/
│       ├── SKILL.md
│       └── references/
│           ├── api-patterns.md
│           └── gotchas.md
└── great-docs.yml

Config:

yaml
# great-docs.yml
skill:
  file: skills/my-package/SKILL.md

Great Docs copies the file to <docs>/skill.md, places it under .well-known/agent-skills/<name>/SKILL.md, and generates the Skills page with install instructions and the full skill content.

When to use this scenario: you want full editorial control over the skill content, including custom sections, curated examples, and reference files that go beyond what automatic generation can produce.

Scenario 3: Multiple named skills

Distribute several focused skills from a single site. Each skill gets its own panel on the Skills page (with a switcher bar) and its own entry in .well-known/agent-skills/index.json for npx skills add discovery.

Directory layout:

project-root/
├── skills/
│   ├── my-package/
│   │   ├── SKILL.md
│   │   └── references/
│   ├── write-guides/
│   │   ├── SKILL.md
│   │   └── references/
│   └── review-code/
│       ├── SKILL.md
│       └── references/
└── great-docs.yml

Config:

yaml
# great-docs.yml
skill:
  skills:
    - name: my-package
      file: skills/my-package/SKILL.md
    - name: write-guides
      file: skills/write-guides/SKILL.md
    - name: review-code
      file: skills/review-code/SKILL.md

The first entry becomes the primary skill.md at the site root. All entries appear in the switcher bar and are individually installable via npx skills add.

When to use this scenario: your project has distinct focus-area skills (e.g., one for general usage, one for contributing, one for configuration) and you want users to install exactly what they need.

Quick start

Create a hand-written skill in three steps:

bash
mkdir -p skills/my-package/references

cat > skills/my-package/SKILL.md << 'SKILL_EOF'
---
name: my-package
description: >
  Use the my-package Python library. Covers installation, core API,
  and common patterns.
license: MIT
compatibility: Requires Python >=3.11.
metadata:
  author: your-name
  version: "1.0"
  tags:
    - python
    - my-package
---

# my-package

Short description of what the package does and when to use it.

## Installation

```bash
pip install my-package

When to use what

NeedUse
Create a widgetWidget()
Style a widgetwidget.style()

API overview

Core
  • Widget(): Create a new widget.
  • Widget.style(): Apply styling to a widget.

Gotchas

  1. Immutable by default. Methods return new objects.
  2. Lazy evaluation. Call .render() to produce output.

Best practices

  • Prefer method chaining over intermediate variables.
  • Use type hints in all public API calls. SKILL_EOF

Then add one line to `great-docs.yml`:

```yaml
skill:
  file: skills/my-package/SKILL.md

Run great-docs build and verify the Skills page.

Skill directory structure

skills/author-skills/
├── SKILL.md
└── references/
    ├── skill-anatomy.md
    └── config-reference.md

Writing a SKILL.md

Frontmatter

Every SKILL.md starts with YAML frontmatter:

yaml
---
name: my-package
description: >
  One-paragraph description of the skill (max 1024 characters).
license: MIT
compatibility: Requires Python >=3.11.
metadata:
  author: your-github-handle
  version: "1.0"
  tags:
    - python
    - relevant-topic
---

The required and optional keys are documented in the references/skill-anatomy.md companion file.

Body structure

A well-structured skill follows this outline:

# Package Name
Opening paragraph (what, when, why).

## Installation
pip install command.

## When to use what
Decision table mapping needs to API calls.

## API overview
Sections matching your API reference, with one-line summaries.

## Gotchas
Numbered list of common pitfalls.

## Best practices
Bullet list of recommended patterns.

## Resources
Links to docs, llms.txt, and source code.
Reference files

Place companion Markdown files in a references/ subdirectory alongside the SKILL.md. These files are copied into .well-known/agent-skills/<name>/references/ and are available to agents that install the skill.

Use reference files for content that is too detailed for the main SKILL.md: style guides, checklists, pattern libraries, and decision matrices.

Writing tips

Follow these guidelines when writing skill content:

  • Write for an LLM reader, not a human. Be explicit about distinctions that a model might confuse (e.g., {python} vs {.python}).
  • Use concrete examples over abstract descriptions.
  • Keep the decision table ("When to use what") actionable: each row should map a task to a specific function or method.
  • Avoid emoji, em dashes, and starting a list without introductory text.
  • Keep the SKILL.md under 2000 lines. Move detailed reference material into companion files.
Show full SKILL.md (351 more words)Show less

Workflows

Adding a skill to an existing site
  1. Create the skills/<name>/ directory with a SKILL.md.
  2. Optionally add a references/ subdirectory with companion files.
  3. Set skill.file in great-docs.yml to point at the SKILL.md.
  4. Run great-docs build and check the Skills page.
Converting from automatic to hand-written
  1. Run great-docs build to generate the automatic skill.md.
  2. Copy the generated file from <docs>/skill.md into skills/<name>/SKILL.md.
  3. Edit the content: add custom sections, rewrite descriptions, curate the decision table.
  4. Set skill.file in great-docs.yml.
  5. Rebuild.
Adding a second skill (switching to multi-skill mode)
  1. Create a second skills/<name>/ directory with its SKILL.md.

  2. Replace the skill.file key with skill.skills in great-docs.yml:

    yaml
    skill:
      skills:
        - name: original-skill
          file: skills/original-skill/SKILL.md
        - name: new-skill
          file: skills/new-skill/SKILL.md
  3. Rebuild. The Skills page now shows a switcher bar with both skills.

Testing skill installation

Verify your skill is discoverable:

bash
# Check the published skill
great-docs check-skill

# List all skills in the .well-known manifest
great-docs list-skills

# Test npx installation (after deploying)
npx skills add <site-url>

Discovery and distribution

Great Docs publishes skills at two well-known paths for auto-discovery by npx skills add and other agent tooling:

<site>/.well-known/agent-skills/<name>/SKILL.md
<site>/.well-known/agent-skills/index.json

The index.json manifest lists all skills with their name, description, and relative path. In multi-skill mode, each skill gets its own entry.

The root-level <site>/skill.md always contains the primary skill (the first entry in skill.skills, or the only skill).

Gotchas

  1. skill.skills overrides skill.file. If both are set, skill.skills takes precedence and skill.file is ignored.
  2. The name field must be unique. Each skill in skill.skills needs a distinct name. Duplicates cause the later entry to overwrite the earlier one in .well-known/.
  3. Reference files must be in references/. Only files under the references/ subdirectory (relative to the SKILL.md) are copied into .well-known/. Files elsewhere are ignored.
  4. Use hyphens in skill names, not underscores. The name field becomes a URL path segment (.well-known/agent-skills/<name>/), and hyphens are the standard web convention for URL slugs. Match the directory name: skills/my-skill/ with name: my-skill.
  5. The first skill in skill.skills is special. It becomes the primary skill.md at the site root and is the default panel shown on the Skills page.
  6. Set skill.enabled: false to disable entirely. This suppresses both automatic generation and hand-written skill processing.

© 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 2 other files (references) in .agents/skills/author-skills of pymc-labs/pathmc.

  • SKILL.md
  • references/config-reference.md
  • references/skill-anatomy.md

Open the folder on GitHubat commit e3b9467

Compare with similar skills

Author Skills 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.

Author Skills compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Author Skills this skillpymc-labs/pathmc132—~2.6kAutomated safety check: PassMIT
Skill CreatorAzure/azqr79689 repos~8.2kAutomated safety check: PassApache-2.0
Claude Code Skill Developer Guidediet103/claude-code-infrastructure-showcase10k11 repos~3.5kAutomated safety check: PassMIT
Darwin Skill Optimizeralchaincyf/darwin-skill6.2k1 repos~4.7kAutomated safety check: PassMIT
Claude Code Command Developmentanthropics/claude-plugins-official38k10 repos~4.8kAutomated safety check: PassApache-2.0
Claude Code Plugin Structureanthropics/claude-plugins-official38k10 repos~3.4kAutomated safety check: PassApache-2.0

Similar skills

  • Skill Creator

    Azure/azqr

    Official

    Create new skills, modify and improve existing skills, and measure skill performance.

    796 GitHub starsUsed in 89 repos~8.2k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Skill Developer Guide

    diet103/claude-code-infrastructure-showcase

    A guide to creating and managing Claude Code skills with auto-activation: skill-rules.json triggers, hooks, enforcement levels, YAML frontmatter and progressive disclosure.

    10k GitHub starsUsed in 11 repos~3.5k tokens
    Agent WorkflowsAuto-check passed
  • Darwin Skill Optimizer

    alchaincyf/darwin-skill

    Scores SKILL.md files on a nine-dimension rubric, then improves them in a keep-or-revert loop with independent judge agents, test prompts, git history and human checkpoints.

    6.2k GitHub starsUsed in 1 repo~4.7k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Command Development

    anthropics/claude-plugins-official

    Official

    Explains how to write Claude Code slash commands: Markdown files with YAML frontmatter, arguments, file references, bash context and interactive prompts.

    38k GitHub starsUsed in 10 repos~4.8k tokens
    Agent WorkflowsAuto-check passed
  • Claude Code Plugin Structure

    anthropics/claude-plugins-official

    Official

    Explains the directory layout, plugin.json manifest and component organization of a Claude Code plugin, including auto-discovery and portable paths.

    38k GitHub starsUsed in 10 repos~3.4k tokens
    Agent WorkflowsAuto-check passed
  • Skill Release Gate

    rohitg00/ai-engineering-from-scratch

    Evaluates an Agent Skill bundle before release for structure, trigger quality, artifact improvement, script correctness, safety, installed-tree integrity and host portability.

    67k GitHub stars~1k tokensUpdated today
    Agent WorkflowsAuto-check passed

More from pymc-labs/pathmc

  • Great Docs

    pymc-labs/pathmc

    Generate documentation sites for Python packages with Great Docs.

    132 GitHub stars~2.7k tokensUpdated 8 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 8 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 8 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 8 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 8 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 8 days ago
    Auto-check passed

Categories

Questions about Author Skills

What does Author Skills do?

Author, configure, and distribute Agent Skills for a Great Docs site. Author Skills is an agent skill from pymc-labs/pathmc. Author, configure, and distribute Agent Skills for a Great Docs site.

When should I use Author Skills?

Author Skills fits situations like: configuring SKILL.md files for package documentation; tasks that involve Skill authoring; tasks that involve Static sites and blogs.

How do I install Author Skills in Claude Code?

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

How do I install Author Skills in Codex?

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

Can I use Author Skills 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 author-skills -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/author-skills, .gemini/skills/author-skills, .github/skills/author-skills and .opencode/skills/author-skills in your project.

What does Author Skills need to run?

Going by SKILL.md and its folder, Author Skills needs the command-line tools its instructions call (npx and pip). Our summary lists: Python 3; Node.js. Compatibility (from SKILL.md): Requires Great Docs >=0.8, Quarto CLI installed..

Does Author Skills access the network?

SKILL.md contains no URLs. Its commands use npx and pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Author Skills 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. Review the folder before installing.

What licence does Author Skills use?

Author Skills 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 Author Skills use?

About 2.6k 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 2.1k tokens, read only when the agent opens those files.

What are the alternatives to Author Skills?

Skills that share tags, products or a category with Author Skills: Skill Creator (Azure/azqr, 796 stars), Claude Code Skill Developer Guide (diet103/claude-code-infrastructure-showcase, 10k stars), Darwin Skill Optimizer (alchaincyf/darwin-skill, 6.2k stars) and Claude Code Command Development (anthropics/claude-plugins-official, 38k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Author Skills?

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.