Skip to main content
Run any Skill in Manus
with one click

pexpect-cli-automation

Stars0
Forks0
UpdatedJuly 23, 2026 at 15:40

Use when the agent needs to interact with interactive CLI programs — programs that prompt for input, ask yes/no questions, require passwords, or run REPL sessions. Provides patterns for spawn, expect, sendline, branch handling, timeout/EOF management, cleanup, error diagnosis, log sanitization, retry, graceful exit, and agent-to-agent delegation with call-chain safety. Triggers on tasks like "automate this CLI", "script this interactive program", "handle the password prompt", "drive this REPL", "delegate to a sub-agent", or when the agent encounters a program that pauses for user input.

Installation

Install with Codex or Claude Copy this prompt, paste it into Codex, Claude, or another assistant, and let it review the skill page and install it for you.

File Explorer
20 files
SKILL.md
readonly