← ClaudeAtlas

create-headless-agentlisted

Scaffolds a headless agent in TypeScript using @openrouter/agent and Bun — for CLI tools, API servers, queue workers, and pipelines. No terminal UI
mouadja02/skills · ★ 3 · AI & Automation · score 69
Install: claude install-skill mouadja02/skills
> **Attribution:** Sourced from [OpenRouterTeam/skills](https://github.com/OpenRouterTeam/skills) by [OpenRouter](https://openrouter.ai). # Create Headless Agent Scaffolds a headless agent in TypeScript targeting OpenRouter. The generated project uses `@openrouter/agent` for the inner loop (model calls, tool execution, stop conditions) and provides a clean programmatic shell: configuration, session management, tool definitions, and one or more entry points (CLI, HTTP server, MCP server, or library import). No terminal UI, no readline, no ANSI — just input in, result out. ## Prerequisites - Bun 1.1+ - `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 headless agent | Present checklist below, follow Generation Workflow | | Add tools to an existing agent | Read [references/tools.md](references/tools.md), present tool checklist only | | Add a module | Read [references/modules.md](references/modules.md), generate the module | | Add an entry point | Read [references/entry-points.md](references/entry-points.md), generate it | --- ## Interactive Feature Checklist Present this as a multi-select checklist. Items marked **ON** are pre-selected defaults. ### Entry Points (pick one or more) | Entry Point | Default | Description | |-------------|---------|-------------| | CLI | ON | args/stdin t