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.
npx skills add t3chnaztea/batocera-skills --skill batocera-maintenancegit clone --depth 1 https://github.com/t3chnaztea/batocera-skillsWrote 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.
[](https://agentmods.dev/skills/t3chnaztea/batocera-skills/batocera-maintenance)<a href="https://agentmods.dev/skills/t3chnaztea/batocera-skills/batocera-maintenance"><img src="https://agentmods.dev/badge/skills/t3chnaztea/batocera-skills/batocera-maintenance/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.
<a href="https://agentmods.dev/skills/t3chnaztea/batocera-skills/batocera-maintenance"><img src="https://agentmods.dev/badge/skills/t3chnaztea/batocera-skills/batocera-maintenance.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00117 | $0.01074 |
| Opus 5 | $0.00059 | $0.00537 |
| Sonnet 5 | $0.00023 | $0.00215 |
| Haiku 4.5 | $0.00012 | $0.00107 |
Grade A, and why
batocera-maintenance 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 11d 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.
How it starts
The opening of the file, as written. The whole thing — 101 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Batocera Maintenance
Keeping the cabinet healthy: running things at boot and on a schedule, backing up
what matters, and surviving version upgrades. Assumes the connection pattern and
filesystem model from batocera-ops.
There is no crond — use a boot service
Batocera does not run a general-purpose crond. Don't write a crontab and
assume it fires; it won't. The mechanism for "run this at boot / on a schedule"
is a boot service.
Since v43, the entry point is /userdata/system/services/custom_service (it
replaced /userdata/system/custom.sh; the upgrade auto-converts an existing
custom.sh). A service is a script Batocera runs at boot with a start
argument. Enable/inspect services:
SSHB "batocera-services list"
SSHB "cat /userdata/system/services/custom_service"
Scheduling without cron: the boot-loop pattern
To run something periodically, the service launches a background loop that sleeps and re-checks. This is how the cabinet does hourly/daily/monthly work with no cron:
# inside custom_service, on the 'start' case:
(
while true; do
# hourly re-assert (e.g. CPU governor; see batocera-tuning)
/etc/init.d/S18governor start 2>/dev/null
# once-a-day / once-a-month gating: compare a stamp file to `date`
stamp=/userdata/system/.last-monthly-backup
if [ "$(cat "$stamp" 2>/dev/null)" != "$(date +%Y-%m)" ]; then
/userdata/system/tools/backup-to-remote.sh && date +%Y-%m > "$stamp"
fi
sleep 3600
done
) &
Key ideas:
- Catch-up, not clock-exact. Gate on "has this period's job run yet?"
(compare a stamp to
date +%Y-%mor%Y-%m-%d), not on "is it exactly 3 AM?". A cabinet that's powered off at 3 AM would never run a clock-exact job; the stamp approach runs it on the first boot of the new period instead. - Idempotent body. The loop may re-enter; the gated job must be safe to skip when already done this period.
- Don't park schedulable scripts in
/userdata/system/scripts/— ES invokes executables there as game event hooks (seebatocera-ops→ emulationstation). Put tools in/userdata/system/tools/or similar and call them from the service.
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.
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.
- 11d ago First seen · 101 lines · 117 tokens per session scan A f8f2389a429c
batocera-maintenance is a skill published in the GitHub repository t3chnaztea/batocera-skills (4 stars, last pushed 19d ago), licensed MIT. It adds 117 tokens to every session and 1,074 once invoked, about $0.0006 per session on Opus 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.
Other skills, from other repositories
chief-strategy-officer
Owns where the business plays and how it wins over a multi-year horizon — portfolio choices, corporate development, strategic partnerships, and planning under uncertainty. Use this for a decision about which markets or businesses to be in, whether to build, buy, or partner, how to allocate capital across business…
seo-strategy
Audits and improves organic search performance — technical health, site architecture, internal linking, structured data, and the content decisions that determine what can rank. Use this to run an SEO audit, diagnose why pages are not ranking or were deindexed, plan a site's URL and navigation structure, add structured…
financial-statement-analysis
Reads a set of financial statements and establishes what changed and why — fluctuation analysis against prior period and against budget, profitability, liquidity, solvency and efficiency ratios, benchmarking, and the non-GAAP measures presented alongside them. Use this to interpret results, review a counterparty's or…
youtube-producer
Plans, packages, and scripts long-form video for retention and channel growth — idea selection, titles and thumbnails, script structure, and diagnosing why a video or channel underperforms. Use this for video ideas, packaging, scripting, a retention teardown, or channel strategy — including when someone describes a…
estimating-and-contingency
Produces a cost or effort estimate someone can defend — decomposing the work, choosing between analogous, parametric and bottom-up methods, documenting the basis and its assumptions, expressing confidence as a range, and sizing contingency and management reserve separately. Use this to build an estimate, challenge one…
chief-revenue-officer
Owns the revenue engine end to end: sales, monetization, pricing, customer success, retention, and partnerships. Use this for pricing and packaging decisions, sales strategy and coverage, forecast and pipeline health, churn and expansion, partner and channel strategy, or when marketing-sourced demand is not…