Optimization Articles
Browse 89 articles about Optimization.
What Is the Context Window in Claude Code? How to Manage It for Consistent Results
Claude's context window is its short-term memory with a hard limit. When it fills with stale data, quality drops. Here's how to keep it fresh and focused.
How to Optimize Web Scraping Skills for AI Agents: 6 Token-Saving Techniques
Learn how to reduce token usage by 90% in web scraping AI agent skills by filtering HTML, hardcoding selectors, batching requests, and using incremental runs.
What Is the Context Window Limit in Claude Code? How to Manage It for Better Results
Claude Code's context window is its short-term memory. When it fills with stale content, quality drops. Here's how to keep it fresh and get consistent outputs.
Claude Code Effort Levels Explained: When to Use Low, Medium, High, and Max
Claude Code's effort level setting controls how much reasoning the model applies. Learn when to use each level to balance quality and token cost.
What Is Context Rot in Claude Code Skills? How Bloated Skill Files Degrade Agent Performance
Context rot happens when skill.md files grow too large and flood the context window. Learn how to keep skills lean and outputs sharp.
How to Use Mermaid Diagrams in Claude Code Skills to Compress Context
Mermaid diagrams convey complex processes in hundreds of tokens instead of thousands. Learn how to use them in skill.md files for better AI performance.
How to Build a Self-Learning AI Skill System with a Learnings.md File and Wrap-Up Skill
Learn how to build a Claude Code skill system that captures what worked, what failed, and improves automatically after every session.
How to Optimize AI Agent Token Costs with Multi-Model Routing
Using the right model for each task—frontier for planning, smaller for sub-agents—can cut your AI token costs dramatically. Here's a practical routing strategy.
How to Build a Self-Learning Claude Code Skill with a Learnings.md File
Add a learnings.md file to any Claude Code skill and it will capture what worked, what failed, and what to do differently — improving automatically over time.
What Is Context Rot in Claude Code? How to Keep Your AI Agent Sharp
Context rot happens when stale information floods your agent's context window. Learn how to use /clear, /compact, and lean skill files to prevent it.
How to Build a Learnings Loop for Claude Code Skills That Self-Improve
Learn how to add a learnings.md feedback loop to your Claude Code skills so every session makes your AI workflows smarter and more consistent over time.
What Is the Inverted U Failure Pattern in AI Agents?
AI agents perform best on routine middle-of-distribution cases and worst on high-stakes edge cases. Learn why aggregate accuracy metrics hide this problem.
What Is the AutoResearch Eval Loop? How to Score AI Skill Quality with Binary Tests
Learn how to apply Karpathy's AutoResearch pattern to Claude Code skills using binary yes/no evals to score and improve output quality automatically.
How to Use AutoResearch to Optimize Any Business Metric Autonomously
AutoResearch runs experiments in a loop to improve any measurable metric—cold email reply rates, landing page conversions, ad copy—with zero human involvement.
How to Use GitHub Actions to Run AutoResearch Experiments on a Schedule
Deploy an AutoResearch loop to GitHub Actions to run A/B experiments on cold email, landing pages, or AI skills automatically every hour without a server.
What Is Gemini Embedding 2? Google's First Natively Multimodal Embedding Model
Gemini Embedding 2 handles text, images, video, audio, and PDFs in one unified vector space. Learn how it simplifies multimodal search and RAG pipelines.
AI Brain Fry: Why Using More AI Tools Makes You Work Harder, Not Less
Research shows AI intensifies work instead of reducing it. Learn why cognitive fatigue spikes with AI use and how to protect your mental performance.
How to Set Boundaries with AI Tools to Protect Your Cognitive Performance
AI overuse leads to burnout, context switching, and cognitive debt. Here are practical strategies to use AI as a force multiplier without frying your brain.
AI Agent Use Cases for Knowledge Workers: What's Actually Working in 2026
From document processing to financial modeling, AI agents are reshaping knowledge work. See which use cases deliver real ROI and which are still hype.
How to Build Self-Improving AI Agents with Scheduled Tasks
Learn how to design AI agents that run on a schedule, log their own results, fix errors autonomously, and improve their prompts over time without you.