Notes on building software.

A personal blog of technical articles about software development.

/clear vs /compact: Managing Your Context Window

September 9, 2026· 2 min read·claude-codeslash-commandscontextproductivity

When to wipe the chat with /clear and when to shrink it with /compact so Claude stays sharp.

Keeping Your Main Context Clean with Subagents

September 8, 2026· 2 min read·claude-codesubagentsproductivitycontext

Offload noisy investigation to subagents so your main session keeps only the decisions, not the file dumps.

Ask One-Off Questions Without Polluting History

September 5, 2026· 2 min read·claude-codetipsproductivitycontext

Keep your working session focused by clearing or compacting context, so unrelated questions don't crowd out the task at hand.