Posts

Claude Automatic Context Compaction for Long-Running AI Agents

Image
  Claude Automatic Context Compaction: Keep Long-Running AI Agents Working Beyond Context Limits Long-running AI agents can perform impressive multi-step tasks, but they face a practical limitation: their conversation history keeps growing. Every instruction, model response, tool request and tool result occupies space in the context window. In a tool-heavy workflow, this information can accumulate quickly. Eventually, the agent may become slower, consume significantly more tokens or approach its context limit. Anthropic’s Claude Cookbook presents a solution called automatic context compaction . Instead of carrying the complete conversation history through every step, Claude can summarize the important information, remove unnecessary historical details and continue the task using a smaller, focused context. What Is Automatic Context Compaction? Automatic context compaction is a context-management technique for long-running Claude agent workflows. It monitors the number of tokens bei...

Claude Code Best Practices for Large Codebases: A Simple Guide That Anyone Can Follow

Image
Claude Code Best Practices for Large Codebases Using Claude Code on a large software project can initially feel confusing. A large codebase may contain thousands of files, multiple applications, different programming languages, old systems, shared libraries, and separate testing commands. However, Claude Code does not need to read the entire project at once. It works by navigating the live codebase, searching files, reading relevant code, following references, and collecting the context needed for the current task. Claude performs better when the project gives it a clear starting point and the task is limited to a relevant part of the codebase. 1. Start With a Small, Clearly Defined Task Do not begin with a broad instruction such as: “Review this entire repository and improve everything.” Instead, give Claude one specific task: Find where user authentication is implemented. Explain how the payment service works. Fix one reported bug. Add tests for one function. Refactor one module. Cla...

I Built an AI Reviewer That Refuses to Tell Me If My Idea Will Work

Image
This blog has been quiet for ten years — the last post here is a Windows 10 dark-theme registry hack. I'm putting it back to work. Going forward this is where I'll write about the AI systems and tools I'm building, with more room than a social post gives me. First one: a small protocol that talked me out of a bad idea before I wasted months on it. The wrong question The first startup idea I tested with my own AI review protocol didn't survive the review. That wasn't a failure of the protocol. It was the point. I built the protocol after realizing something uncomfortable: asking an LLM whether an idea is good is almost the wrong question. Modern language models are very good at constructing coherent arguments, but they can't determine whether a business will succeed — that depends on evidence the model simply doesn't have. Ask for a brutal review and you usually get the tone of criticism wrapped around the same underlying agreement. Better prompting ...

Images and stylesheet does not render after deployment in IIS

Image
The problem may be that IIS is not serving Static Content, which you can set up here: If your still having issues, try to  set the identity of the anonymous user to the App Pool Identity on IIS as shown below.

Solved CISCO VPN issue on Windows 10 and Windows 8

Below are the 3 solutions you can do to resolve the Cisco VPN client 5.0.07.0440 for x64 5.0.07.0410 and x86

Enable windows 10 dark theme

Image
Here's an easier and faster way to do it. Just:   1 - Open search, type Powershell and open it  2 - copy/paste the following command  New-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name AppsUseLightTheme -Value 0 3 - Press enter. Done. If you want to undo, just copy/paste Remove-ItemProperty -Path HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Themes\Personalize -Name AppsUseLightTheme

ICC 2015 cricket world cup live streaming