pexpect-cli
CommunityAutomate interactive CLIs with sessions
Authoraldoborrero
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Automate interactive CLI programs that require prompts and user input, enabling reliable, repeatable automation without manual intervention.
Core Features & Use Cases
- Session-based automation: Manage named pexpect sessions that persist across commands.
- Prompt-driven workflows: Drive complex CLI interactions (SSH, databases, editors) with expect-based patterns.
- Error handling & monitoring: Detect timeouts and EOF, surface outputs for debugging, and ensure clean termination.
Quick Start
Start a named session, spawn the target CLI, then interact incrementally with expect patterns.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: pexpect-cli Download link: https://github.com/aldoborrero/agent-kit/archive/main.zip#pexpect-cli Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.