Context Engineering
- What is Context Engineering?
- Context Engineering References
- Additional Pages
What is Context Engineering?
A conversation with an AI agent involves a chain of prompts and their responses, which over time fill up an agent’s limited attention budget, otherwise known as the context window. At some point the AI agent runs out of gas and either cannot proceed or starts hallucinating, and we might consider moving to a new conversation. Curating the material passed to an AI agent, including prompts and shared documents, is known as context engineering.
Simply put, we should design our conversations so that they are sufficiently focused to achieve our goal. For instance, limit unnecessary background information, and limit the size of documents we ask the AI agent to ingest. It is better to ask an AI agent to summarize a document than to have it read and retained, and then perhaps save that summary for use in subsequent conversations.
Another trick is to use agent skills located in one or more skills folders, each containing a SKILL.md file. These are reusable packages of knowledge that extend what an agent can do to handle different aspects of a project. Typically, these are all housed in a project-level folder like .agents/skills/. See also Agents and Workspace Rules.
Context Engineering References
- Agent Skills for Context Engineering (Murat Cankoylan)
- Antigravity Agent Skills
- Antigravity Skills (CodeLabs)
- Claude Skills
- Anthropic Skills & Anthropic Context Engineering.
- AgentSkills.io
- GitHub Topics: agent-skills