trogon

Generate interactive terminal UIs from Click and Typer CLIs.

1|Updated Feb 11, 2026
One-click install
npx skills add https://github.com/fredericosantos/skills --skill trogon
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: trogon
Source: https://github.com/fredericosantos/skills/tree/main/skills/trogon
Command: npx skills add https://github.com/fredericosantos/skills --skill trogon

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Automates the creation of interactive terminal UIs for Click and Typer CLIs, turning commands, options, and arguments into form fields to improve discoverability and usability.

Core Features & Use Cases

  • Auto-generates a Textual-based UI from a Click or Typer CLI, rendering commands, options, and arguments as structured input widgets.
  • Supports nested subcommands, type mapping, and theming/custom widgets to tailor the UI to your app.
  • Use Case: add an interactive interface to an existing CLI to guide users through complex commands without writing UI code.

Quick Start

Install trogon and wrap your CLI with the tui decorator to launch the interactive UI.

Frequently Asked Questions about trogon

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

FAQPage Schema
How do I generate an interactive TUI from a Click or Typer CLI?

To generate an interactive TUI from a Click or Typer CLI, you install the trogon library, wrap your application with a decorator, and auto-generate a Textual-based interface rendering commands and arguments as structured input widgets.

What is the best way to add a visual form-based interface to an existing Python CLI?

The best way to add a visual form-based interface to an existing CLI is auto-generating a terminal UI that transforms commands, options, and arguments into interactive input fields without requiring manual UI code.

Does auto-TUI generation work with nested subcommands in Click and Typer apps?

Auto-TUI generation works with nested subcommands in Click and Typer apps by automatically mapping them into structured input widgets within the Textual-based UI to guide users through complex command structures.

Do I need to install specific dependencies to use auto-TUI generation with Typer?

You need to install the trogon library for auto-TUI generation, and specifically the trogon[typer] extra dependency when integrating the interactive terminal UI with a Typer application.

Can I apply custom theming and widgets to the generated interactive terminal UI?

You can apply custom theming and custom widgets to the generated interactive terminal UI to tailor the visual interface and parameter input forms specifically to your application's requirements.