Agent skill

Mintlify Preview

by latitude-dev in latitude-dev/latitude-llm

Run the public Mintlify product docs site locally for live preview.

MITAuto-check passedFrontend & Design

Install Mintlify Preview

skills CLI
$ npx skills add latitude-dev/latitude-llm --skill mintlify-preview -a claude-code

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

GitHub CLI
$ gh skill install latitude-dev/latitude-llm mintlify-preview --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/latitude-dev/latitude-llm.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/mintlify-preview .claude/skills/mintlify-preview && 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
mintlify-preview
GitHub stars
4.7k
Token cost
~813 tokens
SKILL.md length
330 words
Files
1
Skills in repo
28
Repo updated
First seen
Licence
MIT

At a glance

Run the public Mintlify product docs site locally for live preview.

  • Iterating on docs under docs/ (.mdx/.md pages
  • SKILL.md covers TL;DR — start the server, Why the PATH prefix (node…, Keep the CLI current (schema… and Verify it's up, plus 1 more section
  • Calls curl and nvm
  • The user says start the docs

What it does

Mintlify Preview is an agent skill from latitude-dev/latitude-llm. Run the public Mintlify product docs site locally for live preview. Use when previewing or iterating on docs under docs/ (.mdx/.md pages, docs.json nav), or when the user says "start the docs", "run mintlify", "preview the docs site".

Its SKILL.md is about 810 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts. Compatibility notes: opencode

It sits in Frontend & Design, covering Static sites and blogs and Markdown. The repository describes itself as: Open-source observability for AI agents. Find where your agents fail, dispatch your coding agent to fix it, and verify the fix against real traces. The licence is MIT.

When your agent uses it

  • Iterating on docs under docs/ (.mdx/.md pages
  • The user says start the docs
  • Preview the docs site

Example prompts

  • “start the docs”
  • “run mintlify”
  • “preview the docs site”
  • “/mintlify-preview”

Requirements

  • Compatibility (from SKILL.md): opencode

What it can do on your machine

Read from SKILL.md and the folder at commit 87e8aa0. 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:

    • curl
    • nvm

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

  • Network

    No URLs in SKILL.md. Its commands use curl, 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

    opencode

    From compatibility in the SKILL.md frontmatter.

Context cost

Mintlify Preview loads about 813 tokens when it runs. Until then it costs about 65 tokens; SKILL.md has 330 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~65
When it runs · the whole SKILL.md, loaded when a task matches
~813

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 latitude-dev/latitude-llm at commit 87e8aa0, republished under its MIT licence (© latitude-dev). 330 words, ~813 tokens.

Download SKILL.mdSave it as .claude/skills/mintlify-preview/SKILL.md (or your agent's skills folder).
name
mintlify-preview
description
Run the public Mintlify product docs site locally for live preview. Use when previewing or iterating on docs under `docs/` (`.mdx`/`.md` pages, `docs.json` nav), or when the user says "start the docs", "run mintlify", "preview the docs site".
compatibility
opencode
license
MIT

Mintlify docs local preview

The public product docs site lives in docs/ (docs.json + topical .mdx/.md pages). It is served locally with the Mintlify CLI (mint dev). This is the product docs site, not dev-docs/ — for durable internal domain docs see the docs skill.

TL;DR — start the server

Run from the docs/ directory (where docs.json lives), on a non-default port so it doesn't collide with the web app on 3000:

bash
cd docs
PATH="$(ls -d "$HOME"/.nvm/versions/node/v22.*/bin 2>/dev/null | sort -V | tail -1):$PATH" mint dev --port 3333

Then open http://localhost:3333. A page at docs/<folder>/<file>.mdx is served at http://localhost:3333/<folder>/<file> (e.g. docs/monitors/overview.mdx → /monitors/overview). The server hot-reloads on edits to any .mdx/.md or docs.json.

Prefer running it in the background and tailing the output until you see ✓ preview ready.

Why the PATH prefix (node version gotcha)

Mintlify does not run on Node 25+. This repo's default/active Node is often 25, which fails with:

erro mintlify is not supported on node versions 25+ (current version 25.9.0).

The PATH=... prefix above pins an installed Node 22 LTS (from nvm) for just this command, without changing the repo's active Node. If no v22.* is installed, install one (nvm install 22) or use any LTS <25. mise/nvm activate in a child shell won't help — prefix the PATH on the command itself.

Keep the CLI current (schema gotcha)

docs.json uses current Mintlify schema features (e.g. styling.codeblocks as an object). An outdated CLI rejects valid config with:

🚨 Invalid docs.json: #.styling.codeblocks: Expected ... received 'object'

Fix by updating the CLI, not by editing docs.json (the checked-in config is correct for the real deploy):

bash
PATH="$(ls -d "$HOME"/.nvm/versions/node/v22.*/bin 2>/dev/null | sort -V | tail -1):$PATH" mint update

The mint and legacy mintlify binaries can live under different Node versions and update independently. Update the same binary you run mint dev with (i.e. under Node 22).

Verify it's up

bash
curl -s -o /dev/null -w '%{http_code}\n' http://localhost:3333/        # 307 redirect to first page — fine
curl -s -o /dev/null -w '%{http_code}\n' http://localhost:3333/monitors/overview   # 200 = page resolves

Rules

  • Never edit docs.json to satisfy a stale local CLI. Update the CLI instead.
  • Add new pages to the nav in docs.json (the navigation.groups[].pages arrays). A .mdx file that isn't referenced there won't appear in the sidebar.
  • Use port 3333 (or any free port ≠ 3000) so the docs server and the web dev server can run together.
  • <Frame>/<img> blocks pointing at missing docs/images/... files render as broken-image placeholders — expected until the assets land.

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

Files

Just SKILL.md in .agents/skills/mintlify-preview of latitude-dev/latitude-llm.

Open the folder on GitHubat commit 87e8aa0

Compare with similar skills

Mintlify Preview 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.

Mintlify Preview compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Mintlify Preview this skilllatitude-dev/latitude-llm4.7k—~813Automated safety check: PassMIT
Migrate Content Iadocker/docs4.7k—~5.1kAutomated safety check: PassApache-2.0
Using Docs Kitlobehub/lobe-ui2.2k—~2.8kAutomated safety check: PassMIT
Portable Text Serializationsanity-io/agent-toolkit1871 repos~1.1kAutomated safety check: PassMIT
Hugo To Markdownsickn33/agentic-awesome-skills47k1 repos~3.3kAutomated safety check: PassApache-2.0
Generate CLI Docsmycelium-io/mycelium119—~641Automated safety check: PassCustom licence

Similar skills

  • Official

    Handle Hugo docs information-architecture moves: discover old vs new URLs, add front matter aliases (Phase 1), update in-repo links (Phase 2), interactive List 2 resolution and fragment validation…

    4.7k GitHub stars~5.1k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Using Docs Kit

    lobehub/lobe-ui

    Set up and author a documentation site with @lobehub/docs-kit (the lobedocs CLI, React Router + Vite static docs used by ui.lobehub.com).

    2.2k GitHub stars~2.8k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Portable Text Serialization

    sanity-io/agent-toolkit

    Official

    Render and serialize Portable Text to React, Svelte, Vue, Astro, HTML, Markdown, and plain text.

    187 GitHub starsUsed in 1 repo~1.1k tokens
    Frontend & DesignAuto-check passed
  • Hugo To Markdown

    sickn33/agentic-awesome-skills

    Convert Hugo documentation sites and Hugo-managed content into standard Markdown.

    47k GitHub starsUsed in 1 repo~3.3k tokens
    Frontend & DesignAuto-check passed
  • Generate CLI Docs

    mycelium-io/mycelium

    Regenerate the HTML docs site (CLI Reference, Configuration, content sections) from decorators, the pydantic config schema, and markdown source files

    119 GitHub stars~641 tokensUpdated today
    Frontend & DesignAuto-check passed
  • Fix Broken Links

    chef/chef-web-docs

    Run linkchecker against a locally served site, a deployed URL, or a local HTML build output, parse the errors, map each broken link back to its Markdown source file, suggest replacement URLs, and…

    143 GitHub stars~3.2k tokensUpdated yesterday
    Documents & OfficeAuto-check passed

More from latitude-dev/latitude-llm

All 28 skills in this repo
  • Better Auth Best Practices

    latitude-dev/latitude-llm

    Configure Better Auth server and client, set up database adapters, manage sessions, add plugins, and handle environment variables.

    4.7k GitHub starsUsed in 7 repos~1.6k tokens
    Auto-check passed
  • Artifact Designer

    latitude-dev/latitude-llm

    Create, validate, preview, and publish self-contained HTML artifacts.

    4.7k GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • CI Watchdog

    latitude-dev/latitude-llm

    Continuously monitor GitHub PR CI checks and automatically fix failures until all checks pass.

    4.7k GitHub stars~1.6k tokensUpdated yesterday
    Auto-check passed
  • Temporal Developer

    latitude-dev/latitude-llm

    This skill should be used when the user asks to "create a Temporal workflow", "write a Temporal activity", "debug stuck workflow", "fix non-determinism error", "Temporal Python", "Temporal…

    4.7k GitHub stars~1.5k tokensUpdated yesterday
    Auto-check passed
  • Docs

    latitude-dev/latitude-llm

    Review the current conversation context and git changes, then persist durable repository knowledge into dev-docs/.md by domain and into AGENTS.md for cross-cutting repo rules.

    4.7k GitHub stars~2.5k tokensUpdated yesterday
    Auto-check passed
  • Managing Maintenance Windows

    latitude-dev/latitude-llm

    Enables or disables Latitude production maintenance mode by redirecting all publicly exposed production services to the Better Stack status page.

    4.7k GitHub stars~802 tokensUpdated yesterday
    Auto-check passed

Questions about Mintlify Preview

What does Mintlify Preview do?

Run the public Mintlify product docs site locally for live preview. Mintlify Preview is an agent skill from latitude-dev/latitude-llm. Run the public Mintlify product docs site locally for live preview.

When should I use Mintlify Preview?

Mintlify Preview fits situations like: iterating on docs under docs/ (.mdx/.md pages; the user says start the docs; preview the docs site.

How do I install Mintlify Preview in Claude Code?

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

How do I install Mintlify Preview in Codex?

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

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

What does Mintlify Preview need to run?

Going by SKILL.md and its folder, Mintlify Preview needs the command-line tools its instructions call (curl and nvm). Compatibility (from SKILL.md): opencode.

Does Mintlify Preview access the network?

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

Is Mintlify Preview 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 Mintlify Preview use?

Mintlify Preview 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 Mintlify Preview use?

About 813 tokens (SKILL.md is roughly 3.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Mintlify Preview?

Skills that share tags, products or a category with Mintlify Preview: Migrate Content Ia (docker/docs, 4.7k stars), Using Docs Kit (lobehub/lobe-ui, 2.2k stars), Portable Text Serialization (sanity-io/agent-toolkit, 187 stars) and Hugo To Markdown (sickn33/agentic-awesome-skills, 47k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Mintlify Preview?

latitude-dev (a GitHub organization) maintains it in latitude-dev/latitude-llm, which has 4,712 GitHub stars. The repository holds 28 skills in this directory. The repository was last updated on October 6, 2026.

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