agent/skills/tools/shell-session/SKILL.md
Run commands in a persistent bash session with stateful cd, env vars, and job state. Use when running multi-step workflows, building projects, or any task requiring state between commands.
npx skillsauth add knoopx/pi shell-sessionInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Stateful bash: cd, env vars, and job state persist across calls.
REQUIRED: command (one shell command, NOT a script) OPTIONAL: timeout (seconds; default 30, use 120–300 for installs/builds)
RULES:
vi, less, top, python bare REPL).
Use non-interactive equivalents (cat, sed -i, python -c '…').[exit=N cwd=… timed_out=…] — check exit=0 before claiming success.EXAMPLE:
{"name": "shell-session", "input": {"command": "cd /work && ls -la"}}
EXAMPLE with timeout:
{"name": "shell-session", "input": {"command": "pip install -q requests", "timeout": 180}}
exit=0 in the footer before assuming successtimed_out=true, diagnose the cause rather than retrying blindlytools
Inform the user what is happening — skip passive lookups
development
Renders markdown to self-contained HTML with a custom dark stylesheet and opens in browser. Use when previewing markdown documents, generating styled HTML from README or report files.
testing
Programmatic hunk selection for Jujutsu — split, commit, or squash specific hunks without interactive prompts. Use when making partial commits or selective squashes.
content-media
Manage version control with Jujutsu (jj) — no staging area, immediate changes, smart rebasing. Use when navigating history, squashing, or pushing to Git remotes.