testingterm
These docs were written by an AI agent. They were checked against the code, but may still contain mistakes; when in doubt, trust testingterm --help and the types.

Using it from an agent

Give a coding agent a terminal to test with, and get evidence back.

testingterm was designed for coding agents: they need to check that a CLI or TUI change works, and the human wants proof.

Install the skill

$ testingterm setup

This links the testingterm skill into Claude Code, Codex, Cursor and Gemini (where installed) and ~/.agents/skills. The skill tells the agent when to reach for testingterm, how to write a one call script or drive a terminal step by step, the rules that keep checks reliable, and how to hand back screenshots and videos.

Or paste this into your agent:

Install testingterm (curl -fsSL https://testingterm.sh/install | sh), run `testingterm setup --yes` to add its skill, then use it to test this project's terminal app and show me the video it records.

Two ways agents use it

  • One call: write a script and run it, get pass or fail plus artifact paths back. Fast and repeatable.
  • Step by step: testingterm new, then screen, press, click, screenshot, reading the screen between steps. Good for exploring an unfamiliar app.

Evidence for the human

  • Screenshots are real PNGs an agent can read back to look at its work.
  • --video on recordings show the pointer, clicks and keys, so a person can watch what the agent did.
  • --headed opens a window so a person can watch live (see headed mode).