sitecoreai-harness-engineering: Instructions file for Claude Code

CLAUDE.md

sitecoreai-harness-engineering CLAUDE.md is an instructions file for Claude Code from robearlam/sitecoreai-harness-engineering. It costs 1,416 tokens per session, scanned A, original, Apache-2.0.

Project instructions for a SitecoreAI reference application and its custom AI development harness. They explain the repository layout, the staged delivery process, setup, and commands for building and testing.

In plain words
What is it for?
Use them to understand the monorepo, follow the Specification-to-Complete workflow, locate app-specific guidance, and run the documented checks.
Why use it?
They give agents the project context needed to work in the right part of the repository. They also distinguish the workflow files from the application they build.

Instructions file for Claude Code

Written for Claude Code: SessionStart hook event. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

This is robearlam/sitecoreai-harness-engineering's own configuration. It tells Claude Code how to work on sitecoreai-harness-engineering itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything sitecoreai-harness-engineering configures →

Reuse

Borrowing it

Nothing to install: this file belongs to robearlam/sitecoreai-harness-engineering. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/robearlam/sitecoreai-harness-engineering/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/robearlam/sitecoreai-harness-engineering

Made for: Claude Code.

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 sitecoreai-harness-engineering CLAUDE.md

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

Your own site · 80×15
<a href="https://agentmods.dev/instructions/robearlam/sitecoreai-harness-engineering/claude-md"><img src="https://agentmods.dev/badge/instructions/robearlam/sitecoreai-harness-engineering/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,416 This file is loaded in full into every session.
When invoked 1,416 The same file — it is already loaded in full.
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.01416 $0.01416
Opus 5.5 $0.00566 $0.00566
Sonnet 5.5 $0.00283 $0.00283
Haiku 4.5 $0.00142 $0.00142

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

Security

Grade A, and why

sitecoreai-harness-engineering CLAUDE.md 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 6d 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.

CLAUDE.md · 81 lines

How it starts

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

CLAUDE.md

Project Overview

This repository is a reference implementation of a custom AI development harness on top of a SitecoreAI (XM Cloud) project, built on Claude Code. It demonstrates a stage-based workflow (Specification → Design → Implementation Planning → Build → QA → CMS Configuration → Approval → Complete) for delivering features with AI coding agents, with full traceability of every stage's inputs and outputs.

This is a monorepo with two distinct concerns:

  • harness/ and .claude/ — the workflow itself: stage agents, skills, hooks, templates, tasks, artifacts, and run state. This is the primary subject of this repo.
  • src/headapps/rob-harness-engineering/ — the Sitecore Content SDK / Next.js application the harness builds features into. It has its own nested AGENTS.md with app-specific guidance (App Router structure, middleware, i18n, component maps). When editing code in that app, its AGENTS.md takes precedence over this file.

How work flows through this repo

Every feature is delivered through the harness. /new-task turns a backlog item into a task definition, and /run-task TASKID makes the main session the orchestrator: it dispatches one stage agent per stage from .claude/agents/, and the human closes the gates with /approve. Before doing feature work, read harness/README.md.

You want to… Read…
Understand the workflow harness/README.md
See how the orchestrator decides .claude/skills/run-task/SKILL.md
Understand why the harness looks the way it does harness/decisions.md
See what each stage agent does and may read .claude/agents/*.md
See the coding, testing, or UI design standards .claude/skills/*/SKILL.md
See the current live workflow state harness/run-state.md

Repository Structure

.claude/agents/      Stage agents — role, input contract, model, tools, preloaded skills
.claude/skills/      /new-task, /run-task (orchestrator + state script), /approve, and the standards
.claude/hooks/       SessionStart (run-state context) and SubagentStop (artifact verification)
.claude/settings.json  Governance: permission allow/ask/deny rules (including MCP tools) and hook wiring
.mcp.json            Sitecore MCP servers used by the CMS Configuration stage (sc-developer, sc-marketer)
harness/             Templates, tasks, artifacts, run reports, run state, decisions
src/headapps/…       Next.js App Router head application (has its own AGENTS.md)
src/authoring/       Sitecore platform items and serialized content
.github/workflows/   CI (test/lint) pipeline

Read the full file on GitHub · 81 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. 6d ago Changed · +3 lines · +251 tokens per session 291a4a3805ce
  2. 14d ago First seen · 78 lines · 1,165 tokens per session scan A 8ff5133f738b

Subscribe to this mod's changes

sitecoreai-harness-engineering CLAUDE.md is an instructions file published in the GitHub repository robearlam/sitecoreai-harness-engineering (11 stars, last pushed 6d ago), licensed Apache-2.0. It adds 1,416 tokens to every session, about $0.0057 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.

Related

sitecoreai-harness-engineering CLAUDE.md compared with instructions from other repositories

sitecoreai-harness-engineering CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sitecoreai-harness-engineering CLAUDE.mdrobearlam/sitecoreai-harness-engineeringInstructions file116d agoApache-2.0A1,416Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA9,887GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file144ktodayMITA7,230Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA5,685GitHub Copilot
langchain AGENTS.mdlangchain-ai/langchainInstructions file150kyesterdayMITA4,680Codex, OpenCode
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file196ktodayMITA3,303GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file289k2d agoMITA4,393Codex, OpenCode