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-multisite-managementgit 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-multisite-management)<a href="https://agentmods.dev/skills/robearlam/sitecoreai-harness-engineering/content-sdk-multisite-management"><img src="https://agentmods.dev/badge/skills/robearlam/sitecoreai-harness-engineering/content-sdk-multisite-management/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-multisite-management"><img src="https://agentmods.dev/badge/skills/robearlam/sitecoreai-harness-engineering/content-sdk-multisite-management.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.00604 |
| Opus 5.5 | $0.00000 | $0.00242 |
| Sonnet 5.5 | $0.00000 | $0.00121 |
| Haiku 4.5 | $0.00000 | $0.00060 |
Grade A, and why
content-sdk-multisite-management 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 Multisite Management (App Router)
Site resolution from request (e.g. hostname or cookie); proxy rewrites to /[site]/[locale]/...path. Locale must run first so next-intl and multisite see the correct locale.
When to Use
- User asks about multiple sites, hostnames, or site resolution.
- Task involves .sitecore/sites.json, multisite config, or proxy/middleware for site.
- User mentions "multisite," "site resolution," "hostname," or "sites.json."
How to perform
- Site list:
.sitecore/sites.json. Proxy logic lives insrc/proxy.ts; ensuresrc/middleware.tsre-exports it if present. Keep chain order: LocaleProxy → AppRouterMultisiteProxy → RedirectsProxy → PersonalizeProxy. Exclude API, _next, static assets in the matcher.
Hard Rules
- Site list is in
.sitecore/sites.json(typically generated by Sitecore CLI or deployment). Avoid hand-editing unless the format is known. - Proxy: Implemented in
src/proxy.ts. Next.js runs middleware frommiddleware.tsat root or insrc/— if the app only hasproxy.ts, addsrc/middleware.tsthat re-exports it. - Chain order is fixed: LocaleProxy → AppRouterMultisiteProxy → RedirectsProxy → PersonalizeProxy. Do not change this order. LocaleProxy runs first so i18n and multisite see the correct locale. AppRouterMultisiteProxy rewrites to /[site]/[locale]/[...path].
- Matcher: Exclude API routes, _next/, sitemap, robots, healthz, Sitecore paths, and static assets so the proxy stays lightweight.
- Config: sitecore.config.ts → multisite, redirects, personalize. Single SitecoreClient; pass resolved site and locale from route params into getPage, getDictionary, etc.
Stop Conditions
- Stop if the user wants to reorder the proxy chain; explain that LocaleProxy must run first for App Router.
- Stop if sites.json format is unknown and the change could break resolution; suggest checking SDK docs or CLI output.
- Do not add a second site resolution mechanism; use the existing proxy and config.
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 e16d69514f9e
content-sdk-multisite-management 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 604 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-multisite-management compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| content-sdk-multisite-managementrobearlam/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 |