tee

Installation
SKILL.md

tee

When the agent runs a command, piping straight to tail -n N keeps the chat readable — and silently drops every line above the tail, including the first error of a cascading failure, the warning that produced the summary, or any earlier hint.

The fix is a one-token splice: add tee "$log" before the tail/head stage so the full output lands in a file inside a mktemp -d directory. The visible slice stays exactly as it was. The file is there for follow-up Read, grep, tail, head.

Rule

Installs
7
First Seen
Jun 7, 2026
tee — petr-korobeinikov/skills