|
| 1 | +Use this tool to distill relevant findings from a selection of raw tool outputs into preserved knowledge, in order to denoise key bits and parts of context. |
| 2 | + |
| 3 | +THE PRUNABLE TOOLS LIST |
| 4 | +A <prunable-tools> will show in context when outputs are available for distillation (you don't need to look for it). Each entry follows the format `ID: tool, parameter (~token usage)` (e.g., `20: read, /path/to/file.ts (~1500 tokens)`). You MUST select outputs by their numeric ID. THESE ARE YOUR ONLY VALID TARGETS. |
| 5 | + |
| 6 | +THE PHILOSOPHY OF DISTILLATION |
| 7 | +`distill` is your favored instrument for transforming raw tool outputs into preserved knowledge. This is not mere summarization; it is high-fidelity extraction that makes the original output obsolete. |
| 8 | + |
| 9 | +Your distillation must be COMPLETE. Capture function signatures, type definitions, business logic, constraints, configuration values... EVERYTHING essential. Think of it as creating a high signal technical substitute so faithful that re-fetching the original would yield no additional value. Be thorough; be comprehensive; leave no ambiguity, ensure that your distillation stands alone, and is designed for easy retrieval and comprehension. |
| 10 | + |
| 11 | +AIM FOR IMPACT. Distillation is most powerful when applied to outputs that contain signal buried in noise. A single line requires no distillation; a hundred lines of API documentation do. Make sure the distillation is meaningful. |
| 12 | + |
| 13 | +THE WAYS OF DISTILL |
| 14 | +`distill` when you have extracted the essence from tool outputs and the raw form has served its purpose. |
| 15 | +Here are some examples: |
| 16 | +EXPLORATION: You've read extensively and grasp the architecture. The original file contents are no longer needed; your understanding, synthesized, is sufficient. |
| 17 | +PRESERVATION: Valuable technical details (signatures, logic, constraints) coexist with noise. Preserve the former; discard the latter. |
| 18 | + |
| 19 | +Not everything should be distilled. Prefer keeping raw outputs when: |
| 20 | +PRECISION MATTERS: You will edit the file, grep for exact strings, or need line-accurate references. Distillation sacrifices precision for essence. |
| 21 | +UNCERTAINTY REMAINS: If you might need to re-examine the original, defer. Distillation is irreversible; be certain before you commit. |
| 22 | + |
| 23 | +Before distilling, ask yourself: _"Will I need the raw output for upcoming work?"_ If you plan to edit a file you just read, keep it intact. Distillation is for completed exploration, not active work. |
| 24 | + |
| 25 | +THE FORMAT OF DISTILL |
| 26 | +`targets`: Array of objects, each containing: |
| 27 | +`id`: Numeric ID (as string) from the `<prunable-tools>` list |
| 28 | +`distillation`: Complete technical substitute for that tool output |
0 commit comments