batocera-tuning

batocera-tuning is a skill for Claude Code from t3chnaztea/batocera-skills. It costs 191 tokens per session (2,402 once invoked), scanned A, original, MIT.

A troubleshooting guide for slow or stuttering Batocera game cabinets. Batocera is an operating system and game launcher commonly used for retro-game machines.

In plain words
What is it for?
It helps diagnose slow EmulationStation menus, CPU governors stuck in power-saving mode, ineffective overclock settings, input-latency options, run-ahead settings, and performance that worsens over time.
Why use it?
It helps identify whether sluggish menus, frame drops, or input delay come from CPU throttling, event scripts, configuration, or another system condition before changing settings blindly.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the batocera plugin — 6 skills shipped together

Good fit It helps diagnose slow EmulationStation menus, CPU governors stuck in power-saving mode, ineffective overclock settings, input-latency options, run-ahead settings, and performance that worsens over time.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/t3chnaztea/batocera-skills/batocera-tuning
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 t3chnaztea/batocera-skills --skill batocera-tuning
Clone the repo
git clone --depth 1 https://github.com/t3chnaztea/batocera-skills

Made for: Claude Code.

Or install batocera, the plugin that ships this one along with the rest of its 6 skills.

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 batocera-tuning

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/t3chnaztea/batocera-skills/batocera-tuning"><img src="https://agentmods.dev/badge/skills/t3chnaztea/batocera-skills/batocera-tuning.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 191 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,402 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.00191 $0.02402
Opus 5.5 $0.00076 $0.00961
Sonnet 5.5 $0.00038 $0.00480
Haiku 4.5 $0.00019 $0.00240

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

Security

Grade A, and why

batocera-tuning 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.

skills/batocera-tuning/SKILL.md · 175 lines

How it starts

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

Batocera Tuning

Performance: why the frontend or a game runs slow, and how to fix it. Assumes the connection pattern and batocera.conf model from batocera-ops. The theme throughout: diagnose the machine state before blaming config, themes, or gamelists. Most "it got slow" reports are a throttle or a leak, not the thing the user suspects.

Diagnostic order for "the frontend is slow"

Work down this list; each step is one command and rules out a whole class:

  1. CPU governor. A frontend that is laggy from cold boot and stays laggy through a reboot is almost always the CPU stuck in powersave:
    SSHB "cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor"
    
    If it says powersave despite system.cpu.governor=performance, see the governor fix below. This is step 1 because it's the most common cause and the cheapest check.
  2. ES event hooks. Lag that gets progressively worse as you navigate, and is cured only by an ES restart, points at a slow/leaky ES event hook. ES runs every executable in its scripts dirs on menu events — a system-selected hook fires on every carousel tile change and can add permanent per-frame cost. Audit /userdata/system/scripts/ and /userdata/system/configs/emulationstation/scripts/. Because hooks are global (not theme-scoped), this masquerades as a "theme-independent ES bug" — the tell is that it accumulates per tile visited. See below.
  3. Texture cache. Lag that's fine at first and worsens with a large media set, with revisits staying fast, can be ES texture-cache eviction thrash. Raising MaxVRAM in es_settings.cfg (e.g. to 1024) can help, but measure — on some builds the GPU floor and MaxVRAM make no difference and the real cause is #1 or #2.
  4. GPU clock floor. Only chase this after 1–3. On a vsync-paced frontend the GPU often won't upclock on its own, but pinning a higher floor frequently makes no measurable difference — A/B it before persisting anything.

Read the full file on GitHub · 175 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 · 175 lines · 191 tokens per session scan A 65faa66047b8

Subscribe to this mod's changes

batocera-tuning is a skill published in the GitHub repository t3chnaztea/batocera-skills (4 stars, last pushed 20d ago), licensed MIT. It adds 191 tokens to every session and 2,402 once invoked, about $0.0008 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

batocera-tuning compared with skills from other repositories

batocera-tuning next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
batocera-tuningt3chnaztea/batocera-skillsSkill420d agoMITA191Claude Code
threejs-loadersdatit309/supergraphSkill237d agoMITA40Claude Code
threejs-texturesdatit309/supergraphSkill237d agoMITA41Claude Code
threejs-postprocessingdatit309/supergraphSkill237d agoMITA41Claude Code
threejs-shadersdatit309/supergraphSkill237d agoMITA40Claude Code
threejs-interactiondatit309/supergraphSkill237d agoMITA44Claude Code
threejs-geometrydatit309/supergraphSkill237d agoMITA46Claude Code