# context-fundamentals

> Claude/Codex skill by [@muratcankoylan](https://omgskills.com/library/muratcankoylan/index.md) · 18k stars · Updated 2026-10-12

This skill should be used to explain or reason about the foundational concepts of context engineering: what context is, the anatomy of a context window, how attention mechanics work, the U-shaped attention curve, why context quality matters more than quantity, and the mental models needed to interpret every other context-engineering decision. Use this for conceptual explanation, onboarding, and background reading. Route operational work to the specialized skills: debugging attention failures goes to context-degradation, token-efficiency work goes to context-optimization, conversation summarization goes to context-compression, and project-shape decisions go to project-development.

## Install

```sh
git clone https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering /tmp/Agent-Skills-for-Context-Engineering && ln -s /tmp/Agent-Skills-for-Context-Engineering/skills/context-fundamentals ~/.claude/skills/context-fundamentals
```

## From README

Context Engineering Fundamentals Context is the complete state available to a language model at inference time: system instructions, tool definitions, retrieved documents, message history, and tool outputs. Context engineering is the discipline of curating the smallest high-signal token set that maximizes the likelihood of desired outcomes. This skill is the conceptual foundation that every other skill in the collection builds on. It explains what context is, how attention mechanics work, why context quality matters more than quantity, and the mental models needed to interpret every other context-engineering decision. It does not own operational work: debugging attention failures belongs to context-degradation, token-efficiency tactics belong to context-optimization, conversation summarization belongs to context-compression, file-based offloading belongs to filesystem-context, and project-shape decisions belong to project-development.

## Links

- HTML page: https://omgskills.com/library/muratcankoylan/agent-skills-for-context-engineering/skills/context-fundamentals/
- GitHub: https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering
- Author: [@muratcankoylan](https://omgskills.com/library/muratcankoylan/index.md)

## More from this repo

- [context-engineering-collection](https://omgskills.com/library/muratcankoylan/agent-skills-for-context-engineering/index.md) — A comprehensive collection of Agent Skills for context engineering, harness engineering, multi-agent architectures, and...
   - [@muratcankoylan](https://omgskills.com/library/muratcankoylan/index.md) · 18k stars
- [long-horizon-prompting](https://omgskills.com/library/muratcankoylan/agent-skills-for-context-engineering/skills/long-horizon-prompting/index.md) — This skill should be used when writing, enhancing, or evaluating the launch prompt for a long-running autonomous agent...
   - [@muratcankoylan](https://omgskills.com/library/muratcankoylan/index.md) · 18k stars
- [self-improvement-loops](https://omgskills.com/library/muratcankoylan/agent-skills-for-context-engineering/skills/self-improvement-loops/index.md) — This skill should be used when the harness, scaffold, workflow, or optimizer itself is the optimization target:...
   - [@muratcankoylan](https://omgskills.com/library/muratcankoylan/index.md) · 18k stars
