context-engineering-collection
Skill18k starsChanged 4 months agoMITView on GitHub
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.
3 other projects use a version of this, 3 of them edited.
Trending
More talk lately.about the whole repository
Most recently taken up by
- itaymizzz/claude-skillsedited, first seen Jun 29, 2026
- LiamClarke1/claude-skillsedited, first seen Apr 16, 2026
- GPTtang/skill-atlasedited, first seen Mar 22, 2026
Who's talking about muratcankoylan/Agent-Skills-for-Context-Engineering
- @dailygithubtrends.bsky.social“今日のGitHubトレンド muratcankoylan/Agent-Skills-for-Context-Engineering …”Bluesky · Feb 27, 2026 · 3 likes
- A Hacker News story“Agent-Skills-for-Context-Engineering”Hacker News · Dec 25, 2025 · 3 points
- A Hacker News story“Agent Skills for Context Engineering”Hacker News · Dec 22, 2025 · 3 points
- AAswordman/OperitSkillMarket“memory-systems”GitHub · Feb 20, 2026 · 2 reactions
- vercel-labs/skills“[Bug]: Only some skills discovered from repositories with nested skills/ directory structure”GitHub · Jan 21, 2026 · 2 reactions
The biggest 5 of 44 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 44
Talked about on GitHub, Bluesky and Hacker News (44 times).
On GitHub · 37
- Feb 20, 2026memory-systems — AAswordman/OperitSkillMarket2 reactions
- Jan 21, 2026[Bug]: Only some skills discovered from repositories with nested skills/ directory structure — vercel-labs/skills2 reactions · 6 comments
- Aug 2, 2026Add more skills from below repos https://github.com/nextlevelbuilder/ui-ux-pro-max-skill https://github.com/hardikpandya/stop-slop https://github.com/muratcankoylan/agent-skills-for-context-engineering — shivam-verma-philips-1/ai-team1 reaction
- Mar 22, 2026More context engineering — davidamitchell/Research1 reaction
- Dec 25, 2025Add skills: muratcankoylan/context-engineering collection — VoltAgent/awesome-agent-skills1 reaction
32 more on GitHub
- Oct 28, 2026docs(compound-packs): add ci-compound-pack for runner placement, efficient CI and check verdicts — systemfsoftware/systemfsoftware0 reactions · 1 comment
- Oct 9, 2026[Candidate] muratcankoylan/agent-skills-for-context-engineering/skills/context-fundamentals - context-fundamentals — ProSkillsMD/proskills0 reactions · 1 comment
- Oct 9, 2026[Candidate] muratcankoylan/agent-skills-for-context-engineering/skills/context-degradation - context-degradation — ProSkillsMD/proskills0 reactions · 1 comment
- Oct 9, 2026[Candidate] muratcankoylan/agent-skills-for-context-engineering/skills/context-compression - context-compression — ProSkillsMD/proskills0 reactions · 1 comment
- Oct 4, 2026claude-code-plugins.github.muratcankoylan.agent-skills-for-context-engineering: init at 2.3.0 — sudosubin/agents.nix0 reactions
- Oct 4, 2026claude-code-marketplaces.github.muratcankoylan.agent-skills-for-context-engineering: init at 2.3.0 — sudosubin/agents.nix0 reactions
- Oct 3, 2026Skills: vendor the BADF-compatible subset of Agent-Skills-for-Context-Engineering at IMPLEMENTED (pinned, overlaid, not routed) — bstBizEra/badf0 reactions
- Sep 30, 2026agent-skills.github.muratcankoylan.agent-skills-for-context-engineering: init at 2.3.0 — sudosubin/agents.nix0 reactions
- Jul 9, 2026[Collection]: muratcankoylan/agent-skills-for-context-engineering — shimoncohen/the-great-skill-dictionary0 reactions · 2 comments
- May 30, 2026feat(swarm): latent-briefing — KV cache compaction as orchestrator-to-worker context handoff — deftai/directive0 reactions
- Apr 25, 2026Audit candidate: muratcankoylan/Agent-Skills-for-Context-Engineering — xiaolai/nlpm0 reactions · 3 comments
- Mar 24, 2026Dynamic skill loading — install new tools at runtime without restarting — JeetVaidya1/jarvis0 reactions
- Mar 22, 2026Research: Applied context engineering — practical skills, workflows, and best practices for agent development — davidamitchell/Research0 reactions
- Mar 22, 2026research: 外部AI知見(Claude Skills / MCP / OSS)の分析と活用計画 — uminomae/creation-space0 reactions · 2 comments
- Mar 8, 2026Research: Context Engines for AI Agents — Market Analysis, Comparison & Context vs Memory — humanjack/ai-engineering0 reactions
- Feb 27, 2026Agent Skills for Context Engineering — MateuszNaKodach/SelfImprovement0 reactions
- Feb 26, 2026Research: Agent Skill Systems — Standards, Protocols & Frameworks for Extending AI Agents — humanjack/ai-engineering0 reactions
- Feb 25, 2026Analysis: Agent-Skills-for-Context-Engineering — Context Management Patterns for AI Agents — humanjack/ai-engineering0 reactions
- Feb 20, 2026tool-design — AAswordman/OperitSkillMarket0 reactions
- Feb 20, 2026multi-agent-patterns — AAswordman/OperitSkillMarket0 reactions
- Feb 20, 2026evaluation — AAswordman/OperitSkillMarket0 reactions
- Feb 20, 2026context-optimization — AAswordman/OperitSkillMarket0 reactions
- Feb 20, 2026context-fundamentals — AAswordman/OperitSkillMarket0 reactions
- Feb 20, 2026context-degradation — AAswordman/OperitSkillMarket0 reactions
- Feb 20, 2026context-compression — AAswordman/OperitSkillMarket0 reactions
- Jan 6, 2026New plugins: 11 skills from skills (low risk) — aiskillstore/marketplace0 reactions
- Jan 3, 2026Weekly Journal Sources - Week of 2026-01-06 — beijaflor/gen-ai-journal0 reactions · 1 comment
- Dec 27, 2025Multi cli integration — AutoMaker-Org/automaker0 reactions · 3 comments
- Dec 25, 2025Enhance skills with Agent-Skills repository patterns — jamditis/tools0 reactions
- Dec 24, 2025Agent-Skills-for-Context-Engineering — jonath92/Copilot-Training0 reactions
- Dec 22, 2025Integrate Tool Use Learning — m2ux/concept-rag0 reactions
- Dec 12, 2025dec 2025 jan 2026 — kimtth/azure-openai-llm-notes0 reactions
On Bluesky · 5
- Feb 27, 2026今日のGitHubトレンド muratcankoylan/Agent-Skills-for-Context-Engineering このリポジトリは、AIエージェントの性能を最大化するための「コンテキストエンジニアリング」に焦点を当てたスキル集です。… — @dailygithubtrends.bsky.social3 likes and reposts
- May 27, 2026https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering — @sigmanor.net1 likes and repost
- Feb 27, 2026🎉 Celebrating! 🎉 (500+ new stars) 📦 muratcankoylan / Agent-Skills-for-Context-Engineering ⭐ 12,191 (+836) 🗒 Python A comprehensive… — @github-trending.bsky.social1 likes and repost · 1 reply
- Feb 26, 2026github.com/muratcankoyl... — @pcl25387.bsky.social1 likes and repost
- Feb 25, 2026今日のGitHubトレンド muratcankoylan/Agent-Skills-for-Context-Engineering このリポジトリは、AIエージェントの性能を最大化するための「コンテキストエンジニアリング」に焦点を当てたスキル集です。… — @dailygithubtrends.bsky.social1 likes and repost
On Hacker News · 2
- Dec 25, 2025Agent-Skills-for-Context-Engineering3 points
- Dec 22, 2025Agent Skills for Context Engineering3 points · 3 comments
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 3
- GPTtang/skill-atlas★ 490% same
- itaymizzz/claude-skills★ 098% same
- LiamClarke1/claude-skills★ 091% same
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository21 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- advanced-evaluationSkill
- bdi-mental-statesSkill
- context-compressionSkill
- context-degradationSkill
- context-fundamentalsSkill
- context-optimizationSkill
- evaluationSkill
- filesystem-contextSkill
- harness-engineeringSkill
- hosted-agentsSkill
- latent-briefingSkill
- long-horizon-promptingSkill
- memory-systemsSkill
- multi-agent-patternsSkill
- project-developmentSkill
- self-improvement-loopsSkill
- self-managed-contextSkill
- tool-designSkill
- skill-templateSkill
The file
We split this skill into the rules it gives an agent
1 rule. 1 is common, 0 are distinctive, and 0 are very specific to this project.
1
Common
Most of the 3 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Common: line 54
When agent sessions exhaust memory, compression becomes mandatory.
“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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.
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. 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).
Self-Managed Context The model, not the harness, decides what stays in its live context: the editable region is exposed as a file the model rewrites with code tools and re-parsed each turn. The harness keeps the invariants (pinned system and task prefix, role folding, edit gate, receipts, deterministic budget readouts, rollback on overflow). Edit cost scales with the text after the edit under prefix caching, so edits are batched and placed with the tail in mind; strategy can be steered by instruction, evolved as a skill, or trained with a success-gated efficiency reward.
Latent Briefing (KV Memory Sharing) Orchestrator-worker systems can compound tokens when supervisors accumulate long trajectories but workers see only narrow text slices. Latent Briefing compacts the orchestrator trajectory in the worker model's KV cache using task-guided attention (Attention Matching-style compaction) so workers receive relevant latent state without full-text replay when the stack exposes worker KV state and the models are compatible.
Evaluation Frameworks Production agent evaluation requires deterministic checks and multi-dimensional rubrics covering factual accuracy, completeness, tool efficiency, and process quality. Use model judges only after structure, evidence, and rubric math are valid; route judge design, pairwise comparison, and bias mitigation to Advanced Evaluation.
Harness Engineering Reliable autonomous agents need explicit operating loops around the model: locked metrics, editable surfaces, durable logs, novelty checks, rollback rules, and human approval boundaries. Harnesses prevent agents from weakening the evaluator, losing state across compaction, or turning ambiguous goals into unreviewable changes.
Self-Improvement Loops When the harness itself becomes the optimization target, a different discipline applies: recursive self-improvement, meta-harness search, failure-driven bounded self-edits, evolutionary scaffold search, and context mechanism evolution. The controlling constraints are empirical two-split acceptance gates, filesystem experience archives with raw traces, runtime-enforced constraints outside every editable surface, and diversity preservation to prevent collapse.
Development Methodology
Project Development Effective LLM project development begins with task-model fit analysis: validating through manual prototyping that a task is well-suited for LLM processing before building automation. Production pipelines follow staged, idempotent architectures (acquire, prepare, process, parse, render) with file system state management for debugging and caching. Structured output design with explicit format specifications enables reliable parsing. Start with minimal architecture and add complexity only when proven necessary.
Cognitive Architecture
BDI Mental States Belief-desire-intention modeling provides a formal way to translate structured external context into agent mental states. Use it for rational agency, explainability, and systems that need auditable links between beliefs, goals, and chosen actions.
Core Concepts
The collection is organized around four core themes. First, context fundamentals establish what context is, how attention mechanisms work, and why context quality matters more than quantity. Second, architectural patterns cover the structures and coordination mechanisms that enable effective agent systems. Third, operational excellence addresses optimization, evaluation, and harness reliability. Fourth, development methodology and cognitive architecture cover project execution and formal mental-state modeling.
Practical Guidance
Each skill can be used 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 and work with Claude Code, Cursor, or any agent framework that supports custom instructions or skill-like constructs.
Integration
This collection integrates with itself—skills reference each other and build on shared concepts. The fundamentals skill provides context for all other skills. Architectural skills (multi-agent, memory, tools) can be combined for complex systems. Operational skills (optimization, evaluation) apply to any system built using the foundational and architectural skills.
References
Internal skills in this collection:
- context-fundamentals
- context-degradation
- context-compression
- multi-agent-patterns
- long-horizon-prompting
- memory-systems
- tool-design
- filesystem-context
- hosted-agents
- context-optimization
- self-managed-context
- latent-briefing
- evaluation
- advanced-evaluation
- harness-engineering
- self-improvement-loops
- project-development
- bdi-mental-states
External resources on context engineering:
- Research on attention mechanisms and context window limitations
- Production experience from leading AI labs on agent system design
- Framework documentation for LangGraph, AutoGen, and CrewAI
Skill Metadata
Created: 2025-12-20 Last Updated: 2026-10-01 Author: Agent Skills for Context Engineering Contributors Version: 2.6.0
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

