frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Stop wasting tokens and re explaining your project between sessions

https://github.com/raiyanyahya/recall
49•mateenah•2h ago

Comments

tt_dev•1h ago
How does this beat a Session specific README?
giancarlostoro•1h ago
I never have to because I use a ticketing system the model goes through in addition to a CLAUDE.md file with a summary, including vision, goals, non-goals etc
dizhn•1h ago
Anything in particular? Paca? I used forgejo for a while and it was OK.
stymaar•1h ago
If it goes through all of it all the time, then it fits the “wasting token” description.
petee•1h ago
Any tricks to get Claude to actually use the CLAUDE.md consistently? Many times now its completely ignored it, despite being short, concise + generated by Claude itself, and I see bug reports about this that are over a year old
devmor•41m ago
Check out your session logs and review what is actually in the context window. I’m willing to bet that your CLAUDE.md is sitting close to the middle of everything in there. The current gen of frontier models tends to heavily weight the start and end of the current context so heavily that anything partway through may just be ignored.
reckless•1h ago
Doesn't Claude have memories like Codex?
LetMeLogin•1h ago
It does.
dimitrios1•1h ago
The question I find myself asking very often these days: Is this better than asking claude to do the same things the plugin/repo does?
comrade1234•1h ago
IntelliJ handles this for you. Basically it sends half your project to Claude even if you're asking some question about Star Wars.
lxgr•1h ago
> IntelliJ handles this for you. Basically it sends half your project to Claude

Not sure I’d call that “stopping wasting my tokens”.

comrade1234•1h ago
Yeah but it could have sent the other half of the project too.
SubiculumCode•1h ago
Sometimes its good to start fresh. LLMs need large context restart's sometimes so they can better identify holes that they become blind to.
derwiki•1h ago
Back in the human age of coding, I felt the same way sometimes
serial_dev•1h ago
I might be missing out on something but I never had to explain my project. Just give it a task, or if you really want to, type it quickly, then you are good to go.

I can’t imagine this being worth optimizing. The issue is never that Claude can’t figure out what the projects is about…

Am I missing something or does this project not solve a problem most regular people have?

suprjami•1h ago
There are many other posts here which agree with you. Filling context with what you think the model needs adds nothing and possibly just inflates context which is harmful.

A good method seems to be only make a skill or memory when the LLM gets something wrong, or if you actually observe it's always doing the same step and you can get the model to the same place with less tokens.

chatmasta•55m ago
I’ve basically never edited a skill or memory myself. I make the LLM do it as part of the /handoff skill before I clear a session. That also includes pruning existing skills/memories and resolving any drift.

Even the /handoff skill was written by the model…

airstrike•19m ago
It's funny because with so many different implementations of /handoff, I wonder if anyone has benchmarked handoff-and-resume to figure out what the best performance implementation looks like.

I also imagine that varies by model.

airstrike•20m ago
Depending on the scale of the project and the complexity of the specific thing you need to work on, it's advantageous to bring specific context into the session instead of hoping the model will connect the right dots.
alansaber•1h ago
Nothing wrong with a toy project.
hbarka•1h ago
Willing to try this but the author missed that Claude also has memory.md
dools•1h ago
If I need context for a session then that is output from a previous session, otherwise I find any “memory” functionality cumbersome.

I saw /graphify recently which cuts down on exploration cost and seems more appealing (although I haven’t tried it yet)

zihotki•1h ago
Are there any benchmarks/evals to back the claims? Or how do you know that it helps reducing waste?
jvidalv•1h ago
They don’t. It’s all based on FOMO. Like superpowers, the more the better.

My advice: the best claude is the raw claude, with some custom tailored skills. That’s it, no plugins.

johnwheeler•1h ago
How is this different than just using a resume?
gste•1h ago
CLAUDE.md is already a good system for context window management for all the same reasons that version control management of code is good.

And keeping a local copy of everything you ever told Claude in your context window is bad for the same reasons keeping a local copy of your code called My_Code_v3_final.zip is bad.

drivebyhooting•1h ago
Why would you want a simple summarizer instead of frontier AI doing the summarization for you?
iwontberude•1h ago
Bc frontier models are expensive and summarization is basic af
drivebyhooting•32m ago
Compaction already drops nuanced and salient information. I wouldn’t want any additional amnesia from overly simplistic summarization.
cadamsdotcom•1h ago
Exciting to see hooks used for automation.

But if I may, the need to manually update the context is a huge hurdle.

Automation like this is limited unless no human has to remember it. So perhaps you can save context during the PreCompact and Stop hooks.

intothemild•1h ago
I think the majority here have stated the same... That CLAUDE.md or AGENTS.md effectively do this. Either that or the readme.

The only tip I can give is that your skill that builds or wraps up work. You should have it update those files if anything has changed.

Claude/Agents files shouldn't be bloated, but should imho act as a basic amount of context on the project so your agent and skills can pick up and go, with even the most basic initial prompt.

devmor•44m ago
> The only tip I can give is that your skill that builds or wraps up work. You should have it update those files if anything has changed.

Depending on the scope of work you’re doing, it might be better to have this removed from the context of the work that was done.

I keep a “Last Updated Hash” in my md and every so often will have the LLM pull a diff from that hash to the current head, then determine what doesn’t match.

mikeocool•22m ago
I apparently use Claude differently the most people who talk about using Claude on the internet.

I’ll typically have a bunch of short sessions over the course of a day. Anytime I start a task that isn’t going to very directly benefit from the existing context I start fresh.

I don’t find a lot of benefit in explaining the project overall to Claude — I’ve deleted a lot of that explanation from my Claude.md because it didn’t seem to impact much.

I typically start a task by pointing it to 1-2 files and giving it some explanation of what I want done, and it figures it out.

Basically never hit context window limits or compactions, and can’t remember the last time I hit a 5 hour or a weekly limit.

gman83•15m ago
How's it different to https://github.com/angelnicolasc/graymatter ?
coherentpony•8m ago
My employer is counting token usage, so explaining my project between tokens isn’t necessarily a bad thing. I am clearly a more productive engineer because of it \end{sarcasm}
torben-friis•18m ago
I guess that depends on the kind of project, how common the intent is, how self contained, etc.

Apertus – Open Foundation Model for Sovereign AI

https://apertvs.ai/
109•T-A•2h ago•33 comments

Did my old job only exist because of fraud?

https://david.newgas.net/did-my-old-job-only-exist-because-of-fraud/
99•advisedwang•1h ago•27 comments

Everything Is Logarithms

https://alexkritchevsky.com/2026/05/25/everything-is-logarithms.html
70•E-Reverance•2h ago•9 comments

JSON-LD Explained for Personal Websites

https://hawksley.dev/blog/json-ld-explained-for-personal-websites/
131•ethanhawksley•4h ago•36 comments

PowerFox Browser

https://powerfox.jazzzny.me/
39•thisislife2•2h ago•13 comments

Stop wasting tokens and re explaining your project between sessions

https://github.com/raiyanyahya/recall
49•mateenah•2h ago•36 comments

Prefer duplication over the wrong abstraction (2016)

https://sandimetz.com/blog/2016/1/20/the-wrong-abstraction
407•rafaepta•7h ago•272 comments

Identity verification on Claude

https://support.claude.com/en/articles/14328960-identity-verification-on-claude
507•bathory•10h ago•471 comments

I Gave an AI a Civilization to Run. It Built a Nuke – Launching CivBench

https://www.lwilko.com/blog/i-gave-an-ai-a-civilization
12•LiamWilko•1h ago•5 comments

Simple hard way to conjugate Japanese verbs

https://underreacted.leaflet.pub/3mmevu6woys27
4•valzevul•42m ago•1 comments

HPV jabs cut risk of dying from cervical cancer before 30 to almost zero

https://www.theguardian.com/society/2026/jun/17/hpv-jabs-reduce-risk-dying-cervical-cancer-before...
88•toomuchtodo•3d ago•33 comments

Beyond All Reason (Free Total Annihilation Inspired RTS)

https://www.beyondallreason.info
414•mosiuerbarso•11h ago•246 comments

The minimum viable unit of saleable software

https://brandur.org/minimum-viable-unit
109•brandur•6h ago•46 comments

(How to Write a (Lisp) Interpreter (In Python)) (2010)

https://norvig.com/lispy.html
160•tosh•7h ago•47 comments

FDA advisors unanimously vote to approve Moderna's mRNA after agency drama

https://arstechnica.com/health/2026/06/fda-advisors-unanimously-vote-to-approve-modernas-mrna-aft...
60•worik•2h ago•32 comments

Ask for no, don't ask for yes (2022)

https://www.mooreds.com/wordpress/archives/3518
81•skogstokig•3h ago•38 comments

An Embedded Linux on a Single Floppy

https://github.com/w84death/floppinux
53•modinfo•2d ago•22 comments

Wildcard (YC W25) is hiring an applied ML engineer

https://www.ycombinator.com/companies/wildcard/jobs/SEmo4di-founding-applied-ml-engineer
1•kaushikmahorker•6h ago

Show HN: Teach your kids perfect pitch

https://github.com/paytonjjones/bsharp
32•paytonjjones•10h ago•15 comments

Tell HN: Happy Fathers Day

228•consumer451•6h ago•30 comments

Minecraft: Java Edition 26.2, the first version with Vulkan 1.2

https://www.minecraft.net/en-us/article/minecraft-java-edition-26-2
29•ObviouslyFlamer•4d ago•6 comments

Occupancy Math on the AMD MI355X: A From-First-Principles Guide

https://indianspeedster.github.io/blog/occupancy-math-mi355x/
42•skidrow•4d ago•4 comments

There is minimal downside to switching to open models

https://www.marble.onl/posts/cancel_claude.html
6•amarble•2h ago•0 comments

Djevops: Self-Host Django Easily

https://github.com/mherrmann/djevops
21•mherrmann•3d ago•5 comments

Cocktail Optimization, an Integer Programming Problem

https://bunkum.us/2026/06/18/cocktail-ingredients-milp
25•ftgregg•2d ago•3 comments

The Deadly Rise of Giant Trucks and S.U.V.s

https://www.nytimes.com/interactive/2026/06/21/us/trucks-suv-pedestrian-crashes.html
12•xnx•53m ago•3 comments

A 3D voxel game engine written in APL

https://github.com/namgyaaal/avoxelgame
145•sph•15h ago•12 comments

Developers don't understand CORS (2019)

https://fosterelli.co/developers-dont-understand-cors
353•toilet•22h ago•251 comments

Rent collections are down in New York

https://www.politico.com/news/2026/06/21/rent-collections-are-down-in-new-york-and-no-ones-sure-w...
27•JumpCrisscross•1h ago•22 comments

Running MicroVMs in Proxmox VE, the Easy Way

https://taoofmac.com/space/blog/2026/06/18/1845
208•zdw•2d ago•38 comments