本文へ移動
cccskills
無料GitHub で公開

add-top-openrouter-models

Sync OpenRouter models used by OpenClaw into this installation's config. Fetches the OpenClaw app leaderboard from OpenRouter, verifies model IDs against the API catalog, and adds missing models with correct specs and aliases. Use when asked to "sync openrouter models", "add missing models", "update openrouter config", or "check openrouter models".

インストール方法を見る

含まれるファイル(7)

  • SKILL.md2.9 KB
  • CHANGELOG.md457 B
  • README.md2.1 KB
  • references/aliases.json722 B
  • scripts/sync-openrouter-models.py12.9 KB
  • skill.yml502 B
  • tests/test-triggers.json486 B

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

OpenRouter Model Sync

Syncs models from the OpenClaw app leaderboard on OpenRouter into this openclaw installation.

Workflow

Step 1: Extract Model IDs via Browser

The app page is a React SPA -- must use browser tool, not web_fetch.

  1. Open https://openrouter.ai/apps?url=https%3A%2F%2Fopenclaw.ai%2F in browser (profile: openclaw)
  2. Take a snapshot, find and click "Show more" to expand full leaderboard
  3. Take another snapshot after expansion
  4. Extract model IDs from link hrefs -- they follow the pattern /<provider>/<model-name> (e.g. /moonshotai/kimi-k2.5)
  5. Filter out non-model links (navigation links to /docs, /chat, /rankings, /pricing, /enterprise, /about, etc.)
  6. Collect the model IDs (without leading slash)

Step 2: Run Sync Script

python3 scripts/sync-openrouter-models.py --models "model/id1,model/id2,..."

Options:

  • --dry-run — preview changes without writing files
  • --json — machine-readable JSON output on stdout
  • stdin also accepted (one model ID per line)

The script:

  1. Verifies each ID against the OpenRouter /api/v1/models catalog (rejects unverified)
  2. Converts verified models to openclaw format (context window, pricing, reasoning, modalities)
  3. Creates timestamped backups before writing any config file
  4. Adds missing models to ~/.openclaw/agents/<agent>/agent/models.json and ~/.openclaw/openclaw.json
  5. Generates aliases (from references/aliases.json or auto-derived)

Step 3: Restart Gateway

openclaw gateway restart

Environment Variables

VariablePurposeDefault
OPENCLAW_DIROverride openclaw directory~/.openclaw
OPENCLAW_AGENT_DIROverride agent directoryauto-detected
OPENROUTER_API_KEYAPI key (falls back to config)from config

Maintaining Aliases

Edit references/aliases.json to add or update short aliases for model IDs. The script loads this file at runtime. If missing, built-in defaults are used.

What Gets Updated

  • ~/.openclaw/agents/main/agent/models.json — openrouter provider models
  • ~/.openclaw/openclaw.json — openrouter provider models + aliases
  • Backups created as <file>.bak.<timestamp> before each write

Limitations

  • Additive only (does not remove delisted models)
  • Reasoning detection uses heuristics (architecture field + known model families)
  • Requires browser tool for Step 1 (app page is JS-rendered)

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

name: 4d-compression-core version: 1.0.2 description: "把长内容压缩成结构化向量——节省 60-80% Token,保留核心信息" metadata: { "openclaw": { "emoji": "🌀", "requires": { "bins": ["jq", "awk"] }, "triggers": ["压缩", "4d",...

日本語の概要は準備中です。原文の説明を表示しています。

modbender/skill-library-mcp162026年9月28日 更新

Use cheap, TEE-verified AI models from the 0G Compute Network as OpenClaw providers. Discover available models and compare pricing vs OpenRouter, verify provider integrity via hardware attestation (Intel TDX), manage your 0G wallet and sub-accounts, and configure models in OpenClaw with one workflow. Supports DeepSeek, GLM-5, Qwen, and other models available on the 0G marketplace.

日本語の概要は準備中です。原文の説明を表示しています。

modbender/skill-library-mcp162026年9月28日 更新

Send and receive P2P messages using disposable numbers and PINs. No servers, no accounts. Use for human notifications, approval flows, and agent-to-agent communication.

日本語の概要は準備中です。原文の説明を表示しています。

modbender/skill-library-mcp162026年9月28日 更新

0xarchive

無料

Query historical crypto market data from 0xArchive across Hyperliquid, Lighter.xyz, and HIP-3. Covers orderbooks, trades, candles, funding rates, open interest, liquidations, and data quality. Use when the user asks about crypto market data, orderbooks, trades, funding rates, or historical prices on Hyperliquid, Lighter.xyz, or HIP-3.

日本語の概要は準備中です。原文の説明を表示しています。

modbender/skill-library-mcp162026年9月28日 更新

0xwork

無料

Find and complete paid tasks on the 0xWork decentralized marketplace (Base chain, USDC escrow). Use when: the agent wants to earn money/USDC by doing work, discover available tasks, claim a bounty, submit deliverables, check earnings or wallet balance, or set up as a 0xWork worker. Task categories: Writing, Research, Social, Creative, Code, Data. NOT for: posting tasks (use the website), managing the 0xWork platform, or frontend development.

日本語の概要は準備中です。原文の説明を表示しています。

modbender/skill-library-mcp162026年9月28日 更新

Patterns and practices that dramatically accelerate development velocity. Covers parallel execution, automation, feedback loops, workflow optimization, and anti-pattern avoidance. Use when starting projects, planning sprints, optimizing workflows, or onboarding developers.

日本語の概要は準備中です。原文の説明を表示しています。

modbender/skill-library-mcp162026年9月28日 更新

modbender のスキルをすべて見る

このスキルの問題を報告する