skill-git:delete

skill-git:delete is a command for Claude Code from KnowledgeXLab/skill-git. It costs 48 tokens per session (1,300 once invoked), scanned A, original, MIT.

A command for permanently removing a registered coding-agent skill from disk and from its configuration file. It first requires selecting the skill and confirming the deletion.

In plain words
What is it for?
Use it to delete or uninstall a registered skill, after checking its selection and confirming the requested removal.
Why use it?
It removes an unwanted skill and helps prevent accidental deletion by requiring explicit confirmation.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool; mentions Codex; built for openclaw.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the skill-git plugin — 2 skills, 10 commands shipped together

Good fit Use it to delete or uninstall a registered skill, after checking its selection and confirming the requested removal.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add KnowledgeXLab/skill-git
Claude Code
/plugin install skill-git

Made for: Claude Code.

Or install skill-git, the plugin that ships this one along with the rest of its 2 skills, 10 commands.

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 skill-git:delete

README.md
[![agentmods](https://agentmods.dev/badge/commands/knowledgexlab/skill-git/delete/github.svg)](https://agentmods.dev/commands/knowledgexlab/skill-git/delete)
Your own site
<a href="https://agentmods.dev/commands/knowledgexlab/skill-git/delete"><img src="https://agentmods.dev/badge/commands/knowledgexlab/skill-git/delete/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for skill-git:delete

Your own site · 80×15
<a href="https://agentmods.dev/commands/knowledgexlab/skill-git/delete"><img src="https://agentmods.dev/badge/commands/knowledgexlab/skill-git/delete.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,300 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00048 $0.01300
Opus 5.5 $0.00019 $0.00520
Sonnet 5.5 $0.00010 $0.00260
Haiku 4.5 $0.00005 $0.00130

Measured 2mo ago against content hash 2ec9710f409d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

skill-git:delete 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 2mo 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.

commands/delete.md · 145 lines

How it starts

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

You are running /skill-git:delete. Follow these steps exactly.

Tool Loading

Before doing any work, load all required tools in a single ToolSearch call:

select:TaskCreate,TaskUpdate,TaskList,AskUserQuestion

Do not issue multiple ToolSearch calls.

Task Tracking

You MUST create a task for each item below and update each task's status as you progress (pending → in_progress → completed):

  1. Select skill — parse arguments or present interactive list
  2. Confirm deletion — show warning and wait for explicit user confirmation
  3. Execute deletion — call sg-delete.sh --execute
  4. Report result — display outcome to user

Prelude

!bash "${CLAUDE_PLUGIN_ROOT}/scripts/sg-prelude.sh" $ARGUMENTS

If STATUS is not ok:

  • Re-examine RAW_ARGUMENTS — check if the user expressed an agent name or intent that can be semantically resolved (e.g. a typo or implicit default).
  • If STATUS is not_initialized and INITIALIZED_AGENTS is non-empty, suggest /skill-git:init -a <agent>.
  • If STATUS is not_initialized and INITIALIZED_AGENTS is empty, tell the user to run /skill-git:init first.
  • If STATUS is error, display REASON as a plain-language error and stop.

Use AGENT, GLOBAL_BASE, and SKILLS_JSON from prelude output for all subsequent steps.

Agent name in positional position: If $ARGUMENTS contains a known agent name (claude, gemini, codex, openclaw) as a standalone positional token not preceded by -a, silently treat it as -a <agent>.

Step 1 — Select Skill

If a skill name is provided in $ARGUMENTS:

Run:

bash "${CLAUDE_PLUGIN_ROOT}/scripts/sg-delete.sh" --info "<skill_name>" "<global_base>" '<skills_json>'

If STATUS=not_found, tell the user:

Skill "<skill_name>" is not registered.
Run /skill-git:list to see all registered skills.

Then stop.

Use the returned SKILL_PATH, SKILL_VERSION, IS_SYMLINK, IS_DIRTY, DIRTY_SUMMARY for the next step.

If no skill name is provided:

Run:

bash "${CLAUDE_PLUGIN_ROOT}/scripts/sg-delete.sh" --list "<global_base>" '<skills_json>'

Read the full file on GitHub · 145 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. 2mo ago First seen · 145 lines · 0 tokens per session scan A 2ec9710f409d

Subscribe to this mod's changes

skill-git:delete is a command published in the GitHub repository KnowledgeXLab/skill-git (42 stars, last pushed 6mo ago), licensed MIT. It adds 48 tokens to every session and 1,300 once invoked, about $0.0002 per session on Opus 5.5. 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-30.