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 terva-sh/terva --skill write-terva-localegit clone --depth 1 https://github.com/terva-sh/tervaWrote 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/terva-sh/terva/write-terva-locale)<a href="https://agentmods.dev/skills/terva-sh/terva/write-terva-locale"><img src="https://agentmods.dev/badge/skills/terva-sh/terva/write-terva-locale/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/terva-sh/terva/write-terva-locale"><img src="https://agentmods.dev/badge/skills/terva-sh/terva/write-terva-locale.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.00068 | $0.02339 |
| Opus 5 | $0.00034 | $0.01170 |
| Sonnet 5 | $0.00014 | $0.00468 |
| Haiku 4.5 | $0.00007 | $0.00234 |
Grade A, and why
write-terva-locale 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 9d 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 — 158 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Translating terva
Use this skill when the user wants to localize terva — start a new UI language, finish or fix an existing one, or make a newly added string translatable. terva ships English and loads translations from a per-key catalog that an operator can edit and contribute back.
How terva's i18n works (read this first)
- English is the key. The message id is the English sentence. A locale
file maps that English to your language:
"start a fresh session": "aloita uusi istunto". There is no separate key to invent or look up. - Embedded default + operator overlay. Shipped translations live in
packages/i18n/locales/<lang>.json(embedded in the binary). Your edits live in$TERVA_HOME/locales/<lang>.jsonand shadow the embedded file per key — override one string without copying the rest. - Graceful fallback. Any key you leave blank (
"") or don't include falls back to English, so a partial translation is always safe to ship and run. - Selecting a language.
TERVA_LANG=<tag> terva, or set"language": "<tag>"inconfig.json. The tag is BCP-47:fi,pt-BR,de.en/en-*is the built-in source — no file read UNLESS the operator opts into an English overlay ($TERVA_HOME/locales/en.jsonorprompts/en.json) to reword or override strings in place. Seedocs/localization.mdin the repo.
Translating a language — the workflow
- Scaffold the file.
terva locale init <lang>writes$TERVA_HOME/locales/<lang>.jsonlisting every source string. Existing translations are pre-filled (so you tweak in place); the rest are blank. - Edit the JSON. For each entry, replace the empty value with your
translation. The key stays exactly as-is — never edit a key.
{ "show this help": "näytä tämä ohje", "saved %d files": "", // still to translate "%d agent|%d agents": { "one": "%d agentti", "other": "%d agenttia" } } - Preserve the machinery. Keep every
%s/%d/%0.1fformat verb — same ones, any order. Keep{{user}}/{{char}}macros, flag names (--persona), command names (terva locale), and file paths ($TERVA_HOME/...,docs/rpc.md) verbatim. Translate the prose around them. - Plurals. A plural entry's key is
"english one|english other"; its value is an object of CLDR categories. Your language's set may be more thanone/other(Polish hasone/few/many/other) —terva locale initscaffolds the right categories for the tag. Fill each;otheris required. - Check it.
terva locale validate(JSON + that your%-args match the source),terva locale diff <lang>(what's missing or now-orphaned),terva locale list(coverage %).
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.
- 9d ago First seen · 158 lines · 68 tokens per session scan A 59f13c16bb09
write-terva-locale is a skill published in the GitHub repository terva-sh/terva (2 stars, last pushed today), licensed MIT. It adds 68 tokens to every session and 2,339 once invoked, about $0.0003 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
pi-sync
Daily upstream-sync job for the pi Go port — fetch upstream pi, triage every change since the recorded pin, port what's in scope, verify idiomatic + parity via independent reviews, update the ledger, and push. Use for "sync with upstream", "porting job", or as the scheduled daily run.
pi-go-review
Review ported Go code for idiomatic quality — that the port maximizes Go rather than transliterating TypeScript. Use after porting upstream pi changes, or standalone on any diff in this repo.
sls-dashboard-builder
A tool for creating and modifying importable JSON dashboards for Alibaba Cloud SLS, a service for searching and monitoring logs. It maps checked queries and analysis needs to dashboard charts.
loongsuite-pilot-insight
A reporting workflow for turning LoongSuite Pilot and AI coding-agent logs into structured reports about events, teams, data quality, development efficiency, and AI use. It defines the meaning of the log fields and the measurements used in dashboards.
code-guidelines-go
Go 1.24–1.27 coding guidelines for the dimetron/pi-go AI agent runtime. Use this skill whenever writing, reviewing, or refactoring ANY Go code in pi-go. This covers idiomatic style, error handling, concurrency, project layout, testing (table-driven, fuzz, benchmarks, synctest), new stdlib usage, golangci-lint v2…
go-127
What changed in Go 1.27 (released August 2026) and how it changes the way Go is written in pi-go. Use this skill when writing or reviewing Go that could use a 1.27 feature, when bumping the go directive in go.mod, when a build or test behaves differently after a toolchain upgrade, or when code-guidelines-go points…