Skip to content
Back to skills

Install Deps

ASecurity

Detect missing SCV system dependencies (git, gh, glab, curl, jq, ffmpeg, python3) and either show OS-specific install commands or run them. Use whenever a command reports a missing external tool, or the user asks what SCV needs installed — not only when they type /scv:install-deps.

  • 9 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 27, 2026
toolspythongobashgit

Works with

  • terminal
  • cli

Security analysis

A100/100

Scanned November 24, 2026

npx -y skills add wookiya1364/scv-claude-code --skill install-deps --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Install Deps?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Install Deps
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/wookiya1364-install-deps/badge)](https://www.skillsdirectory.com/skills/wookiya1364-install-deps)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: install-deps
description: "Detect missing SCV system dependencies (git, gh, glab, curl, jq, ffmpeg, python3) and either show OS-specific install commands or run them. Use whenever a command reports a missing external tool, or the user asks what SCV needs installed — not only when they type /scv:install-deps."
argument-hint: ""
allowed-tools:
  - "Bash(${CLAUDE_PLUGIN_ROOT}/scripts/install-deps.sh:*)"
  - "AskUserQuestion"
---

# /scv:install-deps

Detect SCV's external CLI dependencies on the current machine and help the user install whatever is missing.

## Language preference

Resolve the user's preferred language with this priority, then use it for ALL user-facing output (question text, summaries):

1. `scv/scv_settings.json` — `SCV_LANG` (set by `/scv:help`'s first-time setup).
2. Auto-detect from the user's most recent message language.
3. Default to English.

Technical identifiers (tool names like `gh`, `glab`, `ffmpeg`, command names, file paths, env var names) stay as-is. If `scv/scv_settings.json` `SCV_LANG` is unset, suggest `/scv:help` once to lock the preference (don't block — fall back to auto-detect / English for now).

## Plain language first

Skip this section only when `scv/scv_settings.json` sets `SCV_PLAIN_LANGUAGE=off`
(absent or any other value = on). The per-turn hook carries the answer shape; its body is
`contracts/writing.md` 1–4: a **bold topic** line, the result first in a short lead without a bullet
(no sentence or length count), then bullets — connected reasoning as one short paragraph.
No code values before the user asks — identifiers the user acts on
stay exact, after the plain summary. Bad: a paragraph of paths. Good: **Topic** / the result / - why.
This governs everything the user reads.

## Recording

Turns are recorded per `core/contracts/recording.md`.

## Step 0 — Run --check

```bash
bash "${CLAUDE_PLUGIN_ROOT}/scripts/install-deps.sh" --check
```

Parse the output:
- `OS detected:` and `Package manager:` lines tell you the user's environment.
- `Dependency check:` block shows each tool with `[✓]` (installed), `[✗]` (missing — required/recommended tier), or `[△]` (missing — optional tier, graceful degrade).
- The `Result:` line at the end is one of:
  - `All deps installed.` — exit 0, nothing to do.
  - `All required tools installed. Some recommended/optional missing — ...` — exit 0, partial.
  - `REQUIRED tools missing: ...` — exit 1.

## Step 1 — Decide what to do

If the `Result:` line says **`All deps installed`**:
- Tell the user "All SCV dependencies are installed." in their preferred language.
- Stop.

Otherwise, ask the user one concise question to decide next action:

```
Question: "<n> dependencies are missing. What would you like to do?"
  (where <n> is the missing count from --check output)

Options:
[1] "Install now"
    description:
    "Run `install-deps.sh --install` to actually install the missing system tools.
     - Linux / macOS: sudo password may be prompted for apt / dnf / pacman.
     - Windows: winget will open its own confirmation dialog per package."

[2] "Just print the install commands (I'll run them myself)"
    description:
    "No installation is performed. The output of --check already shows the
     exact commands for the detected OS / package manager — copy and run them
     in your terminal as you see fit. Use this if you prefer reviewing each
     step or you don't want sudo to be invoked from a skill invocation."

[3] "Cancel — do nothing for now"
    description:
    "Exit without changes. SCV will keep running in graceful-degrade mode for
     missing optional tools (ffmpeg / python3). For missing required tools
     (git) or platform tools (gh / glab) the related skill invocations may fail
     until installed."
```

Answer handling:

- **[1] Install now**:
  ```bash
  "${CLAUDE_PLUGIN_ROOT}/scripts/install-deps.sh" --install
  ```
  After it returns, summarize the result in the user's language: how many tools installed, any failures, then re-run `--check` yourself to verify (read-only — a next step, not a decision, `contracts/choices.md` 8).

- **[2] Print only**: Tell the user the commands are already shown in Step 0's output, and remind them which OS-specific block applies. No further script invocation.

- **[3] Cancel**: One-line confirmation. Stop.

## Notes

- **The docs graph needs no install.** `scripts/graph.sh` builds it from the repository with bash + jq (v0.51.0+); jq is already in the list above.
- **Idempotency**: `--check` and `--install` are safe to re-run. `--install` skips already-installed tools.
- **Verification scope**: install commands are documented per upstream packaging guides. The repository author has end-to-end-verified Linux/apt only. macOS / Windows / other Linux distros are best-effort — if a command needs adjustment, open an issue on the SCV repo.

## Never

- Auto-run `--install` without an explicit confirmation. The user must choose `[1] Install now`.
- Modify the user's wrapper skill directory.
- Suggest `sudo` commands for Windows (winget runs as user; admin elevation is per-package via the system dialog).

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.