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 robearlam/sitecoreai-harness-engineering --skill content-sdk-dictionary-and-i18ngit clone --depth 1 https://github.com/robearlam/sitecoreai-harness-engineeringWrote 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/robearlam/sitecoreai-harness-engineering/content-sdk-dictionary-and-i18n)<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.
<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>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.00000 | $0.00658 |
| Opus 5.5 | $0.00000 | $0.00263 |
| Sonnet 5.5 | $0.00000 | $0.00132 |
| Haiku 4.5 | $0.00000 | $0.00066 |
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.
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— parserequestLocale(e.g.${site}_${locale}), callclient.getDictionary({ locale, site }), return{ locale, messages }. In the page, callsetRequestLocale(\${site}_${locale}`)` at the top. Use a single getDictionary per request.
Hard Rules
- Config:
src/i18n/routing.ts—defineRouting({ locales, defaultLocale, localePrefix }). Alignlocaleswith Sitecore languages (e.g. from sitecore.config.ts defaultLanguage). - Request config:
src/i18n/request.ts—getRequestConfigreceivesrequestLocale. This app uses${site}_${locale}(set bysetRequestLocale(\${site}${locale}`)in the page). Parse requestLocale (e.g.split('')) to get site and locale; load dictionary withclient.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.
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.
- 14d ago First seen · 38 lines · 0 tokens per session scan A e33e446cce46
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.
content-sdk-dictionary-and-i18n compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| content-sdk-dictionary-and-i18nrobearlam/sitecoreai-harness-engineering | Skill | 11 | 6d ago | Apache-2.0 | A | 0 | Claude Code, Codex |
| intl-expansionalirezarezvani/claude-skills | Skill | 31k | 3d ago | MIT | A | 27 | Claude Code |
| azure-ai-translation-text-pymicrosoft/skills | Skill | 3.3k | 3d ago | MIT | A | 60 | Claude Code |
| chinese-documentationjnMetaCode/superpowers-zh | Skill | 8.6k | 14d ago | MIT | A | 62 | Claude Code |
| hardenfengshao1227/ccg-workflow | Skill | 6.0k | 11d ago | MIT | A | 62 | Claude Code |
| edit-sitemicrosoft/power-platform-skills | Skill | 1.2k | today | MIT | A | 104 | Claude Code |
| asc-subscription-localizationrorkai/app-store-connect-cli-skills | Skill | 1.2k | 7d ago | MIT | A | 60 | Claude Code |