uninstall

uninstall is a command for coding agents from vyuh-labs/dxkit. It costs 0 tokens per session (803 once invoked), scanned A, original, MIT.

A command that removes dxkit from a project and restores files to their state before dxkit was installed. It previews the planned changes first and only applies them with --yes.

In plain words
What is it for?
Use it to remove dxkit-created files, reverse dxkit additions to existing files, and optionally remove dxkit dependencies from package.json.
Why use it?
It helps undo an installation without overwriting changes you made yourself. The preview lets you check what will happen before anything changes.

Command

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/vyuh-labs/dxkit/uninstall
Clone the repo
git clone --depth 1 https://github.com/vyuh-labs/dxkit

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for uninstall

README.md
[![agentmods](https://agentmods.dev/badge/commands/vyuh-labs/dxkit/uninstall.svg)](https://agentmods.dev/commands/vyuh-labs/dxkit/uninstall)
Your own site
<a href="https://agentmods.dev/commands/vyuh-labs/dxkit/uninstall"><img src="https://agentmods.dev/badge/commands/vyuh-labs/dxkit/uninstall.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 803 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00000 $0.00803
Opus 5 $0.00000 $0.00402
Sonnet 5 $0.00000 $0.00161
Haiku 4.5 $0.00000 $0.00080

Measured 3d ago against content hash 688edf8dfcf2, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

uninstall scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

docs/commands/uninstall.md · 64 lines

How it starts

The opening of the file, as written. The whole thing — 64 lines — stays where its author put it; the contents beside it link to each section on GitHub.

vyuh-dxkit uninstall

Remove dxkit and restore the repo's pre-dxkit state: delete every file dxkit created, and surgically reverse every additive merge dxkit made into a pre-existing file, without touching a byte the user owns. The command is dry-run by default; nothing changes until you pass --yes.

Usage

vyuh-dxkit uninstall [path]          # dry run: show the plan, change nothing
vyuh-dxkit uninstall [path] --yes    # apply the plan

Options

Option Effect
--yes Apply the plan (without it, the command only prints the plan)
--keep-baselines Keep the curated git-tracked artifacts under .dxkit/ (see below)
--remove-devdep Also strip the @vyuhlabs/dxkit devDependency + postinstall, and any tool devDeps dxkit added, from package.json
--force Remove dxkit-created files even if you edited them (default: skip + warn)
--no-feedback Skip the optional prefilled feedback-issue link at the end
--json Emit the plan (empty, warnings, actions) and exit without applying

Behavior

The plan is built from the install manifest (.vyuh-dxkit.json) and its per-file provenance:

  • Created files are deleted. A manifest entry recorded as created or overwritten by dxkit is removed. Non-evolving files are hash-guarded: if you edited one since dxkit wrote it, it is skipped and warned about unless you pass --force.
  • Your files are never deleted. An entry with skipped provenance is a file that pre-existed dxkit; it is left alone even under --force.
  • Merged files are reverted, not deleted. .gitignore, CLAUDE.md, .claude/settings.json, and package.json get dxkit's additions stripped while your content is preserved (byte-preserving JSON serialization for the JSON files). The .vscode JSONC file association for .dxkit/policy.json is removed, and core.hooksPath is unset if dxkit pointed it at .githooks.
  • Managed artifacts (CI workflows, git hooks, devcontainer, skills) are removed via the same registry init and update read, so a surface cannot be installed by one path and missed by this one.
  • Runtime state. .dxkit/ is removed entirely (baselines, reports, loop, policy). With --keep-baselines, the curated committed artifacts survive: baselines/, the allowlist (and its reasons sidecar), external/, flow/, and workspace.json.
  • The manifest goes last. If any edited file was skipped, the manifest is kept so a later uninstall --force can still find and remove it.

Read the full file on GitHub · 64 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 64 lines · 0 tokens per session scan A 688edf8dfcf2

Subscribe to this mod's changes

uninstall is a command published in the GitHub repository vyuh-labs/dxkit (10 stars, last pushed 5d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 803 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.