Spotify's engineers published the Claude Code setup that cut their token usage by 90 percent. Here is how it works.
Most of what a coding agent does needs no thinking. It reads whole files to find a few lines it needs, and it writes routine code by copying examples that already exist. Spotify was paying top model prices for all of that.
So they handed this work to two cheap helpers. The first reads the files and sends back a short summary. The second takes an example, writes the repetitive code and saves it straight to disk. The main model never sees any of it.
The clever bit is how they enforced it. In the first version the rules lived in instructions, and the model often ignored them. Now any file over 350 lines gets blocked before the model opens it, and the job goes to the cheap helper.
Two things still cost full price. Edits need the real file, so short targeted reads still go through. And in testing, the cheap helper missed a bug that the main model found in seconds.
Most people build one Claude skill, feel clever for a week, and stop. The people running whole YouTube channels on Claude just never stopped stacking.
Scripts: a /hook skill that writes five openings from your notes, a /script skill that turns a voice memo into a full draft in your phrasing, a /drift-check skill that marks where a viewer would drift.
Edit: /cut-list reads the timestamped transcript and lists every cut with start and end times. /b-roll names the shot that covers each line.
Packaging: /titles ranks ten titles against your best videos. /thumb-brief turns the winner into three thumbnail words and a shot.
Repurpose: /shorts finds three moments that stand on their own. /chapters writes the description timestamps. /newsletter turns the transcript into one section in your voice.
Each one is a single file you write once. Together they are the difference between using Claude and running a channel on it.
Bookmark this and build one per week. In ten weeks the crew is you.
Anthropic just published how they build agents that keep working while you sleep. Here is how it works.
The agent isn't always on. It sleeps most of the time and wakes up for short runs. Five pieces around the normal agent loop make that work.
1. Event inbox. Webhooks, schedules and user replies go into one database table instead of calling the agent directly. Only one worker reads it at a time, so two events can't start competing runs and a crash doesn't lose an event.
2. Timers. A separate table holds follow-ups the agent sets for itself and schedules the user sets. A scheduler checks it and drops due ones into the inbox.
3. Memory. A folder of files. instructions.md, index.md and reported.md load on every run. reported.md is what the agent already told you, so it doesn't repeat itself. Notes and one progress file per task load only when needed. Save only what the agent can't look up again.
4. Permissions. Credentials sit in a proxy outside the agent that adds them to outgoing requests. Risky actions become deferred tool calls. The run ends, the session is saved mid-call, and your answer comes back as a new event that resumes it.
5. Outbox. Every run ends one of three ways. It sends you a message, decides nothing is worth sending, or asks for your approval.
Their advice on messages is to start quiet and earn more of your attention over time, with evals to find the right amount.
this is f*cking insane... Anthropic just dropped 532 Claude plugins for free. Stripe, Shopify, Canva, BlackRock and HubSpot built them for Claude themselves
Dario Amodei (CEO of Anthropic) picked the 7 that replace a whole small-business team. that team costs $38,400 a month. these plugins cost $0:
→ bookkeeper: QuickBooks. reads your P&L and chases every overdue invoice
→ payments dev: Stripe. builds checkout, subscriptions and refunds into your app
→ store manager: Shopify. 18 skills to build and ship your whole store
→ designer: Canva. creates, resizes and brand-checks every design
→ sales rep: HubSpot. preps every call and writes your morning brief
→ lawyer: LegalZoom. flags the risky clauses in your contracts
→ ops: Zapier. plugs Claude into 8,000+ apps
how to set it up in 5 minutes:
1. open Claude Code and type /plugin
2. search the name of a tool you already pay for
3. hit install and log in once
4. give it the first job in plain words: "chase every invoice older than 30 days"
start with one. the tool you open every morning is the one that saves you the most
all 532 in one place: https://t.co/vdMTG3cINS
$38,400 a month for a team, or free plugins and one afternoon. which one are you running next month?
the whole marketplace, mapped live, every pick below ↓
THIS IS AN ACTUAL F*CKING GOLDMINE
Before you blame Opus 5.5, learn these 15 official Anthropic commands
15 essentials to get more out of Opus 5.5:
less busywork → parallel agents → faster iteration
steal the cheat sheet ↓
01 /goal
https://t.co/djPCjEViqT
02 /batch
https://t.co/hdx9ZlyhJa
03 /subtask
https://t.co/XquDiLbiNr
04 /deep-research
https://t.co/pwO0X8iluT
05 /design
https://t.co/mxUDbP5co8
06 /plan
https://t.co/CEeVpQu4Oc
07 /memory
https://t.co/H8syNr3juj
08 /compact
https://t.co/trWEPzM1Ze
09 /branch
https://t.co/mxUDbP5co8
10 /rewind
https://t.co/rgdFl1xaDB
11 /mcp
https://t.co/OkVku217bW
12 /loop
https://t.co/xtXeBujN2d
13 /schedule
https://t.co/EW4gKzGt21
14 /simplify
https://t.co/mxUDbP5co8
15 /remote-control
https://t.co/tKxJaeHbuo
start here: /plan → /goal → /simplify
Save this, then build an AI team with Claude & an AI employee for your company ↓
Brilliant paper from Google on RSI.
(bookmark it)
Recursive self-improvement (RSI) lets an optimizer agent improve an agent harness on its own. It reads failure traces, edits the prompts, tools and completion checks, and keeps whatever scores better on a benchmark.
This works until the model underneath changes. A harness evolved on Claude Opus, moved to Gemini, scored below Gemini's plain starting harness in every domain Google tested.
When the harness moves to a new model, the only thing carried over is the evolved harness code, meaning the prompts, checks and rules the optimizer added. The record of how each piece got there stays behind, including which failure it targeted and whether it fixed that failure when tested.
So the optimizer working on the new model inherits a set of changes with no reasons attached. It ends up retrying experiments that already failed, or removing fixes it doesn’t understand.
Google's fix is Self-Improvement Memory (SIM), a log kept for the optimizer itself. Each entry is a recurring problem, like an agent declaring a task done before its commands ran, and every fix attempted under it stores:
1. The edit and the reasoning behind it
2. The tasks it was predicted to fix, written down before testing
3. The tasks it actually fixed, failures included
4. The model and benchmark it was tested on
The whole log goes into the optimizer's prompt every round, and new attempts get appended as optimization continues.
The paper shows the difference on one inherited check that stops the agent from finishing early. With SIM, the optimizer read why the check existed and extended it.
Without SIM, it rewrote the same check four times, twice to fix deadlocks it had created itself.
On the Opus-to-Gemini workspace tasks, the run with SIM improved about 3x more from the same starting score. It also finished ahead in 9 of 10 independent coding runs.
The paper is at https://t.co/ZLdo7FK7qk
I also wrote an article on a related idea, covering how to make an agent harness diagnose its own failures.
It's built on @Cometml's Opik, which is 100% open source. It goes beyond reading trace logs to finding why a failure happened and stopping it from recurring.
That diagnosis step produces the kind of root causes SIM stores.
The article is quoted below.
If you see this post, you won a gold ticket.
Just paste this into Claude Fable 5.2 tonight, it will change your life.
it will build an entire AI team to handle it with AI agents, prompts, and workflows for you.
Save this so you won't lose it:
I'm f*cking stealing this.
Addy Osmani from the Claude Code team says Claude writes 90% of their code.
Nobody there can read every change, so Claude has to prove each one works.
Paste the prompt below into Claude on Opus 5.5 to get the same checks:
step 1 → it learns how to start your app by itself
step 2 → it lists everything a user can do, like signing up or paying
step 3 → after every change, Claude tries the parts it touched in Chrome
step 4 → anything broken goes back to Claude with a screenshot
step 5 → if it still fails after 3 fixes, it stops and calls you
step 6 → unchecked changes get logged for 7 days before anything gets blocked
step 7 → the rules live where Claude's changes can't touch them
The full prompt is below.
Then read the article below on how the Claude Code team checks Claude's work.
Boris Cherny (Claude Code creator) just released a prompt that turns Opus 5.5 into an AI engineer that physically can't lie to you about "done"
It's f*cking unreal...
Send it to Opus 5.5, and thank me later. Then read the article below ↓
Anthropic just released a 3-page PDF on Harness Engineering collects everything OpenAI, Anthropic and LangChain published about it.
One formula replaced prompt engineering:
Long-Running Harness = Short Sessions + State on Disk
the twist: in Anthropic's test the agent kept failing in 2 ways. It tried to build everything at once, or a later session saw some progress and declared the job done
the harness playbook, five steps:
step 1 -> run an initializer session that writes no feature code
step 2 -> have it write a feature list in JSON, 200+ entries, every one marked "passes": false
step 3 -> add a progress file, an https://t.co/b3rX8d6U1m and a first git commit
step 4 -> start every later session the same way: pwd, read the log, pick one failing feature, run a smoke test
step 5 -> build one feature, test it in a real browser, commit, update the notes
OpenAI reports single agent runs of 6+ hours on the same harness idea
full breakdown in the video 👇
Most developers treat CLAUDE.md like documentation.
That’s the mistake.
It’s not a README.
It’s the control layer for your AI agent.
If your outputs feel inconsistent, buggy, or “random”…
the problem usually isn’t the model.
It’s the instruction architecture.
The biggest unlock is understanding scope hierarchy:
• Global scope → coding standards, universal behavior
• Project scope → stack, workflows, commands
• Folder scope → local overrides for specific tasks
And yes:
the nearest scope overrides everything above it.
Another game-changing framework:
WHAT → project context
WHY → engineering principles & constraints
HOW → execution rules & commands
Miss one layer and the agent starts guessing.
Specificity is what separates reliable agents from chaotic ones.
❌ “Write production-ready code”
✅ “Use TypeScript strict mode, Zod validation, and async error boundaries”
❌ “Add tests”
✅ “Write Vitest unit tests with 80%+ coverage”
A few rules that dramatically improve agent performance:
Start with /init before customization
Keep CLAUDE.md concise (<500 lines)
Use hooks for repeatable behaviors
Treat it like living infrastructure
Reference configs instead of duplicating logic
The uncomfortable truth:
Most AI agents don’t fail because the model is weak.
They fail because the operating instructions are incomplete.
Better system design = better AI behavior.
The engineers who understand this early will build agents that actually scale. 🚀
📌 Save this (you’ll need it when scaling agents)
♻️ Share with a dev building with AI
➕ Follow for no-fluff AI systems & workflows 🚀
this harness engineering paper is f*cking insane
it’s the exact setup researchers used to make a coding agent beat Codex by improving itself, without touching the model.
3 agents, 7 kinds of files, one prediction before every edit, all in git.
set it up tonight and your agent keeps getting better round after round while you sleep, instead of you reading logs by hand.
the crazy part is everyone rewrites the prompt when their agent fails, while the fix is the tools and the memory.
full breakdown in the harness guide below.
ok this harness is f*cking insane
Claude Fable 5.2 runs 1,000 coding agents on one job, and the harness decides if it finishes
the argument fits in one line: a thousand agents need briefs, not prompts
a brief is one piece of work that edits files no other piece touches
a builder returns a receipt
a stranger checks it, a verifier that never saw the builder's reasoning
Jev Engineering sits on top
it routes every prompt to a seat, checks GOAL. md in about 100 ms and sends anything it's unsure about up
deletes, pushes and deploys always come back to you
so your job shrinks to two things: write the brief, approve the deploy
the whole guide in one line: give every agent one job and a stranger to check it
the 9-prompt field guide is below ↓
It's f*cking unfair: Anthropic's own engineers keep Claude coding for hours straight, while most people's agents give up after 20 minutes
the setup is smaller than you'd think. one agent prepares the project once, then every session:
→ builds one feature
→ tests it
→ leaves a note for the next one
every guide behind it, free:
the original harness guide
https://t.co/6lktTXrYIT
harness design for long-running apps
https://t.co/Kw0bpkWmTq
building effective agents
https://t.co/1wCkSE03KU
evals for AI agents
https://t.co/1TO2afSaeL
Claude Code best practices
https://t.co/g3y5TR8Fd4
hooks: rules it can't skip
https://t.co/UUMsEEqK1G
subagents
https://t.co/HlxtRGly6E
skills
https://t.co/5bD9H73MRx
CLAUDE.md and memory
https://t.co/0eeGZplpHl
headless: run it in a loop
https://t.co/hI4vvUttDc
free course: Claude Code in Action
https://t.co/pesnQpgMYE
Claude Academy: 28 free courses
https://t.co/7u3BJ0BxdW
most people re-explain the project every morning. the ones with a harness wake up to finished features
save it so you don't lose it
this is pure f*cking gold
Andrej Karpathy doesn't use Notion.
No Obsidian plugins.
No notes app at all.
His second brain is a folder of plain markdown files.
And now there's a prompt that hands that exact setup to Opus 5.5 to run for you.
The rules are brutally simple:
→ save the raw source before you touch it
→ one note per idea
→ every claim links to where it came from
→ a daily note under 20 lines you actually open
Then the test that makes it work:
Your vault has to answer your questions with no web and no memory.
If it can't, the gap gets written down.
That's it.
No app.
No subscription.
Just files you own forever.
Full prompt and article below 👇
I run my whole business alone on Claude. This is the prompt that turns Opus 5.5 into my operations manager.
It's f*cking ridiculous…
send it to Opus 5.5 & Sonnet 5.5, then read the full setup below. Thank me later.