←Leaderboard/Token Optimization/model-hierarchy-skill
Last commit on February 12, 2026·Created on February 11, 2026

zscole/model-hierarchy-skill

“Optimizes AI agent operations by routing tasks to the most cost-effective model tier.”
Combined rank
#636
across all skills
In Token Optimization
#4
category rank
Stars
346
0.0% in last 7d
Forks
21
0.0% in last 7d
Watchers
3
0.0% in last 7d
Traction scoreGitHub stars can be faked, so popularity alone can be misleading. Traction Score looks for broader signs of recent attention, adoption, and active maintenance.
TL;DR

This skill provides a framework for managing AI agent costs by matching task complexity to model capability. It distinguishes between routine janitorial work—such as file reads and status checks—and problems requiring deep reasoning, ensuring premium models are reserved for high-complexity tasks.

Developers can use this guidance to determine when to spawn sub-agents or switch models based on specific requirements, including distinctions between text-only and vision-capable models.

WHO IT'S FOR
AI agent / automation builders
routing tasks to cost-optimized model tiers
Platform / DevEx teams
reducing LLM operational expenditures for agents
Technical leads / architects
designing multi-model agent orchestration strategies
AI agent power users
spawning sub-agents for specific task complexities
Repository contents

1 skill file

Compatible AgentsThe repository documents support for these agents. The skills may also work with other agents that can load SKILL.md files, but they may need some setup or small changes.

Use this skill

Follow the documented setup, then try a first task.

I’m using

Install for OpenClaw

Installs: Installs the model-hierarchy skill. · OpenClaw

Before you start
  • OpenClaw must already be installed.
  • The destination directory ~/.openclaw/skills/model-hierarchy/ must already exist; the documented procedure does not create it.

Run from: model-hierarchy-skill repository root

  1. From the repository root, copy SKILL.md into OpenClaw's model-hierarchy skills directory.

    cp SKILL.md ~/.openclaw/skills/model-hierarchy/SKILL.md
  2. Restart the OpenClaw gateway so it loads the skill.

    openclaw gateway restart
README.md ↗ · Checked Oct 18, 2026

Give it something to do.

Suggested first task

Classify a small task list by model tier

Uses model-hierarchy

  • A small list of task descriptions replacing <paste a small list of tasks here>
  • Whether any task requires image or other visual input, if that is not clear from its description
Use the model-hierarchy skill to classify each of these task descriptions as routine, moderate, or complex and recommend the cheapest suitable model tier for each. Briefly explain each classification. Flag any task involving screenshots, photos, charts, or other image input so it is not assigned to a text-only model. Task descriptions: <paste a small list of tasks here>.
SKILL.md ↗ · Checked Oct 18, 2026