Music apps have playlists for different moods. That made me wonder: why not have modes for different kinds of coding work?
So I built modedial, a small open source MCP server. It has six modes: Deep Focus, Debug, Chill Refactor, Creative Sprint, Careful Reviewer and Fast Prototype. Each gives the agent a short set of instructions. It also makes mode cards and a recap from a local log.
On Claude Code, some modes can use hooks too. For example, Careful Reviewer blocks the file-edit tools.
What I learned while building it:
- My read-only guard had a hole. The agent could call end_mode and then edit. Now leaving that mode needs approval.
- Running hooks through npx took about 3.4 seconds per call on my Windows machine. A global install took about 0.1 seconds, so the hooks now require that.
- I can't claim it makes agents better. My small tests showed no benefit, and the modes cost more to run. The tests were weak (tasks too easy, and one was flawed), so they don't settle it.
Limits: this is not a sandbox. Shell command filtering is best effort, and writes such as node -e can get through. Some agent setups are untested; the README says which.
I used Claude Code to help build it.
Website: https://modedial-site.vercel.app/
Code (MIT): https://github.com/mac146/modedial
I'd like feedback on two things:
- Would you use modes, or just type the instruction each time?
- How would you test whether something like this actually helps?