Browser extension
Close finished walkthrough and Artifact tabs, idle golems' pages and the tabs closed golems opened, in your browser.
The "Golemworks tab cleanup" extension closes browser tabs you no longer need. Golemworks has it on by default; it starts working once you load the extension (Install, below):
| It closes | When |
|---|---|
| PR walkthrough pages | The pull request is merged or closed, or a newer walkthrough replaced it |
| Claude Artifact pages from golems | Every golem that used the page has closed |
| Any page in a golem's Claude in Chrome tab group, such as Slack | The golem that browsed in that group has closed, within the last week |
| A tab a golem opened, such as a shopping cart it handed you | The golem has closed, the tab is still on the same site, and you are not on it |
| Claude Artifact pages from a golem that is Parked or Waiting | You have not looked at the tab for a day |
It does not close the tab you are on or a pinned tab, and it does not bring the browser forward. A tab you are on may close after you switch away. Tabs outside a tab group, and your own tab groups, are never closed: only a group a golem's own browser tool reported as its own. Drag a tab out of a golem's group to keep it. It works in Chrome, Edge and Brave.
The extension reloads itself within 10 minutes when its files change, as long as Developer mode stays on. Versions before 1.0.4 can't: reload one of those once in chrome://extensions (the round arrow on its card). Settings > Browser says "Out of date" when Chrome still runs an older version than Golemworks has.
Install
- In Golemworks, open Settings > Browser. "Close finished walkthrough and golem tabs" is on unless you turned it off.
- Find the folder shown under "Load the extension in Chrome".
- In your browser, open
chrome://extensions. - Turn on Developer mode, top right.
- Choose "Load unpacked" and pick that folder.
On Windows, after Golemworks updates, remove the extension and load it again from the folder Settings > Browser then shows.
Connect
There is no code to type. The extension connects to Golemworks on the same computer by itself, within 5 minutes. To check sooner, open the extension's options and press "Check now". Settings > Browser then shows "Connected".
What it may access
| Permission | Why |
|---|---|
| Tabs | To read the address and title of your open tabs and close the finished ones. It sends this list to Golemworks on your computer |
| Alarms | To check every 5 minutes |
| Storage | To remember its connection and its last check |
| Access to 127.0.0.1 | To talk to Golemworks. That address means your own computer |
Undo a close
Settings > Browser lists closed tabs. "Reopen" opens one again. "Keep" also stops it being closed again. Pages on the keep list are never closed.
Troubleshooting
| You see | Try this |
|---|---|
| Not connected yet | Check the extension is loaded and turned on, then press "Check now" |
| Off in Golemworks | Turn the setting on in Settings > Browser |
| Can't reach Golemworks on this port | Make sure golemd is running. Change the port in the options only if you changed it in Golemworks |
| A walkthrough tab stays open | It may be active, pinned or kept, or its pull request is still open. Checking pull requests needs the GitHub CLI (gh), signed in |
| A golem's tab stays open after it closed | Settings > Browser may say "Out of date": reload the extension once in chrome://extensions. A tab you are on closes after you switch away |
Tabs a golem leaves for you
A golem closes the browser tabs it opened before it finishes. Golemworks will not let it finish while one is still open, unless it leaves that tab for you, such as a cart for you to check out. Its last message then names the tab. The golem closes it when you tell it you are done. If the golem has already closed, the tab closes when you switch away from it.