Engineering
context-engineering-collection avatar

context-engineering-collection

A structured repository of Agent Skills for context engineering, multi-agent architectures, and production-grade agent system optimization.

Introduction

This collection serves as a comprehensive operational framework for developers building, debugging, and scaling production-grade AI agent systems. It focuses on the critical discipline of context engineering—the systematic curation and management of state, instructions, tool definitions, and memory to maximize model performance. Designed for architects and engineers working with frameworks like LangGraph, AutoGen, and CrewAI, this skill set provides the mental models necessary to move beyond simple prompting and into reliable agentic workflows. By addressing the nuances of attention mechanisms, context window limitations, and token efficiency, it ensures that your agents remain performant even as complexity scales.

  • Foundational Principles: Deep dives into context fundamentals, including attention dynamics, context degradation patterns, and signal-to-noise optimization.
  • Architectural Patterns: Standardized approaches for multi-agent coordination, including supervisor/orchestrator, peer-to-peer swarms, and hierarchical task decomposition.
  • Memory & Persistence: Strategies for implementing sophisticated memory layers ranging from temporal knowledge graphs to file-system-as-memory patterns.
  • Operational Excellence: Practical techniques for context compression, observation masking, prefix caching, and strategic context partitioning.
  • Tool Design: Best practices for creating deterministic interfaces between LLMs and external systems, emphasizing clear namespacing and efficient error reporting.
  • Evaluation Frameworks: Multi-dimensional rubric designs for assessing factual accuracy, completeness, and process quality using LLM-as-judge or end-state validation.

Usage notes and practical tips include:

  • Start with fundamentals to establish a shared language for context management across your engineering team.
  • Leverage the architectural patterns when your agent systems require complex coordination or state isolation.
  • Utilize the operational skills to resolve issues related to 'lost-in-middle' phenomena or context exhaustion during long-running tasks.
  • Inputs typically include system prompts, tool definitions, and retrieval-augmented generation outputs, while expected outputs are optimized, high-fidelity context windows for downstream LLM inference.
  • Constraints include keeping tokens-per-task as the primary metric rather than tokens-per-request, ensuring that artifacts and decision trails maintain integrity despite compression.

Repository Stats

Stars
0
Forks
0
Open Issues
7
Language
JavaScript
Default Branch
main
Sync Status
Idle
Last Synced
May 3, 2026, 08:53 PM
View on GitHub
context-engineering-collection | Skills Hub