# Openclaw Model Manager

> Model Manager Skill

- Skill: `notestone/openclaw-model-manager` (Agent Skill, multi-file: 5 files)
- Install (CLI): `npx skillmds@latest add notestone/openclaw-model-manager`
- Raw SKILL.md: https://api.skillmd.com/api/skills/notestone/openclaw-model-manager/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: Notestone (https://skillmd.com/u/notestone)
- Updated: 2026-09-15
- Page: https://skillmd.com/skills/notestone/openclaw-model-manager

---

# Model Manager Skill

Interact with OpenRouter API to fetch available models (with pricing and context window), and configure OpenClaw to use them via the `openrouter/auto` gateway or direct fallback configuration.

## Commands

- `list models` or `ls models` or `列出模型`: Fetch and display top models from OpenRouter.
- `enable <model_id>` or `启用 <model_id>`: Add a model to OpenClaw's configuration (agents.defaults.models & fallbacks).

## Implementation Details

This skill uses a Python script `manage_models.py` to:
1. Fetch `https://openrouter.ai/api/v1/models` (public API, no key needed).
2. Filter and rank models (e.g., sort by context length, pricing, or popularity).
3. Generate `config.patch` commands for OpenClaw.

## Usage Example

User: "list models"
Agent: (Runs script, displays table)
| ID | Name | Context | Price |
| :--- | :--- | :--- | :--- |
| 1 | `anthropic/claude-3.5-sonnet` | 200k | $3/$15 |
...

User: "enable 1"
Agent: (Runs config patch) "Model enabled! You can now use it in tasks."

