context-engineering
Optimizes agent context setup. Use when starting a new session, when agent output quality degrades, when switching between tasks, or when you need to configure rules files and context for a project.
- Kind
- Skill
- Works with
- Claude Code, Codex, Any agent
- Source
- addyosmani/agent-skills @ 2686b620fc1f
- Path
- skills/context-engineering/SKILL.md
- Jobs
- Context management
- Topics
- Context & memory
Credit
- Made by
- addyosmani
- Original
- github.com/addyosmani/agent-skills/blob/2686b620fc1fed2e8f60c…
- License
- MIT
Listed by Skill Manifest; not made by us.
InstallCopy it from the source repository, or sign in and let the assistant adapt it for your project.
Install factsScanned 3 Nov 2026
- Adds
- .claude/skills/context-engineering/ (the skill folder)
- Runs scripts
- None found
- Uses the network
- Yes
- downloads npm packages
- Needs secrets
- None found
- Source revision
- 2686b620fc1f
- Licence
- MIT
- Last activity
- 24 Nov 2026
- Source changed after the scan
- Yes
- Last push 24 Nov 2026, scanned 3 Nov 2026; read it again before you rely on this scan
- Review
- Reviewed
Found by a static scan of the stored text; nothing is run. “None found” is not a guarantee, so read what you install before you run it.
# 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: ``` ┌─────────────────────────────────────┐ │ 1. Rules Files (CLAUDE.md, etc.) │ ← Always loaded, project-wide ├─────────────────────────────────────┤ │ 2. Spec / Architecture Docs │ ← Loaded per feature/session ├─────────────────────────────────────┤ │ 3. Relevant Source Files │ ← Loaded per task ├─────────────────────────────────────┤ │ 4. Error Output / Test Results │ ← Loaded per iteration ├─────────────────────────────────────┤ …