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 Lonsdale201/wp-agent-skills --skill classic-theme-i18n-textdomaingit clone --depth 1 https://github.com/Lonsdale201/wp-agent-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/lonsdale201/wp-agent-skills/classic-theme-i18n-textdomain)<a href="https://agentmods.dev/skills/lonsdale201/wp-agent-skills/classic-theme-i18n-textdomain"><img src="https://agentmods.dev/badge/skills/lonsdale201/wp-agent-skills/classic-theme-i18n-textdomain/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/lonsdale201/wp-agent-skills/classic-theme-i18n-textdomain"><img src="https://agentmods.dev/badge/skills/lonsdale201/wp-agent-skills/classic-theme-i18n-textdomain.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.00123 | $0.01735 |
| Opus 5 | $0.00062 | $0.00868 |
| Sonnet 5 | $0.00025 | $0.00347 |
| Haiku 4.5 | $0.00012 | $0.00173 |
Grade A, and why
classic-theme-i18n-textdomain 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 — 235 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Classic Theme Internationalization and Text Domain
Use this when adding or reviewing translation readiness in a classic PHP theme: text domain headers, PHP strings, plural strings, context, translator comments, local .mo files, and JavaScript translations.
When to Use This Skill
- Creating or reviewing a theme
style.cssheader. - Adding visible text to templates,
functions.php, Customizer controls, menus, widgets, or comments. - Loading bundled theme translations.
- Fixing WP 6.7+ "translations loaded too early" notices.
- Auditing text domains before release.
Text Domain Header
Set the text domain in style.css.
/*
Theme Name: My Theme
Text Domain: my-theme
Domain Path: /languages
*/
Rules:
- The text domain should match the theme slug.
- Use lowercase kebab-case, not underscores.
- Use the same literal domain in every translation call.
Domain Pathis relative to the theme root and starts with/.- Use
/languagesunless the project has a clear reason for another directory.
Loading Translations
For themes distributed through WordPress.org language packs, WordPress can load translations from wp-content/languages/themes/.
If the theme bundles its own translations, register the path on after_setup_theme.
add_action( 'after_setup_theme', 'mytheme_load_textdomain' );
function mytheme_load_textdomain() {
load_theme_textdomain(
'my-theme',
get_template_directory() . '/languages'
);
}
For a child theme:
add_action( 'after_setup_theme', 'mytheme_child_load_textdomain' );
function mytheme_child_load_textdomain() {
load_child_theme_textdomain(
'my-theme',
get_stylesheet_directory() . '/languages'
);
}
Rules:
- Load theme translations no earlier than
after_setup_theme. - Do not translate strings at file load time before
after_setup_theme. - WP 6.7+ warns when just-in-time translation loading is triggered too early.
- Theme-bundled
.mofiles are named by locale, for examplede_DE.mo. - Language-pack
.mofiles underwp-content/languages/themes/are namedmy-theme-de_DE.mo.
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 · 235 lines · 123 tokens per session scan A 94f6ed022a1d
classic-theme-i18n-textdomain is a skill published in the GitHub repository Lonsdale201/wp-agent-skills (22 stars, last pushed 2d ago), licensed MIT. It adds 123 tokens to every session and 1,735 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-09-03.
Other skills, from other repositories
humanizar-texto-es
Elimina patrones de escritura típicos de IA en textos en español de España para que suenen naturales y humanos. Aplica esta skill siempre que generes, edites o revises textos en español: artículos, guías, tutoriales, emails, copy comercial, publicaciones en redes sociales, documentación, informes o cualquier prosa.…
chinese-documentation
A Chinese technical-documentation style guide covering spacing, punctuation, numbers, terminology, and links when Chinese and English appear together.
json-ui
CRITICAL: Use for json-ui component rendering and development. Triggers on: json-ui, json render, component catalog, report render, HTML report, I18nString, i18n, bilingual, language switch, dual language, PaperHeader, AuthorList, Abstract, MetricsGrid, Section, Highlight, Zod schema, catalog.ts, cli.ts…
comet-bilingual-docs
A workflow for keeping Comet documentation in Chinese and English aligned across READMEs, skills, release notes, and website pages. It preserves confirmed wording, repository structure, examples, commands, links, and configuration names.
dubbing
Dub audio and video into other languages using the ElevenLabs Dubbing API (dubbingv2), preserving the original speakers' voices. Use when translating videos, podcasts, or recordings into other languages, localizing media content, reviewing or correcting dubbing transcripts and translations, or regenerating a dub after…
iflytek-text-proofread
A tool that checks Chinese writing through iFlytek’s official document-proofreading service. It looks for spelling, punctuation, wording, factual, terminology, and sensitive-content problems.