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 translatepress-language-ui-navigationgit 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/translatepress-language-ui-navigation)<a href="https://agentmods.dev/skills/lonsdale201/wp-agent-skills/translatepress-language-ui-navigation"><img src="https://agentmods.dev/badge/skills/lonsdale201/wp-agent-skills/translatepress-language-ui-navigation/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/translatepress-language-ui-navigation"><img src="https://agentmods.dev/badge/skills/lonsdale201/wp-agent-skills/translatepress-language-ui-navigation.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.00108 | $0.02335 |
| Opus 5 | $0.00054 | $0.01167 |
| Sonnet 5 | $0.00022 | $0.00467 |
| Haiku 4.5 | $0.00011 | $0.00233 |
Grade A, and why
translatepress-language-ui-navigation 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 yesterday.
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 — 197 lines — stays where its author put it; the contents beside it link to each section on GitHub.
TranslatePress Language UI And Navigation
Use TranslatePress APIs and add-ons for language switchers, menu visibility, translator access, and language-detection UI. Theme/plugin code should not infer languages from URL segments when TranslatePress already exposes current-language URLs and Business add-ons can use different domains.
When to use this skill
Trigger when ANY of the following is true:
- A theme/plugin needs a language switcher, language dropdown, flag list, current-language indicator, or language-specific menu behavior.
- Code uses
[language-switcher],trp_custom_language_switcher(),[language-include],[language-exclude], legacy[trp_language],_trp_menu_languages,wp_get_nav_menu_items,trp_view_as_values,translate_strings,trp_language,trp_lang_switch, or Automatic User Language Detection. - The task mentions Navigation Based on Language, Translator Accounts, Browse as User Role, role-specific content, logged-in/logged-out translation previews, admin bar Translate Site link, popup/hello bar conflicts, or per-language menu items.
Prefer built-in switchers first
Use built-in TranslatePress switchers when design requirements are ordinary:
- default floating switcher from settings;
- menu language switcher item;
[language-switcher]shortcode.
Only build a custom switcher when the theme needs custom markup or a component-system integration.
Custom language switcher
Use trp_custom_language_switcher() when available:
if ( function_exists( 'trp_custom_language_switcher' ) ) {
$languages = trp_custom_language_switcher();
echo '<nav class="my-language-switcher" data-no-translation aria-label="' . esc_attr__( 'Language', 'mytheme' ) . '">';
foreach ( $languages as $language ) {
printf(
'<a href="%s" hreflang="%s"><img src="%s" alt="" /> <span>%s</span></a>',
esc_url( $language['current_page_url'] ),
esc_attr( str_replace( '_', '-', $language['language_code'] ) ),
esc_url( $language['flag_link'] ),
esc_html( $language['language_name'] )
);
}
echo '</nav>';
}
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.
- yesterday Changed · -1 lines 19d53e42c605
- 8d ago First seen · 198 lines · 108 tokens per session scan A dfbbc22e10f7
translatepress-language-ui-navigation is a skill published in the GitHub repository Lonsdale201/wp-agent-skills (22 stars, last pushed 2d ago), licensed MIT. It adds 108 tokens to every session and 2,335 once invoked, about $0.0005 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
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…
global-a11y-i18n-expert
Expert guide for Web Accessibility (WCAG a11y) and Internationalization (i18n) / Panduan ahli untuk Aksesibilitas Web dan Internasionalisasi.
static-seo
Audits and improves SEO for static HTML sites. Use when the user asks to audit, set up, or improve SEO on a static site (Hugo, Jekyll, 11ty, Gatsby, Next.js static export, hand-rolled HTML, or wp-static-clone output), or mentions head metadata, structured data, JSON-LD, sitemaps, IndexNow, Open Graph images, schema…
wp-static-clone
Clones a live WordPress (or other CMS-driven) site into a static HTML site deployable on any static host (Cloudflare Pages, Netlify, Vercel, S3+CloudFront, plain Apache/nginx). Use when the user wants to "scrape", "freeze", "archive", "static-ify", or "move to [host]" a WordPress site, or asks to turn a sitemap into…
locale-guard
A workflow for adding and checking multiple-language support in frontend applications, including translation files, language switching, and localized metadata.
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.…