← ClaudeAtlas

create-agent-tuilisted

Agent TUI scaffolding in TypeScript — @openrouter/agent, interactive terminal UI
mouadja02/skills · ★ 2 · Web & Frontend · score 68
Install: claude install-skill mouadja02/skills
> **Attribution:** Sourced from [OpenRouterTeam/skills](https://github.com/OpenRouterTeam/skills) by [OpenRouter](https://openrouter.ai). # Create Agent TUI Scaffolds a complete agent TUI in TypeScript targeting OpenRouter. The generated project uses `@openrouter/agent` for the inner loop (model calls, tool execution, stop conditions) and provides the outer shell: a customizable terminal interface, configuration, session management, tool definitions, and an entry point. Architecture draws from three production agent systems: - **pi-mono/coding-agent** — three-layer separation, JSONL sessions, pluggable tool operations - **Claude Code** — tool metadata (read-only, destructive, approval), system prompt composition - **Codex CLI** — layered config, approval flow with session caching, structured logging ## Prerequisites - Node.js 18+ - `OPENROUTER_API_KEY` from [openrouter.ai/settings/keys](https://openrouter.ai/settings/keys) - For full SDK reference, see the `openrouter-typescript-sdk` skill --- ## Decision Tree | User wants to... | Action | |---|---| | Build a new agent from scratch | Present checklist below → follow Generation Workflow | | Add tools to an existing harness | Read [references/tools.md](references/tools.md), present tool checklist only | | Add a harness module | Read [references/modules.md](references/modules.md), generate the module | | Add an API server entry point | Read [references/server-entry-points.md](references/server-entry-points.md) | --- ##