skill-git:install

skill-git:install is a command for Claude Code from KnowledgeXLab/skill-git. It costs 84 tokens per session (2,247 once invoked), scanned A, original, MIT.

An installation command for downloading coding-agent skills from SkillHub or ClawHub, two registries of reusable skills.

In plain words
What is it for?
Use it to install a skill by its SkillHub or ClawHub identifier, review a preview, and initialize the installed skill as a versioned Git project.
Why use it?
It guides the installation process and checks the requested skill before adding it to the agent’s skill collection.

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 install a skill by its SkillHub or ClawHub identifier, review a preview, and initialize the installed skill as a versioned Git project.

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:install

README.md
[![agentmods](https://agentmods.dev/badge/commands/knowledgexlab/skill-git/install/github.svg)](https://agentmods.dev/commands/knowledgexlab/skill-git/install)
Your own site
<a href="https://agentmods.dev/commands/knowledgexlab/skill-git/install"><img src="https://agentmods.dev/badge/commands/knowledgexlab/skill-git/install/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:install

Your own site · 80×15
<a href="https://agentmods.dev/commands/knowledgexlab/skill-git/install"><img src="https://agentmods.dev/badge/commands/knowledgexlab/skill-git/install.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 84 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,247 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00084 $0.02247
Opus 5.5 $0.00034 $0.00899
Sonnet 5.5 $0.00017 $0.00449
Haiku 4.5 $0.00008 $0.00225

Measured 2mo ago against content hash b0a404c51bf3, 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:install scanned grade A with 1 finding 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s "https://clawhub.ai/api/v1/search?q=<query>" 2>&1
commands/install.md · 259 lines

How it starts

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

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

All output shown to the user must be in English.

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. Parse arguments — validate identifier format, derive install_name, extract agent flag
  2. Init check — run prelude, get AGENT / GLOBAL_BASE / SKILLS_JSON
  3. Conflict check — verify install_name not already installed; set install_path
  4. Download skill — fetch files from the registry into install_path
  5. Preview and confirm — display skill name, description, content preview; ask user to confirm
  6. Init skill — run sg-init.sh to create git repo, initial commit, and v1.0.0 tag

Step 0 — Parse Arguments

If $ARGUMENTS is empty:

Identifier required.
Usage: /skill-git:install skillhub:<owner>/<repo>@<skill>
       /skill-git:install clawhub:<slug>

Use /skill-git:search to find skills first.

Stop.

Extract registry and identifier from the first non-flag token:

  • skillhub:<owner>/<repo>@<skill> → registry = "skillhub", validate identifier contains / and @
  • clawhub:<slug> → registry = "clawhub", validate slug is non-empty with no / or spaces
  • Unknown prefix → Unknown registry. Use "skillhub:" or "clawhub:" as prefix. Stop.

On validation failure, extract a best-effort search query from all non-flag tokens (e.g. vercel/agent-browser → agent-browser) and run a registry search to suggest the correct identifier:

SkillHub fallback search:

npx skills find "<query>" 2>&1

ClawHub fallback search:

curl -s "https://clawhub.ai/api/v1/search?q=<query>" 2>&1

Parse the results and present matching skills to the user using AskUserQuestion with one option per result plus a "Cancel" option. Each option label should show the full valid identifier (e.g. skillhub:vercel/agent-browser@agent-browser). If no results are found, show the expected format and stop:

# SkillHub
Invalid SkillHub identifier. Expected: skillhub:<owner>/<repo>@<skill>

# ClawHub
Invalid ClawHub slug. Expected: clawhub:<slug>

Read the full file on GitHub · 259 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 · 259 lines · 0 tokens per session scan A b0a404c51bf3

Subscribe to this mod's changes

skill-git:install is a command published in the GitHub repository KnowledgeXLab/skill-git (42 stars, last pushed 6mo ago), licensed MIT. It adds 84 tokens to every session and 2,247 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.