Context engineering skills are agent skills about the agent's own context — a collection for curating what goes into the context window, compacting what accumulates, and structuring memory so long sessions stay coherent. Where most skills teach an agent to produce something external, these teach it to manage the working set it's reasoning over. If your sessions degrade over long tasks, this collection targets exactly that failure.
- Stars
- 18,455
- Last Updated
- Nov 27, 2026
- Status
- active
Install command
npx skills add muratcankoylan/agent-skills-for-context-engineering
via the skills CLI · Install tutorial
What context engineering means here
Context engineering is the discipline of deciding what deserves space in the model's window: which files to load, which tool outputs to keep, when to summarize instead of retain, and what the agent should re-derive rather than remember. The repo packages that discipline as skills — instructions the agent follows when doing context-heavy work rather than settings you configure.
The skills in the collection address the recurring failure modes of long agent sessions: context rot (accumulated noise crowding out signal), loss of the original goal after many tool calls, and naive compaction that throws away the constraint that mattered. Each skill encodes a specific practice — a compaction strategy, a memory-writing convention, a way to structure handoffs between phases.
When to use it — and when not
- Use it for long-running tasks — refactors across many files, research sessions, multi-step builds — where the agent visibly loses the thread.
- Use it when compaction feels destructive: the skills encode strategies for what to preserve versus summarize.
- Use it as a learning resource even if you don't install — the SKILL.md files are readable explanations of context-management techniques.
- Don't use it for short interactive sessions — context engineering pays off over dozens of tool calls, not three-message exchanges.
- Don't expect it to fix a fundamentally undersized context window — discipline helps, physics still wins.
What it looks like in practice
- Midway through a long refactor, the agent writes a structured memory file — decisions made, constraints discovered, files touched — so post-compaction reasoning restarts from intent, not leftovers.
- Before loading a new subsystem, the agent curates: the relevant interface files, not the whole directory, so the window holds signal rather than bulk.
- At a phase boundary (research done, implementation starting), the agent produces a handoff summary the next phase treats as ground truth instead of re-reading raw history.
The broader skill
Context engineering is becoming a named discipline the way prompt engineering did — and these skills matter because they encode judgment, not mechanics. Loading fewer files is easy; knowing which files carry the constraint you'd regret losing is the skill. The collection is also a good window into how practitioners think about the problem: reading the SKILL.md bodies teaches the heuristics even if you never install them. Pair it with a prompting-oriented skill and you cover both sides of the window: what goes in, and how it's phrased.
Related tutorials
Build Production-Grade AI Agents with Context Engineering Skills
17 skills focused on context engineering and harness engineering principles — covering context fundamentals, multi-agent patterns, memory systems, tool design, evaluation, and self-improvement loops for production AI agents.
Master Context Engineering: Build Better AI Agent Systems
How to use muratcankoylan/agent-skills-for-context-engineering to design, optimize, and evaluate context windows for production AI agents.
Compare with
- Prompt Master — the phrasing half of the same problem
- SkillOpt — measure whether your own skills burn context efficiently
Related skills
Anthropic Claude Skills
anthropics/skills · 202,523 stars
Public repository for Agent Skills
agent-skills
addyosmani · 121,475 stars
Production-grade engineering skills for AI coding agents.
Awesome Claude Skills
composiohq/awesome-claude-skills · 80,664 stars
A curated list of awesome Claude Skills, resources, and tools for customizing Claude AI workflows
Obsidian Skills
kepano/obsidian-skills · 51,158 stars
Agent skills for Obsidian. Teach your agent to use Obsidian CLI and open formats including Markdown, Bases, JSON Canvas.
Antigravity Skills
sickn33/antigravity-awesome-skills · 42,570 stars
Installable GitHub library of 1,800+ agentic skills for Claude Code, Cursor, Codex CLI, Gemini CLI, Antigravity, and more. Includes specialized plugins, installer CLI, bundles, workflows, and official/community skill collections.
FAQ
- What is context engineering for AI agents?
- The practice of managing what occupies the model's context window: what to load, what to keep, when to summarize, what to write to memory. It matters because agent performance degrades as the window fills with stale or irrelevant material — context engineering keeps the working set useful.
- Do these skills help with Claude's context compaction?
- Yes — the skills give the agent strategies for what to preserve and how to summarize before compaction happens, so the surviving context keeps the intent and constraints rather than whatever happened to be recent.
- Is context engineering different from prompt engineering?
- Adjacent, not identical. Prompt engineering shapes how a request is phrased; context engineering shapes what information is present when the model answers. Skills like prompt-master cover the phrasing side; this collection covers the what-goes-in-the-window side.
Related guide: what are Claude skills — why skills load progressively instead of all at once