skills/pty/SKILL.md
PTY sessions for long-running processes, interactive input, signal sending (Ctrl+C), and live output tailing — use instead of bash when the process can't be run to completion synchronously
npx skillsauth add athal7/dotfiles ptyInstall 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.
Use pty_spawn instead of bash when:
| Action | Data |
|--------|------|
| Ctrl+C (interrupt) | \x03 |
| Ctrl+D (EOF) | \x04 |
| Ctrl+Z (suspend) | \x1a |
| Enter | \n |
Send with pty_write: data="\x03"
Use the pattern parameter in pty_read to filter lines by regex:
pattern="error|ERROR" # find errors
pattern="ERROR|WARN|FATAL" # find warnings and errors
pattern="failed.*connection" # more specific match
pattern filters first, then offset/limit apply to the matches — original line numbers are preserved.
pty_list — see all running/exited sessionspty_read with high offset or omit offset to see latest outputoffset = totalLines - Npty_kill with cleanup=false (default) — stops process, keeps buffer for readingpty_kill with cleanup=true — stops process and frees buffer entirelySet notifyOnExit=true to receive a message when the process exits, including exit code and last output line. Useful for build processes where you want to be notified on completion rather than polling.
development
Zoom meeting captions — file locations and format
tools
macOS dictation custom vocabulary — sync knowledge base names and terms to the system spelling dictionary
testing
Look up people, projects, products, and decisions locally first: contact info (email, Slack ID, GitHub handle), titles and teams, project/product status, who works on what, and past decisions. Check before searching Slack, email, calendar, or GitHub — this is the first stop for any contact detail, project context, or decision-history question.
testing
Communication style, audience awareness, and AI-authorship markers for human-facing prose — load when composing chat messages, review comments, merge request descriptions, emails, doc bodies, or ticket descriptions