Skip to content
UsecaseBoard
← All use cases
githubMCP

subagent-reuse MCP: stop Claude Code subagents re-reading the same files

At a glance

Show HN: `npx subagent-reuse --setup` adds an MCP that scans ~/.claude/projects/, builds SHA-256 Merkle trees of files each subagent already read/modified, and route_task decides REUSE vs CREATE_NEW before spawn—structural overlap only, no embeddings; ~1k LOC JS + 52 tests. This workflow is listed under MCP, Claude-Code, token-efficiency, subagents, context.

SourceBuilding a tool for these workflows? See weekly rates.

Save ideas in this browser. Upvotes count across the board.

Prompt excerpt

Install with npx subagent-reuse --setup, then ask Claude Code to plan→implement→fix with subagents and confirm route_task reuses the explorer that already read auth files.

Sponsored

CodeBuddy

Tencent Cloud AI coding assistant for IDE and CLI.

Try CodeBuddy ↗
Explore all →