context-engineering-collection
O que ela faz
Esta é uma coleção de orientações para projetar sistemas de agentes de IA que lidam bem com o contexto. Ela cobre contexto, memória, ferramentas, vários agentes e avaliação, e é para quem constrói agentes de IA de longa duração.
Quando usar
- ✓Quando você está criando do zero um novo sistema de agente de IA.
- ✓Quando um agente existente fica mais lento, esquece coisas ou dá respostas ruins.
- ✓Quando você está projetando vários agentes que trabalham juntos ou precisa avaliá-los.
Link da skill
https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering/blob/main/SKILL.mdCopie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.
Como usar
O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.
Mensagem pronta para colar
Para Claude Code, Codex ou Cursor: rode na pasta do projeto e a skill fica instalada.
Baixe o SKILL.md e coloque na pasta de skills do seu agente.
Exemplo do que pedir para a IA
“Me ajude a projetar um agente de IA que mantenha uma tarefa longa no rumo sem ficar sem contexto.”
5 skills novas por semana. 1 minuto de leitura.
Como funciona
A coleção aponta seu agente para o guia específico que se encaixa no problema, como os fundamentos de contexto, a compressão ou a avaliação.
Conteúdo técnico (SKILL.md original)
Texto original do autor, em inglês, direto do GitHub.
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
- Designing autonomous research or evaluation harnesses
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.
Long-Horizon Prompting Long-running autonomous agents and parallel orchestrations succeed or fail on the launch prompt. Pseudo-formal task briefs specify success predicates, non-counting outcomes, persistence rules with audit-gated return conditions, effort floors, diversity policies for parallel portfolios, and contamination guards, applying the discipline of formal verification linguistically to problems with no machine-checkable success condition. In orchestrated runs, each worker returns an output contract with named checks, and only evidenced violations block the return.
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.
Filesystem-Based Context
The filesystem provides a single interface for storing, retrieving, and updating effectively unlimited context. Key patterns include scratch pads for tool output offloading, plan persistence for long-horizon tasks, sub-agent communication via shared files, and dynamic skill loading. Agents use ls, glob, grep, and read_file for targeted context discovery, often outperforming semantic search for structural queries.
Hosted Agent Infrastructure Background coding agents run in remote sandboxed environments rather than on local machines. Key patterns include pre-built environment images refreshed on regular cadence, warm sandbox pools for instant session starts, filesystem snapshots for session persistence, and multiplayer support for collaborative agent sessions. Critical optimizations include allowing file reads before git sync completes (blocking only writes), predictive sandbox warming when users start typing, and self-spawning agents for parallel task execution.
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. Art
Perguntas frequentes
O que é uma janela de contexto?
É o conjunto completo de texto que um modelo de IA pode ver de uma vez, incluindo instruções, ferramentas e mensagens anteriores.
O que é engenharia de contexto?
É escolher o menor conjunto de informações úteis a dar ao modelo para que ele faça bem o seu trabalho.
Preciso de todos esses guias?
Não. Escolha o guia que combina com o seu problema, como compressão para sessões longas ou avaliação para testes.
Detalhes
Descrição original do autor
A comprehensive collection of Agent Skills for context engineering, harness engineering, multi-agent architectures, and production agent systems. Use when building, optimizing, evaluating, or debugging agent systems that require effective context management and reliable operating loops.
Popularidade
- Estrelas no GitHub
- 18 mil
- Posição no ranking
- #10634
- Licença
- MIT
- Atualizada em
- 11/10/2026
Comentários
- …
Mais skills deste repositório
advanced-evaluation
18 milEnsina seu agente a avaliar respostas de IA usando outra IA, com pontuação, comparação lado a lado e verificações de viés.
bdi-mental-states
18 milEnsina seu agente a modelar crenças, objetivos e planos usando a abordagem BDI, para que suas decisões possam ser rastreadas e explicadas.
context-compression
18 milAjuda seu agente a resumir sessões longas de IA em resumos que mantêm decisões, arquivos, riscos e próximos passos.
context-degradation
18 milAjuda seu agente a identificar e corrigir respostas de IA que pioram em conversas longas, como detalhes perdidos no meio do texto.
Skills parecidas
add-model-provider
394 milPermite que seu agente conecte um novo provedor de modelos de IA ao OpenClaw com comandos seguros, guarde as chaves de API com segurança e faça um teste ao vivo.
acp-router
394 milAjuda seu agente a enviar uma tarefa a um assistente de programação, como Claude Code ou Cursor, pelo OpenClaw, para que o trabalho rode nessa ferramenta.
browser-automation
394 milEnsina seu agente a controlar páginas web passo a passo, incluindo logins, abas e recuperação quando uma página para de responder.