cut-openrouter-api-costs-model-aliases
Cut your OpenRouter API costs 50-90%. Adds cheap and powerful model aliases to your setup, then advises when to switch models based on task complexity. 8…
от rondoflow★ 37 звёзд на GitHub
Установить cut-openrouter-api-costs-model-aliases в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
OpenClaw Cost Optimizer
⛔ AGENT RULES — READ BEFORE DOING ANYTHING
- Use EXACT text from this file. Do not paraphrase menus, preset names, or instructions. If you invent preset names, the config-patcher will break.
- Only these 8 presets exist:
balanced,code-machine,claude-diehards,big-context,openai-focused,tool-master,ultra-budget,free-tier. No others. Never invent names like "strict", "thrifty", "standard", "quality", "performance", "max", "custom" — they don't exist and will cause errors.- NEVER tell the user to open a terminal or run commands. You have the exec tool. USE IT. Run every command yourself via exec. The user's only job is clicking "Approve" on the exec popup. If you find yourself typing "Run this in your terminal" — STOP. Use exec instead.
- One step at a time. Run one exec, show the result, explain it, then proceed.
- We NEVER change the user's default model, fallbacks, or existing config. We ONLY add model aliases. Their setup stays exactly as it was.
Cut your API costs 50-90%. No terminal. No config editing. 3 clicks.
Right now, every task you give your agent — even "what time is it?" — uses the same expensive model. Heartbeats, pings, simple questions — all billed at the same rate as complex architecture work.
This skill fixes that. It adds cheap and powerful models to your setup, then tells you when to switch to something cheaper or more powerful — with the cost difference and the reason why. You say yes or no. That's it.
Your current default model stays exactly the same. We only ADD options. Nothing is removed or changed.
8 presets. 29 models. Zero risk. Nothing to undo.
NEW in v1.1.0:
- 💸 Cost Tracker — "how much have I saved?" shows your actual savings since install
- 🔀 Mix & Match — build a custom preset from the full 29-model registry
- 📊 Monthly Calculator — "estimate my monthly costs" to plan your budget
Requires: OpenClaw + an OpenRouter API key (free at https://openrouter.ai)
How It Works — Full Walkthrough
Step 1: First Chat — Pick a Preset
When the skill loads, the agent introduces itself and shows a menu. The agent must output the EXACT text below:
🚨 AGENT: OUTPUT THE EXACT TEXT BELOW VERBATIM. DO NOT PARAPHRASE. DO NOT INVENT YOUR OWN PRESET NAMES. The formatting, emojis, section headers, pricing indicators, and warnings are all intentional.
👋 The Cost Optimizer skill is now active!
Right now, every task you give me — even simple questions — uses
the same expensive model. That means heartbeats, pings, and
"what time is it?" cost the same as "build me an auth system."
I'm going to fix that. I'll add cheap and powerful models to your
setup, then tell you when to switch. Your current default stays
exactly the same — I only ADD options.
What describes you best?
── RECOMMENDED ──────────────────────────────────
1. 💰 Best balance of cost and quality ¢¢
(recommended for most people)
2. 💻 I mostly write code ¢¢
── MORE OPTIONS ─────────────────────────────────
3. 🟠 I love Claude and want Claude models $$$
4. 📚 I work with huge files or long code $$
5. 🤖 I prefer OpenAI models $$
6. 🔧 I use a lot of tools / MCP servers $$
── BUDGET ───────────────────────────────────────
7. 🪙 Cheapest possible — tight budget ¢
⚠️ Uses free models — may have slow
starts and occasional disconnects
8. 🆓 I want $0 cost — free models only FREE
⚠️ ALL models are free tier — expect
delays, rate limits, and downtime.
Best for testing, not production.
Pricing: FREE = $0 | ¢ < $0.50/M | ¢¢ < $2/M | $$ = $2-15/M | $$$ = $15+/M
(per million tokens — a typical task uses 1K-10K tokens)
Just pick a number. If you're not sure, pick 1.
AGENT — Preset mapping (do not show this to user): 1→
balanced, 2→code-machine, 3→claude-diehards, 4→big-context, 5→openai-focused, 6→tool-master, 7→ultra-budget, 8→free-tierVague answer →balanced. "I don't know" →balanced+ "We can change later."
Step 2: The Agent Explains What Will Change
After the user picks, the agent explains what models are being added — in plain English.
Example for "balanced":
Great choice! Here's what I'm going to add to your setup:
✅ Flash-Lite — ultra-cheap model for simple tasks (¢)
→ /model flashlite
✅ MiniMax M2.1 — strong coding/writing model (¢¢)
→ /model minimax
✅ Kimi K2.5 — frontier-class for complex work (¢¢)
→ /model kimi25
✅ Gemini Flash — fast all-rounder (¢)
→ /model flash
Your current default model stays exactly the same.
I'm just adding these as options you can switch to anytime.
I'll set this up now — you'll see a couple of Approve popups.
Just click Approve on each one.
Step 3: Agent Runs Everything — User Just Clicks Approve
The agent handles ALL commands via the exec tool. The user never touches a terminal.
**🚨 AGE
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- manifest.json
FAQ
Что делает скилл cut-openrouter-api-costs-model-aliases?
Cut your OpenRouter API costs 50-90%. Adds cheap and powerful model aliases to your setup, then advises when to switch models based on task complexity. 8 presets, 29 models, zero config risk — only adds aliases, never changes your default. 3 clicks to set up. NEW: Cost Tracker s…
Как установить скилл cut-openrouter-api-costs-model-aliases?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл cut-openrouter-api-costs-model-aliases запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
AnthropicGuide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
academy-guide
AnthropicStop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
internal-comms
AnthropicA set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
skill-development
AnthropicThis skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…