
Context Engineering
Structured context curation that feeds agents the right information at the right time to improve output quality.
- skills.sh installs
- 75.6K
- GitHub stars
- 119.7K
- last updated
- Aug 21, 2026
What it does
- Covers the five context levels: rules files, specs, relevant source files, error output, and conversation history
- Includes templates for
CLAUDE.mdand equivalent rules files for Cursor, Windsurf, Copilot, and Codex - Guides context packing with brain dump, selective include, and hierarchical summary patterns
- Designed for starting new sessions, recovering declining output quality, and switching between tasks
Install
$ npx -y skills add addyosmani/agent-skills --skill context-engineering -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Context Engineering
Overview
Feed agents the right information at the right time. Context is the single biggest lever for agent output quality — too little and the agent hallucinates, too much and it loses focus. Context engineering is the practice of deliberately curating what the agent sees, when it sees it, and how it's structured.
When to Use
- Starting a new coding session
- Agent output quality is declining (wrong patterns, hallucinated APIs, ignoring conventions)
- Switching between different parts of a codebase
- Setting up a new project for AI-assisted development
- The agent is not following project conventions
The Context Hierarchy
Structure context from most persistent to most transient:
Details
- Repository
- github.com/addyosmani/agent-skills
- Categories
- Memory & Context, Agent Workflow & Planning
- First seen
- Apr 16, 2026
More from addyosmani/agent-skills
All 25- Incremental Implementation75.5K
- Git Workflow And Versioning73.3K
- Idea Refine72.7K
- Using Agent Skills72.3K
- Browser Testing With Devtools72.1K
- Source Driven Development71.8K
- Shipping And Launch71.8K
- Ci Cd And Automation71.7K
- Interview Me70.9K
- Deprecation And Migration70.7K
- Doubt Driven Development70.2K
- Observability And Instrumentation68.2K
- Constraint Driven Development46.7K
- Code Review And Quality89.3K
- Security And Hardening86.6K
- Frontend Ui Engineering82.8K
- Performance Optimization79.9K
- Spec Driven Development79.3K
- Documentation And Adrs78.1K
- Planning And Task Breakdown78.1K
- Code Simplification77.3K
- Api And Interface Design77.2K
- Debugging And Error Recovery77K
- Test Driven Development75.8K
Similar to Context Engineering
More Memory & Context
context-degradationmuratcankoylan/agent-skills-for-context-engineering300 installsDiagnose and fix context failures such as lost-in-middle recall loss, poisoning, and clash before they cascade.
memorizeneolabhq/context-engineering-kit1.4K installsDistill reflections and critiques into durable, evidence-backed guidance in CLAUDE.md using Agentic Context Engineering.
context-compressionmuratcankoylan/agent-skills-for-context-engineering644 installsStructured summaries that preserve session intent, file changes, decisions, and next steps across long agent sessions.
using-agent-skillsaddyosmani/agent-skills72.3K installsMeta-skill that routes each task to the right engineering workflow skill by development phase.
proactive-agenthalthelobster/proactive-agent15.3K installsAgent architecture that anticipates needs, survives context loss, and self-improves through a write-ahead log.
cursor-best-practicessiviter-xyz/dot-agent640 installsPractical guidance for Cursor covering planning, context management, rules versus skills, and review habits.