Tooluck logoTooluck
SKILL.md

context-engineering

Agent skill frommvschwarz/openrig

Use when designing, reviewing, or debugging how an agent's context window gets filled, pruned, or shared — choosing what loads at boot versus on demand, sizing an install or an always-loaded file, fixing an agent that drifts, repeats itself, or forgets constraints mid-task, planning compaction or summarization, deciding single-agent versus subagents, engineering handoffs between agents, or picking a tool loadout. NOT for rewording a prompt's tone, choosing which model to pin, or debugging business logic — those are adjacent moments this skill does not serve. Historical 2024–2025 snapshot; not normative for present-day frontier models — see the Status section.

How to install context-engineering

install context-engineering
# install the openrig pack with the skills CLI
npx skills add mvschwarz/openrig

# or add only this skill to Claude Code: copy the folder

skills/_canonical/process/context-engineering/

# into

~/.claude/skills/context-engineering/ (all projects)

.claude/skills/context-engineering/ (one project)

skills/_canonical/process/context-engineering/SKILL.md

Apache-2.0Full file
1# Traditional Context Engineering — 2024–2025 Snapshot
2
3## Status: provisional historical research snapshot
4
5This skill is a provisional historical research snapshot of context-engineering practice as
6published in 2024–2025. It is NOT normative. Do not apply it prescriptively to current frontier
7models without re-verification. On any conflict, OpenRig current skills, explicit user rulings,
8and directly measured OpenRig practice PREVAIL over this document. Treat these areas as
9particularly suspect pending re-verification: compaction/summarization guidance, minimal-upfront
10versus broad orientation, just-in-time lookup assumptions, fixed context ceilings, and
11single-agent versus multi-agent advice.
12
13Curated distillation of the best publicly available expertise on context engineering for coding
14agents, drawn from primary sources at Anthropic, OpenAI, and leading practitioners (Manus,
15Cognition, Chroma, LangChain, Drew Breunig, and others). Load on the moments the description
16names; it is deliberately not part of any base walk.
17
18---
19
20## 1. The mental model: what context engineering is
21
22**Definition.** Context engineering is "the set of strategies for curating and maintaining the
23optimal set of tokens (information) during LLM inference" — everything that lands in the window:
24system instructions, tool definitions, retrieved data, message history, and tool outputs, not
25just the prompt text (Anthropic, *Effective context engineering for AI agents*). Andrej
26…

Excerpt shown under the repository's Apache-2.0 license.

More skills in openrig

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates