← ClaudeAtlas

run-cliclisted

Build, run, and drive CLIC (the CLI tool in this repo). Use when asked to start CLIC, run it, test it, send it a prompt, or verify a change works in the running app.
UdaySharmaGitHub/CLIC-Agentic-CLI-like-Code-Claude · ★ 1 · AI & Automation · score 62
Install: claude install-skill UdaySharmaGitHub/CLIC-Agentic-CLI-like-Code-Claude
CLIC is a Node.js/TypeScript agentic CLI (REPL + single-turn mode). It requires a real TTY — `@clack/prompts` crashes without one. Drive it via `.claude/skills/run-clic/driver.mjs`, which wraps it in a tmux session so you can send input and read output programmatically. All paths below are relative to the repo root. ## Prerequisites ```bash brew install tmux # provides the PTY; required — the app crashes without one ``` Node.js ≥18 and pnpm are assumed present (they ship with this repo's dev environment). `tsx` is already in `node_modules/.bin/`. ## Setup Dependencies are already installed (`node_modules/` exists). To reinstall from scratch: ```bash pnpm install ``` API key and base URL come from `.env` — already populated in this repo. ## Run (agent path) All commands run via the driver. Run from the repo root. ### Single-turn (most useful for verifying a change) Runs CLIC with a prompt, waits for the agent to finish, prints the full pane output, then exits: ```bash node .claude/skills/run-clic/driver.mjs single "list the files in the current directory" ``` Expected output ends with `✔ Task complete after N step(s).` ### Interactive REPL session Launch and leave the REPL running in the background tmux session: ```bash node .claude/skills/run-clic/driver.mjs launch ``` Then send a slash command and capture the output: ```bash node .claude/skills/run-clic/driver.mjs slash /status node .claude/skills/run-clic/driver.mjs slash /tokens node .claude/skills/