MCP Server Builder
anthropics/skills
Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.
Add, rename, change the payload of, or remove a typed player event in OpenPlayerJS.
$ npx skills add openplayerjs/openplayerjs --skill add-event -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install openplayerjs/openplayerjs add-event --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/openplayerjs/openplayerjs.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/add-event .claude/skills/add-event && rm -rf skills-srcUse ~/.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/
Install the "add-event" agent skill from https://github.com/openplayerjs/openplayerjs/tree/master/.claude/skills/add-event into .claude/skills/add-event/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-event", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/openplayerjs/openplayerjs/tree/master/.claude/skills/add-eventType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add openplayerjs/openplayerjs --skill add-event -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install openplayerjs/openplayerjs add-event --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/openplayerjs/openplayerjs.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/add-event .agents/skills/add-event && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "add-event" agent skill from https://github.com/openplayerjs/openplayerjs/tree/master/.claude/skills/add-event into .agents/skills/add-event/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-event", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add openplayerjs/openplayerjs --skill add-event -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install openplayerjs/openplayerjs add-event --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/openplayerjs/openplayerjs.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/add-event .cursor/skills/add-event && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "add-event" agent skill from https://github.com/openplayerjs/openplayerjs/tree/master/.claude/skills/add-event into .cursor/skills/add-event/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-event", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/openplayerjs/openplayerjs.git --path .claude/skills/add-event--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add openplayerjs/openplayerjs --skill add-event -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install openplayerjs/openplayerjs add-event --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/openplayerjs/openplayerjs.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/add-event .gemini/skills/add-event && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "add-event" agent skill from https://github.com/openplayerjs/openplayerjs/tree/master/.claude/skills/add-event into .gemini/skills/add-event/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-event", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install openplayerjs/openplayerjs add-eventInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add openplayerjs/openplayerjs --skill add-event -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/openplayerjs/openplayerjs.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/add-event .github/skills/add-event && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "add-event" agent skill from https://github.com/openplayerjs/openplayerjs/tree/master/.claude/skills/add-event into .github/skills/add-event/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-event", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add openplayerjs/openplayerjs --skill add-event -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install openplayerjs/openplayerjs add-event --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/openplayerjs/openplayerjs.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/add-event .opencode/skills/add-event && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "add-event" agent skill from https://github.com/openplayerjs/openplayerjs/tree/master/.claude/skills/add-event into .opencode/skills/add-event/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-event", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
add-eventAdd, rename, change the payload of, or remove a typed player event in OpenPlayerJS.
Add Event is an agent skill from openplayerjs/openplayerjs. Add, rename, change the payload of, or remove a typed player event in OpenPlayerJS. Use whenever a task involves PlayerEventPayloadMap, EventBus events, cmd: commands, ads: events, or "emit/listen to X". Encodes the core-vs-package routing decision, declaration merging, payload conventions, and the safe-removal procedure.
Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It works with TypeScript. The repository describes itself as: Lightweight HTML5 video/audio player with smooth controls and ability to play VAST/VMAP/SIMID/OMID/non-linear ads. The licence is MIT.
6 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit c26914a. It shows what the files ask for, not the result of running them.
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.
Shell commands in SKILL.md call:
pnpmFrom the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md. Its commands use pnpm, which can reach the network depending on how they are called.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Add Event loads about 1.7k tokens when it runs. Until then it costs about 84 tokens; SKILL.md has 809 words of instructions outside code blocks.
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.
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.
The full file from openplayerjs/openplayerjs at commit c26914a, republished under its MIT licence (© openplayerjs). 809 words, ~1,663 tokens.
.claude/skills/add-event/SKILL.md (or your agent's skills folder).Events are the most rule-dense surface in this repo. Every step below exists because skipping it has broken something before. Work through the steps in order; do not improvise.
Answer one question: who emits it?
| Emitter | Classification | Where the type goes |
|---|---|---|
Core, StateManager, surfaces, DefaultMediaEngine, track plumbing | Kernel event | PlayerEventPayloadMap interface in packages/core/src/core/events.ts |
| Any other package (ads, player UI, hls, youtube, external plugins) | Package event | That package's src/events.ts declaration-merging augmentation |
Hard rules:
cmd:* commands, HTML5-native names (playing,
pause, ended, loadedmetadata, …), track events, source:set, player:interacted.packages/core/src/core/events.ts for an ads:*, hls:*,
ui:*, or zoom:* key — stop, you are in the wrong file.Naming:
cmd:<verb> — player→engine command (cmd:play, cmd:seek). Kernel only.<pkg-prefix>:<noun>[:<phase>] — package events (ads:break:start, ui:menu:open).ads.foo was migrated away — colon only).Payload conventions (follow existing shapes, don't invent parallel ones):
{ id: string; kind: string } carried under a break property.breakId (e.g. ads:quartile: { breakId, quartile: 25|50|75|100 }).X:open/X:close, X:start/X:end) must both exist and both be emitted —
the player package relies on pairing (e.g. menu open/close gates the auto-hide timer).{ reason?, error?, message?, owner? } (see ads:error).Kernel event: add the key to the PlayerEventPayloadMap interface in
packages/core/src/core/events.ts. Do not convert the interface to a type — it is the one
sanctioned interface (declaration merging requires it).
Package event: edit (or create) packages/<pkg>/src/events.ts:
import '@openplayerjs/core';
declare module '@openplayerjs/core' {
// eslint note: this augments core's sanctioned interface
interface PlayerEventPayloadMap {
'my:event': MyPayload;
}
}Then verify the side-effect import exists in packages/<pkg>/src/index.ts:
import './events';If you created events.ts and forget this import, everything compiles locally but consumers
of the published package silently lose the typing. Check it explicitly.
If the package keeps a union of its own events (ads has AdsEvent in src/types.ts), update
it in the same commit — the augmentation and the union must stay in sync.
Special case — HLS: it deliberately has NO events.ts. It drives the player through standard
core events only. Before adding an HLS event, confirm a real consumer exists (three HLS events
were removed in Jun 2026 because nothing listened). Duration/live/ID3 metadata already flow
through native channels — do not re-add events for them.
ctx.events.emit('my:event', payload) — payload type is enforced.ctx.on('my:event', cb) (auto-disposed) — never a bare
events.on without registering the unsubscriber in ctx.dispose.this.onPlayer('my:event', cb).Core.play() → cmd:play path, it must not
introduce an await/microtask before cmd:play fires (Safari user-gesture context).Minimum tests for a new event (in the owning package's __tests__/):
core.on('my:event', (p) => …) compiles with the precise
payload type (this is implicit if the test file uses the typed callback).CLAUDE.md.This is a breaking change for downstream consumers. Stop and confirm with the user before doing it (manual §7 E1). Once approved:
grep -rn "'old:name'" packages/ until it returns nothing. If .claude/CLAUDE.local.md
lists other local consumer repos, grep and type-check those per its instructions.pnpm run type-check.feat(<scope>)!: or include a BREAKING CHANGE: footer so the release
orchestrator bumps major.Never trust "no typed listener" as proof of death — tests subscribe by string.
grep -rn "'the:event'" packages/ — check src, __tests__/, e2e/, examples/..claude/CLAUDE.local.md, if present.events.ts becomes empty, delete the file AND its
import './events' line.import './events' present in the package's index.ts (package events)AdsEvent) updated if one existspnpm run type-check && pnpm run lint && pnpm run test green!/footer in commit© openplayerjs, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/add-event of openplayerjs/openplayerjs.
Open the folder on GitHubat commit c26914a
Add Event 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.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Add Event this skillopenplayerjs/openplayerjs | 649 | — | ~1.7k | Automated safety check: Pass | MIT | |
| MCP Server Builderanthropics/skills | 180k | 62 repos | ~2.3k | Automated safety check: Pass | Apache-2.0 | |
| Web Artifacts Builderanthropics/skills | 180k | 40 repos | ~769 | Automated safety check: Pass | Apache-2.0 | |
| Typescript Advanced Typesrolling-scopes/rsschool-app | 10k | 24 repos | ~4.2k | Automated safety check: Pass | MPL-2.0 | |
| Code Review ChecklistshareAI-lab/learn-claude-code | 78k | 5 repos | ~1.1k | Automated safety check: Pass | MIT | |
| MCP Server BuildershareAI-lab/learn-claude-code | 78k | 5 repos | ~1.2k | Automated safety check: Pass | MIT |
anthropics/skills
Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.
anthropics/skills
Builds multi-component claude.ai HTML artifacts as a small React, TypeScript and Tailwind project, then bundles it into one shareable HTML file.
rolling-scopes/rsschool-app
Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications.
shareAI-lab/learn-claude-code
Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.
shareAI-lab/learn-claude-code
Walks through building MCP servers in Python or TypeScript that expose tools, resources and prompts to Claude, with templates, registration and testing.
nrwl/nx
Import, merge, or combine repositories into an Nx workspace using nx import.
openplayerjs/openplayerjs
Resolve a pnpm audit (dependency-audit CI job) failure — high/critical CVEs in the dependency tree.
openplayerjs/openplayerjs
Run the full OpenPlayerJS verification gauntlet before committing, opening a PR, or preparing a release.
openplayerjs/openplayerjs
Write or extend Jest tests for OpenPlayerJS to this repo's exact conventions — makeCore factories, typed internals handles instead of as any, media property mocking, fake timers, ads/vast mocks, and…
openplayerjs/openplayerjs
Find and safely apply ONE worthwhile code optimization (reuse, simplification, efficiency, or a dead-weight cleanup) somewhere in packages//src, with new regression tests proving behavior is…
Works with
Add, rename, change the payload of, or remove a typed player event in OpenPlayerJS. Add Event is an agent skill from openplayerjs/openplayerjs. Add, rename, change the payload of, or remove a typed player event in OpenPlayerJS.
Add Event fits situations like: A task involves PlayerEventPayloadMap; eventBus events; emit/listen to X.
Run `npx skills add openplayerjs/openplayerjs --skill add-event -a claude-code`. Or copy the skill folder (.claude/skills/add-event in openplayerjs/openplayerjs) into .claude/skills/add-event in your project. Claude Code loads it when a task matches its description.
Run `npx skills add openplayerjs/openplayerjs --skill add-event -a codex`. Or copy the skill folder (.claude/skills/add-event in openplayerjs/openplayerjs) into .agents/skills/add-event in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add openplayerjs/openplayerjs --skill add-event -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/add-event, .gemini/skills/add-event, .github/skills/add-event and .opencode/skills/add-event in your project.
Going by SKILL.md and its folder, Add Event needs the command-line tools its instructions call (pnpm).
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
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.
Add Event is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.7k tokens (SKILL.md is roughly 6.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Add Event: MCP Server Builder (anthropics/skills, 180k stars), Web Artifacts Builder (anthropics/skills, 180k stars), Typescript Advanced Types (rolling-scopes/rsschool-app, 10k stars) and Code Review Checklist (shareAI-lab/learn-claude-code, 78k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
openplayerjs (a GitHub organization) maintains it in openplayerjs/openplayerjs, which has 649 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 5, 2026.
Source: openplayerjs/openplayerjs on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.