Borrowing it
Nothing to install: this file belongs to mengrru/Spherse. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/mengrru/Spherse/main/.agents/skills/i18n/SKILL.mdgit clone --depth 1 https://github.com/mengrru/SpherseWrote 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/mengrru/spherse/i18n)<a href="https://agentmods.dev/skills/mengrru/spherse/i18n"><img src="https://agentmods.dev/badge/skills/mengrru/spherse/i18n/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/mengrru/spherse/i18n"><img src="https://agentmods.dev/badge/skills/mengrru/spherse/i18n.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00027 | $0.00828 |
| Opus 5 | $0.00014 | $0.00414 |
| Sonnet 5 | $0.00005 | $0.00166 |
| Haiku 4.5 | $0.00003 | $0.00083 |
Grade A, and why
i18n 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 10d 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 — 91 lines — stays where its author put it; the contents beside it link to each section on GitHub.
i18n String Migration Skill
Purpose
This skill guides the coding agent through identifying user-visible strings in Spherse source code, adding them to the shared @spherse/i18n locale catalogs, and replacing hardcoded text with t() calls.
Scope
What to translate
- React component text shown to users (buttons, labels, placeholders, error messages, empty states, dialog titles)
- Electron IPC error/confirmation messages shown to users
- Web shell UI (version guard, connect page)
What NOT to translate
- Anything in
packages/serverorpackages/core— they do NOT depend on@spherse/i18n. Server/core surface errors as structured codes (e.g. chatErrorEventCode); the renderer owns the i18n rendering decision - Route paths, query parameters, storage keys
- CSS class names, ARIA ids, test ids
- API endpoint paths
- Provider/model names and env key identifiers
- Console debug/log messages (unless also shown to users)
- Test data and test assertions
- File paths and technical identifiers
- Markdown content within project files (user content)
Key Naming Convention
Use dot-path namespacing: {domain}.{section}.{specific}
Examples:
app.loadingsettings.titlesettings.models.defaultModelcontent.save.errorchat.error.modelNotConfiguredproject.open.failed
Step-by-step Process
-
Scan the specified files or directories for user-visible string literals.
-
Classify each string: is it user-visible UI text or a technical string that should not be translated?
-
Generate keys for user-visible strings using the naming convention above. Keep keys stable and descriptive.
-
Add entries to all three locale files in
packages/i18n/src/locales/:zh-CN.ts— the canonical catalog (add asas const)zh-TW.ts— Traditional Chinese translationen.ts— English translation
-
Replace the hardcoded string in source code:
- In React components:
const { t } = useI18n();thent("key") - In Electron main / web shell:
translate(locale, "key", params)(using locale from settings or provider)
- In React components:
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.
- 10d ago First seen · 91 lines · 27 tokens per session scan A ffc8bba344da
i18n is a skill published in the GitHub repository mengrru/Spherse (71 stars, last pushed 4d ago), licensed MIT. It adds 27 tokens to every session and 828 once invoked, about $0.0001 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-30.
Other skills, from other repositories
llmlint
A Chinese-prose rule library with two entry points. Before writing, emit the rules as writing constraints to load into a system prompt or style guide. After writing, lint the draft with static rule hits, neural AIGC heatmaps, contextual review, approved repair, and local learning notes. Use when drafting or rewriting…
profile-system-guide
Guide users and agents through Neuro Book harness, TSX profiles, ProfileTurnPlan, skills, user-assets overlays, settings forms, profile home resources, profile compile checks, templates, system restore, and safe profile editing.
novel-technique-character-card-workshop
A workshop for turning rough character ideas into detailed, usable character profiles. It supports structured question cycles, personality layers, visual themes, and checks against reducing a character to a few labels.
novel-writer-execution
An internal execution guide for a writer profile after it receives a brief. It describes the detailed workflow, decision points, and common mistakes.
RP模式
A set of instructions for running a role-playing session under the NeuroBook RP protocol. RP means role-play, where characters and events are simulated according to defined rules.
skill-creator-zh
A skill for creating and maintaining skills in the Neuro Book repository. Skills are reusable instruction packages that guide an agent through a particular kind of work.