
Context Engineering Collection
Navigate a structured skill map for context curation, multi-agent design, memory, and production agent debugging.
Install
npx skills add https://github.com/homeincorporated/agent-skills-for-context-engineering --skill context-engineering-collectionWhat is this skill?
- Meta-collection covering foundational context engineering and multi-agent architectures
- Documents context degradation patterns including lost-in-middle and U-shaped attention
- Activation checklist for new systems, optimization, debugging, tool design, and memory layers
- Frames context as full inference-time state: system instructions, tools, retrieval, history, outputs
- Skill map groups foundational engineering with production agent system guidance
Adoption & trust: 1 installs on skills.sh; 2/3 security scanners passed (skills.sh audits); trending (+100% hot-view momentum).
Recommended Skills
Journey fit
First shelf is Build agent-tooling because the collection activates when designing agent systems, tools, and context pipelines from scratch. agent-tooling is the Prism facet for skills about inference-time state, tool definitions, and orchestration—not generic frontend or SEO work.
Common Questions / FAQ
Is Context Engineering Collection safe to install?
skills.sh reports 2 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.
SKILL.md
READMESKILL.md - Context Engineering Collection
# Agent Skills for Context Engineering This collection provides structured guidance for building production-grade AI agent systems through effective context engineering. ## When to Activate Activate these skills when: - Building new agent systems from scratch - Optimizing existing agent performance - Debugging context-related failures - Designing multi-agent architectures - Creating or evaluating tools for agents - Implementing memory and persistence layers ## Skill Map ### Foundational Context Engineering **Understanding Context Fundamentals** Context is not just prompt text—it is the complete state available to the language model at inference time, including system instructions, tool definitions, retrieved documents, message history, and tool outputs. Effective context engineering means understanding what information truly matters for the task at hand and curating that information for maximum signal-to-noise ratio. **Recognizing Context Degradation** Language models exhibit predictable degradation patterns as context grows: the "lost-in-middle" phenomenon where information in the center of context receives less attention; U-shaped attention curves that prioritize beginning and end; context poisoning when errors compound; and context distraction when irrelevant information overwhelms relevant content. ### Architectural Patterns **Multi-Agent Coordination** Production multi-agent systems converge on three dominant patterns: supervisor/orchestrator architectures with centralized control, peer-to-peer swarm architectures for flexible handoffs, and hierarchical structures for complex task decomposition. The critical insight is that sub-agents exist primarily to isolate context rather than to simulate organizational roles. **Memory System Design** Memory architectures range from simple scratchpads to sophisticated temporal knowledge graphs. Vector RAG provides semantic retrieval but loses relationship information. Knowledge graphs preserve structure but require more engineering investment. The file-system-as-memory pattern enables just-in-time context loading without stuffing context windows. **Tool Design Principles** Tools are contracts between deterministic systems and non-deterministic agents. Effective tool design follows the consolidation principle (prefer single comprehensive tools over multiple narrow ones), returns contextual information in errors, supports response format options for token efficiency, and uses clear namespacing. ### Operational Excellence **Context Compression** When agent sessions exhaust memory, compression becomes mandatory. The correct optimization target is tokens-per-task, not tokens-per-request. Structured summarization with explicit sections for files, decisions, and next steps preserves more useful information than aggressive compression. Artifact trail integrity remains the weakest dimension across all compression methods. **Context Optimization** Techniques include compaction (summarizing context near limits), observation masking (replacing verbose tool outputs with references), prefix caching (reusing KV blocks across requests), and strategic context partitioning (splitting work across sub-agents with isolated contexts). **Evaluation Frameworks** Production agent evaluation requires multi-dimensional rubrics covering factual accuracy, completeness, tool efficiency, and process quality. Effective patterns include LLM-as-judge for scalability, human evaluation for edge cases, and end-state evaluation for agents that mutate persistent state. ### Development Methodology **Project Development** Effective LLM project development begins with task-model fit analysis: validating through manual prototyping