Agent skill · software engineering · aradotso
t1code-terminal-ui
t1code-terminal-ui — an agent skill for coding agents.
Why this skill is useful
Adds executable scripts and configuration patterns for integrating an LLM-powered coding assistant directly into the terminal.
What it needs
Requires bun installed locally. Requires openai account access. About 4k tokens when loaded. Last updated 2026-07-09. 70 stars on the source repository.
What this skill does
bash bunx @mariarcks/t1code bash bun add -g @mariarcks/t1code bash t1code bash git clone https://github.com/maria-rcks/t1code.git cd t1code bun install bun dev:tui bash OpenAI-compatible API key export OPENAIAPIKEY=yourapikeyhere Optional: custom base URL for OpenAI-compatible APIs (e.g. local Ollama, Together, etc.) export OPENAIBASEURL=https://api.openai.com/v1 Optional: specify default model export OPENAIMODEL=gpt-4o env OPENAIAPIKEY=yourapikeyhere OPENAIBASEURL=https://api.openai.com/v1 OPENAIMODEL=gpt-4o t1code/ ├── src/ │ ├── tui/ # OpenTUI components and layout │ ├── llm/ # LLM API client logic │ ├── config/ # Configuration loading │ └── index.ts # Entry point ├── assets/ │ └── repo/ ├── package.json └── bun.lockb typescript // src/index.ts - typical entry pattern import { startTUI } from "./tui"; import { loadConfig } from "./config"; const config = loadConfig(); await startTUI(config); typescript // src/llm/client.ts - example OpenAI-compatible fetch const response = await fetch(${process.env.OPENAIBASEURL}/chat/completions, { method: "POST", headers: { "Content-Type": "application/json", Authorization: Bearer ${process.env.OPENAIAPIKEY}, }, body: JSON.stringify({ model: process.env.OPENAIMODEL ?? "gpt-4o", messages: [ { role: "system", content: "You are a helpful coding assistant." }, { role: "user", content: userPrompt }, ], stream: true, }), }); bash Start Ollama with a code model ollama run codellama Point t1code to local Ollama export OPENAIBASEURL=http://localhost:11434/v1 export OPENAIAPIKEY=ollama export OPENAIMODEL=codellama bunx @mariarcks/t1code bash export OPENAIAPIKEY=$TOGETHERAPIKEY export OPENAIBASEURL=https://api.together.xyz/v1 export OPENAIMODEL=codellama/CodeLlama-34b-Instruct-hf bunx @mariarcks/t1code bash OPENAIAPIKEY=yourkey bunx @mariarcks/t1code bash Add to ~/.bashrc or ~/.zshrc export OPENAIAPIKEY=yourkey export OPENAIMODEL=gpt-4o Then just run t1code typescript // src/tui/MyPanel.ts - OpenTUI component pattern import { Box, Text } …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aradotso/t1code-terminal-ui