context-engineer

Build token-efficient context packages with tiered L0-L2 loading.

8|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/ShaheerKhawaja/ProductionOS --skill context-engineer-shaheerkhawaja
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context-engineer
Source: https://github.com/ShaheerKhawaja/ProductionOS/tree/main/skills/context-engineer
Command: npx skills add https://github.com/ShaheerKhawaja/ProductionOS --skill context-engineer-shaheerkhawaja

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Context-hoarding agents often hallucinate due to missing historical decisions and current state. The context-engineer builds token-efficient context packages to provide downstream agents with relevant, persistent context, reducing hallucinations and improving decision quality.

Core Features & Use Cases

  • Progressive L0-L2 context loading to manage token budgets
  • Cross-session persistence via MetaClaw and memory integration
  • Context package assembly for Omni-Plan and individual agents
  • Supports arXiv research integration for up-to-date context

Quick Start

Build a token-efficient context package for the current Omni-Plan task within a 50,000-token budget.

Frequently Asked Questions about context-engineer

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage agent context within a strict token budget to prevent hallucinations?

To manage agent context within a strict token budget, implement tiered L0-L2 context loading to assemble token-efficient packages, ensuring downstream agents receive relevant state without exceeding limits.

What is tiered context loading and how does it work for AI agents?

Tiered context loading is a mechanism that progressively builds agent context from L0 to L2, integrating memory queries and document retrieval while enforcing a mandatory L0 baseline to control token usage.

How do I build a token-efficient context package for downstream agents?

You build a token-efficient context package by applying progressive loading, memory queries, and document retrieval to assemble relevant historical decisions and current state within a defined token budget.

Can I use cross-session memory integration to maintain agent state across multiple sessions?

Yes, cross-session memory integration maintains persistent agent state across multiple sessions by retrieving historical decisions and integrating them into new context packages, reducing missing context hallucinations.

Does context engineering support arXiv document retrieval for research agents?

Context engineering supports arXiv document retrieval, allowing you to integrate up-to-date research data into assembled context packages for downstream agents analyzing current scientific literature.

When should I use progressive context loading instead of passing full documents to agents?

Use progressive context loading instead of passing full documents when managing large volumes of state or research data, as it prevents token budget exhaustion by prioritizing mandatory L0 context over excessive information.