Bootstrap a modular AI agent core with OpenRouter SDK, lifecycle hooks, and optional Ink terminal UI.

CCM score
50 of 100
skills.sh installs
2.7K
GitHub stars
29
last updated
Jul 14, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers project setup for a TypeScript agent: directory layout, dependency installs, tsconfig, and npm scripts
  • Includes src/agent.ts with an EventEmitter-based Agent class, plus tools.ts, cli.tsx, and headless.ts
  • Streams responses by item ID through getItemsStream() and emits events for messages, tool calls, and reasoning
  • Designed for developers who want one agent core driven by a terminal UI, an HTTP API, or a Discord bot

Install

$ npx -y skills add openrouterarchived/agent-skills --skill create-agent -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Build a Modular AI Agent with OpenRouter

This skill helps you create a modular AI agent with:

  • Standalone Agent Core - Runs independently, extensible via hooks
  • OpenRouter SDK - Unified access to 300+ language models
  • Optional Ink TUI - Beautiful terminal UI (separate from agent logic)

Architecture

Details

Repository
github.com/openrouterarchived/agent-skills
Categories
AI Agents & LLM Apps, CLI & Terminal

More from openrouterarchived/agent-skills

All 2

Similar to Create Agent

More AI Agents & LLM Apps