Term Wrapper

Control terminal applications via HTTP/WebSocket APIs and CLI commands.

12|Updated Jan 12, 2026
One-click install
npx skills add https://github.com/rom1504/term-wrapper --skill term-wrapper
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Term Wrapper
Source: https://github.com/rom1504/term-wrapper/tree/main/skill
Command: npx skills add https://github.com/rom1504/term-wrapper --skill term-wrapper

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill allows you to programmatically control any terminal application, including TUI applications, CLI tools, and interactive programs, through HTTP APIs or CLI commands, eliminating manual terminal interaction.

Core Features & Use Cases

  • Programmatic Control: Run and interact with terminal applications like vim, htop, nano, or less via code.
  • Automate CLI Tools: Script complex CLI workflows and integrate them into larger applications.
  • Interactive Program Management: Control interactive shells, REPLs, and AI CLIs like claude.
  • Data Retrieval: Capture and parse terminal output, including raw ANSI codes or cleaned text.

Quick Start

Use the term-wrapper CLI to create a bash session and then send the command 'ls -la' to it.

Frequently Asked Questions about Term Wrapper

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate interactive terminal applications programmatically?

You can automate interactive terminal applications by using HTTP/WebSocket APIs and CLI commands to send inputs and retrieve outputs, eliminating the need for manual terminal interaction.

Can I control TUI applications like vim or htop through code?

Yes, you can control TUI applications like vim or htop through code by creating a managed session and sending programmatic inputs via HTTP APIs or CLI commands.

What is the best way to script interactive shells and REPLs?

The best way to script interactive shells and REPLs is to use a wrapper that provides programmatic control via HTTP APIs, enabling automated session management and input dispatch.

How do I retrieve and parse terminal output without ANSI codes?

To retrieve and parse terminal output without ANSI codes, use a terminal control wrapper that supports output retrieval with ANSI code stripping, delivering cleaned text for data parsing.

Does this terminal automation approach work with AI CLIs?

Yes, this terminal automation approach works with AI CLIs by facilitating interactive program management, allowing you to programmatically control interactive sessions and retrieve their outputs.

What are the limitations of automating CLI tools via HTTP APIs?

Automating CLI tools via HTTP APIs requires managing session states and handling raw terminal outputs, which may include complex ANSI codes that need stripping for clean text retrieval.