This skill should be used when the user asks about "writing conventions", "codebase context", "HARNESS.md context section", "convention documentation", "how to write enforceable rules", or needs guidance on the Context section of HARNESS.md.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Context Engineering
Context engineering is the practice of curating the knowledge an LLM
needs to work effectively in a codebase. Good context makes the
difference between an LLM that follows project conventions and one that
generates plausible but inconsistent code.
Birgitta Boeckeler's key insight: the code design itself is a huge part
of the context. Well-structured code communicates intent; the harness
documentation makes that intent explicit and enforceable.
## The Context Section of HARNESS.md
The Context section serves three audiences simultaneously:
1. **New team members** read it to understand the project's stack and
conventions
2. **LLM agents** read it as structured input when reviewing code or
generating enforcement
3. **The plugin** reads it to understand what tools might be appropriate
for enforcement
### Stack Declaration
Declare the factual baseline: languages, build system, test framework,
container strategy. Keep this section factual — no aspirations, just
what is true today. The `harness-discoverer` agent populates this
during `/harness-init`.
### Conventions
Conventions are the core of context engineering. Each convention must be
…
The line at the top of this page pins the label git:20260406.60a61ca, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
GET https://markdownregistry.com/api/v1/artifacts/art_iph6igj4wvhsa3o5
GET https://markdownregistry.com/api/v1/resolve?ref=habitat-thinking/ai-literacy-superpowers/context-engineering
GET https://markdownregistry.com/api/v1/blob/3fbd44a4785832e34f327c585ffd36a2b1e128b726944216553c992da446129b
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
habitat-thinking/ai-literacy-superpowers · ai-literacy-superpowers/skills/advocatus-diaboli/SKILL.md · Use when acting as the adversarial spec reviewer — raises steel-manned objections across six categories before plan…
habitat-thinking/ai-literacy-superpowers · ai-literacy-superpowers/skills/ai-literacy-assessment/SKILL.md · This skill should be used when the user asks to "assess AI literacy", "run an assessment", "check literacy level"…
habitat-thinking/ai-literacy-superpowers · ai-literacy-superpowers/skills/auto-enforcer-action/SKILL.md · Use when setting up automatic PR constraint enforcement via GitHub Actions — covers the advisory-vs-blocking split…
habitat-thinking/ai-literacy-superpowers · ai-literacy-superpowers/skills/carpaccio/SKILL.md · Use when acting as the cadence governor — slices a raw task description into thin, end-to-end-complete pieces before…
habitat-thinking/ai-literacy-superpowers · ai-literacy-superpowers/skills/choice-cartographer/SKILL.md · Use when acting as the decision-archaeology agent — surfaces decisions a spec has made (including the silent ones)…
habitat-thinking/ai-literacy-superpowers · ai-literacy-superpowers/skills/coda/SKILL.md · Use when closing an agentic session deliberately rather than by attrition — carries the four-step ritual (survey, park…
habitat-thinking/ai-literacy-superpowers · ai-literacy-superpowers/skills/cognitive-reservoir/SKILL.md · Use when watching the human verifier rather than the output — defines the observable proxies, the…
habitat-thinking/ai-literacy-superpowers · ai-literacy-superpowers/skills/component-design-with-tdad/SKILL.md · Use when designing a new plugin component (skill, agent, command, or backing script) for the ai-literacy-superpowers…
addyosmani/agent-skills · skills/context-engineering/SKILL.md · Optimizes agent context setup. Use when starting a new session, when agent output quality degrades, when switching…
mvschwarz/openrig · packages/daemon/specs/agents/shared/skills/process/context-engineering/SKILL.md · Use when designing, reviewing, or debugging how an agent's context window gets filled, pruned, or shared — choosing…
mvschwarz/openrig · skills/_canonical/process/context-engineering/SKILL.md · Use when designing, reviewing, or debugging how an agent's context window gets filled, pruned, or shared — choosing…
a5c-ai/babysitter · library/methodologies/gsd/skills/context-engineering/SKILL.md · Context window monitoring and budget management. Keeps orchestrator at 15-30% context usage while subagents get full…
shashankswe2020-ux/whoop-mcp · .github/skills/context-engineering/SKILL.md · Optimizes agent context setup. Use when starting a new session, when agent output quality degrades, when switching…