For AI agents: the docs index is at /llms.txt. Every page has a markdown version: add .md to the URL.

Agent Coach

What does an agent skill tell your agent to run?

Short answer: often a shell command, and usually an unpinned package. Of 142 vetted SKILL.md files we read (23 repos), 51 (35.9%) include shell command blocks and 40 (28.2%) name a command that installs a package or downloads and runs one. 0 of those 40 pin an exact version; 12 ask for @latest. 9 install tools globally and 11 run a script bundled with the skill. None use sudo, rm -rf, force-push or curl | sh.

We run Agent Coach, which recommends skills and MCP servers to agents and security-scans each one at a pinned commit. A scan answers "is this text and code safe at this commit?" It doesn't answer "what will my agent actually do when it follows this skill?" So on 2026-11-24 we read the same 142 vetted single-folder skills from our library that we measured for portability and context size. Each SKILL.md was read at the exact commit we scanned, and we counted what it tells the agent to run.

Why this matters

A skill is a markdown file, not a program. But agents follow it: when a SKILL.md says "run npm install -g some-cli", a coding agent with shell access may simply do that, with your user's permissions, unless its harness asks you first. The commands in a skill are the part that touches your machine, your accounts and your bill.

What we found

What the SKILL.md tells the agentSkillsShare
Any fenced code block10372.5%
Shell commands (bash/sh blocks or command lines)5135.9%
Install a package or download and run one (npm, pip, brew, npx, bunx)4028.2%
…with an exact version pinned00%
…explicitly @latest128.5%
…installed globally (-g, brew)96.3%
…npx -y, which skips npx's own install prompt85.6%
Run a script bundled with the skill (scripts/…)117.7%
Name a secret env var (*_API_KEY, *_TOKEN, *_SECRET)2316.2%
Point to a dotfile path in your home folder (~/.claude, ~/.config…)74.9%
sudo, rm -rf, git push --force, `curl … \sh`00%

Notes on the numbers:

  • Installs split by ecosystem: 16 skills use npm/pnpm/yarn installs, 10 use pip, and 22 use a package runner (npx or bunx). Some use more than one. A runner downloads the package if it isn't already installed and runs it right away.
  • No exact pins at all. The closest is a semver range (ai@^6). Everything else is a bare package name or @latest. That includes official vendor skills: their install lines are correct, just not fixed to a version.
  • `npx -y` is one pack. All 8 come from Cold-IQ/ColdIQ-s-GTM-Skills, where each skill's MCP setup runs npx -y …@latest. That means a fresh, unreviewed package version can start on every launch.
  • The dangerous strings appear only as warnings. One skill tells the agent never to pipe remote scripts into a shell; another is a guardrail that blocks force-push and git reset --hard. That's 2 mentions, 0 instructions.
  • Asking the human. 19 skills (13.4%) tell the agent to ask or wait for the user at some step, mostly to gather requirements. Only 3 put an explicit approval gate on a costly or remote action: spending API money, turning on a paid proxy, and pushing a deploy.

Which packs run the most

The packs with the most vetted skills in our library (counting only the skills we vetted, not every skill in the repo):

Writing and marketing packs are mostly prose. Tool and SDK packs (document builders, browsers, scrapers, CLIs) are mostly commands. Neither is better; they just carry different risks. A prose skill can still steer your agent badly, and a command-heavy skill can be perfectly safe. But only the command-heavy ones change what's installed on your machine.

Why "passed a scan" isn't the end

Our scan pins a commit of the skill's repo (methodology). An unpinned npm install some-cli inside that skill points somewhere else: the npm registry, today. If the package gets a bad release next week, the skill text hasn't changed and still passes, but your agent installs the new version. This is the same supply-chain gap we saw with skills changing after install, one level down.

What to do

  1. Search the SKILL.md before you adopt it for install, npx, bunx, pip, brew, curl, scripts/, sudo and env vars ending in _KEY, _TOKEN or _SECRET. It takes a minute and tells you what will touch your machine.
  2. Pin what you install. When a skill says npm install -g some-cli, install a specific version yourself (some-cli@1.2.3) and note it. For MCP configs, replace @latest with the version you reviewed.
  3. Make global installs and runners ask first. Set your agent's permissions so package installs, npx/bunx and anything that writes to ~/ need your approval (what an agent can install without asking).
  4. Read bundled scripts. If the skill runs scripts/something.py, open that file. Our pattern count only covers the SKILL.md text.
  5. Keep secrets scoped. A skill that needs SOME_API_KEY should get a key with the narrowest scope the service offers (storing keys for skills and MCP servers).
  6. Re-check on update, and remove what you don't use. Agent Coach's daily check-in gives each adopted item a keep, temporary or remove verdict. Fewer installed skills means fewer commands your agent might run (docs).

To have an agent pick vetted skills and check them daily, paste one line into it:

Read https://upskill.coach/start?ref=blog-skill-commands and follow it.

Limits of this data

These are 142 skills from our vetted library, which leans toward developer and go-to-market work. Since they passed our scan, they probably look cleaner than the average published skill. We matched patterns in the SKILL.md text only. We didn't read reference files or scripts, and we didn't run anything, so a command phrased unusually could be missed. "Asks the user" is a phrase match, so it shows intent in the text, not what a given agent will actually do. An install line in a skill doesn't mean your agent will run it; that depends on the task and on your harness's permissions.

FAQ

Do agent skills run code on my machine?

A SKILL.md is instructions, not a program, but it often tells the agent to run commands. In the 142 vetted skills we read, 51 (35.9%) contain shell command blocks, 40 (28.2%) name a command that installs a package or downloads and runs one (npm, pip, brew, npx, bunx), and 11 tell the agent to run a script bundled with the skill. The agent runs these with your user's permissions unless its harness asks first.

Do agent skills pin package versions?

Almost never. Of the 40 skills that name an install or package-runner command, 0 pin an exact version. 12 explicitly ask for @latest. So the code that runs is whatever the package registry serves that day, not what anyone reviewed. A skill can pass a scan at one commit and still pull a different package version tomorrow.

Do skills use sudo or destructive commands?

Not in our vetted set. None of the 142 skills tell the agent to use sudo, rm -rf, git push --force or to pipe a downloaded script into a shell (curl … | sh). Those strings appear in 2 skills, both times as warnings or a blocklist. This is a vetted library, so treat it as what good skills look like, not as the norm everywhere.

Should an agent ask before running a skill's install command?

Yes for anything global, anything that downloads code at run time, and anything that spends money or touches a remote system. Only 3 skills we read put an explicit approval gate on a costly or remote action (spending API money, turning on a paid proxy, pushing a deploy). Most leave it to your agent's permission settings. See what an agent can install without asking.

How do I check what a skill will run before installing it?

Read the SKILL.md and search it for install, npx, bunx, pip, brew, curl, scripts/, sudo and environment variables ending in _KEY, _TOKEN or _SECRET. Then open each script it calls. Our vetting checklist covers the rest.

Questions or corrections: ops@avatar33.com.

Published 2026-11-24, updated 2026-11-24 by Avatar 8. Markdown copy: /blog/what-does-an-agent-skill-tell-your-agent-to-run.md