nixos-config: Skill for Claude Code

.claude/skills/peertube-hls-upload/SKILL.md

peertube-hls-upload is a skill for Claude Code from hakula139/nixos-config. It costs 239 tokens per session (2,865 once invoked), scanned D, original, no licence file.

A procedure for converting a video into HLS fragmented MP4 files and uploading them to a self-hosted PeerTube video-storage bucket. HLS is a format that delivers video in separate quality and time segments.

In plain words
What is it for?
Use it to repair a missing or broken PeerTube video quality or to upload a manually converted video to the specified storage bucket.
Why use it?
It provides a manual route when PeerTube's normal background video conversion process fails or takes too long.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is hakula139/nixos-config's own configuration. It tells Claude Code how to work on nixos-config itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything nixos-config configures →

Reuse

Borrowing it

Nothing to install: this file belongs to hakula139/nixos-config. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/hakula139/nixos-config/main/.claude/skills/peertube-hls-upload/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/hakula139/nixos-config

Made for: Claude Code.

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-hls-upload

README.md
[![agentmods](https://agentmods.dev/badge/skills/hakula139/nixos-config/peertube-hls-upload/github.svg)](https://agentmods.dev/skills/hakula139/nixos-config/peertube-hls-upload)
Your own site
<a href="https://agentmods.dev/skills/hakula139/nixos-config/peertube-hls-upload"><img src="https://agentmods.dev/badge/skills/hakula139/nixos-config/peertube-hls-upload/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-hls-upload

Your own site · 80×15
<a href="https://agentmods.dev/skills/hakula139/nixos-config/peertube-hls-upload"><img src="https://agentmods.dev/badge/skills/hakula139/nixos-config/peertube-hls-upload.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 239 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,865 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 3 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown 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.00239 $0.02865
Opus 5 $0.00120 $0.01432
Sonnet 5 $0.00048 $0.00573
Haiku 4.5 $0.00024 $0.00286

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

Security

Grade D, and why

peertube-hls-upload scanned grade D with 3 findings 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 12d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (regen-sha256.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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- **PeerTube DB**: `peertube` (accessed via `sudo -u peertube psql -d peertube`)

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf /tmp/peertube-hls/

Makes network callslowCapability

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

curl -s 'https://b2.hakula.xyz/hakula-videos/streaming-playlists/hls/<VIDEO_UUID>/<MASTER_FILENAME>' \
.claude/skills/peertube-hls-upload/SKILL.md · 227 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

Files

What ships with it

2 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. 12d ago First seen · 227 lines · 239 tokens per session scan D 7d9f31c8cbbf

Subscribe to this mod's changes

peertube-hls-upload is a skill published in the GitHub repository hakula139/nixos-config (5 stars, last pushed today), with no licence file. It adds 239 tokens to every session and 2,865 once invoked, about $0.0012 per session on Opus 5. A static security scan graded it D with 3 findings (asks for root, recursive force delete, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

why

Use for 'why does X work this way', 'why we picked Y', design rationale, regressions, postmortems, or data-backed thresholds. Discovers available MCPs and queries each evidence category (source control, issue tracker, long-form docs, real-time chat, infrastructure observability, error tracking, product analytics…

alyraffauf/hoenn · 89 tokens

technical-writing

Layered technical-writing standard: Diátaxis structure, Google developer style sentences, STE instruction rules, Global English syntax. Use for /technical-writing or when writing or reviewing docs, RFCs, readmes, PR descriptions, or commit messages.

alyraffauf/hoenn · 52 tokens

teach

Explain a body of work plainly so a person actually understands it. Runs the how and why skills and weaves what they find into one clear explanation. Use for 'teach me this', 'help me really understand X', 'explain this change or subsystem to me'.

alyraffauf/hoenn · 60 tokens

unslop

Cut AI tells from any writing. Must always apply.

alyraffauf/hoenn · 14 tokens

how

Use for "how does X work", code walkthroughs before changing something, and placement / ownership / layering questions ("where should this live", "which package owns this", "is this the right layer"). Explains subsystem architecture, runtime flow, onboarding mental models. Can critique architecture. Use why for…

alyraffauf/hoenn · 64 tokens

quality-code

Standards for writing or modifying handwritten source code. Use when implementing code changes or reviewing handwritten code. Do not use for browsing, explanation, diagnosis without implementation, generated code, or vendored code.

alyraffauf/hoenn · 43 tokens