plurai-uninstall
Remove what the Plurai plugin created in a project and in your home folder, after you confirm each part. Run it before removing the plugin itself.
Files1
View on GitHubSKILL.mdskills/plurai-uninstall/SKILL.md
GitHubPlurai uninstall
Usage: /plurai-uninstall
Removes the files the plugin's flows created, in the project and in the user's home folder. It does not remove the
plugin: the last step gives the command for that. Everything it can remove is listed in
docs/what-the-plugin-writes.md.
Steps
Show what exists. This removes nothing:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/plurai_uninstall.py" planShow the output as it is. It groups the files so each can be confirmed on its own:
project: eachplurai_sim/folder (the generatedsimulate.py, config, PRD, mocks, scenarios, evals and runs), the plugin's lines in.gitignore, and generated Agentforce files.project-state:.plurai/folders (upload previews and the upload audit log).home: the plugin's flow markers, suite windows and tool environments under~/.plurai/.login: the saved login,~/.plurai/credentials.json.
If every group says "nothing found", say so and go to step 4.
Ask the user which groups to remove, one question with a choice per group that has files. Say before they answer:
projectdeletes files that may be committed;git checkout -- <path>restores them. The git index may still list files the scan staged;git statusshows them as deleted.project-stateincludes.plurai/uploads/audit.log, the local record of what was uploaded. Keep it if they need that record.loginsigns this machine out. The key stays valid until it is revoked in the Plurai dashboard.
Do nothing for a group they did not choose, and ask again for one they did not answer.
Remove the chosen groups, naming only those:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/plurai_uninstall.py" remove --groups project,homeShow the
removedrows. Acould not removerow is the user's to fix; say which path and why.Tell the user what this skill does not remove:
- Data on the Plurai backend (corpora, runs, mock environments). The dashboard manages it.
- The Plurai SDK (
plurai-simulation-sdk) in the project's virtualenv:pip uninstall plurai-simulation-sdk plurai-mockenv. - Agentforce org changes: run the Agentforce
cleanstep first if they used it. - Files of their own: the agent's source,
.envfiles, and hook trust in~/.codex/config.toml.
To finish, tell the user to remove the plugin and restart the session. Use the scope it was installed with:
claude plugin uninstall plurai-simulation@plurai-plugins(
--scope projectfor a project-level install;plurai-simulation@pluraiwhen the plugin was installed from its own repository's marketplace.) This session's hooks recreate flow markers until it ends, so they run/plurai-uninstallonce more after the restart only ifplanstill listshomefiles.
Rules
- Never run
removewithout a group the user chose in this conversation, and never pass a group they declined. - Never delete anything by hand that
plandid not list. - The script never follows a symlink and never touches files outside its lists; do not work around a refusal.