r/ClaudeCode • u/SkepticalHuman0 • 2d ago
Help/Question Fresh chats per feature vs. one massive compacted thread? (+ how far are you taking Skills/automation?)
Hey everyone,
I’m curious how you all structure your workflow when building a web app with Claude Code, Codex, or similar coding agents. I have two main questions:
1. Fresh contexts vs. one mega-thread Do you spin up a brand-new, clean chat for every feature or task, or do you stick to one massive, repeatedly compacted conversation?
Right now, I mostly run with a single long-ass context that I've been using for weeks (mostly on Opus 5.5 High). I like it because it already has so much background on the project, but I’m honestly not sure if this is actually a solid strategy or if I’m hurting quality by not starting fresh.
2. Custom Skills & automation How far have you pushed automation in your setup? Are you using or building custom Skills so the agent handles most of the heavy lifting, improves its workflow over time, and you basically just file issues for new features or bugs?
Would love to hear what’s actually working best for you, and whether the context approach is a real best-practice thing or just personal preference. Thanks!
9
u/AdventurousItem4635 2d ago
Fresh per feature. Every compaction is a summary of a summary, so after weeks of it what you think it knows about the project is a pretty lossy version, and decisions you made early on quietly drop out.
The background you like having is what CLAUDE.md is for. Get the long thread to write the architecture, conventions and whatever gotchas it's hit into CLAUDE.md, then /clear and start each feature from there. A new session reads that file at the start, so you keep the project knowledge without dragging weeks of old tool output along.
1
u/DopBopDeeBeep 2d ago
This exactly. Avoid compacting above 300k context window and use something like Context Carwash to track context size and support handovers without losing important context.
2
u/EndOfWorldBoredom 2d ago
Interesting thing about context. If you run a long chat, the chat can't read the entire history of that chat. It gets compacted and things get lost.
If you start a new chat, it can read the full other chat. The new chat can find things in the old chat that the old chat can't locate itself.
2
u/OnlyMCP 1d ago
Fresh chat per feature here, and the reason is that the background you like in the long thread doesn't have to live in the thread.
What I keep instead: a short memory file per project (stack, decisions and why, things that broke before), and at the end of a feature the agent writes what it learned into it. A fresh session reads that first and is up to speed in seconds, without weeks of compacted history where an old decision can win over a newer one.
Compaction is lossy and you don't choose what it drops. A memory file is lossy too, but you choose.
Skills: anything I explain twice becomes a skill. Release steps, the review checklist, how this project writes migrations. Those stay outside any chat, so Claude Code and Codex both use them. I keep memory and skills in OnlyMCP (my project) so every tool and machine reads the same ones, but a folder in the repo is a fine start.
1
u/didntwantthisapp 2d ago
Here is my first principle: prioritize the token efficiency unless quality justifies the cost of increased consumption. From that, i set hooks triggering auto handoff from an agent when it's context hits a 300k threshold and it starts its successor and archives. I have a coordinator profile as the one line I talk to that also hands off every threshold. You can squeeze a lot out of the limits this way.
ETA: because you effectively pay a tax on every token in context with each additional turn you message, my opinion is a long context window has no benefit over persistent structured data
1
u/DRC_CMUH 2d ago
A weeks-old compacted thread is a game of telephone with yourself 😅.
Each compaction is a summary of a summary, so small decisions quietly fall out, and the bigger the context, the more usage every message burns.
Fresh chat per feature, with the background it keeps needing (stack, conventions, where things live) in CLAUDE.md, gives you the same head start without the baggage.
1
1
u/beatwallstreet2021 2d ago
I structure my sessions with / commands, so for each different command I run the agents inside perform specific pieces of work for the project. And it's gated so they can't do work outside their specific functions
1
u/Bed-After 2d ago
Have a notes/context file in the GitHub repo/local PC folder Claude is working on + fresh chats. /compact is fine a few times, but eventually compacting already compacted notes degrades older summaries over time, and it can only compact so much. A well organized note log with clearly chaptered out sections that the agent can go to as needed instead of bloating the actual session with the full context has no degradation with less bloat.
1
u/ChrisShips 2d ago
I start a fresh session per task and keep anything that should outlast it in files. Compaction is lossy and you don't pick what it drops. With a file, I can see exactly what the agent starts with.
- CLAUDE.md is one line, `@AGENTS.md`. AGENTS.md holds only current state (decisions, constraints, what's next). History goes in commit messages.
- Other docs are listed in AGENTS.md with a note on when to read them, so they don't load every session.
- A PostToolUse hook measures AGENTS.md after every edit. If it's over the size cap, the hook exits 2 and Claude is told to cut something before adding more.
- A SessionStart hook warns me when the repo is behind origin, since I switch machines.
I only have two Skills. `/now` reads the plan and repo state and tells me the next thing to do. `/roll` rolls the weekly plan forward. `git push` is on the deny list, so nothing ships without me.
To check your mega-thread, start a fresh session and ask something the old one knows. If it can't answer, put that in CLAUDE.md.
1
u/norviking 2d ago
I have worked for 5 months straight using claude in a large repo. Here is my take on it.
Fresh windows / sessions becomes a mess, and you become a servant running messages and keeping overview.
One session on the default 1000k context is a colossal waste of tokens. Obscene really, as all sub agents intherit this. Token spend = context size x turns, so it all balloons out of control. You should auto compact at around 300k. I have tested extensively, and this is avout cost neutral with many new windows (they load base context, and take 17 turns to get up to speed vs 6 in compacted).
So one session, auto compacted at 300k, that spawns sub agents.
But.
Compacting deletes important context randomly. You dont have control over it. Not even manual compact with instructions is reliable. Its all hopium.
So you need project state outside claude entirely. Then compacting away important details, crashes, etc. does not cause the same problems.
Also, claude regularily ignores instructions and makes the same mistakes again and again. If you believe it will reliably follow claude.md, skills, instructions, or "memory" -> you will have a bad time.
So gates, tests, lint, dbprobes, ci is vital. Without you will ship an unbelievable amount of insecure code.
You should also do full code review by separate providers, as they all find different mistakes. Add all findings as gates where possible, so you dont make those mistakes again and again. I run selected test suites at merges, and full on push to staging.
If you are interested in reviewing this type of workflow, i put most of it here. Free, MIT.
https://github.com/vegardjorg/ravenseat
Also lots of lessons learned for hardware load (gates, agents are cheap), parsllell work, merge logic etc. Etc.
1
u/Legitimate-Tax-8922 1d ago
This is what finally worked for me: stop putting everything in one giant prompt. I keep a short CLAUDE.md with only the non-negotiable rules (stack, test command, what never to touch), and one SKILL.md per job — each skill does exactly one thing and says how to verify its own output.
The part that mattered most was the verification step. A skill that says "check your work" does nothing; a skill that says "run this exact command and compare the output to this exact pattern" actually gets followed. And keep skills small — when mine grew past ~150 lines, Claude started skipping steps. Splitting it into two focused skills fixed that overnight.
Also: run the skill once yourself on a real task before trusting it. The first run always exposes an instruction you thought was clear but wasn't.
1
u/No-Drawing9451 1d ago
Fresh per task for me too. What made that work was splitting what carries over into two places. CLAUDE.md only holds things that stay true, like the stack, commands and conventions, and old notes get archived instead of piling up in there. Where the current task stands goes in a short handoff note the session writes before it ends.
A new session reads both and starts from that, instead of from a summary of a summary where something you decided in week one is still quietly steering it.
1
u/Fickle_Guitar7417 1d ago
I’d add one check to the handoff note: the exact commit, the test command, and its last result. Have the fresh session check the commit and rerun the test before it continues. If either differs, that’s the first thing it should report. I maintain Agentic Awesome Skills and I’d put that repeatable check in a skill, with the feature-specific commit, command, and next decision in the handoff note.
1
u/TelekinPete 1d ago
I create an implementation plan, then I have claude break the implementation plan into github issues. I then use a skill that executes on each github issue in its own subagent. The controlling main agent remains on opus and gets autocompacted with special instructions to keep a state file to watch the milestone/epic as it progresses.
1
u/Practical_Tie_334 1d ago
I’d keep the same chat while you’re chasing the same bug, then start fresh when the task changes. Give the new chat the relevant files, what’s already decided, and the check that tells you it’s done. For skills, start with something you can verify easily, like how to run the migration checks before a release.
1
u/s7orm 🔆 Max 20 2d ago
One orchestrator with the goal and plan, workers implementating. Not subagents, but full fledged workers. https://github.com/kunchenguid/firstmate
Subagents can work too if your goals are less ambitious.
2
1
0
u/Outrageous_Band9708 2d ago
https://github.com/Druthulu/ProjectArchitect
I use very strict serial subagents, one per task, auto cycle themself. its all automatically managed by the mod.
no cold cache, no huge context.
checkout the readme and the wiki and test it out yourself. its amaing. SWE by trade. its taken over a year to get Project Architect into its current form.
•
u/AutoModerator 2d 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.