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-troubleshoot-editinggit 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-troubleshoot-editing)<a href="https://agentmods.dev/skills/robearlam/sitecoreai-harness-engineering/content-sdk-troubleshoot-editing"><img src="https://agentmods.dev/badge/skills/robearlam/sitecoreai-harness-engineering/content-sdk-troubleshoot-editing/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-troubleshoot-editing"><img src="https://agentmods.dev/badge/skills/robearlam/sitecoreai-harness-engineering/content-sdk-troubleshoot-editing.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.00058 | $0.00676 |
| Opus 5.5 | $0.00023 | $0.00270 |
| Sonnet 5.5 | $0.00012 | $0.00135 |
| Haiku 4.5 | $0.00006 | $0.00068 |
Grade A, and why
content-sdk-troubleshoot-editing 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 — 40 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Content SDK Troubleshoot Editing (App Router)
This skill focuses on diagnosing editing, preview, and design library issues. For implementing editing-safe rendering (draftMode, getPreview/getDesignLibraryData, API routes), use the content-sdk-editing-safe-rendering skill; the two are complementary (implementation vs. troubleshooting).
Diagnose and fix editing, preview, and design library issues without breaking the single client or proxy order. This app uses draftMode() and searchParams for preview data.
When to Use
- User reports that editing, preview, or design library is broken or inconsistent.
- Task involves debugging "not working in editor," missing chromes, or wrong data in preview.
- User mentions "editing broken," "preview not working," "design library," or "editor issues."
How to perform
- Confirm
draftMode()and searchParams-based getPreview/getDesignLibraryData; ensuresetRequestLocaleis called at the top of the page. Verify editing API routes are not rewritten (check proxy matcher) and both component maps include the component. Check env (editingSecret, API config) and .env.example documentation.
Hard Rules
- Preview flow: Use
draftMode()in Server Components; when enabled, useclient.getPreview(editingParams)orclient.getDesignLibraryData(editingParams)from searchParams. Ensure site/locale are passed correctly (e.g. from route params or editingParams). - next-intl: Ensure
setRequestLocale(\${site}_${locale}`)` is called at the top of the page; missing setRequestLocale can cause locale or dictionary issues in editor. - Editing API routes (
src/app/api/editing/config/route.ts,editing/render/route.ts) must be reachable and use the same component maps (component-map.ts and component-map.client.ts) and config as the app. Check matcher in proxy.ts so /api/editing is not rewritten or blocked. - Check that both component maps include all components used in the layout; missing registration causes "component not found" in editor.
- Environment: editingSecret and API config must be set (in env); document in .env.example only. Do not log or commit secrets.
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 · 40 lines · 58 tokens per session scan A bd6be0a2b755
content-sdk-troubleshoot-editing is a skill published in the GitHub repository robearlam/sitecoreai-harness-engineering (11 stars, last pushed 6d ago), licensed Apache-2.0. It adds 58 tokens to every session and 676 once invoked, about $0.0002 per session on Opus 5.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-11-16.
content-sdk-troubleshoot-editing compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| content-sdk-troubleshoot-editingrobearlam/sitecoreai-harness-engineering | Skill | 11 | 6d ago | Apache-2.0 | A | 58 | Claude Code, Codex |
| systematic-debuggingopen-metadata/OpenMetadata | Skill | 16k | today | Apache-2.0 | A | 37 | Claude Code |
| log-error-digestzebbern/claude-code-guide | Skill | 4.7k | 4d ago | MIT | A | 71 | Claude Code, Codex |
| observability-audit-sessionsIBM/mcp-context-forge | Skill | 4.9k | 2d ago | Apache-2.0 | A | 64 | Claude Code, Codex |
| cwv-optimizeradobe/skills | Skill | 339 | today | Apache-2.0 | A | 112 | Claude Code |
| ci-fixersipyourdrink-ltd/bernstein | Skill | 1.2k | today | Apache-2.0 | A | 15 | Claude Code, Codex |
| triaging-web-analytics-supportPostHog/posthog | Skill | 41k | today | none | A | 151 | Claude Code, Codex |