Tkflyc AI CLI — AI skill for Claude Code
Run Claude Code, Codex, Antigravity and any OpenAI-compatible API as MCP tools with background jobs — registry architecture, circuit breaker, honest return values.
How to install Tkflyc AI CLI
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open moerasermax/tkflyc-ai-cli and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Tkflyc AI CLI does
Run Claude Code, Codex, Antigravity and any OpenAI-compatible API as MCP tools with background jobs — registry architecture, circuit breaker, honest return values.
Alternatives in AI
- Ralph For Claude Code — by Frank Bria - An autonomous AI development framework that enables Claude Code to work iteratively on project 8k ★
- WindsurfAPI — Turn Windsurf / Devin Desktop's 100+ AI models (Claude, GPT, Gemini, DeepSeek, Kimi, GLM, SWE) into OpenAI-, A 3k ★
- Skill Architecture — System architecture and API design with multi-AI consensus — use for design reviews and new subsystems 2.8k ★
README
ai-cli-mcp
[](https://github.com/moerasermax/tkflyc-ai-cli/actions/workflows/ci.yml) [](https://www.npmjs.com/package/@tkflyc/ai-cli-mcp) [](LICENSE)
Run local AI CLIs — Claude, Codex, Antigravity (`agy`) — and **any third-party OpenAI-compatible API** as MCP tools, with background jobs. Self-maintained from source, built on a registry architecture: adding an agent means adding one file.
Requires Node `^20.19.0 || >=22.12.0`.
完整中文文件(環境變數、設定檔、每個工具的細節)見 **[README.zh-TW.md](README.zh-TW.md)**. The Chinese document is the exhaustive reference; this page covers the design and the parts you need to get running.
Quick start
From npm — nothing to build:
claude mcp add ai-cli -s user -- npx -y @tkflyc/ai-cli-mcp
From source — if you intend to change it:
git clone https://github.com/moerasermax/tkflyc-ai-cli
cd tkflyc-ai-cli
npm install # triggers build via the prepare script and produces dist/
claude mcp add ai-cli -s user -- node "$PWD/dist/server.js"
`dist/` is not version-controlled, so the source install has to build before first use. `npm install` runs it through the `prepare` script, so a separate `npm run build` is normally unnecessary.
What it does
Each supported CLI becomes a tool you can call from an MCP client. Jobs run in the background: `run` returns a PID immediately, and `list_processes`, `peek`, `wait` and `get_result` observe it while it works. Three entry points — the MCP server, the `ai-cli` command line, and the detached file-backed runner — are equivalent in behavior; they differ only in where job state lives.
Architecture
src/
├─ agents/ one file per AI — this is the extension point
│ ├─ types.ts AgentDefinition, the core contract
│ ├─ registry.ts
Related Skills
CLIProxyAPI
Wrap Gemini CLI, Antigravity, ChatGPT Codex, Claude Code, Qwen Code, iFlow as an OpenAI/Gemini/Claude/Codex co
LinkedIn Automation AI Agent
Run your LinkedIn on autopilot: one post a day, useful comments, connection notes with a real message, and pro
onWatch
Open-source Go CLI that tracks AI API quota usage across 7 providers (Synthetic, Z.ai, Anthropic, Codex, GitHu
Klaudimero
Self-hosted AI assistant service and native iOS/macOS app powered by Claude Code — streaming chat, scheduled j
Devo
Model-neutral agent desktop/runtime for private, enterprise, and OpenAI-compatible / Anthropic-compatible mode
TurboLLM
Run any local LLM engine, auto-tuned to your GPU — polished web UI + OpenAI/Anthropic-compatible API. Point Cl
Related Agents
Codex CLI
Codex CLI → any OpenAI-compatible endpoint
Resilience HTTP
Configura padrões de resiliência HTTP — retry com backoff, circuit breaker, timeouts e propagação de Correlati
SRE Oncall
Revisor SRE pre-merge para Booster AI — observabilidad, rollback readiness, SLOs, capacity, costos GCP, depend