Back and forward buttons for Herdr

December 4, 2026 · 1 min read

Back and forward buttons in the Herdr sidebar

One of my favorite things about the Herdr app is that you can change it with small JavaScript mods. I don’t plan on installing community mods, given my stance on other people’s code. So when something bugs me, I have Claude write a mod for it.

What bugged me this week was getting lost. I run a lot of agents, and one of my spaces has 80-some tabs in it (one per task). An agent needs me, I jump to its tab and answer it, and then I have no idea which tab I was on before.

Browsers solved this a long time ago, so I copied them. The mod adds back and forward buttons to the top of the sidebar, and a History panel on the right with the tabs I visited, newest first.

The code is at venables/herdr-nav, as a starting point for your agent. I wrote it with Claude for my own layout, on Herdr 0.1.19, and I’ll maintain it how I want. So the safest way to use it is to have your agent read it and build a copy that fits your setup. (I wrote more about why in Other people’s code isn’t worth the risk.)