content-sdk-dictionary-and-i18n

content-sdk-dictionary-and-i18n is a skill for Claude Code, Codex from robearlam/sitecoreai-harness-engineering. It costs 0 tokens per session (658 once invoked), scanned A, original, Apache-2.0.

A guide for translated text and language-aware URLs in a Next.js app. It explains how the app identifies the site and language for each request and loads the matching dictionary of messages.

In plain words
What is it for?
Use it when adding translations, changing supported languages, loading dictionary text, or changing locale handling.
Why use it?
It keeps translated content, URL languages, and Sitecore language settings in agreement instead of showing the wrong language or missing messages.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

Good fit Use it when adding translations, changing supported languages, loading dictionary text, or changing locale handling.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/robearlam/sitecoreai-harness-engineering/content-sdk-dictionary-and-i18n
Install

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.

Any agent
npx skills add robearlam/sitecoreai-harness-engineering --skill content-sdk-dictionary-and-i18n
Clone the repo
git clone --depth 1 https://github.com/robearlam/sitecoreai-harness-engineering

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for content-sdk-dictionary-and-i18n

README.md
[![agentmods](https://agentmods.dev/badge/skills/robearlam/sitecoreai-harness-engineering/content-sdk-dictionary-and-i18n/github.svg)](https://agentmods.dev/skills/robearlam/sitecoreai-harness-engineering/content-sdk-dictionary-and-i18n)
Your own site
<a href="https://agentmods.dev/skills/robearlam/sitecoreai-harness-engineering/content-sdk-dictionary-and-i18n"><img src="https://agentmods.dev/badge/skills/robearlam/sitecoreai-harness-engineering/content-sdk-dictionary-and-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.

agentmods 80×15 button for content-sdk-dictionary-and-i18n

Your own site · 80×15
<a href="https://agentmods.dev/skills/robearlam/sitecoreai-harness-engineering/content-sdk-dictionary-and-i18n"><img src="https://agentmods.dev/badge/skills/robearlam/sitecoreai-harness-engineering/content-sdk-dictionary-and-i18n.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 658 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00658
Opus 5.5 $0.00000 $0.00263
Sonnet 5.5 $0.00000 $0.00132
Haiku 4.5 $0.00000 $0.00066

Measured 14d ago against content hash e33e446cce46, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

content-sdk-dictionary-and-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 14d 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.

src/headapps/rob-harness-engineering/.agents/skills/content-sdk-dictionary-and-i18n/SKILL.md · 38 lines

How it starts

The opening of the file, as written. The whole thing — 38 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Content SDK Dictionary and i18n (App Router)

This app uses next-intl. Locale is in the URL as [locale]. Request locale is encoded as ${site}_${locale} for next-intl.

When to Use

  • User asks to add or change translated content, locale, or dictionary.
  • Task involves getDictionary, next-intl, or locale in URL/request.
  • User mentions "dictionary," "i18n," "locale," "translation," or "next-intl."

How to perform

  • Locales and routing: src/i18n/routing.ts. Request config: src/i18n/request.ts — parse requestLocale (e.g. ${site}_${locale}), call client.getDictionary({ locale, site }), return { locale, messages }. In the page, call setRequestLocale(\${site}_${locale}`)` at the top. Use a single getDictionary per request.

Hard Rules

  • Config: src/i18n/routing.ts — defineRouting({ locales, defaultLocale, localePrefix }). Align locales with Sitecore languages (e.g. from sitecore.config.ts defaultLanguage).
  • Request config: src/i18n/request.ts — getRequestConfig receives requestLocale. This app uses ${site}_${locale} (set by setRequestLocale(\${site}${locale}`)in the page). Parse requestLocale (e.g.split('')) to get site and locale; load dictionary with client.getDictionary({ locale, site })and return{ locale, messages }`.
  • In the page: Call setRequestLocale(\${site}_${locale}`)` at the top of the page so next-intl and request config see the correct locale. Do not omit when adding new page branches.
  • Do not change the ${site}_${locale} convention without updating request.ts and all pages that call setRequestLocale.
  • Use a single client.getDictionary per request for the active site/locale. Never assume locale from headers or global state; use route params (site, locale).

Stop Conditions

  • Stop if the user wants to change to a different encoding for requestLocale; this affects request.ts and all setRequestLocale call sites.
  • Stop if adding a new locale without confirming it exists in Sitecore and in routing.ts.
  • Do not duplicate dictionary fetching (e.g. in layout and page) without a clear need.

Read the full file on GitHub · 38 lines

Changes

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.

  1. 14d ago First seen · 38 lines · 0 tokens per session scan A e33e446cce46

Subscribe to this mod's changes

content-sdk-dictionary-and-i18n is a skill published in the GitHub repository robearlam/sitecoreai-harness-engineering (11 stars, last pushed 6d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 658 tokens. 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-11-16.

Related

content-sdk-dictionary-and-i18n compared with skills from other repositories

content-sdk-dictionary-and-i18n next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
content-sdk-dictionary-and-i18nrobearlam/sitecoreai-harness-engineeringSkill116d agoApache-2.0A0Claude Code, Codex
intl-expansionalirezarezvani/claude-skillsSkill31k3d agoMITA27Claude Code
azure-ai-translation-text-pymicrosoft/skillsSkill3.3k3d agoMITA60Claude Code
chinese-documentationjnMetaCode/superpowers-zhSkill8.6k14d agoMITA62Claude Code
hardenfengshao1227/ccg-workflowSkill6.0k11d agoMITA62Claude Code
edit-sitemicrosoft/power-platform-skillsSkill1.2ktodayMITA104Claude Code
asc-subscription-localizationrorkai/app-store-connect-cli-skillsSkill1.2k7d agoMITA60Claude Code