Removes the mizer agent support that setup_mizer_agent() installed in a
project: the MIZER-AGENTS.md reference card, the mizer block in the
instruction files, the bundled skills in .claude/skills/ and
.agents/skills/, the r-mizer MCP server in each agent's config, and the
btw::btw_mcp_session() call in the project .Rprofile. Use it when you no longer want the agent support in a
project, or to get back to a clean slate before setting it up differently.
Details
Only what this package wrote is removed, following the same boundary
setup_mizer_agent() respects when writing:
MIZER-AGENTS.mdis deleted. It is package-managed and rewritten on every setup, so there is nothing of yours in it.In
AGENTS.md,CLAUDE.mdandGEMINI.mdonly the block between the<!-- mizerAgents: start -->and<!-- mizerAgents: end -->markers is deleted; your own notes stay. A file that held nothing but the block is deleted with it, as is aCLAUDE.mdorGEMINI.mdholding nothing but the@AGENTS.mdimport that setup writes into one it creates itself. An@AGENTS.mdimport among notes of your own is never removed, just as one is never written into a file you already had: which of your instruction files import which is your business.Under
.claude/skills/and.agents/skills/, a file is removed only if it still matches the hash recorded in that directory's.mizerAgents.jsonwhen it was installed. One that has been edited here is kept and reported, as is anyNOTES.md, which this package never writes, and any skill of another tool's. Directories left empty are removed. (In a project set up by version 0.3.2 or earlier there is no record, so files are identified by comparing them with what the installed mizer's skills would have produced; anything that does not match is kept.)In each agent's MCP config only the
r-mizerentry is removed; other servers you configured there stay, and the file is deleted only if that entry was all it held. A config file that cannot be parsed is left alone with a warning rather than risking your other servers.In
.Rprofileonly the guardedbtw::btw_mcp_session()call and its comment are removed.
The btw package is not touched: it is an ordinary R package you installed,
and other projects may be using it. Uninstall it yourself with
remove.packages("btw") if you want it gone.
See also
setup_mizer_agent(), which this undoes, and
update_mizer_agent() if you only want to refresh the files.