Agent skill

Mkdocs

by jeka-dev in jeka-dev/jeka

MkDocs documentation project reference covering CLI commands, mkdocs.yml configuration, Material theme setup, and plugin integration.

Apache-2.0Auto-check passedDevelopment

Install Mkdocs

skills CLI
$ npx skills add jeka-dev/jeka --skill mkdocs -a claude-code

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

GitHub CLI
$ gh skill install jeka-dev/jeka mkdocs --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/jeka-dev/jeka.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/mkdocs .claude/skills/mkdocs && 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
mkdocs
GitHub stars
176
Token cost
~2k tokens
SKILL.md length
366 words
Files
9 (incl. scripts, references, assets)
Skills in repo
1
Repo updated
First seen
Licence
Apache-2.0

At a glance

MkDocs documentation project reference covering CLI commands, mkdocs.yml configuration, Material theme setup, and plugin integration.

  • Initializing a MkDocs site
  • SKILL.md covers Workflow Decision Tree, [Init] Starting a new MkDocs…, [Configure] mkdocs.yml — Key… and [Theme] Material Theme…, plus 4 more sections
  • Runs Python scripts from its folder; calls pip; reaches github.com and unpkg.com
  • Configuring mkdocs.yml

What it does

Mkdocs is an agent skill from jeka-dev/jeka. MkDocs documentation project reference covering CLI commands, mkdocs.yml configuration, Material theme setup, and plugin integration. Bundled references include complete CLI parameters, all mkdocs.yml settings with valid values, Material theme customization options, and plugin configs for mkdocstrings, mermaid2, mkdocs-gen-files, mkdocs-literate-nav, and mkdocs-typer2. Use when initializing a MkDocs site, configuring mkdocs.yml, customizing the Material theme, integrating plugins, building static docs from…

Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 11 other files, including scripts, reference files and assets (for example `.skillfish.json`, `references/cli_reference.md` and `references/configuration_reference.md`).

It sits in Development, covering Technical documentation. It works with Python, Java and Kotlin. The repository describes itself as: Next-Gen Build Tool for Java & Co. The licence is Apache-2.0.

When your agent uses it

  • Initializing a MkDocs site
  • Configuring mkdocs.yml
  • Customizing the Material theme
  • Integrating plugins

Example prompts

  • “Use the mkdocs skill to mkdoc documentation project reference covering CLI commands, mkdocs.yml configuration, Material theme setup, and plugin…”
  • “/mkdocs”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit b463563. 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 1 file in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • pip

    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:

    • github.com
    • unpkg.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.

Context cost

Mkdocs loads about 2k tokens when it runs, and up to ~24k if it reads all its reference files. Until then it costs about 146 tokens; SKILL.md has 366 words of instructions outside code blocks.

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

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 jeka-dev/jeka at commit b463563, republished under its Apache-2.0 licence (© jeka-dev). 366 words, ~1,980 tokens.

Download SKILL.mdSave it as .claude/skills/mkdocs/SKILL.md (or your agent's skills folder). This skill also uses 8 other files; get the full folder from GitHub.
name
mkdocs
description
MkDocs documentation project reference covering CLI commands, mkdocs.yml configuration, Material theme setup, and plugin integration. Bundled references include complete CLI parameters, all mkdocs.yml settings with valid values, Material theme customization options, and plugin configs for mkdocstrings, mermaid2, mkdocs-gen-files, mkdocs-literate-nav, and mkdocs-typer2. Use when initializing a MkDocs site, configuring mkdocs.yml, customizing the Material theme, integrating plugins, building static docs from Markdown, or generating API documentation from Python docstrings.

MkDocs Skill

This skill provides reference material and guidance for working with MkDocs documentation sites — including mkdocs.yml configuration, the Material theme, plugins, and CLI usage.

Loaded references (read them before acting):

  • references/configuration_reference.md — all mkdocs.yml keys with valid values
  • references/material_theme_reference.md — Material theme features, palette, features flags, fonts
  • references/cli_reference.md — mkdocs build/serve/gh-deploy options
  • references/plugins_reference.md — mkdocstrings, mermaid2, gen-files, literate-nav, typer2
  • references/real_world_examples.md — production-grade mkdocs.yml patterns

Workflow Decision Tree

What do you need to do?
│
├── Initialize a new site ──────────────────→ [Init]
├── Fix / improve mkdocs.yml ───────────────→ [Configure]
├── Customize the Material theme ───────────→ [Theme]
├── Add or configure plugins ───────────────→ [Plugins]
├── Improve doc content / structure ────────→ [Content]
└── Deploy (GitHub Pages, CI) ──────────────→ [Deploy]

[Init] Starting a new MkDocs site

bash
pip install mkdocs-material
mkdocs new my-project
cd my-project
mkdocs serve   # preview at http://127.0.0.1:8000

Minimal mkdocs.yml to start with Material:

yaml
site_name: My Project
theme:
  name: material
  font:
    text: Roboto
    code: Roboto Mono
  features:
    - navigation.instant
    - navigation.tracking
    - content.code.copy

repo_url: https://github.com/org/repo
edit_uri: edit/main/docs/

Font note: Code font must be a valid Google Font. Common choices: Roboto Mono, Fira Code, JetBrains Mono, Source Code Pro. Fire Code is NOT a valid font name.


[Configure] mkdocs.yml — Key Settings and Common Mistakes

edit_uri (not edit_url)

The correct top-level key is edit_uri. It must NOT be placed under theme:.

yaml
# ✅ Correct
repo_url: https://github.com/org/repo
edit_uri: edit/main/docs/

# ❌ Wrong — edit_url under theme: is ignored
theme:
  edit_url: https://github.com/org/repo/main/docs/

The edit_uri value is appended to repo_url, so for GitHub the path should include edit/<branch>/:

  • edit/main/docs/ → produces https://github.com/org/repo/edit/main/docs/page.md
Navigation

Files present in docs/ but absent from nav: produce warnings and are unreachable from the site. Always keep nav: in sync with the actual files.

yaml
nav:
  - Home: index.md
  - Installation: installation.md
  - Tutorials:
      - Basics: tutorials/basics.md
  - Migration Guide: migration-guide.md   # don't forget orphan files

Use not_in_nav for files intentionally excluded from nav (e.g. auto-generated API pages):

yaml
not_in_nav: |
  api/**
  tags.md
Strict mode

Enable in CI to catch broken links and missing pages:

yaml
strict: true

[Theme] Material Theme Configuration

Palette (light/dark toggle)
yaml
theme:
  name: material
  palette:
    - scheme: default
      primary: deep purple
      accent: purple
      toggle:
        icon: material/brightness-7
        name: Switch to dark mode
    - scheme: slate
      primary: deep purple
      accent: purple
      toggle:
        icon: material/brightness-4
        name: Switch to light mode
Fonts
yaml
theme:
  font:
    text: Inter          # body text — any Google Font
    code: Fira Code      # monospace — must be a valid Google Font name

To disable Google Fonts (privacy / offline):

yaml
theme:
  font: false
Navigation features (most useful)
yaml
theme:
  features:
    - navigation.instant       # SPA-style instant loading
    - navigation.tracking      # anchor tracking in URL
    - navigation.tabs          # top-level sections as tabs
    - navigation.sections      # render sections in sidebar
    - navigation.expand        # expand all sections by default
    - navigation.top           # back-to-top button
    - navigation.footer        # prev/next links in footer
    - toc.follow               # sidebar TOC follows scroll
    - content.code.copy        # copy button on code blocks
    - content.action.edit      # "Edit this page" button (requires edit_uri)
    - search.suggest           # search autocomplete
    - search.highlight         # highlight search terms on page
Logo and icons
yaml
theme:
  logo: images/logo.svg
  favicon: images/favicon.png
  icon:
    repo: fontawesome/brands/github

[Plugins] Common Plugin Configurations

Show full SKILL.md (146 more words)Show less
Mermaid diagrams (via superfences)

No extra plugin needed — use pymdownx.superfences:

yaml
markdown_extensions:
  - pymdownx.superfences:
      custom_fences:
        - name: mermaid
          class: mermaid
          format: !!python/name:pymdownx.superfences.fence_code_format
extra_javascript:
  - https://unpkg.com/mermaid@10/dist/mermaid.min.js
yaml
plugins:
  - search:
      separator: '[\s\-\.]+'
      lang: en
Git revision dates
yaml
plugins:
  - git-revision-date-localized:
      enable_creation_date: true
      type: timeago
mkdocstrings (API docs from docstrings)
yaml
plugins:
  - mkdocstrings:
      handlers:
        python:
          options:
            docstring_style: google
            show_source: true

[Content] Writing Good MkDocs Pages

Admonitions
markdown
!!! note
    Use for supplementary information.

!!! tip
    Use for helpful hints.

!!! warning
    Use for potential pitfalls.

??? example "Collapsible example"
    Hidden by default, click to expand.

Requires admonition and pymdownx.details extensions.

Code blocks with titles and line highlights
markdown
```python title="my_module.py" hl_lines="2 3"
def hello():
    name = "world"
    print(f"Hello {name}")
```

Requires pymdownx.highlight and pymdownx.superfences.

Tabs
markdown
=== "Python"
    ```python
    print("hello")
    ```

=== "Java"
    ```java
    System.out.println("hello");
    ```

Requires pymdownx.tabbed with alternate_style: true.


[Deploy] GitHub Actions deployment

yaml
# .github/workflows/docs.yml
name: Deploy docs
on:
  push:
    branches: [main]

jobs:
  deploy:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
        with:
          fetch-depth: 0   # needed for git-revision-date plugin
      - uses: actions/setup-python@v5
        with:
          python-version: '3.x'
      - run: pip install mkdocs-material
      - run: mkdocs gh-deploy --force

Checklist: Reviewing an Existing mkdocs.yml

Before reporting an mkdocs.yml as correct, check:

  • site_name is set
  • theme.name is material (or another installed theme)
  • theme.font.code is a real Google Font name (not Fire Code — it's Fira Code)
  • edit_uri is at top level, not under theme:, and includes edit/<branch>/
  • Every file in docs/ referenced by nav: actually exists
  • Every .md file in docs/ is reachable via nav: or listed under not_in_nav:
  • pymdownx.superfences is not listed twice (it's a common dupe)
  • Google Analytics property uses G-XXXXXXXX format (UA- is legacy)
  • strict: true is set (or recommended) for CI builds

© jeka-dev, Apache-2.0. 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 8 other files (scripts, references, assets) in .claude/skills/mkdocs of jeka-dev/jeka.

  • SKILL.md
  • .skillfish.json
  • assets/example_asset.txt
  • references/cli_reference.md
  • references/configuration_reference.md
  • references/material_theme_reference.md
  • references/plugins_reference.md
  • references/real_world_examples.md
  • scripts/example.py

Open the folder on GitHubat commit b463563

Compare with similar skills

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

Mkdocs compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Mkdocs this skilljeka-dev/jeka176—~2kAutomated safety check: PassApache-2.0
Releasesol4k/sol4k135—~949Automated safety check: PassApache-2.0
Code Revieweralirezarezvani/claude-skills28k1 repos~1.6kAutomated safety check: PassMIT
Lc Javayennanliu/CS_basics142—~5.2kAutomated safety check: NotesNone
Lc Pythonyennanliu/CS_basics142—~4.4kAutomated safety check: NotesNone
Code Comment GeneratorArabelaTso/Skills-4-SE253—~4.6kAutomated safety check: PassApache-2.0

Similar skills

  • Release

    sol4k/sol4k

    Bump the sol4k library version everywhere, open a release PR, and draft GitHub release notes.

    135 GitHub stars~949 tokensUpdated 9 days ago
    DevelopmentAuto-check passed
  • Code Reviewer

    alirezarezvani/claude-skills

    Code review automation for TypeScript, JavaScript, Python, Go, Swift, Kotlin, C, .NET, Java, C, C++, Rust, Ruby, PHP, and Dart/Flutter.

    28k GitHub starsUsed in 1 repo~1.6k tokens
    DevelopmentAuto-check passed
  • Lc Java

    yennanliu/CS_basics

    File a LeetCode Java solution into this repo the way the existing ones are filed — put it in the package its pattern owns, write the file-level javadoc header (<number.

    142 GitHub stars~5.2k tokensUpdated today
    DevelopmentAuto-check: notes
  • Lc Python

    yennanliu/CS_basics

    File a LeetCode Python solution into this repo the way the existing ones are filed — find the problem's real slug, write the Python file in the house layout (problem docstring, V0 with an IDEA block…

    142 GitHub stars~4.4k tokensUpdated today
    DevelopmentAuto-check: notes
  • Code Comment Generator

    ArabelaTso/Skills-4-SE

    Generates meaningful comments and documentation for code to improve maintenance and readability.

    253 GitHub stars~4.6k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • 新增或修改 DevUtils DevEngine 第三方框架解耦实现:读取 DevAssist Engine 接口、DevEngine core 实现、 extensions 调用入口、默认初始化和 README,实现 JSON、Log、Image、Permission、Toast 等 Engine; 在用户要求创建某个功能 Engine、新增 Engine 实现、替换第三方库或扩展…

    1.6k GitHub stars~561 tokensUpdated 1 mo ago
    MobileAuto-check passed

Categories

Questions about Mkdocs

What does Mkdocs do?

MkDocs documentation project reference covering CLI commands, mkdocs.yml configuration, Material theme setup, and plugin integration. Mkdocs is an agent skill from jeka-dev/jeka.yml configuration, Material theme setup, and plugin integration.

When should I use Mkdocs?

Mkdocs fits situations like: initializing a MkDocs site; configuring mkdocs.yml; customizing the Material theme; integrating plugins.

How do I install Mkdocs in Claude Code?

Run `npx skills add jeka-dev/jeka --skill mkdocs -a claude-code`. Or copy the skill folder (.claude/skills/mkdocs in jeka-dev/jeka) into .claude/skills/mkdocs in your project. Claude Code loads it when a task matches its description.

How do I install Mkdocs in Codex?

Run `npx skills add jeka-dev/jeka --skill mkdocs -a codex`. Or copy the skill folder (.claude/skills/mkdocs in jeka-dev/jeka) into .agents/skills/mkdocs in your project. Codex loads it when a task matches its description.

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

What does Mkdocs need to run?

Going by SKILL.md and its folder, Mkdocs needs Python for the scripts in its folder and the command-line tools its instructions call (pip). Our summary lists: Python 3.

Does Mkdocs access the network?

SKILL.md names 2 domains. In commands or code: github.com and unpkg.com; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.

Is Mkdocs 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 Mkdocs use?

Mkdocs is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Mkdocs use?

About 2k tokens (SKILL.md is roughly 7.9k 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 22k tokens, read only when the agent opens those files.

What are the alternatives to Mkdocs?

Skills that share tags, products or a category with Mkdocs: Release (sol4k/sol4k, 135 stars), Code Reviewer (alirezarezvani/claude-skills, 28k stars), Lc Java (yennanliu/CS_basics, 142 stars) and Lc Python (yennanliu/CS_basics, 142 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Mkdocs?

jeka-dev (a GitHub organization) maintains it in jeka-dev/jeka, which has 176 GitHub stars. The repository was last updated on July 17, 2026.

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