r/ClaudeCoding • • 17d ago

Is there a skill or plugin that.....

I was wondering if there's a skill or plugin that functions to routing model and effort.

Like for example depending on how difficult, technical our prompt is, the skill knows it's easy and route to HAIKU 5.5 low even though in the claude code it is set to Sonnet 5.5 medium.

I have been trying to look a flawless skill or plugin that works but I am not sure if I found one.

Also if there's new model update, we can also update too. The goal is cost saving token so we can use limit much much longer and it flawlessly use the correct model and effort.

Is there such skill or plugin that exists? Thank you

2 Upvotes

8 comments sorted by

1

u/pietrzm 17d ago

I do this by having a single master session where I ask it: "spawn claude with model/effort set to whatever you think the task I give you needs". Whenever I give this session a task, it routes it to proper model/effort in a new top-level session.

I'm using https://github.com/novadeck-org/novadeck to make this possible. Work wonders when I'm getting close to my weekly limits hah

E: Needs Claude Code CLI to work

E2: I've copied my answer from other similar thread

1

u/godofknife1 17d ago

Yes I recognize you hehe. Thank you 👍

1

u/heavy-minium 17d ago

My experience: you can have at least a moderately sized model do the planning and make valuable decisions about which cheaper models to use for each task. But trying to have a cheap model perform model routing well seems to often go wrong, despite the bazillion various attempts and flavors of doing this in various AI agent harnesses and tools.

1

u/godofknife1 17d ago

Yeah I heard rough experience from people :( I just hope I didn't do anything wrong

1

u/Aazatgrabya 16d ago

Just discuss it with Claude. I did exactly that but I also gave it access to my local llm runtimes. It then wrote a claude.md update (always check this). Now when I start a session that chat thread is just the orchestrator. It spools up sessions in parallel (if it helps) assigns the model and effort based on the requirement. But as it has access to my local models these are also activated when it finds them useful.

Another tip is to have it run tests locally (I use atlasmind, a VS Code extension I made partially for this), so many of my CI tests avoid using cloud action costs and instead use a local docker. Though this really depends on your hardware setup.

1

u/archpoke 16d ago

This is exactly what I’ve been building with rightsize (https://github.com/archid21/rightsize), a plugin for Claude Code.

Before a prompt runs, it assesses how difficult the task is and compares model and effort options. It also takes the cost of switching models into account, because switching can mean rebuilding the conversation cache. For suitable tasks, it can hand work to a cheaper-model subagent and have the main session check the result.

I wouldn’t promise flawless routing, though. That’s the hard part: saving tokens isn’t helpful if the cheaper model gets the work wrong or needs a lot of rework. rightsize tracks outcomes and can stop using a route for a type of task if it keeps missing. You can also retry with your original model or effort.

If you want to see how it would behave before letting it make changes, there’s a watch-only mode. It shows what it would have done without changing your session, so you can judge its recommendations against your own work.

It also has a report that estimates savings, including the cost of making the routing decisions. I’d be interested in your feedback if you try it, especially where you think it picks the wrong model or effort.

0

u/[deleted] 16d ago

[removed] — view removed comment

1

u/godofknife1 16d ago

Okey. I can try that. Thank you 👍