long-context-shell
Installation
SKILL.md
Long Context Shell
Use this skill when a shell command is likely to produce long output, keep running, refresh continuously, or require structured monitoring instead of raw stdout.
Invoke When
- The command may print more than a small screen of output
- The command may run for a long time
- The command may stream continuously, such as
watch,top,tail -f,ping, or log followers - The command fails and you need a lightweight scan instead of manually reviewing a large log
Core Behavior
- Always write stdout and stderr to a timestamped log file
- Return a compact status card instead of raw full output
- Truncate long previews by default and point to the log file for deeper inspection
- Preserve timestamps so you can inspect the latest state or a specific time window
- Offer a lightweight scan step for locating likely errors, warnings, and failures