360 Secure SkillHub
360 安全技能中心

OnDeckLLM

OnDeckLLM 是运行在本地端口的网页仪表盘,可从 OpenClaw 配置自动发现 LLM 提供商,管理主用与备用模型的优先级顺序,测试提供商健康与延迟,统计会话成本,并把模型列表同步回 OpenClaw 配置;支持多种主流与本地模型服务,另附查询服务运行状态的脚本。

canonflip-git
canonflip-git
热度 39.98
最近更新 2026-05-11 17:35:23
分类:自动化依赖:代码执行 / 读写文件 / 联网浏览搜索 / 第三方 API应用场景:工作流 / DevOps

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add ondeckllm
Metadata
name
ondeckllm
description
Localhost dashboard for managing LLM providers, model routing, and batting-order fallback chains. Auto-discovers providers from OpenClaw config or works standalone. Use when: (1) user wants to manage or view their LLM providers, (2) user wants to change model priority/batting order, (3) user wants to check provider health or latency, (4) user wants to add/remove/configure LLM providers, (5) user mentions OnDeckLLM or model lineup. Requires: Node.js 22+, OnDeckLLM installed (`npm install -g ondeckllm`).
install
npm install -g ondeckllm

OnDeckLLM — AI Model Lineup Manager

Prerequisites

npm install -g ondeckllm

Verify: ondeckllm --help or check install with npm list -g ondeckllm.

What It Does

OnDeckLLM is a localhost web dashboard that:

  • Auto-discovers LLM providers from OpenClaw config (~/.openclaw/openclaw.json)
  • Manages a batting-order priority list for model routing (primary + fallbacks)
  • Tests provider health and latency
  • Syncs model lineup back to OpenClaw config with one click
  • Tracks session costs (JSONL usage log + Chart.js)
  • Supports Anthropic, OpenAI, Google AI, Groq, xAI/Grok, Ollama (local + remote), Mistral, DeepSeek, Together, OpenRouter

Starting the Dashboard

# Default port 3900
ondeckllm

# Custom port
PORT=3901 ondeckllm

The dashboard runs at http://localhost:3900 (or custom port).

As a Background Service

Use the helper script to check status or start OnDeckLLM:

node scripts/status.js

Output: JSON with running (bool), port, url, and pid if active.

Agent Workflow

Check if OnDeckLLM is running

node scripts/status.js

Open the dashboard for the user

Direct them to http://localhost:3900 (or the configured port/URL).

Provider management

OnDeckLLM reads provider config from ~/.openclaw/openclaw.json automatically. Changes made in the dashboard sync back to OpenClaw config. No separate API or CLI commands needed — it's a web UI tool.

Configuration

OnDeckLLM stores its data in ~/.ondeckllm/:

  • config.json — provider settings, port, Ollama URL
  • usage.jsonl — cost tracking log
  • profiles/ — saved batting-order profiles

Remote Ollama

To connect to a remote Ollama instance, configure in the dashboard UI: Settings → Ollama → Remote URL (e.g., http://192.168.55.80:11434)

Links