Skip to main content
skill CX Codex

create-agent-tui — Claude Code skill: scaffold terminal agents in minutes

create-agent-tui is a Claude Code skill that generates a TypeScript agent with terminal UI, tools, and sessions for building an agent from scratch or adding a terminal interface.

no license 358 installs ★ 327 updated 2026-11-06

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add OpenRouterTeam/skills --skill create-agent-tui -a claude-code
Open on GitHub

What create-agent-tui does

The skill does not write the agent for you — it sets up the frame: project structure, config, a tool layer (file read/write, search, shell execution), and a terminal UI out of the box.

Inside: typed TypeScript code with @openrouter/agent for model calls and tool dispatch. Outside: an interactive terminal shell with session history (JSONL), support for OpenRouter server-side tools (web search, datetime, image generation), and optional modules—context compaction, slash commands, approval gates for risky operations.

Requires Node.js 18+ and an OPENROUTER_API_KEY. The skill launches an interactive checklist—pick which tools and modules to enable, choose input and tool-display styles—then generates the whole project tailored to your choices.

What it helps with

  • scaffold a terminal agent with session persistence
  • wire tools to an OpenRouter model (file I/O, search, shell, web fetch)
  • customize terminal UI look and feel without rewriting core logic
  • add optional harness modules (context compaction, commands, logging)

Example prompts for the agent

  • Generate a new agent for file operations with search and directory listing
  • Build a TUI with session history, a slash command to switch models, and a plain input prompt
  • Create an agent with web search, image generation, and approval before each shell command

How to install create-agent-tui

1Skills CLI (Vercel)

npx skills add OpenRouterTeam/skills --skill create-agent-tui -a claude-code

2Manually: put the files in place

~/.claude/skills/create-agent-tui/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/create-agent-tui/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about create-agent-tui

How do I install create-agent-tui in Claude Code?

Run npx skills add OpenRouterTeam/skills --skill create-agent-tui -a claude-code, then open the file ~/.claude/skills/create-agent-tui/SKILL.md.

What does create-agent-tui do?

The skill generates a full TypeScript agent project with a terminal interface, tools (file read/write, search, shell execution), and session persistence. Once generated, the project runs immediately and you can customize it for your use case.

What do I need to use it?

Node.js 18 or later and an OpenRouter API key in the OPENROUTER_API_KEY environment variable. During generation, the skill presents a checklist—select the tools and modules you want, and the rest is scaffolded automatically.

Similar skills

All skills for Agent setup: memory, context, orchestration →

From the same set16

The whole set →
openrouter-analytics openrouter-analytics inspects OpenRouter costs, token counts, and latency through natural-language prompts. Useful when auditing API bills or finding expensive models. CX Codex +1 385installs openrouter-generations openrouter-generations is a Claude Code skill for inspecting OpenRouter requests by generation ID. It shows token costs, latency, provider routing, and saved prompts. CX Codex +1 383installs openrouter-agent-migration openrouter-agent-migration walks you through switching agent imports from @openrouter/sdk to the @openrouter/agent package. CX Codex +1 383installs openrouter-oauth openrouter-oauth adds Sign In with OpenRouter to browser apps via OAuth PKCE without a backend, SDK, or client credentials. CX Codex +1 362installs openrouter-analytics-schema Fetches live OpenRouter analytics schema details, including metrics, dimensions, and filter rules. Useful when constructing usage or cost queries. CX Codex +1 355installs openrouter-analytics-query openrouter-analytics-query — a skill for building and running queries against the OpenRouter analytics API. Use it to pull metrics on model usage, group results by dimensions, and filter by time, model, or other parameters. CX Codex +1 355installs openrouter-tts openrouter-tts synthesizes speech audio from text using OpenRouter's speech API. Generates voiceovers, audiobook snippets, and audio files right from your prompt. CX Codex +1 327installs create-headless-agent create-headless-agent scaffolds headless TypeScript agents using Bun and @openrouter/agent. Builds CLI utilities, API servers, queue workers, and data pipelines without a terminal UI. CX Codex +1 320installs

Project sponsors

Companies that keep this analytics open