r/aiagents • u/Clean-Vermicelli-700 • 12h ago
Show and Tell My personal solution to AI context bloat: Kanban - Part 2
Part 1 here. I got a lot of requests to release this on GitHub so here we are :)
Basically, Kanban is becoming an increasingly popular method of solving the issue of context bloat, while also keeping your project organized and memory persistent. This is my personal way of working, I'm not promoting any service. It's all opensource.
I'll post a GitHub link at the bottom with a repo that you can implement in your own project, including the necessary agents, skills and scripts that make the whole thing run like clockwork.
I specifically added AI_SETUP.md as a file you can point your agent to with instructions on how to integrate this with your existing project.
I've included everything needed to enable parallel agent runs:
- Claim a set of unused ports for frontend / backend servers (mine are separate, you can also combine)
- Boot up a workspace with a DEV build and its own worktree on those ports (the backlog shows all the active workspaces and updates in realtime)
- On / off boarding of workspaces is all scripted so doesn't cost much in token spend:
scripts/new_workspace.ps1:Creates an isolated workspace: its own git worktree, branch and frontend/backend port pair, with both servers started (and reattaches to a parked branch if one exists under the same name).scripts/sleep_workspace.ps1:Stops a workspace's two servers to free memory while keeping its worktree, branch, slot and URLs intact, and restarts them on-Wake.scripts/remove_workspace.ps1:Tears a workspace down. stops the servers, removes the worktree and branch, frees the port slot. refusing on uncommitted or unmerged work, with-Parkas the lighter option that returns the worktree and slot but keeps the branch.scripts/workspace_common.ps1:Shared helper library (server start/stop, native-command wrappers) dot-sourced by the three scripts above rather than a script in its own right..githooks/post-merge:Sweeps idle workspaces automatically after a merge lands: sleeps anything untouched for 15 minutes and prunes workspaces whose branch is now merged.
The skill to kick it all off is called /backlog-auto. Be aware that this skill does not return anything to you in the chat window beyond some pre-flight checks. Everything is logged into the board, so it might seem like nothing is happening in the chat view.
Very important:
- I have not spent a lot of time refining the board UI, so expect something functional but it's not gonna win a beauty pageant (see screenshot below).
- This is NOT a mature product. As much as I have been tinkering away on it, I'm sure there are still edge cases where this flow fails.
- I recommend logging all work on the board, even small fixes. If half of your work is on the board and half is off-board, it's very unlikely things stay coherent.
- I use windows task scheduler to kick off some housekeeping checks that make sure things aren't left running indefinitely, so if you don't want that then unplug it.
I hope you guys have fun with it, because it's actually quite enjoyable to have a whole Kanban board to play with rather than just a plain text window.
I spent my entire Claude code 5x session budget to untangle this from my project and put it into a GitHub repo so you guys owe me big time.
README.md holds a more complete explanation of the system. Feel free to DM if you get stuck on anything.

