pty-capture
Background knowledge for droid-control workflows -- not invoked directly. Capture ground-truth byte sequences from real terminal emulators.
How do I install this agent skill?
npx skills add https://github.com/factory-ai/factory-plugins --skill pty-captureIs this agent skill safe to install?
- Gen Agent Trust Hubwarn
The pty-capture skill provides methods for capturing raw byte sequences from various terminal emulators on Linux, macOS, and Windows. It utilizes system-level commands, including sudo and PowerShell execution policy bypasses, to install dependencies and run capture scripts. It also executes dynamic code (Python and Perl) to interact with terminal hardware. While these actions are necessary for its specialized debugging purpose, they grant the agent significant control over the host and virtualized systems.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
PTY Byte Capture
The orchestrator routed you here. Use these mechanics to execute your plan.
Capture the exact bytes a real terminal emits for a given keystroke. Use this when the question is "what sequence does terminal X send for key Y?" rather than "does the UI look right?"
Platform support
| Platform | Status | Read |
|---|---|---|
| Linux / Wayland | Implemented | platforms/linux.md |
| Windows (KVM) | Implemented | platforms/windows.md |
| macOS (QEMU) | Implemented | platforms/macos.md |
Read the platform file for your target OS. Each contains the capture architecture, prerequisites, usage pattern, and platform-specific notes.
Known dead ends
- Xvfb + xdotool: bypasses real keyboard processing entirely
- uinput + Xvfb: Xvfb does not consume kernel input devices
- SSH PTY for keystroke injection: distorts the input encoding; SSH is only for output capture or deployment
Follow-on
Feed captured bytes into terminal compatibility fixtures and replay tests in apps/cli.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/factory-ai/factory-plugins/pty-capture">View pty-capture on skillZs</a>