terminal-testing

terminal-testing is a skill for Claude Code from ironbee-ai/ironbee-devtools-skills. It costs 138 tokens per session (1,776 once invoked), scanned A, original, MIT.

A testing guide for interactive terminal programs through a pseudo-terminal (PTY), which makes software behave as if a person were typing into a real terminal. It covers shells, language consoles, SSH sessions, and full-screen terminal interfaces.

In plain words
What is it for?
It helps launch terminal programs, send commands or keystrokes, wait for expected output, synchronize on an idle terminal, and check results.
Why use it?
It handles prompts, colours, keyboard input, and terminal screen behavior that ordinary command execution may not reproduce.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit It helps launch terminal programs, send commands or keystrokes, wait for expected output, synchronize on an idle terminal, and check results.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ironbee-ai/ironbee-devtools-skills/terminal-testing
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ironbee-ai/ironbee-devtools-skills --skill terminal-testing
Clone the repo
git clone --depth 1 https://github.com/ironbee-ai/ironbee-devtools-skills

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for terminal-testing

README.md
[![agentmods](https://agentmods.dev/badge/skills/ironbee-ai/ironbee-devtools-skills/terminal-testing/github.svg)](https://agentmods.dev/skills/ironbee-ai/ironbee-devtools-skills/terminal-testing)
Your own site
<a href="https://agentmods.dev/skills/ironbee-ai/ironbee-devtools-skills/terminal-testing"><img src="https://agentmods.dev/badge/skills/ironbee-ai/ironbee-devtools-skills/terminal-testing/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for terminal-testing

Your own site · 80×15
<a href="https://agentmods.dev/skills/ironbee-ai/ironbee-devtools-skills/terminal-testing"><img src="https://agentmods.dev/badge/skills/ironbee-ai/ironbee-devtools-skills/terminal-testing.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 138 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,776 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00138 $0.01776
Opus 5 $0.00069 $0.00888
Sonnet 5 $0.00028 $0.00355
Haiku 4.5 $0.00014 $0.00178

Measured 9d ago against content hash a063fbf23e78, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

terminal-testing scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/terminal-testing/SKILL.md · 116 lines

How it starts

The opening of the file, as written. The whole thing — 116 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Terminal Testing Skill

Drive interactive terminal programs over a PTY using the Terminal DevTools CLI. Spawn a shell / REPL / TUI attached to a pseudo-terminal, type into it, synchronize on its output, and read what it produced — the way a human (or tmux) would.

When to Use

This skill activates when:

  • User wants to test or automate a CLI, REPL, or full-screen TUI
  • User needs a program to run on a real TTY (colors, readline, password prompts, ncurses UIs)
  • User wants to type commands/keystrokes into an interactive program and assert on its output
  • User wants a one-shot command's full output + exit code
  • User mentions a PTY, pseudo-terminal, shell session, expect-style automation, or driving vim/psql/python

The platform spawns the process itself — it does not attach to a pre-existing external process. For web pages use browser-testing; for server APIs use backend-testing; for Node.js process debugging use the node CLI.

Synchronization model (wait, don't sleep)

There is no assert tool and no fixed-delay step. After sending input, block on expected output with sync wait-for (regex) or sync wait-for-idle (output went quiet) before sending more input or reading. Chain incremental reads by passing the returned cursor as --since to the next content capture / sync wait-for, so you only ever see new output. Guessing with sleeps is unreliable; matching on output is not.

Capabilities

Pane lifecycle

ironbee-terminal-devtools-cli --json pty start                          # default shell
ironbee-terminal-devtools-cli --json pty start --command python --cols 100 --rows 30
ironbee-terminal-devtools-cli --json pty list
ironbee-terminal-devtools-cli pty resize --pane-id <id> --cols 120 --rows 40
ironbee-terminal-devtools-cli pty stop --pane-id <id>

Send input (tmux key syntax)

ironbee-terminal-devtools-cli interaction send-keys --pane-id <id> --keys '["ls -la","Enter"]'
ironbee-terminal-devtools-cli interaction send-keys --pane-id <id> --keys '["C-c"]'
ironbee-terminal-devtools-cli interaction send-text --pane-id <id> --text "SELECT 1;"

Read the full file on GitHub · 116 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 116 lines · 138 tokens per session scan A a063fbf23e78

Subscribe to this mod's changes

terminal-testing is a skill published in the GitHub repository ironbee-ai/ironbee-devtools-skills (3 stars, last pushed 1mo ago), licensed MIT. It adds 138 tokens to every session and 1,776 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

Author and Run Regression Tests with Agent QA

Use Agent QA's CLI and MCP server to author, validate, run, debug, and triage natural-language web and mobile regression tests with persistent test memory and reviewable run evidence.

agentskillexchange/skills · 46 tokens

dogfood

Systematically explore and test a web application to find bugs, UX issues, and other problems. Use when asked to "dogfood", "QA", "exploratory test", "find issues", "bug hunt", "test this app/site/platform", or review the quality of a web application. Produces a structured report with full reproduction evidence -…

leeguooooo/chrome-use · 100 tokens

playwright-tabbed-orchestration

Parent Agent uses playwright-tabbed to allocate browser tabs and partition tasks, then spawns child agents in parallel — each operating on its assigned tabid — for browser acceptance testing or automation, with a final aggregated summary. Suitable for multi-page validation, parallel module checks, and…

songofhawk/playwright-mcp-tabbed · 96 tokens

workflow-patterns

Use this skill when implementing tasks according to Conductor's TDD workflow, handling phase checkpoints, managing git commits for tasks, or understanding the verification protocol.

wshobson/agents · 35 tokens

skillshare-implement-feature

Implement a feature from a spec file or description using TDD workflow. Use this skill whenever the user asks to: add a new CLI command, implement a feature from a spec, build new functionality, add a flag, create a new internal package, or write Go code for skillshare. This skill enforces test-first development…

runkids/skillshare · 114 tokens

designing-tests

Designs and implements testing strategies for any codebase. Use when adding tests, improving coverage, setting up testing infrastructure, debugging test failures, or when asked about unit tests, integration tests, or E2E testing.

CloudAI-X/claude-workflow-v2 · 48 tokens