A skill is a folder: a SKILL.md file with instructions, plus whatever scripts, templates and reference files the author put next to it. That makes skills easy to write and easy to share. It also means most people install them the way they install a browser extension: skim the README, click, move on.
So what can a skill actually do once it's on your machine? The short answer: a skill doesn't get its own set of permissions. It borrows the agent's.
Skills borrow the agent's access
A skill isn't a sandboxed program. It's text and files that the agent reads and acts on. When a skill says "run scripts/build_catalog.py", the agent runs that script with the same access it already has in your session. That usually means:
Files: whatever the agent can read and write in your project, and sometimes beyond it.
Shell: any command the agent is allowed to run, subject to your permission settings.
Network: any host the script or command can reach.
Secrets: environment variables in the session, and any credential files the process can read.
Your agent's permission prompts are the real boundary. A skill can't grant itself more than you've allowed, but it can make a lot of use of what you have allowed, and it can be written so that the risky step looks routine.
Skills, plugins and MCP servers are different things
These three get lumped together, and they shouldn't be:
What it is Where it runs What to check
Skill Instructions plus files Inside the agent's session, using its tools Scripts it tells the agent to run; anything it says to do "automatically"
Plugin A bundle that can include skills, commands, hooks and MCP servers Depends on what's inside Hooks especially: they run on events without you asking each time
MCP server A separate process exposing tools to the agent Its own process, with its own environment and credentials Which tools it exposes, what each can change, and which tokens it holds
An MCP server with a GitHub token that can write to every repo you own is a different risk from a skill that formats commit messages, even if both show up in the same "install" list.
Five things to read before you install a skill
The scripts, not just SKILL.md. The instructions tell you what the author intends. The scripts tell you what will actually run. Open every .py, .js and .sh file the skill references. Look for network calls (fetch, requests, curl), file writes, and subprocess or child_process.
Install hooks in package.json or setup.py. postinstall, prepare and similar scripts run when dependencies are installed, before you've used the skill at all. Most are harmless (setting up git hooks for contributors is common). You still want to know they're there and what they call.
Where data goes. List every external domain the skill mentions. A scraping or image-generation skill will obviously call its own API. A note-taking skill that posts to an unfamiliar host deserves a closer look. URL shorteners are a red flag, because the destination can change after you've read it.
What it says about credentials. Reading process.env.MY_API_KEY is normal: that's how most skills get the key you gave them. Reading ~/.ssh/, ~/.aws/credentials, browser profile folders or someone else's .env file is not normal for most skills, and should be explained in the docs if it's there.
Whether the claims match the code. If the README says "read-only" or "works offline", search the code for file writes and network calls. A mismatch isn't always bad faith. Often the docs just fell behind. But it tells you the README isn't the whole story.
What we found when we checked real skills
We ran our audit on several popular open-source skill repositories this week, then checked every serious flag by hand. A few honest takeaways:
Most serious-looking flags were benign. Automated scanning over-matches. Code reading an environment variable looks a lot like code reading a credential file, and the word "cookies" in API docs looks like browser cookie theft. We fixed several of those rules in our own scanner after reading the actual lines. If you use any scanner, read the lines it points to before you act on its verdict.
Install scripts were the most common real item. Several repos ran a script on npm install, usually to set up git hooks. Fine for contributors, but surprising for someone who only wants to use the skill.
Almost nobody documents access. Every repo we checked used some combination of shell, network and environment variables. Almost none said so in one place a reviewer could read. That's the gap that slows down adoption at companies with a security review.
A checklist you can copy
[ ] Read every script the skill runs, not just SKILL.md
[ ] Check package.json / setup.py for install-time scripts
[ ] List every external domain it calls
[ ] Note every env var and file path it reads
[ ] Compare README claims ("read-only", "offline") with the code
[ ] For MCP servers: list the tools and the tokens they hold
[ ] Install into a throwaway project first
If you'd rather not do this by hand
We built a free audit at caporia.co/audit. Upload a skill's ZIP and it lists the files, external domains, shell, network and secrets access it observed, and anything a reviewer would want documented. It's a starting point, not a verdict: read the lines it flags before you decide.
If you publish skills, the same report is a quick way to see what a buyer's security team will ask you about.
I'd like to hear what you check before installing a skill, and what I've missed.
Top comments (0)