Notes on building software.
A personal blog of technical articles about software development.
/clear vs /compact: Managing Your Context Window
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
Offload noisy investigation to subagents so your main session keeps only the decisions, not the file dumps.
Ask One-Off Questions Without Polluting History
Keep your working session focused by clearing or compacting context, so unrelated questions don't crowd out the task at hand.