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 Prerequisites Get an OpenRouter API key at: https://openrouter.ai/settings/keys ⚠️ Security: Never commit API keys. Use environment variables. Project Setup Step 1: Initialize Project Step 2: Install Dependencies Step 3: Create tsconfig.json Step 4: Add Scripts to package.json File Structure Ste…