mcpField
M
mux-video

mux-video

github.com/muxincDevelopment2220 installsUpdated 2d ago
Repository

About mux-video

mux-video is a skill for finding and consulting Mux's machine-readable documentation when answering Mux questions. It guides agents to locate one relevant Markdown page, verify current API guidance, and cite the source instead of relying on memory.

Key features

  1. 01Ordered documentation discovery
  2. 02Fetches focused Markdown pages
  3. 03Links API references and specifications
  4. 04Requires source URL citations
  5. 05Avoids guessing when docs are unavailable

Use cases

  1. 01Verifying current Mux API details
  2. 02Finding guidance for Mux video workflows
  3. 03Answering questions with cited documentation
  4. 04Recovering when a documentation URL changes

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/muxinc/skills --skill mux-video

After installing, type/mux-videoin Claude Code to confirm it loaded.

Details

From the project README

Mux docs discovery

Mux publishes its entire documentation as agent-ready markdown, auto-generated from the same source as the real docs site. For any Mux question, fetch the relevant page and answer from it — never answer Mux API questions from memory, because API shapes and guidance change.

Workflow

  1. Route — try these in order and stop at the first hit. The order is cost-ordered: each step reads fewer tokens than the next.
    1. If the mux CLI is installed, run mux docs find "<topic>" --agent — it searches the docs index CLI-side and returns only the matching page URLs, so you never read an index into context. (Check mux docs --help; older versions lack it.)
    2. Construct the URL from a known pattern: the tables below (collections, Robots robots-<task>.md, API references) cover most topics.
    3. Fetch the smallest collection index for the topic area (a few dozen lines).
    4. Fetch https://www.mux.com/llms.txt — the master index of every docs page — only when the steps above fail.
  2. Fetch ONE page — the page's markdown version: append .md to its URL (e.g. https://www.mux.com/docs/guides/start-live-streaming.md). Only add an API reference bundle when you need exact request/response shapes; do not fetch extra pages "for context."
  3. Answer from the fetched content and cite the page URL.

Never fetch https://www.mux.com/llms-full.txt. It is the entire documentation in a single file and will flood the context window; every page in it is reachable individually through the steps above.

Collection indexes

CollectionURL
Core conceptshttps://www.mux.com/docs/core.txt
Video: upload, encode, manage assetshttps://www.mux.com/docs/guides/video.txt
Uploader: handle user uploadshttps://www.mux.com/docs/guides/uploader.txt
Player: embed video playbackhttps://www.mux.com/docs/guides/player.txt
Data: playback quality and analyticshttps://www.mux.com/docs/guides/data.txt
Data integrations: third-party player monitoringhttps://www.mux.com/docs/guides/data-integrations.txt
Framework integrations and SDKshttps://www.mux.com/docs/integrations.txt
Example implementationshttps://www.mux.com/docs/examples.txt
Pricing and billinghttps://www.mux.com/docs/pricing.txt

Mux Robots (AI video workflows)

Robots — Mux's AI-powered video workflows — are generally available on the v1 API (/robots/v1). In @mux/ts 16+, client.robots calls v1; client.robotsV0 and /robots/v0 are the deprecated Beta. Start here:

ResourceURL
Robots collection index (workflows, Directives, migration guides)https://www.mux.com/docs/guides/robots.txt
Robots overviewhttps://www.mux.com/docs/guides/robots.md
Robots directives referencehttps://www.mux.com/docs/guides/robots-directives.md
Supported languageshttps://www.mux.com/docs/guides/robots-supported-languages.md
Migrate from Beta (v0) to v1https://www.mux.com/docs/guides/robots-migrate-to-v1.md

Task-specific guides follow the pattern https://www.mux.com/docs/guides/robots-<task>.md, where <task> is one of: analyze-structure, summarize, generate-chapters, generate-contextual-text, ask-questions, find-key-moments, find-best-thumbnails, generate-engagement-insights, moderate, generate-premium-captions, edit-captions, translate-captions, translate-audio. For scenes, use analyze-structure.

Migration guides follow https://www.mux.com/docs/guides/robots-migrate-<topic>-to-v1.md, where <topic> is directives, webhooks, or typescript-sdk.

API references and specs

For exact endpoint, parameter, and webhook shapes, prefer these over prose guides:

ResourceURL
Video API referencehttps://www.mux.com/docs/api-reference/video.txt
Data API referencehttps://www.mux.com/docs/api-reference/data.txt
System API referencehttps://www.mux.com/docs/api-reference/system.txt
Robots v1 API reference (the full spec's /robots/v0 paths are the deprecated Beta)https://www.mux.com/docs/api-reference/robots.txt
Full API spec (OpenAPI JSON)https://www.mux.com/api-spec.json
Webhook spec (JSON)https://www.mux.com/webhook-spec.json
Mux Player web component APIhttps://raw.githubusercontent.com/muxinc/elements/refs/heads/main/packages/mux-player/REFERENCE.md
Mux Player React component APIhttps://raw.githubusercontent.com/muxinc/elements/refs/heads/main/packages/mux-player-react/REFERENCE.md

All of these resources are also discoverable from the docs site itself: every docs page links to "Docs for LLMs" (https://www.mux.com/docs/core/llms-txt), the canonical page describing Mux's llms.txt files and machine-readable bundles. If this skill's URL lists ever drift from reality, that page is the source of truth.

Self-healing

If a docs URL 404s, the docs have likely been reorganized. Do not give up after one 404: run mux docs find "<topic>" --agent (or fetch https://www.mux.com/llms.txt and search it) to get the page's current URL.

Staying in sync

  • This skill is distributed from the muxinc/skills repository and ships embedded in the mux CLI. Updating the CLI (brew upgrade mux / npm update -g @mux/cli) updates the embedded skills, and mux skills update refreshes all local copies (including ~/.claude/skills) to match the installed version. For skills decoupled from CLI releases, install the mux@mux Claude Code plugin or pull directly from https://github.com/muxinc/skills.
  • The CLI embeds only skill instruction files, never docs content — always fetch docs live using the workflow above. Check mux skills --help for what the installed version offers.

Guardrails

  • Cite the docs page URL you answered from.
  • If the network is unavailable, say you could not verify against current docs — never guess API request/response shapes from memory.

Comments

Markdown supported