
一套全面的代理技能合集,涵盖上下文工程、多代理架构和生产代理系统。
概览
这是一个全面开放的代理技能合集,专注于上下文工程和利用工程原理,构建生产级人工智能代理系统。这些技能教授策划上下文的艺术与科学,设计代理操作循环,以及评估代理在任何代理平台上的行为。 上下文工程是管理语言模型上下文窗口的学科。与专注于打造有效指令的提示工程不同,上下文工程致力于对所有进入模型有限注意力预算的信息进行整体管理:系统提示、工具定义、检索的文档、消息历史和工具输出。 根本挑战在于,上下文窗口的限制并非受原始令牌容量限制,而是受注意力力学限制。随着上下文长度的增加,模型会出现可预测的退化模式:“迷失中间”现象、U型注意力曲线和注意力稀缺性。
概述(AI 翻译)
这是一个全面开放的代理技能合集,专注于上下文工程和利用工程原理,构建生产级人工智能代理系统。这些技能教授策划上下文的艺术与科学,设计代理操作循环,以及评估代理在任何代理平台上的行为。
什么是情境工程?
上下文工程是管理语言模型上下文窗口的学科。与专注于打造有效指令的提示工程不同,上下文工程致力于对所有进入模型有限注意力预算的信息进行整体管理:系统提示、工具定义、检索的文档、消息历史和工具输出。
根本挑战在于,上下文窗口受限于注意力力学,而非原始令牌容量。随着上下文长度增加,模型会出现可预测的退化模式:“中间迷失”现象、U型注意力曲线和注意力稀缺性。有效的上下文工程意味着找到尽可能少的高信号标记集,以最大化期望结果的可能性。
认可
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Agent Skills for Context Engineering
A comprehensive, open collection of Agent Skills focused on context engineering and harness engineering principles for building production-grade AI agent systems. These skills teach the art and science of curating context, designing agent operating loops, and evaluating agent behavior across any agent platform.
What is Context Engineering?
Context engineering is the discipline of managing the language model’s context window. Unlike prompt engineering, which focuses on crafting effective instructions, context engineering addresses the holistic curation of all information that enters the model’s limited attention budget: system prompts, tool definitions, retrieved documents, message history, and tool outputs.
The fundamental challenge is that context windows are constrained not by raw token capacity but by attention mechanics. As context length increases, models exhibit predictable degradation patterns: the “lost-in-the-middle” phenomenon, U-shaped attention curves, and attention scarcity. Effective context engineering means finding the smallest possible set of high-signal tokens that maximize the likelihood of desired outcomes.
Recognition
This repository is cited in academic research as foundational work on static skill architecture:
“While static skills are well-recognized [Anthropic, 2025b; Muratcan Koylan, 2025], MCE is among the first to dynamically evolve them, bridging manual skill engineering and autonomous self-improvement.”
- Meta Context Engineering via Agentic Skill Evolution, Peking University State Key Laboratory of General Artificial Intelligence (2025)
- Agent Harness Engineering: A Survey, CMU, Yale, JHU, NEU, Tulane, UAB, OSU, Virginia Tech, and Amazon (2026)
Skills Overview
Foundational Skills
These skills establish the foundational understanding required for all subsequent context engineering work.
| Skill | Description |
|---|---|
| context-fundamentals | Understand what context is, why it matters, and the anatomy of context in agent systems |
| context-degradation | Recognize patterns of context failure: lost-in-middle, poisoning, distraction, and clash |
| context-compression | Design and evaluate compression strategies for long-running sessions |
Architectural Skills
These skills cover the patterns and structures for building effective agent systems.
| Skill | Description |
|---|---|
| multi-agent-patterns | Master orchestrator, peer-to-peer, and hierarchical multi-agent architectures |
推荐工具
换一个关键词,或者移除筛选条件。
安装
npx skillfish add muratcankoylan/agent-skills-for-context-engineering