Skip to content

Pass the Evidence Without the Clipboard Handoff

2026-07-12claude-code, practice

When an integration fails, the exact error is more useful than your recollection of it. cat error.log | claude passes a file into the CLI without copying from terminal scrollback.

Inspect and redact the input first. Logs can contain tokens, customer data and attacker-controlled text. A pipe changes transport; it does not grant permission to send the contents to a model.

It also does not guarantee unlimited context or complete processing. For a large log, select the relevant interval, state what was omitted and retain the original in an approved location. Confirm the diagnosis cites the supplied records.

The interactive controls also support shell-command input. Inspect a command before using it: bringing its output into context does not make its execution harmless. Reduce copying errors while keeping responsibility for what is sent and run.