context-engineering
/context-engineering
Feed agents the right information at the right time. Use when starting a session, switching tasks, or when output quality drops due to missing or stale context.
- Author
- v1truv1us ↗
- Repository
- ai-eng-system ↗
- Licence
- MIT
- Last repository change
- 09.08.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 09.08.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Feed agents the right information at the right time. Use when starting a session, switching tasks, or when output quality drops due to missing or stale context.
Original author description
Feed agents the right information at the right time. Use when starting a session, switching tasks, or when output quality drops due to missing or stale context.
How it works
- Overview
- When to Use
- Context Sources
- Process
- Delegation Context
- Common Rationalizations
- Verification
- Anti-Rationalization Table
SKILL.md preview
--- name: context-engineering description: Feed agents the right information at the right time. Use when starting a session, switching tasks, or when output quality drops due to missing or stale context. --- # Context Engineering ## Overview Ensure that agents receive the right information at the right time. Context engineering is the practice of actively managing what an agent knows, rather than hoping it discovers what it needs. ## When to Use - Starting a new development session - Switching between unrelated tasks - When agent output quality degrades - When context window is approaching limits - Before delegating to a subagent ## Context Sources ### Rules Files - `CLAUDE.md`, `AGENTS.md`, `.claude/rules/`: persistent project-level guidance - Load automatically at session start - Keep concise and actionable ### Context Packing When starting a task, gather: - Relevant source files (not the entire codebase) - Related test files - Type definitions and interfaces - Recent git diff for the area of change - Any existing spec or plan ### MCP Integrations - Use documentation lookup tools for library-specific guidance - Use search tools for cross-repository patterns - Favor structured retrieval over dumping large files into context ## Process ### Step 1: Assess Current Context - What does the agent already know? - What files has it read? - What context was loaded at session start? ### Step 2: Identify Gaps - What information is needed for the current task? - What is missing from the current context? - What is stale or potentially outdated? ### Step 3: Pack Targeted Context - Load only the files relevant to the current task - Include type definitions for modified interfaces - Include test files that define expected behavior - Include recent changes to the affected area ### Step 4: Verify Context Quality - Can the agent describe the current state of the affected code? - Does it know the testing strategy for the area? - Does it know the relevant constraints and boundaries? ### Step 5: Manage Context Budget - Monitor context window usage - Compact or checkpoint when approaching limits - Drop stale context before loading new context ## Delegation Context When delegating to a subagent, include: - Goal: one sentence describing what to accomplish - Scope: what files and areas to focus on - Constraints: what must be preserved or avoided - Deliverable: what format the output should take - Known context: what has already been checked ## Common Rationalizations | Rationalization | Reality | |---|---| | "The agent can search the codebase itself" | Search is expensive and imprecise. Targeted context is faster and more accurate. | | "More context is always better" | Excess context wastes window space and increases noise. | | "I will load context once at the start" | Context needs change as tasks progress. | ## Verification - [ ] Agent has the specific files needed for the current task - [ ] Type definitions and interfaces are available - [ ] Test files are loaded for the affected area - [ ] Context window is not approaching limits ## Anti-Rationalization Table | Excuse | Counter | |--------|---------| | "The agent can search the codebase itself" | Search is expensive and imprecise. Targeted context is faster and more accurate. | | "More context is always better" | Excess context wastes window space and increases noise. Pack only what is needed. | | "I'll load context once at the start" | Context needs change as tasks progress. Reassess and repack as you go. | | "The agent already knows the project" | Agents do not retain knowledge across sessions. Pack context every time. | | "Context packing takes too much time" | Poor context causes more time wasted on wrong answers than packing ever costs. |
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · v1truv1us/ai-eng-system | 90 | MIT |
| mvschwarz/openrig | 100 | Apache-2.0 |
| TerminalSkills/skills | 100 | Apache-2.0 |
| FrancoStino/opencode-skills-collection | 100 | MIT |
| drvoss/everything-copilot-cli | 100 | MIT |
| komluk/scaffolding | 100 | MIT |
| kdlbs/kandev | 100 | AGPL-3.0 |
| proxify-dev/agentic-kit | 100 | MIT |
| krzysztofsurdy/code-virtuoso | 100 | MIT |
Identical content appears in 1 other GitHub folders. We show one copy with the highest score.
Database snapshot: 13.11.2026 · package version 0be0b875cc40 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100context-engineering-engineering
Engineering practice: Context engineering for coding agents — Give a coding agent the right information at the right time, and nothing else, so it follows your conventions, touches the right files and needs fewer corrections. Use in any language or framework whenever this… - 100mukhon-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. - 100output-eval-error-analysis
Systematically review workflow traces to identify failure modes before building evaluators. Use when starting an eval project, after significant pipeline changes, or when production quality drops. - 100handoff
Capture session context for a fresh agent. Use for handoffs, context limits, switching focus, ending sessions, or splitting work across sessions. - 100session-handoff
Use when context approaches capacity, before /clear or /compact, when switching tasks, or when ending a coding session: produces a structured handoff artifact for the next session. - 100agent-context-setup
Give a coding agent the right files and background at the start of a task, so it works from the real system rather than from assumption. Use when starting a non-trivial task with an agent.