Youtube API
ericrisco/rsc-harness
A skill your agent uses when wiring code to a real YouTube channel: user OAuth 2.0, resumable videos.insert uploads, editing metadata after publish, pulling views/watch time/retention/traffic from…
Browse PeerTube federated video from the terminal — instance stats, latest videos, video detail, comment threads, channels, accounts, instance-local search, and OAuth2 login with per-instance token…
$ npx skills add magnus919/agent-skills --skill peertube -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install magnus919/agent-skills peertube --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/magnus919/agent-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/peertube .claude/skills/peertube && 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 "peertube" agent skill from https://github.com/magnus919/agent-skills/tree/main/peertube into .claude/skills/peertube/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "peertube", 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/magnus919/agent-skills/tree/main/peertubeType 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 magnus919/agent-skills --skill peertube -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install magnus919/agent-skills peertube --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/magnus919/agent-skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/peertube .agents/skills/peertube && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "peertube" agent skill from https://github.com/magnus919/agent-skills/tree/main/peertube into .agents/skills/peertube/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "peertube", 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 magnus919/agent-skills --skill peertube -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install magnus919/agent-skills peertube --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/magnus919/agent-skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/peertube .cursor/skills/peertube && 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 "peertube" agent skill from https://github.com/magnus919/agent-skills/tree/main/peertube into .cursor/skills/peertube/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "peertube", 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/magnus919/agent-skills.git --path peertube--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 magnus919/agent-skills --skill peertube -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install magnus919/agent-skills peertube --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/magnus919/agent-skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/peertube .gemini/skills/peertube && 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 "peertube" agent skill from https://github.com/magnus919/agent-skills/tree/main/peertube into .gemini/skills/peertube/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "peertube", 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 magnus919/agent-skills peertubeInstalls 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 magnus919/agent-skills --skill peertube -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/magnus919/agent-skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/peertube .github/skills/peertube && 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 "peertube" agent skill from https://github.com/magnus919/agent-skills/tree/main/peertube into .github/skills/peertube/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "peertube", 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 magnus919/agent-skills --skill peertube -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install magnus919/agent-skills peertube --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/magnus919/agent-skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/peertube .opencode/skills/peertube && 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 "peertube" agent skill from https://github.com/magnus919/agent-skills/tree/main/peertube into .opencode/skills/peertube/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "peertube", 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.
peertubeBrowse PeerTube federated video from the terminal — instance stats, latest videos, video detail, comment threads, channels, accounts, instance-local search, and OAuth2 login with per-instance token…
Peertube is an agent skill from magnus919/agent-skills. Browse PeerTube federated video from the terminal — instance stats, latest videos, video detail, comment threads, channels, accounts, instance-local search, and OAuth2 login with per-instance token persistence. Set PEERTUBESERVER to any instance; point it at sepiasearch.org for fediverse-wide search. Use when the user mentions PeerTube, federated video, SepiaSearch, or browsing a specific PeerTube instance. Do not use this skill for YouTube/Vimeo uploads, video editing, or installing and administering a PeerTube…
Its SKILL.md is about 3.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 12 other files, including scripts and reference files (for example `README.md`, `evals/evals.json` and `references/auth-and-tokens.md`). Compatibility notes: Requires Python 3.8+ and requests. Reads are anonymous; authenticated commands (me, my-videos) need a token from scripts/peertube login. Tokens persist…
It sits in Backend & APIs, covering OAuth and OpenID Connect, Local SEO and Video production. It works with YouTube. The repository describes itself as: Curated collection of AI agent skills for Hermes and other agent frameworks. The licence is MIT.
3 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 22b4723. 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.
Ships 2 files in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
jqFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
sepiasearch.orgtilvids.comFrom 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.
Requires Python 3.8+ and `requests`. Reads are anonymous; authenticated commands (`me`, `my-videos`) need a token from `scripts/peertube login`. Tokens persist per-instance to ~/.config/peertube/token.json (owner-only).
From compatibility in the SKILL.md frontmatter.
Peertube loads about 3.1k tokens when it runs, and up to ~13k if it reads all its reference files. Until then it costs about 134 tokens; SKILL.md has 1,028 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); the scripts in this folder are not scanned.
The full file from magnus919/agent-skills at commit 22b4723, republished under its MIT licence (© magnus919). 1,028 words, ~3,125 tokens.
.claude/skills/peertube/SKILL.md (or your agent's skills folder). This skill also uses 9 other files; get the full folder from GitHub.Browse any PeerTube instance — a federated deployment, not a single API — from the
terminal: instance stats, latest videos, full video detail, comment threads, channels,
accounts, and instance-local search. Authenticate with OAuth2 only for your own account
commands. Every command is read-only except login/logout.
export PEERTUBE_SERVER="https://<INSTANCE_HOST>" # e.g. https://tilvids.com To search the whole fediverse instead of one instance, point the same variable at the
public search index: PEERTUBE_SERVER=https://sepiasearch.org (same API shape — see
references/search-and-discovery.md).
Nothing else is required to browse: videos, search, channels, comments, and instance info are anonymous reads.
(Optional) Log in only for your own account commands (me, my-videos):
scripts/peertube login --username <NAME> --promptPeerTube uses plain OAuth2 with per-instance client credentials: the CLI anonymously
fetches the client pair from GET /api/v1/oauth-clients/local (singular local), then
exchanges your username/password for a bearer token at POST /api/v1/users/token
(grant_type=password, form-encoded). The token rides Authorization: Bearer <token>,
lives for the instance's configured lifetime (read expires_in from the response — do not
assume a fixed number), and is refreshed automatically when it expires. The token file is
written owner-only to ~/.config/peertube/token.json keyed by server URL.
Do not commit tokens — they are account credentials; revoke with scripts/peertube logout (POST /users/revoke-token) when done. Current production instances mask
client_secret in the API response; the CLI detects this and explains the workaround.
Details and wire-level error signatures:
references/auth-and-tokens.md.
scripts/peertube server # name, description, user/video/view counters
scripts/peertube server --jsonComposes GET /config/about + GET /server/stats (canonical paths — there is no
/instance/stats).
scripts/peertube videos # latest 15, offset pagination
scripts/peertube videos --limit 50 --offset 50
scripts/peertube videos --sort -views --json # popular firstPagination is start/count offsets (max count 100) — the API has no page
parameter.
scripts/peertube search --query "linux" # instance-local (searchTarget=local)
scripts/peertube search -q "docker" --limit 20 --json
PEERTUBE_SERVER="https://sepiasearch.org" scripts/peertube search -q "linux" # fediverse-wideThe bundled CLI performs instance-local search only (searchTarget=local). For
fediverse-wide search, point PEERTUBE_SERVER at SepiaSearch — same commands, wider
index. Search results carry channel.host/url, the origin instance of federated hits.
scripts/peertube video --id <UUID> # numeric id, UUID, or shortUUID all work
scripts/peertube video --id <UUID> --json | jq '{name, description, views, url}'scripts/peertube comments --id <UUID> # GET /videos/{id}/comment-threads
scripts/peertube comments --id <UUID> --limit 30 --jsonscripts/peertube channels --limit 20 --json # instance channel list
scripts/peertube channel --handle framasoft@framatube.org # name or name@host
scripts/peertube account --name chocobozzz@framatube.orgchannel shows metadata plus the channel's uploads (offset-paginated).
scripts/peertube me --json | jq '.role.label'
scripts/peertube my-videos --limit 50 --jsonscripts/peertube login --username <NAME> --prompt # hidden prompt
echo "<PASSWORD>" | scripts/peertube login --username <NAME> --password-stdin
scripts/peertube login --username <NAME> --otp <CODE> # 2FA-enabled accounts
scripts/peertube logout # revoke server-side + delete filescripts/peertube --json videos # flag before or after the subcommand
scripts/peertube videos --json
scripts/peertube --dry-run search --query test # request plan, zero network
scripts/peertube --verbose videos --limit 2 # trace requests on stderr
scripts/peertube --server https://tilvids.com server # per-invocation instance override--dry-run emits {"dry_run": true, "method", "path", "params"} (login adds
form_fields names only, never values) — use it to verify a jq chain before running it
live. --help and --dry-run never require credentials.
scripts/peertube search --query "linux" --limit 5 --json | jq -r '.videos[0].uuid'
scripts/peertube video --id "$(scripts/peertube search -q linux --limit 1 --json | jq -r '.videos[0].uuid')" --jsonscripts/peertube channel --handle framasoft@framatube.org --limit 100 --offset 0 --json | jq -r '.videos[].name'
# loop: advance --offset by the returned count until you reach .total (no page param exists)scripts/peertube server --json | jq '{name: .instance.name, videos: .stats.totalLocalVideos, users: .stats.totalUsers, views: .stats.totalLocalVideoViews}'scripts/peertube login --username <NAME> --prompt
scripts/peertube me --json | jq '{username, role: .role.label, quota_bytes: .videoQuota}'
scripts/peertube logout--json output keys are stable snake_case wrappers around raw API objects: videos
(the API's {total, data} list objects), channels, threads (+ total_not_deleted),
instance + stats, channel, dry_run/method/path/params for plans. Video
objects keep PeerTube's own field names — uuid, shortUUID, name, duration
(seconds), views, publishedAt, account{name,displayName,host},
channel{name,displayName,host} — so jq selectors transfer directly to raw curl
against /api/v1. Example: jq -r '.videos[] | [.name, .views, .channel.displayName] | @tsv'.
channel.host, video url).searchTarget=local searches the
instance's own catalog; search-index (or SepiaSearch's base URL) searches the
fediverse via an external index. Omitting searchTarget gives the instance's own
scope on current servers, not the fediverse. The bundled CLI is instance-local unless
you point it at sepiasearch.org.page does not exist — collections paginate with start/count (max 100).
Clients sending page= silently re-read the first page forever./comment-threads (hyphenated) — /comments and
/commentthreads are not routes (they 400 on current servers)./server/stats (operation titled
"instance stats"), about at /config/about, config at /config. No
/instance/* metadata paths exist.client_secret — oauth-clients/local answers
"********************************" on current production instances; a token request
with the masked value 400s. The CLI detects it and explains the front-end-asset
workaround. response_type=code appears in old quick-start curls but is not part of
the current token schema — the CLI omits it.expires_in per response; the
CLI persists the absolute expires_at and refreshes automatically. Store tokens
owner-only, never commit them, revoke on logout (deleting the file alone leaves the
session live).x-peertube-otp on the token request; the CLI maps a
bare 401 to "pass --otp".Retry-After and back off. Errors use RFC7807 application/problem+json bodies, and
unknown routes answer 400 (not 404) — read the body.duration is seconds; ids are triple (id, uuid, shortUUID — all accepted by
detail endpoints); role is an object {id, label}; videoQuota is bytes./users/me* and mutations always do.Use this skill for read-only interaction with PeerTube instances: browsing and filtering videos, instance-local or fediverse-wide search (via SepiaSearch), video detail and comments, channel/account exploration, instance stats, and managing your own account session with OAuth2 (login, profile, my videos, logout).
Do not use this skill for YouTube, Vimeo, or other platform uploads or any video editing/transcoding (route to those platforms' own tooling and ffmpeg); for installing, hosting, or administering a PeerTube server (instance administration is out of scope — the bundled CLI is read-only plus login/logout); or for generic ActivityPub/Mastodon federation questions (use a Mastodon or ActivityPub skill).
| File | Use it for |
|---|---|
| references/auth-and-tokens.md | OAuth2 flow (oauth-clients/local, password grant), secret masking, refresh/revocation, token-file hygiene, wire error signatures |
| references/search-and-discovery.md | searchTarget local vs search-index, SepiaSearch semantics, search parameters and sorts |
| references/endpoint-catalog.md | Every read endpoint's parameters, response shapes, pagination, rate limits |
| references/gotchas-field-guide.md | Symptom → cause → fix table for every failure signature and version drift |
| references/worked-recipes.md | Multi-step CLI/jq workflows, raw curl auth chain, jq processing patterns |
scripts/peertube — the bundled Python CLI (--json, --dry-run, --verbose,
--server override). Imports only the standard library and requests.scripts/test_peertube.py — offline test suite (pytest + unittest compatible); all
HTTP is mocked, zero network egress.requests. Any reachable PeerTube instance (or SepiaSearch)
works; no credentials exist or are required by default. No service is started by this
skill.© magnus919, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 9 other files (scripts, references) in peertube of magnus919/agent-skills.
Open the folder on GitHubat commit 22b4723
Peertube 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 |
|---|---|---|---|---|---|---|
| Peertube this skillmagnus919/agent-skills | 115 | — | ~3.1k | Automated safety check: Pass | MIT | |
| Youtube APIericrisco/rsc-harness | 180 | — | ~4k | Automated safety check: Pass | MIT | |
| Add OAuth Providersuperdesigndev/treg | 5k | — | ~2.5k | Automated safety check: Pass | Custom licence | |
| Setupdaiki-beppu/youtube-automation | 169 | — | ~1.3k | Automated safety check: Pass | Custom licence | |
| YoutubeCraftOS-dev/CraftBot | 392 | 1 repos | ~3.7k | Automated safety check: Pass | MIT | |
| Int Youtubeevolution-foundation/evo-nexus | 545 | — | ~568 | Automated safety check: Notes | Custom licence |
ericrisco/rsc-harness
A skill your agent uses when wiring code to a real YouTube channel: user OAuth 2.0, resumable videos.insert uploads, editing metadata after publish, pulling views/watch time/retention/traffic from…
superdesigndev/treg
Add a provider to treg's OAuth registry (the ones treg holds its own approved app for).
daiki-beppu/youtube-automation
A skill your agent uses when ツール導入と GCP / OAuth の設定、新規 YouTube チャンネル開設、既存チャンネル取り込み、config 再生成、または YouTube 側設定同期を行うとき。「セットアップして」「環境構築」「新チャンネル」「既存チャンネル」「チャンネル取り込み」「config…
CraftOS-dev/CraftBot
YouTube Data API integration with managed OAuth. An agent skill from CraftOS-dev/CraftBot.
evolution-foundation/evo-nexus
Query YouTube Data API v3 — channel stats, recent videos, top videos, comments.
Agents365-ai/video-podcast-maker
A skill your agent uses when the user gives a topic and wants an automated topic-driven narrated explainer, podcast, or knowledge-summary video (Bilibili / YouTube / Xiaohongshu / Douyin / WeChat…
magnus919/agent-skills
Organize durable agent research outputs as summaries, analysis, and evidence dossiers.
magnus919/agent-skills
Build portable, first-person colored ASCII city engines and small GIS-derived city packs.
magnus919/agent-skills
Manage color workflows with ICC profiles, working spaces, gamut mapping, and color science.
magnus919/agent-skills
A skill your agent uses for PhD-level expertise in data science, statistics, and machine learning: rigorous statistical analysis, experimental design, causal inference, advanced modeling, research…
magnus919/agent-skills
Use Docker Compose to define, run, debug, and harden multi-container applications.
magnus919/agent-skills
Design, review, simulate, and verify FPGA logic using explicit RTL contracts, clock and reset models, CDC analysis, timing constraints, and reproducible implementation evidence.
Works with
Categories
Browse PeerTube federated video from the terminal — instance stats, latest videos, video detail, comment threads, channels, accounts, instance-local search, and OAuth2 login with per-instance token…. Peertube is an agent skill from magnus919/agent-skills. Browse PeerTube federated video from the terminal — instance stats, latest videos, video detail, comment threads, channels, accounts, instance-local search, and OAuth2 login with per-instance token persistence.
Peertube fits situations like: the user mentions PeerTube; federated video; browsing a specific PeerTube instance; youTube/Vimeo uploads.
Run `npx skills add magnus919/agent-skills --skill peertube -a claude-code`. Or copy the skill folder (peertube in magnus919/agent-skills) into .claude/skills/peertube in your project. Claude Code loads it when a task matches its description.
Run `npx skills add magnus919/agent-skills --skill peertube -a codex`. Or copy the skill folder (peertube in magnus919/agent-skills) into .agents/skills/peertube 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 magnus919/agent-skills --skill peertube -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/peertube, .gemini/skills/peertube, .github/skills/peertube and .opencode/skills/peertube in your project.
Going by SKILL.md and its folder, Peertube needs Python for the scripts in its folder and the command-line tools its instructions call (jq). Our summary lists: Python 3; Docker. Compatibility (from SKILL.md): Requires Python 3.8+ and `requests`. Reads are anonymous; authenticated commands (`me`, `my-videos`) need a token from `scripts/peertube login`. Tokens persist per-instance to ~/.config/peertube/token.json (owner-only)..
SKILL.md names 2 domains. In commands or code: sepiasearch.org and tilvids.com; the agent is likely to contact these when it follows the instructions. 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. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Peertube is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 3.1k tokens (SKILL.md is roughly 13k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 10k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Peertube: Youtube API (ericrisco/rsc-harness, 180 stars), Add OAuth Provider (superdesigndev/treg, 5k stars), Setup (daiki-beppu/youtube-automation, 169 stars) and Youtube (CraftOS-dev/CraftBot, 392 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
magnus919 (a GitHub user) maintains it in magnus919/agent-skills, which has 115 GitHub stars. The repository holds 131 skills in this directory. The repository was last updated on October 10, 2026.
Source: magnus919/agent-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.