Skip to content
Back to skills

Installing Tools

ASecurity

Choose the right scope and manifest before installing a CLI or runtime, fetching a one-off executable, or fixing a missing tool. Keep project dependencies local and user-wide tools in managed dotfiles.

  • 10 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 9, 2026
developmentpythongoshellbashbackend

Works with

  • cli

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned November 9, 2026

npx -y skills add martinemde/dotfiles --skill installing-tools --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Installing Tools?

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

Security grade badge for Installing Tools
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/martinemde-installing-tools/badge)](https://www.skillsdirectory.com/skills/martinemde-installing-tools)

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: installing-tools
description: Choose the right scope and manifest before installing a CLI or runtime, fetching a one-off executable, or fixing a missing tool. Keep project dependencies local and user-wide tools in managed dotfiles.
---

# Installing tools

Check the project's instructions and existing manifests before choosing an install path.
Distinguish a missing dependency from a missing CLI; do not fix either by silently
installing a global executable.

- **Project dependencies:** use its existing package manager, manifest and lockfile.
  `bun add`, `pnpm add`, `bundle install`, and `uv sync` remain project operations.
  Use the project's environment, not the agent's Python kernel.
- **Project CLI/runtime:** use the project's existing tool manifest, such as mise.
  Keep `mise use TOOL@VERSION` project scoped, not `--global`.
- **User-wide CLI:** edit the managed Chezmoi manifest. In the dotfiles repo, use
  `managing-chezmoi-packages` for backend selection, verification and update coverage.
  Existing manifest-driven Bun globals and uv tools are intentional; do not replace
  them with unrecorded `npm/bun/pnpm -g`, `pip --user`, `uv tool install`, `cargo install`,
  `go install`, or `brew install` commands.
- **One-off executable:** `npx`, `bunx`, `uvx`, `npm exec`, and `pnpm dlx` can download
  and execute tools too. Prefer an already declared project executable. If a temporary
  tool is needed, propose an isolated environment and ask before downloading it.

Editing declarations and installing them are separate actions. Before installing,
applying or upgrading tools, state the scope, manifest and verification approach and
get permission. If no managed path exists, explain what is missing rather than
inventing a global install. Do not change projects to a different package manager
just to satisfy this guidance.

The Claude shell hook catches common direct installer commands as a reminder. It is
not a sandbox and does not inspect scripts or Python subprocesses. Prime's
`python_repl` -> `bash(...)` path and other harnesses are not covered by that Claude
hook; follow this guidance there as well.

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 development →

Comments

Loading comments…

Newsletter

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