Agent skill
hive.terminal-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.
★ 11,005 stars Apache-2.0 aden-hive/hive
Install this skill
This command installs the skill into the portable ~/.agents/skills directory. The homepage installer can generate the native path for your specific agent.
mkdir -p $HOME/.agents/skills/'terminal-tools-pty-sessions' && curl -fsSL 'https://raw.githubusercontent.com/aden-hive/hive/HEAD/core/framework/skills/_preset_skills/terminal-tools-pty-sessions/SKILL.md' -o $HOME/.agents/skills/'terminal-tools-pty-sessions'/SKILL.md Skill details
- Repository
- aden-hive/hive
- SKILL.md path
- core/framework/skills/_preset_skills/terminal-tools-pty-sessions/SKILL.md
- Author
- aden-hive
- Tags
- agent-skill