Video.js Agent Skills
Video.js is built at Mux by the teams behind Video.js, Plyr, Vidstack, and Media Chrome.
Official agent skills for building customizable, accessible video and audio players with Video.js 10, an open-source library of composable, framework-native components for React and the web.
The plugin ships three skills: videojs to install and configure a player, videojs-skin to design your own skin, and videojs-ui to build and review player UI. Each is deliberately thin. They teach an agent how Video.js 10 is put together, where to find installation instructions and docs that match the installed version, and what to check before handing code back. The Video.js CLI prints version-matched installation plans, and the player packages ship their docs under docs/, so the agent can work locally and offline instead of relying on training data or a live fetch.
Installing
Choose one installation method. Using the plugin does not start an MCP server, register hooks, run scripts, or connect an account. To print these steps in a terminal, run npx @videojs/cli agents skills.
Codex
Install from the Video.js plugin marketplace:
codex plugin marketplace add videojs/skills
codex plugin add videojs@videojs
Start a new Codex session after installation.
Claude Code plugin
Run these commands in your shell:
claude plugin marketplace add videojs/skills
claude plugin install videojs@videojs
Start a new Claude Code session, or run /reload-plugins in an open session, after installation. From inside Claude Code, the equivalent commands are /plugin marketplace add videojs/skills and /plugin install videojs@videojs.
VS Code / GitHub Copilot
Install directly from this repository:
- Enable
chat.plugins.enabled in VS Code settings.
- Open the Command Palette and run Chat: Install Plugin From Source.
- Enter
https://github.com/videojs/skills.
Cursor
Open Customize, select Plugins, choose From GitHub Repository, and enter https://github.com/videojs/skills. The repository's Cursor marketplace installs all three skills.
npx skills
npx skills add https://github.com/videojs/skills
Select your agent when prompted. Installation is project-local by default; add -g to install globally.
Manual
Clone this repository and copy each folder in skills/ (videojs, videojs-skin, and videojs-ui) into the appropriate skill directory:
| Agent | Skill directory |
|---|
| Claude Code | ~/.claude/skills/ |
| Cursor | ~/.cursor/skills/ |
| OpenCode | ~/.config/opencode/skills/ |
| OpenAI Codex | ~/.codex/skills/ |
| Pi | ~/.pi/agent/skills/ |
Or let your agent install it
Paste this into your agent:
Install the Video.js skills using one method. In Codex, run `codex plugin marketplace add videojs/skills`, then `codex plugin add videojs@videojs`, and start a new session. In Claude Code, run `claude plugin marketplace add videojs/skills`, then `claude plugin install videojs@videojs`, and start a new session or run `/reload-plugins`. In VS Code or Cursor, install `https://github.com/videojs/skills` as a plugin from source. For another agent, run `npx skills add https://github.com/videojs/skills` and select the agent. Then use the Video.js skills when working on this project.
Use
Ask your agent, for example:
Add an HLS player with captions and a quality menu to the product page using Video.js.
Play this Mux playback ID in our Next.js app with Video.js, with Mux Data turned on.
Migrate this Video.js 8 embed to Video.js 10 in React.
Design a Video.js skin for our podcast player that matches our brand.
In Claude Code, you can invoke the skills explicitly with /videojs:videojs, /videojs:videojs-skin, and /videojs:videojs-ui.
| Skill | Purpose |
|---|
| videojs | Build customizable, accessible Video.js 10 video and audio players; choose the framework, install method, use case, skin, and media source; locate version-matched bundled docs; verify imports and playback setup |
| videojs-skin | Design your own Video.js skin: set up a standalone project and preview workbench with npx @videojs/cli skin create, build the skin's look, layout, and motion within the player's accessibility and structure rules, review it across sizes, languages, and playback states, and publish the workbench |
| videojs-ui | Build, polish, and review player UI such as controls, menus, time displays, icon states, and motion, adjusting interface-craft skills for UI that sits over moving video, with a media-player accessibility review |