/agentkit:uninstallfrom agentkit
Remove AgentKit, or one of its skill kits, without hand-deleting files. Covers `install.sh --uninstall` for a global or project install, what it reverts inside configs the user owns, what it deliberately leaves alone, and how deselecting one optional kit removes its managed artifacts. Use when asked to uninstall AgentKit, remove a kit, undo the installer, or clean a machine of it.
Ships in agentkit. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Run the uninstaller from a checkout of the same repo that installed it. It removes artifacts by the names that checkout ships and by symlinks pointing into the shared root — never by pattern — so a file the installer did not write is never touched.
./install.sh --global --uninstall # undo a global install
./install.sh --uninstall ~/code/my-project # undo a project install
./install.sh --global --uninstall --purge-config # ...and drop config.yaml too
It is idempotent: a second run prints nothing and exits 0, and so does a run against a machine that never had AgentKit on it.
--without <kit> removes that kit's AgentKit-managed artifacts on the same run.
| Kit | install.sh --global --without <kit> |
|---|---|
adversarial-review, advisory-review | Removes managed instructions, skills, hooks, tools, prompts, and plugins |
memory, product | Removes managed skills, hooks, settings entries, prompts, and plugins |
The selected kit set is the active installed set. Keeping a deselected skill on disk
would leave it discoverable and auto-triggerable, so presence without a recorded
selection is not enough to keep any optional kit. core cannot be deselected.
./install.sh --global --without brain
./install.sh --global --with brain # select and install it again later
The installer reconciles only artifacts it owns. It preserves unrelated skills, hooks, prompts and plugins, and reports a real user-owned skill directory rather than deleting it from a client integration.
--uninstall removes~/.agentkit/{skills,rules,instructions,hooks,tools}, plus its
kits selection record and version stamp~/.local/bin copies of every tool the checkout ships, including the
agentkit-run compat symlink~/.agents, ~/.claude and
~/.grok (skills, rules, instructions, hooks, tools)~/.config/opencode/plugins/ copies of the shipped TypeScript pluginsrules/*.rules this checkout ships, prompts/<skill>.md, the review-gate
hooks and tools, and hooks.json when nothing is left in itagent-sessions.slice unit, and the shim PATH block in
~/.bashrcEach of these is edited in place, scoped to a marker or to agentkit ownership, and the rest of the file is left exactly as it was.
| File | Reverted |
|---|---|
~/.claude/settings.json | Hook entries running an agentkit hook script |
~/.claude/CLAUDE.md | <!-- agentkit:<name>:start/end --> blocks (and legacy ones) |
~/.config/opencode/opencode.json | Only the instructions[] entries pointing at the shared root |
$CODEX_HOME/config.toml | developer_instructions, only when it is the agentkit prompt |
$CODEX_HOME/hooks.json | Only entries tagged AGENTKIT_HOOK_TARGET=codex |
~/.bashrc | The agentkit session shims block |
A settings.json or CLAUDE.md with nothing at all left in it is removed; one
still holding anything of the user's is kept.
~/.config/agentkit/config.yaml — kept and reported, unless --purge-config$CODEX_HOME/rules this checkout does not ship, such as a
hand-written default.rulestest ! -e ~/.agentkit && echo "shared root gone"
ls ~/.claude/skills ~/.grok/skills 2>/dev/null # no dangling links
find ~/.claude ~/.agents ~/.grok -xtype l 2>/dev/null # must print nothing
grep -c agentkit ~/.claude/settings.json ~/.bashrc 2>/dev/null # expect 0
grep developer_instructions "${CODEX_HOME:-$HOME/.codex}/config.toml"
./install.sh --global --uninstall # second run: silent, exit 0
find -xtype l is the assertion that matters: a leftover symlink into a deleted
shared root still exists on disk while test -e reports it absent, so an
existence check alone will tell you the job is done when it is not.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub developerinlondon/agentkit --plugin agentkit20 skills in this plugin
/agentauthzAdminister an agentauthz host over its MCP tools (authz_describe, authz_check, authz_grant, authz_grants, authz_revoke, authz_policies, authz_audit_query): read the descriptor before touching vocabulary, grant curated policies bounded down, probe-check both directions after every change, verify in the audit trail. Triggers: granting or revoking access, authoring or validating authz policy, "why was this denied", bounds, condition keys, agentauthz, authz MCP tools./architectStudy a system and produce living architecture documentation — explanatory pages with high-quality diagrams. Use AUTOMATICALLY when the user asks to document, explain, map, or review an architecture ("how does this system work", "architecture diagram of this repo", "create/refresh the design docs"), or to keep architecture pages current after changes. Orchestrates the diagram and publish-page skills./autonomous-workflowOther plugins' skills for the same job