peertube

peertube is a skill for Claude Code, Codex from magnus919/agent-skills. It costs 115 tokens per session (3,127 once invoked), scanned A, original, MIT.

A command-line tool for PeerTube, a network of independently hosted video websites that can share content with one another. It lets you browse videos, channels, accounts, comments, and site information.

In plain words
What is it for?
Use it to search and inspect videos, channels, comments, accounts, and PeerTube server statistics, with optional sign-in for your own account commands.
Why use it?
It gives scripts and terminal-based workflows access to PeerTube without needing to use each website's graphical interface. It also supports searching either one site or a public index covering the wider network.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to search and inspect videos, channels, comments, accounts, and PeerTube server statistics, with optional sign-in for your own account commands.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/magnus919/agent-skills/peertube
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add magnus919/agent-skills --skill peertube
Clone the repo
git clone --depth 1 https://github.com/magnus919/agent-skills

Made for: Claude Code, Codex.

Its marketplace also offers this one on its own, as the plugin peertube/plugin install peertube after adding the marketplace above.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for peertube

README.md
[![agentmods](https://agentmods.dev/badge/skills/magnus919/agent-skills/peertube/github.svg)](https://agentmods.dev/skills/magnus919/agent-skills/peertube)
Your own site
<a href="https://agentmods.dev/skills/magnus919/agent-skills/peertube"><img src="https://agentmods.dev/badge/skills/magnus919/agent-skills/peertube/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for peertube

Your own site · 80×15
<a href="https://agentmods.dev/skills/magnus919/agent-skills/peertube"><img src="https://agentmods.dev/badge/skills/magnus919/agent-skills/peertube.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 115 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,127 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00115 $0.03127
Opus 5 $0.00057 $0.01563
Sonnet 5 $0.00023 $0.00625
Haiku 4.5 $0.00012 $0.00313

Measured 8d ago against content hash 4a35b7e553c9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

peertube scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/test_peertube.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

`channel{name,displayName,host}` — so jq selectors transfer directly to raw `curl`
peertube/SKILL.md · 263 lines

How it starts

The opening of the file, as written. The whole thing — 263 lines — stays where its author put it; the contents beside it link to each section on GitHub.

peertube — PeerTube federated video from the terminal

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.

Setup

  1. Choose the instance to talk to. Every command is per-instance; the API shape is identical everywhere, but accounts, tokens, rules, and catalogs are not:
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).

  1. Nothing else is required to browse: videos, search, channels, comments, and instance info are anonymous reads.

  2. (Optional) Log in only for your own account commands (me, my-videos):

scripts/peertube login --username <NAME> --prompt

How authentication works

PeerTube 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.

Read the full file on GitHub · 263 lines

Files

What ships with it

9 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 8d ago First seen · 263 lines · 115 tokens per session scan A 4a35b7e553c9

Subscribe to this mod's changes

peertube is a skill published in the GitHub repository magnus919/agent-skills (76 stars, last pushed today), licensed MIT. It adds 115 tokens to every session and 3,127 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

shogun-screenshot

A screenshot tool for getting images from a computer or web page and then cropping, resizing, or masking sensitive information. Playwright is a browser-automation tool used here to capture web pages.

yohey-w/multi-agent-shogun · 149 tokens

design

Professional design system - illustrations, UI mockups, social graphics, brochures, logos, infographics, and image editing. Routes to optimal pipeline (HTML Studio for layouts, Replicate AI for creative imagery, PPTX for presentations). Use when user asks to design, create visuals, generate graphics, make a mockup…

mishahanin/heading-os · 96 tokens

marp

Markdown-driven presentation pipeline producing PDF and HTML from MARP source with 31C branded theme. Four subcommands: new (prompt-to-deck), render (existing source), from (workspace markdown transform), watch (live preview). Internal decks, runbooks, state checks, knowledge renders. Do NOT use for editable PPTX…

mishahanin/heading-os · 90 tokens

image-prompt

Generate AI text-to-image prompts from written content. Use after creating any content (LinkedIn post, blog article, email, presentation copy, announcement) to produce a photorealistic image prompt for Midjourney, DALL-E, Stable Diffusion, or similar platforms. Trigger when the user asks for an image, visual…

mishahanin/heading-os · 101 tokens

nanobanana

Generates and edits images by calling Google's Nano Banana / Gemini image generation API (requires a GEMINIAPIKEY), a real, billed API call. This skill is explicit-invocation only: use it only when the user names it or the Gemini path directly ("nanobanana", "nano banana", "gemini image generation", "GEMINIAPIKEY"…

mgiovani/cc-arsenal · 163 tokens

codex-imagegen

Generates images and polished raster art (logos, mascots, hero images, icons, characters, sprite sheets, illustrations, product mockups) by driving Codex CLI's $imagegen skill. This is the default image generator, use it for any request to generate or create an image or visual asset, including "generate an image"…

mgiovani/cc-arsenal · 139 tokens