# How to use Claude to keep coding context clean

An author built separate-context research, Git, and Bash sub-agents that return condensed findings instead of full files, raw diffs, and logs, reporting a 90–95% token reduction on heavy operations.

Agent: Claude
Tools: Claude, house-research, house-git, house-bash
Category: Software & DevOps
Date: 2025-10-15

Outcome: The author reports a 90–95% token reduction on heavy operations and says the main instance remained focused on implementation.

## Steps

1. Built a research sub-agent returning findings with file and line references.
2. Built a Git sub-agent returning impact summaries grouped by severity.
3. Built a Bash sub-agent extracting key command results and errors.
4. Tested the sub-agents and reported token reductions on heavy operations.

Human oversight: The author tested the three implemented agents; the post does not describe detailed review criteria for their summaries.

Source: [houseworth on Hacker News](https://news.ycombinator.com/item?id=45587911)

Canonical URL: https://agentsinuse.com/use-cases/claude-to-keep-coding-context-clean/
