My coding agent runs most of my writing workflow now. Drafts live as markdown files, and publishing them to dev.to was the one manual step left. So I made it a tool the agent can call itself. One 8.9KB extension file. Three actions. Two environment traps that had nothing to do with the code.
This is part of a build-in-public experiment that started in August 2026. I ran 43 sites to almost $0 and ~320 monthly visits before realizing the lesson: dev.to gives more traction in 48 hours than 25 static sites got in a month. Publishing fast and often is the whole game. The publish step has to be cheap.
What you need
A pi coding agent (any agent with an extension system works, the pattern carries over)
~/.pi/agent/extensions/ as the extension directory






