tuistory

Automate CLI/TUI applications with Playwright-style JavaScript/TypeScript scripts and terminal capture.

1.3k|109|Updated Sep 2, 2025
One-click install
npx skills add https://github.com/remorses/kimaki --skill tuistory
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tuistory
Source: https://github.com/remorses/kimaki/tree/main/discord/skills/tuistory
Command: npx skills add https://github.com/remorses/kimaki --skill tuistory

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates interactions with command-line interface (CLI) and terminal user interface (TUI) applications, making it possible to test, script, and integrate them programmatically.

Core Features & Use Cases

  • CLI/TUI Testing: Write Playwright-style end-to-end tests for terminal applications using JavaScript/TypeScript.
  • Terminal Automation: Script complex terminal interactions, such as launching REPLs, debuggers, or TUIs.
  • Visual Output: Capture terminal sessions as images for reporting or sharing with users.
  • Use Case: Automate the testing of a new CLI tool by simulating user input and verifying output, or script the process of launching and interacting with a TUI application to generate documentation.

Quick Start

Launch a new terminal session running the 'my-cli' command and type 'hello world'.

Frequently Asked Questions about tuistory

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

FAQPage Schema
How do I write end-to-end tests for CLI and TUI applications?

You can automate terminal interactions by launching CLI sessions and simulating user input programmatically. This Skill provides a Playwright-like interface to script complex terminal workflows and capture output as text or images.

Can I integrate terminal automation with JavaScript testing frameworks like Vitest?

Yes, terminal automation integrates with testing frameworks like Vitest and Bun:test using a JS/TS API. This enables programmatic control of CLI sessions directly within your existing JavaScript test suites.

What is the best way to capture terminal output as images for reporting?

The best way to capture terminal output as images for reporting is by using a Playwright-like terminal interface to snapshot active sessions. It captures visual output directly from automated CLI interactions.

Does this terminal testing tool work without external browser dependencies?

Yes, terminal testing works without external browser dependencies because it automates CLI and TUI applications directly. It provides both a standalone CLI mode and a JS/TS API for scripting.

How do I script complex terminal interactions like launching REPLs or debuggers?

You script complex terminal interactions like launching REPLs or debuggers by using a programmatic interface to control CLI sessions. This allows you to automate input sequences and capture the resulting terminal state.