# Context Engineering (agent skill)

> Context Engineering is an agent skill (a SKILL.md file) from mvschwarz/openrig. Agents load it 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… It works with Claude Code and Codex and has 5,553 GitHub stars across a repository of 4 listed skills.

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.

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/mvschwarz/openrig |
| Skill path | skills/_canonical/process/context-engineering/SKILL.md |
| Skill name | context-engineering |
| GitHub stars | 5,553 |
| Installs on skills.sh | not listed |
| License | Apache-2.0 |
| Skills in repo | 4 |
| Plugin marketplace | no |
| Official | no |
| Works with | Claude Code, Codex |
| Category | Coding |
| Last commit | Oct 7, 2026 |

## When it triggers

- 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

## Add this skill

### Claude Code

```sh
git clone --depth 1 https://github.com/mvschwarz/openrig.git
cp -r openrig/skills/_canonical/process/context-engineering ~/.claude/skills/context-engineering   # personal, or .claude/skills in a project
```

In the Claude apps, zip the skill folder and upload it under Customize > Skills > + > Upload a skill (code execution must be on).

### ChatGPT / Codex

```sh
git clone --depth 1 https://github.com/mvschwarz/openrig.git
cp -r openrig/skills/_canonical/process/context-engineering .agents/skills/context-engineering   # repo; ~/.agents/skills for all projects
```

### Cursor

```sh
git clone --depth 1 https://github.com/mvschwarz/openrig.git
cp -r openrig/skills/_canonical/process/context-engineering .cursor/skills/context-engineering   # project; ~/.cursor/skills for all projects
```

Sources (checked 2026-10-07): https://code.claude.com/docs/en/skills, https://support.claude.com/en/articles/12512180-using-skills-in-claude, https://learn.chatgpt.com/docs/build-skills, https://cursor.com/docs/context/skills

---

Canonical page: https://appsgit.com/skills/mvschwarz-context-engineering
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed nightly.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
