I posted this last night, so let me explain properly what it does.
Here’s the problem it solves. You close the laptop at 7pm in the middle of something. The next morning you open it again and spend the first twenty minutes remembering where you were. Which branch was I on? What was that half-finished thing? Did anyone review my PR?
Claude Code already knows almost all of that. It just never writes it down before you leave.
// Detect dark theme var iframe = document.getElementById('tweet-2126905059816415474-60'); if (document.body.className.includes('dark-theme')) { iframe.src = "https://platform.twitter.com/embed/Tweet.html?id=2126905059816415474&theme=dark" }
That’s what dream-queue is for. You run it when you wrap up, and the next morning the plan is already waiting.
What it does
It’s a skill, which means it’s a markdown file Claude Code reads when you ask for it. No server, no background process, nothing running while you sleep.
When you run it, Claude looks at the real state of your repo instead of asking you what you did today. Your branch and whether it has an upstream, uncommitted files, stashes, unpushed branches, worktrees, and the TODO and FIXME lines you added.
If you have the GitHub CLI installed and logged in, it also checks your open pull requests and their failing checks, the reviews people are waiting on you for, issues assigned to you, and recent CI on the default branch. Without gh the review still works, just from git alone.
Then it sorts what it found. Anything that could lose work overnight goes first: uncommitted changes on a branch with no upstream, a half-finished rebase, a red default branch that other people deploy from. It tells you, it gives you the command that would fix it, and it does not run that command.
From everything else it picks at most three priorities for tomorrow. Three. Everything it leaves out goes into a short “Parked” list so you can stop carrying it around in your head.
What the plan looks like
Each priority gets four lines:
- What, as a verb and an object. “Answer the review on #42”, not “PR stuff”.
- Why now, in one clause, with the evidence it found.
- First move: one concrete action you can finish in under 15 minutes.
- Done when: how you’ll know it’s finished.
The first move is the line I care about most. A plan that says “continue the refactor” is a label. A plan that says “open the token file, delete the retry branch at line 88” gets you working at 9:01 instead of 9:20.
All of it goes into .dreams/YYYY-MM-DD.md at the root of your repo. The skill also drops a .gitignore inside that folder, so your plans never end up in a commit.
In the morning you say “good morning, where was I” and it reloads that file, checks what changed overnight, and marks each priority as still valid, already done, or changed.
How to install it
One command, from your project:
npx claude-code-templates@latest --skill productivity/dream-queue That writes three files into .claude/skills/dream-queue/ and touches nothing else.
Then you have two ways to use it:
- Type
/dream-queuewhen you're done for the day. - Or just say “wrap up” or “done for today”. Claude Code loads a skill on its own when what you say matches the skill’s description, so you don’t have to remember the command.
You need git. The GitHub CLI is optional, and it makes the review much better.
Is it worth it?
I think so, with one honest caveat: this is a ritual, and rituals only work if you actually do them. There’s no hook and no background job. If you close the laptop without running it, you get nothing.
The other thing to know is that it won’t fix anything for you. It reports uncommitted work and leaves it there. It tells you a check went red and leaves it red. That’s deliberate, because the worst time to rebase is when you’re already done for the day. But if you were hoping for an agent that cleans up your repo overnight, this isn’t it.
What you get instead is those twenty minutes back every morning, and the quieter benefit: once the list is written down somewhere, you stop keeping it in your head after you close the laptop.
Try it tonight when you wrap up. Tomorrow morning, ask it where to start.
- Component page: https://www.aitmpl.com/component/skills/productivity/dream-queue
- More skills like this: https://www.aitmpl.com
- My project: https://github.com/davila7/claude-code-templates
You can follow me on my social media:
- Twitter (English): https://x.com/dani_avila7
- LinkedIn (Spanish): https://www.linkedin.com/in/daniel-avila-arias/
- Youtube (Spanish): https://www.youtube.com/@daniiielsan
- Instagram (Spanish): https://www.instagram.com/danielsan_avila/
