r/ClaudeCode • • 3d ago

Help/Question Grill-me : Smaller Models

I use Mr Matt Pococks workflow a lot: /wayfinder then /to-spec then /to-tickets

I am mixing Claude code and Pi with sol and deepseek. £20 a month Claude and GPT and $10 a month opencode go

Using Backlog.md ticketing but I assume that makes no real difference to my question

Maxing out a lot my £20 frontier subs so looking for all the advice I can to try push tasks into deepseek or on this forum I think thats the similar to Sonnet at medium or low even.

I have tried all the hierarchical verification etc but finding that heavy on workflow and suspect overall token spend ends up being the same.

I was thinking to do all the grill me tickets to do in deepseek? research and webresearch in deepseek? anyone have any guidance on the best way to simplify and break down tickets for smaller models and implant some verification thats not too overbearing?

11 Upvotes

18 comments sorted by

•

u/AutoModerator 3d ago

Hey! Thanks for posting to r/ClaudeCode

While participating in this thread, please follow our community rules. Keep discussions constructive. Attack the idea, not the person.

For help, project discussions, tips, and general chat, join the ClaudeCode Discord.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

6

u/dev-razorblade23 Senior Developer 3d ago

You might want to look how Matt does this himself. https://youtu.be/jVBlkOF8sHk

Basicly, you start with grilling session, then transition to wayfinder if its something massive. If its small changes, you can even one-shot it without the use of skills.

It all depends on what you are doing. Make sure you /compact and /clear when starting a new task, as context creep is what you end up paying.

Also make use of its /retro skill to examine your last 20-30 sessions and suggest improvements.

1

u/Thomas_English_DoP 2d ago

Thank you for sending me this . This is really interesting.

1

u/ctrivedi 3d ago

I would normally ask Claude to make hands off note and mentioned that I’m planning to compact the context & starting a new session. I was watching the video on YouTube and it’s really interesting

3

u/dev-razorblade23 Senior Developer 3d ago

Handoff notes are good for /clear.

But for /compact i usually use when i had my grilling session, produced spec and divided into tickets, then i compact the session and use /implement-spec to fire off AFK agents based on those tickets and specs you agreed on before.

If you plan on going to sleep or being yourself away from the keyboard, then i usually do /handoff (from Matts skills also) and then do /clear. This is because of cache staying warm, as on Pro accounts thats 1 hour by default, so if you are AFK for more then 1 hour, your session must be recached which costs tokens.

Basicly, if i am not going to be there for more then an hour, i go with handoff and clearing the context. If i am working actively on it, then i usually just go with compacting the session.

It is also important that you keep one task per session, not try to implement tousands of diffrent domain concepts at once.

Smaller the task for the agent, better it is at doing it.

4

u/Glittering-Dig-4963 3d ago

I'd keep the stronger model for the grill-me and spec step and let the cheaper one execute against a tight spec. A vague ticket is what makes a weaker model expensive, because you pay for the rework later. Try making each ticket small enough to have one clear check, like a test that passes or a command that runs, so verification stays cheap and you don't need heavy review layers.

1

u/Thomas_English_DoP 3d ago

Ok thanks and you are prompting that at /to-tickets ? :

/to-tickets IMMI-434 spec, divide tasks up into very small Deepseek-v4.1-flash:max that can be verified with one clear check and group batches of tasks with a verification task running openai-codex/gpt-6.1-sol:medium

(I do my /wayfinder and /to-spec in opus 5.5 using claude code)

3

u/kincaidDev 3d ago

I have a flexible system where I decide how much to plan on the fly based on the model/s capability.

For critical work with review gates I'll have agents plan out a festival. This is similar to grill me type of skills, except it uses a workflow template that you can update to match the workflow you want followed so there are fewer questions for you to answer. The review steps are fuller plans that are cheap to update and eventually progressing into a hierarchical plan with incremental quality gates.

https://github.com/Obedience-Corp/festival

When the hierarchical verification isn't needed, I'll stick with creating work-items. These can be a single markdown file or a directory of markdown files. Simple sturcutred loop workflows can be created inside directory based workitems if needed, but it's not always necessary. Most of the time just structuring specs and forcing another agent to follow the plans is enough, the loops come in handy after you've customized your processes and are running agents at scale

1

u/Thomas_English_DoP 1d ago

thank you for this. Yeah loops are something I really have not graduated to yet.

1

u/Thomas_English_DoP 1d ago

Thanks so much guys ! Yeah I had things the wrong way around a little. I was scared to use deepseek on implementation in case it might <newspaper horror story> my computer but I was not afraid to use it in planning as that couldn't damage anything as that was just planning. Claude is SO much nicer up-front and yeah really catch little faults that develop. I have ended up with what I think today is working really well. /wayfinder in claude, research in pi deepseek, grill in claude.

Then /to-tickets in Opus 5.5 with an adversarial review in pi gpt sol medium

/to-tickets in opus 5.5 with adversarial review in pu gpt sol medium

then compact claude and tell it its now the coordinator for the batch of tickets which happen each with pi sol at medium as orchestrator per ticket and subagent as worker on every ticket in deepseek v4.1 flash: max

its been working really well! not been rate limited yet once by claude or gpt and feels like I am spending 1/2 the frontier tokens today. Deepseek is slow obviously but I am actually achieving parallelization which I have NEVER managed before without getting rate limited.

this is my one off prompt I ran on /to-tickets which was essentially a smorgasbord of all the great advice you gave me in this thread I just run it once at /to-tickets so it doesn't bloat context :

# Lean agent orchestration prompt


Execute these tasks using a 
**lean orchestrator–worker pattern with concrete checks and aggressive cost-aware delegation**
.


**Orchestrator:**
 GPT Sol, medium thinking (`openai-codex/gpt-6.1-sol`)
**Worker agents:**
 DeepSeek V4.1 Flash, max thinking (`opencode-go/deepseek-v4.1-flash`)


**Primary objective:**
 Maximise work completed by DeepSeek while minimising GPT Sol token consumption, without compromising correctness.


GPT Sol should coordinate, make architectural decisions and handle exceptions—not perform routine implementation.


## Delegation


1. Decompose work into small, independently executable assignments with objective definitions of done.
2. Push web research, documentation summaries, implementation tickets with concrete checks, and mechanical work—renames, test scaffolding, boilerplate and lint fixes—to DeepSeek.
3. Execute independent assignments in parallel where safe. Do not give concurrent workers overlapping ownership of files unless changes are isolated.
4. Keep judgement-heavy work with GPT Sol: architectural choices, significant ambiguity, conflicting requirements and acceptance that cannot be expressed as a concrete check.
5. Do not build a reviewer hierarchy for routine work. Workers implement and run their own agreed checks; GPT Sol integrates the results and handles exceptions.


## Worker ticket contract


Every implementation assignment must state:


**Goal:** the specific observable result.
**Files:** exact files the worker may modify or create.
**Boundaries:** what must not change; no unrelated cleanup or scope expansion.
**Check:** the exact command and expected result that demonstrate completion, such as `npm test -- cart.spec.ts` passing or a specified `curl` returning the required status and response.
**Evidence:** the command, exit status and actual output the worker must return. Small models do well when “done” is a command; they struggle when “done” is a judgement call. If GPT Sol cannot write a meaningful check, clarify the ticket or retain it rather than delegate a vague assignment. A superficial check is not enough: HTTP 200 alone does not prove correct behaviour, and a passing test proves only what it asserts. For research and summaries, define the question, source scope and deliverable instead. Require source links or file references and a clear distinction between verified facts, inference and uncertainty. Do not assume factual errors are always easy to spot. ## Lean verification and escalation 1. The worker runs the agreed check and pastes its actual output before marking the ticket done. Never invent output or claim an unrun check passed. 2. A passing, meaningful check is sufficient for routine, bounded, low-risk work. No separate reviewer agent is required. 3. If the check fails, the same DeepSeek worker diagnoses, fixes and reruns it once. If it fails a second time, stop and escalate to GPT Sol with both failures and the current diff. Do not restart the retry budget by spawning another worker. 4. Escalate immediately for significant ambiguity, missing authority, unavailable prerequisites, or work outside the agreed boundaries. Do not wait for two failures to report a blocker. 5. GPT Sol resolves escalations, integrates passing results and performs final acceptance without routinely repeating the worker’s implementation or checks. 6. Retain independent review for security-sensitive changes, financial data, destructive operations and genuinely judgement-heavy decisions. Agree the stronger verification scope with Thomas rather than silently adding a reviewer hierarchy. 7. Follow the project’s verification rules: Thomas chooses the test scope where approval is required. Workers run only the agreed checks and report what remains untested. Passing a check is evidence, not permission to bypass approvals, ticket ownership, safety rules or required handoffs.# Lean agent orchestration prompt Execute these tasks using a **lean orchestrator–worker pattern with concrete checks and aggressive cost-aware delegation**. **Orchestrator:** GPT Sol, medium thinking (`openai-codex/gpt-6.1-sol`) **Worker agents:** DeepSeek V4.1 Flash, max thinking (`opencode-go/deepseek-v4.1-flash`) **Primary objective:** Maximise work completed by DeepSeek while minimising GPT Sol token consumption, without compromising correctness. GPT Sol should coordinate, make architectural decisions and handle exceptions—not perform routine implementation. ## Delegation 1. Decompose work into small, independently executable assignments with objective definitions of done. 2. Push web research, documentation summaries, implementation tickets with concrete checks, and mechanical work—renames, test scaffolding, boilerplate and lint fixes—to DeepSeek. 3. Execute independent assignments in parallel where safe. Do not give concurrent workers overlapping ownership of files unless changes are isolated. 4. Keep judgement-heavy work with GPT Sol: architectural choices, significant ambiguity, conflicting requirements and acceptance that cannot be expressed as a concrete check. 5. Do not build a reviewer hierarchy for routine work. Workers implement and run their own agreed checks; GPT Sol integrates the results and handles exceptions. ## Worker ticket contract Every implementation assignment must state:
  • **Goal:** the specific observable result.
  • **Files:** exact files the worker may modify or create.
  • **Boundaries:** what must not change; no unrelated cleanup or scope expansion.
  • **Check:** the exact command and expected result that demonstrate completion, such as `npm test -- cart.spec.ts` passing or a specified `curl` returning the required status and response.
  • **Evidence:** the command, exit status and actual output the worker must return.
Small models do well when “done” is a command; they struggle when “done” is a judgement call. If GPT Sol cannot write a meaningful check, clarify the ticket or retain it rather than delegate a vague assignment. A superficial check is not enough: HTTP 200 alone does not prove correct behaviour, and a passing test proves only what it asserts. For research and summaries, define the question, source scope and deliverable instead. Require source links or file references and a clear distinction between verified facts, inference and uncertainty. Do not assume factual errors are always easy to spot. ## Lean verification and escalation 1. The worker runs the agreed check and pastes its actual output before marking the ticket done. Never invent output or claim an unrun check passed. 2. A passing, meaningful check is sufficient for routine, bounded, low-risk work. No separate reviewer agent is required. 3. If the check fails, the same DeepSeek worker diagnoses, fixes and reruns it once. If it fails a second time, stop and escalate to GPT Sol with both failures and the current diff. Do not restart the retry budget by spawning another worker. 4. Escalate immediately for significant ambiguity, missing authority, unavailable prerequisites, or work outside the agreed boundaries. Do not wait for two failures to report a blocker. 5. GPT Sol resolves escalations, integrates passing results and performs final acceptance without routinely repeating the worker’s implementation or checks. 6. Retain independent review for security-sensitive changes, financial data, destructive operations and genuinely judgement-heavy decisions. Agree the stronger verification scope with Thomas rather than silently adding a reviewer hierarchy. 7. Follow the project’s verification rules: Thomas chooses the test scope where approval is required. Workers run only the agreed checks and report what remains untested. Passing a check is evidence, not permission to bypass approvals, ticket ownership, safety rules or required handoffs.

1

u/CCodeSI 3d ago

The split that tends to save the most without heavy workflow: spend the frontier model on the parts where a mistake is expensive to discover later, and let the small model do the parts where a mistake is cheap and loud.

Keep on the frontier model:

  • the grill-me / spec step. A wrong assumption in the spec costs every ticket after it, and it's short, so it doesn't eat much quota anyway
  • writing the acceptance checks for each ticket (see below)
  • the final review of anything touching data, money, auth or migrations

Push to DeepSeek / smaller models:

  • web research and summarising docs. Errors here are easy to spot and cheap to redo
  • implementing tickets that have a concrete check
  • mechanical work: renames, test scaffolding, boilerplate, fixing lint

What makes tickets small-model friendly: each one names the exact files to touch, says what not to change, and ends with a command that proves it's done (npm test -- cart.spec.ts passes, this curl returns 200). Small models do fine when "done" is a command; they struggle when "done" is a judgement call. If you can't write the check, the ticket is too vague for the small model and should stay on the big one.

For verification, the light version is just that: the small model has to paste the check's output before it can mark the ticket done. No reviewer agent, no hierarchy. You only escalate the tickets where the check fails twice.

1

u/Thomas_English_DoP 1d ago

Ok thank you this is REALLY useful!

1

u/rcs67 2d ago

Tbh - it sounds like you've optimised your workflow pretty well already. You could experiment using cheaper models to create tickets but I much prefer keeping these as builders only. It also depends on the complexity/criticality of the feature. I'd always use frontier models for creating any tickets related to sql/data engineering/gnarly backend stuff. The cheap models can handle UI fine.

1

u/Thomas_English_DoP 1d ago

ok so all your implementation tickets your doing in the cheaper models? I used to think that was the time you wanted the more careful models. Thank you

1

u/rcs67 21h ago

Cheap models are more than capable enough for 150-200k ticket sizes. I use Opus to review. This usually results in a few nits at most which I then get Opus to fix directly. Any more substantial issues get sent back to the builder/worker for another round.

1

u/SirRobinBlibs 3d ago

The cost usually evens out when the cheap model has to rediscover context the strong model already had. So the ticket is the lever: files to touch, the command that proves it's done, and what's explicitly out of scope. If a ticket needs the cheap model to explore the repo, it isn't ready to hand off yet.

Then track it per ticket rather than by feel: did it pass the check on the first try, and how many retries did it take. If a ticket type keeps needing two or three retries, route that type back to the strong model; the retries are where the savings disappear.

1

u/Thomas_English_DoP 1d ago

yeah totally but my context is deepseekv4.1-flash:max feels essentially free on my $10 opencode go plan . Slow but basically free.

1

u/SirRobinBlibs 1d ago

If it's on the included Go allowance, you're right that the token bill isn't the thing to optimise. The retries still matter, though: a "free" model that needs two or three passes on a ticket costs you the time, and a tight ticket still helps it finish in one go.

I'd still log first-try pass rate, just as a routing signal rather than a cost one. If a ticket type is consistently slow or needs a redo, that's the type I'd keep on the stronger model.