leia: Skill for Claude Code

.agents/skills/yoto/SKILL.md

yoto is a skill for Claude Code, Codex from nsokin/leia. It costs 75 tokens per session (1,698 once invoked), scanned A, original, Apache-2.0.

A tool for turning an online playlist or video collection into a Yoto MYO card, a physical card that plays selected audio for a Yoto player.

In plain words
What is it for?
Use it to inspect playlist contents, estimate card capacity, clean up chapter names, split content across cards when needed, and upload the finished card.
Why use it?
It helps choose worthwhile items, remove duplicate uploads, fit audio within the card's track and storage limits, and avoid downloading material before checking the list.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code; installed under .agents/ (shared by several agents); mentions Codex.

This is nsokin/leia's own configuration. It tells Claude Code and Codex how to work on leia 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 leia configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node src/cli.ts "<url>" --list --spoken.

View source ↗ nsokin/leia
Reuse

Borrowing it

Nothing to install: this file belongs to nsokin/leia. 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/nsokin/leia/main/.agents/skills/yoto/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/nsokin/leia

Made for: Claude Code, Codex.

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 yoto

README.md
[![agentmods](https://agentmods.dev/badge/skills/nsokin/leia/yoto/github.svg)](https://agentmods.dev/skills/nsokin/leia/yoto)
Your own site
<a href="https://agentmods.dev/skills/nsokin/leia/yoto"><img src="https://agentmods.dev/badge/skills/nsokin/leia/yoto/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 yoto

Your own site · 80×15
<a href="https://agentmods.dev/skills/nsokin/leia/yoto"><img src="https://agentmods.dev/badge/skills/nsokin/leia/yoto.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,698 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00075 $0.01698
Opus 5.5 $0.00030 $0.00679
Sonnet 5.5 $0.00015 $0.00340
Haiku 4.5 $0.00007 $0.00170

Measured 2mo ago against content hash 4484d5c386aa, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

yoto scanned grade A with 0 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 2mo ago.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/yoto/SKILL.md · 138 lines

How it starts

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

Yoto card builder

Turn a playlist into a Yoto MYO card. The CLI does the mechanical work; your job is the judgment it cannot do: which items are worth putting on a card, how to name the chapters, and how to fit them inside the card's limits.

Run everything from the Leia repo directory.

Never download before you have looked

Always start with --list. It enumerates without fetching a byte, and answers the three questions that decide everything else:

node src/cli.ts "<url>" --list --spoken

It reports every item with its duration, marks any that repeat an earlier title, and estimates how many cards the runtime needs. A playlist that looks like "100 episodes" is routinely 85 once repeat uploads are removed.

If the user has not set up yet, or something behaves oddly, node src/cli.ts --doctor reports node, yt-dlp, ffmpeg, client ID and sign-in state in one go.

Then decide four things

1. Does it fit? A card holds 100 tracks and 500 MB. At --spoken that is roughly 16 to 18 hours. If the listing needs more than one card, say so plainly with the numbers and ask what the user wants on the first one. Do not silently truncate, and do not start a multi-hour job without agreement.

2. Are there duplicates? If --list marks repeats, add --dedupe. Mention how many it drops and how much runtime that saves.

3. Which items, and in what order? For a child's card, prefer individual episodes over hour-long compilations: each item becomes its own chapter, so short episodes give buttons that skip somewhere useful. A card of six 10-minute episodes is far more usable than one 60-minute block. Pass the choice as --select "1,2,3,9-12" using the positions from the listing.

--select keeps the order you write, so when a playlist is uploaded out of sequence, work out the right running order and write the positions in it. A season listed as episode 24, 40, 1, 13 becomes a card in episode order only if you ask for it. Add --number so the position shows in the app's chapter list, not just on the player's screen.

Read the full file on GitHub · 138 lines

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. 2mo ago First seen · 138 lines · 75 tokens per session scan A 4484d5c386aa

Subscribe to this mod's changes

yoto is a skill published in the GitHub repository nsokin/leia (5 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 75 tokens to every session and 1,698 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

yoto compared with skills from other repositories

yoto next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
yotonsokin/leiaSkill53mo agoApache-2.0A75Claude Code, Codex
claude-real-videoHUANGCHIHHUNGLeo/claude-real-videoSkill2.3k17d agoMITA61Claude Code
author-skillericrisco/rsc-harnessSkill573todayMITA79Claude Code, Codex
frontend-designOrkas-AI/Orkas-VideoStudioSkill3465d agoMITA57Claude Code, Codex
stage-planOrkas-AI/Orkas-VideoStudioSkill3465d agoMITA0Claude Code, Codex
gate-controlOrkas-AI/Orkas-VideoStudioSkill3465d agoMITA81Claude Code, Codex
stage-editOrkas-AI/Orkas-VideoStudioSkill3465d agoMITA62Claude Code, Codex