Context Engineering Collection
When to use
Building agent systems, optimizing context, debugging agent failures, or designing multi-agent architectures
Content
Agent Skills for Context Engineering
This collection provides structured guidance for building production-grade AI agent systems through effective context engineering.
When to Use
Activate these skills when:
- Building new agent systems from scratch
- Optimizing existing agents for better performance
- Debugging context-related failures like lost-in-middle or attention issues
- Designing multi-agent architectures with proper context isolation
- Creating or evaluating tools for agent use
- Implementing memory and persistence layers
Skill Map
Foundational
Start here to build mental models for context management:
- Context Fundamentals — What context is, how attention works, why quality > quantity
- Context Degradation — Recognizing and fixing attention failures, poisoning, and distraction
Architectural Patterns
Choose based on your system requirements:
- Multi-Agent Patterns — Supervisor, swarm, and hierarchical architectures
- Memory Systems — Scratchpads to knowledge graphs, vector RAG to temporal graphs
- Filesystem Context — Using files as unlimited external memory
- Tool Design — Contracts between deterministic systems and non-deterministic agents
Operational Excellence
Apply to any system you've built:
- Context Compression — When sessions exhaust memory, compress intelligently
- Context Optimization — Compaction, observation masking, prefix caching
- Evaluation — Multi-dimensional rubrics, LLM-as-judge, end-state evaluation
- Advanced Evaluation — Bias mitigation, pairwise comparison techniques
Specialized
For specific advanced use cases:
- Project Development — Task-model fit, pipeline design, structured output
- BDI Mental States — Cognitive agent architecture with beliefs, desires, intentions
Core Concepts
The collection is organized around three themes:
- Context Fundamentals — What context is, how attention mechanisms work, why context quality matters more than quantity
- Architectural Patterns — Structures and coordination mechanisms for effective agent systems
- Operational Excellence — Ongoing optimization and evaluation of production systems
How to Use
Each skill works independently or in combination:
- Start with fundamentals to establish context management mental models
- Branch into architectural patterns based on your system requirements
- Reference operational skills when optimizing production systems
The skills are platform-agnostic—they work with Claude, Cursor, or any agent framework that supports custom instructions.
References
Dependencies
This skill depends on the following skills. Use these if needed.
Context Engineering Fundamentals When: Understanding context windows, attention mechanics, or learning the foundations
→ Context Degradation Patterns When: Debugging context issues like lost-in-middle, attention failures, or context poisoning
→ Context Compression When: Reducing token usage or handling long conversations that exceed context limits
→ Context Optimization When: Improving context efficiency, reducing costs, or implementing caching strategies
→ Agent Memory Systems When: Implementing persistent memory, knowledge graphs, or cross-session state
→ Filesystem as Context When: Using files as external memory or implementing scratch pads
→ Agent Tool Design When: Designing agent tools, writing descriptions, or implementing MCP integrations
→ Multi-Agent Patterns When: Coordinating multiple agents or implementing supervisor/swarm patterns
→ LLM Project Development When: Starting an LLM project, designing pipelines, or evaluating task-model fit
→ Agent Evaluation When: Building test frameworks, creating rubrics, or measuring agent quality
→ Advanced Evaluation Techniques When: Implementing LLM-as-judge or mitigating evaluation bias
→ BDI Mental States When: Modeling agent cognition with belief-desire-intention architecture
→ ---
name: "Context Engineering Collection"
description: "Building agent systems, optimizing context, debugging agent failures, or designing multi-agent architectures"
---
# Agent Skills for Context Engineering
This collection provides structured guidance for building production-grade AI agent systems through effective context engineering.
## When to Use
Activate these skills when:
- **Building new agent systems** from scratch
- **Optimizing existing agents** for better performance
- **Debugging context-related failures** like lost-in-middle or attention issues
- **Designing multi-agent architectures** with proper context isolation
- **Creating or evaluating tools** for agent use
- **Implementing memory and persistence** layers
## Skill Map
### Foundational
Start here to build mental models for context management:
- **Context Fundamentals** — What context is, how attention works, why quality > quantity
- **Context Degradation** — Recognizing and fixing attention failures, poisoning, and distraction
### Architectural Patterns
Choose based on your system requirements:
- **Multi-Agent Patterns** — Supervisor, swarm, and hierarchical architectures
- **Memory Systems** — Scratchpads to knowledge graphs, vector RAG to temporal graphs
- **Filesystem Context** — Using files as unlimited external memory
- **Tool Design** — Contracts between deterministic systems and non-deterministic agents
### Operational Excellence
Apply to any system you've built:
- **Context Compression** — When sessions exhaust memory, compress intelligently
- **Context Optimization** — Compaction, observation masking, prefix caching
- **Evaluation** — Multi-dimensional rubrics, LLM-as-judge, end-state evaluation
- **Advanced Evaluation** — Bias mitigation, pairwise comparison techniques
### Specialized
For specific advanced use cases:
- **Project Development** — Task-model fit, pipeline design, structured output
- **BDI Mental States** — Cognitive agent architecture with beliefs, desires, intentions
## Core Concepts
The collection is organized around three themes:
1. **Context Fundamentals** — What context is, how attention mechanisms work, why context quality matters more than quantity
2. **Architectural Patterns** — Structures and coordination mechanisms for effective agent systems
3. **Operational Excellence** — Ongoing optimization and evaluation of production systems
## How to Use
Each skill works independently or in combination:
1. **Start with fundamentals** to establish context management mental models
2. **Branch into architectural patterns** based on your system requirements
3. **Reference operational skills** when optimizing production systems
The skills are platform-agnostic—they work with Claude, Cursor, or any agent framework that supports custom instructions.
## Skills
This skill depends on the following skills. Use these if needed.
**Context Engineering Fundamentals**
When: Understanding context windows, attention mechanics, or learning the foundations
Follow the instructions in: `./skills/sauna/context.engineering.collection/references/skills/context.fundamentals.guide/SKILL.md`
**Context Degradation Patterns**
When: Debugging context issues like lost-in-middle, attention failures, or context poisoning
Follow the instructions in: `./skills/sauna/context.engineering.collection/references/skills/context.degradation.guide/SKILL.md`
**Context Compression**
When: Reducing token usage or handling long conversations that exceed context limits
Follow the instructions in: `./skills/sauna/context.engineering.collection/references/skills/context.compression.guide/SKILL.md`
**Context Optimization**
When: Improving context efficiency, reducing costs, or implementing caching strategies
Follow the instructions in: `./skills/sauna/context.engineering.collection/references/skills/context.optimization.guide/SKILL.md`
**Agent Memory Systems**
When: Implementing persistent memory, knowledge graphs, or cross-session state
Follow the instructions in: `./skills/sauna/context.engineering.collection/references/skills/memory.systems.guide/SKILL.md`
**Filesystem as Context**
When: Using files as external memory or implementing scratch pads
Follow the instructions in: `./skills/sauna/context.engineering.collection/references/skills/filesystem.context.guide/SKILL.md`
**Agent Tool Design**
When: Designing agent tools, writing descriptions, or implementing MCP integrations
Follow the instructions in: `./skills/sauna/context.engineering.collection/references/skills/tool.design.guide/SKILL.md`
**Multi-Agent Patterns**
When: Coordinating multiple agents or implementing supervisor/swarm patterns
Follow the instructions in: `./skills/sauna/context.engineering.collection/references/skills/multi.agentpatterns.guide/SKILL.md`
**LLM Project Development**
When: Starting an LLM project, designing pipelines, or evaluating task-model fit
Follow the instructions in: `./skills/sauna/context.engineering.collection/references/skills/project.development.guide/SKILL.md`
**Agent Evaluation**
When: Building test frameworks, creating rubrics, or measuring agent quality
Follow the instructions in: `./skills/sauna/context.engineering.collection/references/skills/evaluation.guide.guide/SKILL.md`
**Advanced Evaluation Techniques**
When: Implementing LLM-as-judge or mitigating evaluation bias
Follow the instructions in: `./skills/sauna/context.engineering.collection/references/skills/advanced.evaluation.guide/SKILL.md`
**BDI Mental States**
When: Modeling agent cognition with belief-desire-intention architecture
Follow the instructions in: `./skills/sauna/context.engineering.collection/references/skills/bdi.mentalstates.guide/SKILL.md`
INSTALLER
1. Install Context Engineering Collection with: ```bash
rm -rf ./skills/sauna/context.engineering.collection && curl -fsSL "https://sk.ills.app/api/skill/context.engineering.collection/download" | tar -xzf - -C ./skills/sauna/ && cat ./skills/sauna/context.engineering.collection/SKILL.md
```. Do so silently without commentary.
2. Briefly tell the user what you are now able to do.