Hacker News
Show HN: Lessons learned from running Claude Code swarms at scale
Some time ago I built a simple app to run swarms of coding agents — I call it fleet (https://news.ycombinator.com/item?id=48256389). It's based on centralized beads with a Python orchestrator and can run any coder (Claude, agy, Codex). Recently I added a UI to manage the whole agent lifecycle: adding new tasks, monitoring running ones, and a chat interface built on MCP with a centralized SQLite DB. From the UI I can spawn agents to run in any directory, define dependencies on other tasks, and specify which coder/model should do the job. Today I can run 10–15 agents concurrently. At that scale you burn through limits very fast, so I spent some time investigating where those limits go and how to maximize efficiency. Here are the lessons learned after a few weeks of running the fleet:
- CLAUDE.md is a terrible abstraction. These files load unconditionally, they often contain descriptions irrelevant to the task at hand, and they stack from your working directory upward. The result is wasted tokens and confusion from injecting irrelevant instructions into the session.
- Skills are bad, but not as bad as CLAUDE.md. They use a progressive disclosure approach: only the skill description goes into the session, and Claude loads the full skill text with a tool when it's needed. That's one level better, but it still doesn't let you scale — you can't create 10K skills, as that would eat your entire usable context. Claude recently introduced a skills budget that silently drops less frequently used skills from the session entirely. You can still invoke them in an interactive session, but the model can't invoke them in a background session.
- Some plugins may be installed more than once. During cleanup I found that a few of mine were installed in multiple locations, consuming double the tokens on duplicated instructions.
- Attaching plugins to every session is a bad idea at scale. You want to be precise about which plugins are actually useful and attach them per task.
- Use a hierarchical knowledge base instead of CLAUDE.md / skills / plugins. It lets you benefit from real progressive disclosure: keep your instructions and tool descriptions in it and let Claude navigate through it quickly and cheaply.
- System tools consume ~15K tokens (7% of the session). You can't manage this — they're just attached, and disabling tools doesn't remove them from the context.
- AskUserQuestion isn't available in background sessions. You need to implement your own tool — MCP- or CLI-based — to give `claude -p` the ability to talk to you.
- You become selective about which model handles each task. Decompose work into harder and simpler subtasks so you can route the simpler ones to weaker, cheaper models and save tokens.
- Your context-switching skill improves over time.
Fleet repo: https://github.com/sermakarevich/fleet
Comments URL: https://news.ycombinator.com/item?id=48407998
Points: 3
# Comments: 0
Criticome: The Critical Period in Human Development
Cursus Publicus
Article URL: https://en.wikipedia.org/wiki/Cursus_publicus
Comments URL: https://news.ycombinator.com/item?id=48407898
Points: 2
# Comments: 0
RobotValues: Evaluating Household Robots When Human Values Conflict
Article URL: https://arxiv.org/abs/2606.03312
Comments URL: https://news.ycombinator.com/item?id=48407860
Points: 2
# Comments: 0
Bot web traffic has overtaken human web traffic, data shows
Article URL: https://www.nbcnews.com/tech/tech-news/bot-web-traffic-overtaken-human-web-traffic-data-shows-rcna348522
Comments URL: https://news.ycombinator.com/item?id=48407856
Points: 4
# Comments: 0
SpaceX: Flying High on Impunity
Article URL: https://georgiebc.wordpress.com/2026/06/01/flying-high-on-impunity/
Comments URL: https://news.ycombinator.com/item?id=48407753
Points: 1
# Comments: 0
Charges dismissed for dad who shot daughter's rapist
Article URL: https://www.cnn.com/2026/06/04/us/aaron-spencer-murder-charges-dismissed
Comments URL: https://news.ycombinator.com/item?id=48407749
Points: 1
# Comments: 0
Built a runtime layer so automation scripts and AI systems don't forget state
Article URL: https://stateflow-dev.github.io/stateflowlabs/
Comments URL: https://news.ycombinator.com/item?id=48407744
Points: 1
# Comments: 0
Model Optimization
Article URL: https://developers.openai.com/api/docs/guides/model-optimization
Comments URL: https://news.ycombinator.com/item?id=48407680
Points: 2
# Comments: 0
Linear Cosine Palettes(2025)
Article URL: https://blog.djnavarro.net/posts/2025-09-14_cosine-palettes/
Comments URL: https://news.ycombinator.com/item?id=48407653
Points: 2
# Comments: 0
Senior Data Engineer – Climate Friendly
Article URL: https://au.seek.com/job/92537981
Comments URL: https://news.ycombinator.com/item?id=48407649
Points: 2
# Comments: 1
agentgateway Joins AAIF as an Open Gateway for Agentic AI Infrastructure
Article URL: https://aaif.io/blog/agentgateway-joins-aaif-as-an-open-gateway-for-agentic-ai-infrastructure/
Comments URL: https://news.ycombinator.com/item?id=48407648
Points: 2
# Comments: 0
Show HN: Wyreup.com – Common JavaScript tools packaged for offline and agent use
I wanted some handy JS tools for simple file manipulation and built this out... then wanted to give it to my agent... now it is a thing unto itself. Any tools or capabilities you'd suggest?
Comments URL: https://news.ycombinator.com/item?id=48407617
Points: 2
# Comments: 0
Anthropic Wants Worldwide AI Development Pause
Article URL: https://www.wsj.com/finance/investing/anthropic-calls-for-global-slowdown-in-ai-development-4f2134f6
Comments URL: https://news.ycombinator.com/item?id=48407602
Points: 3
# Comments: 0
NASA announces 3 uncrewed missions to moon this year to prepare to build a base
Article URL: https://www.nbcnews.com/science/space/nasa-announces-moon-missions-prepare-build-base-rcna346349
Comments URL: https://news.ycombinator.com/item?id=48407584
Points: 8
# Comments: 0
Chinese users do not like "super apps"
Article URL: https://twitter.com/trydotworks/status/2062723113322741895
Comments URL: https://news.ycombinator.com/item?id=48407550
Points: 5
# Comments: 0
The AI Treadmill
Article URL: https://debliu.substack.com/p/the-ai-treadmill
Comments URL: https://news.ycombinator.com/item?id=48407544
Points: 2
# Comments: 0
Meta scales back plan for internal mouse-tracking tech, citing staff concerns
Article URL: https://www.reuters.com/world/meta-scales-back-ai-mouse-clicks-tool-citing-employee-concerns-2026-06-02/
Comments URL: https://news.ycombinator.com/item?id=48407543
Points: 3
# Comments: 0
Sparknotes for your agents. Try for free
Article URL: https://www.aiagentnotes.com/
Comments URL: https://news.ycombinator.com/item?id=48407541
Points: 2
# Comments: 1
Ask HN: macOS went from Cat to California, next what?
I think more of California or Bears?
Comments URL: https://news.ycombinator.com/item?id=48407522
Points: 3
# Comments: 1
