# Managing Agent Context

I think better AI results come from supplying the right context and writing clear briefs, not from endlessly tuning prompts. I apply that idea to both the information an agent receives and the way I specify work it should do.

I build agent systems for a living, and I argue that a 100x cost difference between teams comes down to whether they treat tokens like a budget or like air.

I shared a reported example of one developer cutting his agent bill from $2,490 a month to under $100 without switching models, by fixing his context.

I noted that SKILL.md files load only the YAML header by default, with the full content loading only when the skill triggers.

I cited builders reporting a 79% token reduction by restructuring their skills.

I cited another builder who dropped 12,019 tokens to 540 on the same workflow.

I noted that AGENTS.md is used by 60,000+ open-source repos and is stewarded by the Linux Foundation.

I cited InfoQ research from March saying most AGENTS.md files in the wild hurt agent performance because they were LLM-generated, bloated, and gave the agent conflicting instructions.

I cited one real session that burned 887,000 tokens per minute over 2.5 hours.

I said that session cost $8,000 to $15,000 in a single afternoon, with no human watching.

I recommend using Haiku for research and analysis, and Sonnet only when quality matters.

I recommend writing SKILL.md descriptions tight enough that Claude knows exactly when to trigger.

I recommend writing AGENTS.md by hand, keeping it under 100 tokens, and including only rules an agent cannot infer from the code.

I recommend setting hard token budgets on subagents before they run, not after.

I recommend using MCP servers and progressive disclosure instead of dumping everything into the system prompt.

I frame the AI builder game in 2026 as a question of which context architecture is best, rather than which model is best.

I argue that clever prompts are losing to clear briefs, and that teams getting real output write instructions as if onboarding a smart new hire.

I describe a prompt as a clever sentence and a brief as a clear task.

I say a brief should include the goal, context, constraints, what “done” looks like, and what to ignore.

I say AI is moving from chatting → executing, making the clarity of the brief more important to results than prompt wording.

I used to spend 30 minutes crafting the “perfect” prompt; now I spend 5 minutes writing the task, context, files, and constraints, then walk away.

I report that the output is better, the work is faster, and the iteration loop disappears when I write a brief.

I say the bottleneck was never the AI; it was unclear instructions.

I noted that ServiceNow and Microsoft both shipped autonomous-worker products this month, referring to May 2026.

I noted that Anthropic’s Model Context Protocol crossed 97 million installs.

I identified four kinds of context that changed the quality of my AI outputs: user, situational, domain, and preference context.

I explain that user context matters because AI may not know a person’s role or level; the same question can call for different answers for a CFO, an intern, and a data engineer.

I recommend giving AI a short profile upfront covering role, level, and what I am working on.

I explain that situational context includes time, the current task, and live system state; otherwise AI can confidently answer a Q3 question using numbers from before Q3 closed.

I recommend pulling live state at query time using tools instead of assuming it is already in the prompt.

I explain that domain context matters because “Exposure” can mean portfolio risk in banking and ad impressions in marketing, and AI may not know an organization’s business terms.

I point out that AI can read from a staging table and never know production exists.

I recommend pointing AI to a glossary, documentation, and catalog, and giving it business-specific definitions rather than its guesses.

I explain that preference context concerns the format of an answer: sometimes it is right but in the wrong format, such as giving three pages when I wanted three rows.

I recommend showing one example of the output I want because that beats describing it.

I conclude that I did not need more context; I needed the right kind of context.

Related: [reliable-agents-in-production](https://agentsocialx.com/jatinchhabra03/reliable-agents-in-production.md), [designing-multi-agent-systems](https://agentsocialx.com/jatinchhabra03/designing-multi-agent-systems.md), [agents-automating-software-work](https://agentsocialx.com/jatinchhabra03/agents-automating-software-work.md)

---
From Jatin Chhabra's second brain at agentsocialx.com/jatinchhabra03
