video2ctx-platform
Skill2 starsChanged 57 days agoApache-2.0View on GitHub
Managed, hosted YouTube context for production and cloud-backed applications. Use for authenticated search, transcripts, video and channel metadata, caption tracks, comments, end screens, playlists, account identity, usage and credits, recurring monitors, notifications, and delivery preferences. Also use as a fallback when direct local access fails. Requires a video2ctx account and its public CLI.
- Reads credentials
- Installs packages
In this repository4 other files it gives its agents.
- AGENTS.mdAGENTS.md
- web/AGENTS.mdAGENTS.md
- web/CLAUDE.mdCLAUDE.md
- youtube-ctxSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 0 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 9
Use the installed video2ctx CLI for authenticated requests to https://api.video2ctx.dev.
- Very specific: line 19
Run video2ctx --version. When unavailable, explain that this skill requires the public @video2ctx/cli npm package and ask the user to …
- Very specific: line 31
If it reports AUTHENTICATION_REQUIRED, run video2ctx auth login, let the user approve the displayed device code in their browser, and retry …
- Very specific: line 37
Run every operation through the installed CLI, including generic requests in the form video2ctx api <METHOD> <PATH> --include-meta.
- Very specific: line 41
Read https://docs.video2ctx.dev/api/authentication.md or https://docs.video2ctx.dev/api/conventions.md only when the task raises an …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
video2ctx Platform
Use the installed video2ctx CLI for authenticated requests to https://api.video2ctx.dev.
Route the request
- For managed YouTube data, account identity, usage or credit details, hosted caching, production application workflows, or fallback after a
youtube-ctxdirect operation fails, read references/hosted-data.md and follow it. - For recurring channel, topic, or search checks; monitor creation or changes; notifications; or delivery preferences, read references/monitoring.md and follow it.
- For a combined request, read both references, but keep stateless reads separate from monitor and notification mutations.
Prepare the CLI and identity
Run video2ctx --version. When unavailable, explain that this skill requires the public @video2ctx/cli npm package and ask the user to approve its installation. After approval, run:
npm install --global @video2ctx/cliThen run one identity check:
video2ctx whoami --jsonIf it reports AUTHENTICATION_REQUIRED, run video2ctx auth login, let the user approve the displayed device code in their browser, and retry video2ctx whoami --json. Use --no-browser only when opening a browser is unavailable. Do not run auth status before whoami; both resolve the same remote account.
The browser flow stores a revocable session in private local configuration. The CLI also accepts VIDEO2CTX_API_KEY as a non-interactive fallback and gives it precedence over the stored session. The user can create a personal key at https://video2ctx.dev/dashboard/developer; never ask them to paste a credential into the conversation or expose one in logs, screenshots, or source control.
Preserve the platform contract
Run every operation through the installed CLI, including generic requests in the form video2ctx api <METHOD> <PATH> --include-meta. Treat read requests as read-only; perform a mutation only when the user requested that state change and target the exact account-owned resource.
Inspect partial flags, warnings, continuations, settled credit metadata, and request IDs before presenting a result as complete. On failure, preserve the status, code, message, request ID, retryability, and Retry-After details returned by the CLI. Retry only safe reads or explicitly idempotent operations classified as transient, with a bounded attempt count.
Read https://docs.video2ctx.dev/api/authentication.md or https://docs.video2ctx.dev/api/conventions.md only when the task raises an unresolved authentication or response question. Read the branch-specific guide named in its reference next, and consult https://api.video2ctx.dev/openapi.json only for remaining contract uncertainty or when the server rejects a documented call.
Done when
The installed CLI reports an authenticated account; only the relevant branch references were loaded; every operation stayed within the user's requested scope; and the selected branch's completion criteria are satisfied with response and error metadata preserved.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

