r/ClaudeCode • • 1h ago

Discussion My Claude Code bill doubled when I ran Matt Pocock's skills as a software factory. Was it worth it?

Post image

As a big fan of the dream behind software factories, I wanted to measure its impact on my codebase and workflow. Deep down, I wanted the software factory to win, but the results caught me by surprise.

As my daily driver, I use Matt Pocock's setup, which works great, but it's hard to put concrete numbers on the difference between his setup, another one, or a bare setup.

So I built a benchmark for a specific use case I was working on: building long-running agents. I was also comparing how well Inngest compares with LangChain's ecosystem (LangGraph + LangSmith), so I did the comparison on: - Software Factory vs. No Factory - Inngest vs. LangChain

For the benchmark, I gave Claude Code (using Opus 5.5 on medium reasoning) a spec that contained all the architecture and feature details, but zero code and asked it to build a durable agent. The scores in the table below average 58 end-to-end tests that either pass (1) or fail (0), completely hidden from the coding agent.

For the setups I compared: - bare: the spec and nothing else - full: the vendor's skills, MCP servers and docs - factory: full plus Matt's skills (/to-tickets, then /implement with access to model invokable skills such as /tdd and /code-review)

I ran each build 3 times to average out the noise.

In the table below, we compare costs and coding agent time per trial, plus performance on tests.

Stack Metric bare one-shot full one-shot Software factory
Inngest $ / trial 12.65 11.81 30.92
Inngest min / trial 46.9 48.0 112.7
Inngest tests 95.3% 95.3% 90.8%
LangChain $ / trial 13.53 15.01 29.23
LangChain min / trial 83.0 78.1 110.3
LangChain tests 94.8% 82.1% 89.5%

Disclosure: Inngest sponsored my work. But opinions are my own, and their team did not see the results before publishing.

The conclusion?

The costs almost doubled on both stacks. The coding agent time almost tripled on Inngest, while on LangChain almost doubled. In terms of performance, there wasn't any improvement in any stack. Contrary the bare setup performed better.

The biggest win was in term of code quality. Test coverage went from about 30% to 70%. Lint findings more than halved. Function complexity dropped by 35%. The number of files doubled indicating modularity. More in the image table.

I was expecting the code to be a lot better in terms of code quality, as a ton of Matt's work is to clean up AI slop, plus to take longer to code as it iterates through every ticket. But what shocked me was the impact on cost. 2-3x the cost isn't a difference you can ignore. If you use a subscription you won't feel it that bad, but still!

That's why for a prototype, it's fine to embrace the slop. Run a detailed spec pass it to Claude Code and you are good to go. Don't feel bad about it. Consider using the factory only when you plan to keep the code.

From your experience, what's the impact of your software factory on costs? Either via a subscription or worst paying per token

23 Upvotes

18 comments sorted by

•

u/AutoModerator 1h 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.

14

u/Agnostify 1h ago

Pass rate didn’t move, but you’re the one maintaining it in six months. That’s what the extra money bought

1

u/SnackerSnick 11m ago

What world will we live in in six months? That's beyond my event horizon

1

u/pauliusztin 1h ago

If you are curious, here are the full details of the benchmark:

16

u/Sketaverse 1h ago

Apart from being a YouTuber and guest speaker what does Matt “ex Vercel” Pocock actually do? Is he in the weeds grinding 12 hour days because that’s where the insights are made. Maybe I’m being ignorant but he just comes across as another YouTube gimp albeit slightly better spoken. Versus someone like Poteto who seems to actually get shit done on the daily and has engineering solutions rather than a few fancy md files.

8

u/Pavarok 1h ago

I obviously don't have the full scope of his career in the back of my head.
What I can tell you is that, before shifting to AI. He had a pretty reputable Typescript course called Total TypeScript that even the most senior TS dev's in my company respected.

I also do tend to feel that, if you watch what he's producing, it is generally well though-out and not 'hopping on the bandwagon' like a lot of 'slop-influencers' are pushing.

I havn't consumed all of his content though, and I won't. So my opinion about him is not based on his entire library.

-1

u/Sketaverse 1h ago

But is he building for users in production or just producing demos? Big difference. Those that can’t, teach etc

7

u/nokafein 55m ago

nobody builds for production. Because nothing you find online is for real workspaces. they are all demos for marketing/sales/branding purposes.

that's why the discrepancy between real life and twitter/reddit life is huge. as a rule of thumb, anybody who has more than 100k followers are almost certainly on payroll of whatever big teck they are shilling.

According to twitter if you don't do software factory, you are behind. The companies i provide services barely knows what skills are.

2

u/iEatedCoookies 29m ago

I mean you must have not known about him before his AI videos. He put out incredible content for Typescript.

-1

u/Code-More 55m ago

Yap.

He yaps.

3

u/Code-More 58m ago edited 5m ago

No, it never is and I warned another user about it.

Those skills are massive, they cover what the model already knows, and they cover things the labs themselves put into their infra.

"But it is based on books blah blah" - Yes, so are the training/activation corpora used for the model. Each request resends these manifests over and over. It's a cache hit for later turns, but it can ALSO lead to extra thinking, because model seen it, so it ought to think about it -> those are straight output tokens billed -> lotsa $$$.

Also you are surcharged after a certain context size for extra. Maybe Ants dont do it. OpenAI do for sure. So your context floor margin is low too. How long can you run a long context horizon thread to autocompact? Hours? Days? What is your cache hit rate? Those are the numbers to track.

I tried these, it bit me one way or another each time. If you must: pick out a few, prune them, enable them, keep the rest out of the way.

P.S: The coding agent already is a software factory. You can help it with "machinery" like tools, linters, formatters, compiler settings, test harnesses, A/B suites, stable project vocab - with .md file dumps you are just changing the sign on the factory building from Factory to Le Factorie 👌✨

For the record, MoPo in tokens: The entire repo is 189000 tokens worth of stuff with about 1500 per skill and as much as 3000 on metadata. Metadata repeats every request, yours and models. Model might think about it being there, thats output token rate, that can be as much as x6 base pricing, the initial load brings you closer to context size surcharge thresholds if any exist for your provider.

Based on research, models begin to show drift at 80-120 distinct instruction load against a task. MoPo carried 800-1200 distinct instructions alone.

2

u/Kinthalis 47m ago

Yeah, don't listen to this guy. The skills aren't massive and they cover what skills should cover: workflows and tooling. They don't include things the model already knows, just amkes sure it uses that knowledge where appropriate.

The workflows and processes make it easy to work through the typical dev cycle and achieve good result reliably.

If you arent working on just vibe coded slop for your own personla use, it's great at the very least as a baseline for you to devleop your own workflows.

1

u/Code-More 31m ago edited 3m ago

I can't afford even laziness let alone slop in my work. Lets test your claim. Correct on one thing, noone has to listen to me regardless of outcome.

The entire repo is 189000 tokens worth of nonsense with about 1500 per skill and as much as 3000 on metadata in discovery manifest. Instruct volume in tokens is about 38000. That's tokens, not even factoring in character count per unit of information or semantic load, and it is already ridiculous. Fuck, meet off.

Models know how to workflow. Ants train Workflow building. Workflows are done in code with gates and step insertion. The goal is to be reproducible. Never give models human shapes, they will larp.

The only one I can sort of let slide is Ponytail, only for greenfield. Especially for people who are new to programming, it beats the charlatan nonsense your project might be carrying and its TUI mod helps understand model pricing better + show how much you can customise a TUI (which is a big part of why I love TUIs). I uninstalled it too, it wasn't worth it. Aim to roll off it eventually if you start. The "be lazy/preserve or use surrounding code" is how you end up with Python slid into a C-based hot path that needs to run on single microsecond scale.

Personally, my internet daddy is now https://arxiv.org/

arXiv is the new stackoverflow and I'll happily die on that hill.

1

u/DestinTheLion 8m ago

arXiv is niiiiice, ty.

1

u/Glass_Bus4044 0m ago

If you're building a factory solely using claude, then you're missing the whole point of factory.

0

u/KaliguIah 1h ago

youre meant to write your own. if you know how to analyse, write a detailed report and investigate a problem in your harness, then youre intelligent enough to write your own. you shouldnt touch them. theyre at best for very beginners.

0

u/AllergicToBullshit24 45m ago

Skills are context bloat full stop.

-2

u/ueiebe 1h ago

the number that stands out is tests going down (95.3% to 90.8% on inngest) while the cost goes up around 2.5x (12.65 to 30.92 dollars per trial). with 3 runs per setup I wonder if that 4.5 point gap is even outside the noise. did you check where the extra 65 minutes went, planning or the review loops? that would tell you which part of the factory is worth keeping