Hiveterminal Tools Pty Sessions

Use when you need state across calls — building env vars, navigating with cd, driving REPLs (python -i, mysql, psql, node), or responding to interactive prompts (sudo password, ssh host-key confirmation, mysql connection). Teaches the prompt-sentinel exec pattern (default mode), raw I/O for REPLs (raw_send=True then read_only=True), the one-in-flight-per-session rule, and the close-or-leak-against-the-cap discipline. Bash on macOS — never zsh; explicit shell=/bin/zsh is rejected. Read before calling terminal_pty_open.

thedixitjain fef5bad 5.7 KB Updated 2 repo stars

File contents

thedixitjain/the-mega-skill-library/tree/main/library/prompt-engineering/hiveterminal-tools-pty-sessions commit fef5bad3d5

Frequently asked questions

npx skillmds add thedixitjain/hiveterminal-tools-pty-sessions