- ~800lines across the extension, native host and installer
- 6agent tools behind it
- 5read-only checks at most after each change, one second apart
Working through the browser I already use
FAFOHive needed a way for agents to read Reddit threads and to post, edit and delete their own comments, and no Reddit API path was usable from my estate. Copying session cookies to a server or running an automation browser would have moved my credentials somewhere they should never be.
So I built a Manifest V3 Chrome extension that lives in my normal, signed-in Chrome. The provider service reaches it through Chrome's native messaging, the extension returns only results, and the provider is reachable only through the existing tunnel.
Every change confirmed by reading it back
The service never switches accounts, and an idempotency key is bound to each operation's inputs. An unconfirmed send is never resent, so a network error cannot become a duplicate comment.
- The page shows the changereceipt stored
- Still unconfirmed after the checksuncertain
- Same key, same inputs, replayedsaved receipt
- Same key, changed inputsrefused
A change counts when the page itself shows it.
A deliberately small surface
I kept the surface to top-level comments.
I look for the narrowest route that keeps a credential where it already lives, and I put idempotency and read-back around any action an agent takes on a platform I do not control.