The context window is the fundamental constraint — everything else follows
Every best practice in AI coding (subagents, /clear, focused tasks, specs files) traces back to managing a single scarce resource: context
Anthropic Official Best Practices · · 20 connections
Connected Insights
References (5)
Referenced by (15)
← Spec files are external memory that survives context resets ← Agentic search beats RAG for live codebases ← Skill graphs enable progressive disclosure for complex domains ← Prompt caching makes long context economically viable ← Autonomous coding loops need small stories and fast feedback to work ← Treat AI like a distributed team, not a single assistant ← Treat an agent as an operating system, not a stateless function ← Tools are a new kind of software — contracts between deterministic systems and non-deterministic agents ← Tool design is continuous observation — see like an agent ← Tiered retrieval prevents context overload — summaries first, details on demand ← Context inefficiency compounds three penalties: cost, latency, and quality degradation ← CLAUDE.md should be a routing table, not a knowledge base ← Time-bounded evaluation forces optimization for real-world usefulness instead of idealized performance ← Reasoning evaporation permanently destroys agent decision chains when the context window closes ← Uncorrelated context windows are a form of test time compute — fresh perspectives multiply capability