drill
Drill
/drill is a scoped descent primitive for agent systems. It creates an isolated work frame, narrows the active problem, materializes that frame as a directory in the filesystem, and optionally delegates focused work to subagents. /undrill is the upward traversal primitive — alias for /drill { direction = up }.
Intent
Control context growth, reduce cross-task contamination, and make investigation state durable. Subagents receive only relevant context and return a compressed result instead of sharing a full transcript, which improves focus and contains failures.
The design goal is narrow → investigate → trace → materialize → prevent. Every drill is both an execution frame and a reusable knowledge artifact in the project tree.
Commands
/drill { direction = down | up, ...options }
/undrill # alias for /drill { direction = up }
direction = down enters a narrower frame under the current drill; direction = up exits, consolidates findings, and returns control to the parent. If direction is omitted, default to down.