# Vetfirst: Read every file before a skill gets installed

> Pins a commit, reads every file, scans for load-time shell, hooks, MCP configs, encoded payloads and credential reads, drops what is risky, logs it in a registry, and waits for your yes.

Vetfirst: Read every file before a skill gets installed is a paid AI agent skill on Agensi by MAJI, in Security. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $12 (one-time purchase)
- Creator: [MAJI](https://www.agensi.io/creators/maji)
- Category: [Security](https://www.agensi.io/skills/security)
- Version: 1.0
- Last updated: 2026-10-18
- Security: scan passed (2026-10-18); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/vetfirst-read-every-file-before-a-skill-gets-installed
- Tags: security, ai-agents

## About this skill

An agent skill, plugin or MCP server runs with your agent's permissions, but most get installed on the strength of a star count or a marketplace badge. The risky part is rarely in the main file: it sits in a setup command, a hook, a hidden config or a reference file nobody opened. Vetfirst treats every outside skill like code from a stranger and reads it before anything is installed.

### What it does
- **Provenance** records repo, author handle and marketplace page, and checks repo age, activity, security issues and typosquat names.
- **Licence** decides what may be copied: with attribution, ideas only, or not at all.
- **Pin and read** clones read-only into a scratch folder, records the commit, and reads every file including hidden configs.
- **Risk scan** greps for downloads, installs, load-time shell, hooks, MCP configs, eval, base64, sudo, credential reads and remote fetches, then reads each hit in context.
- **Omit, not patch** keeps only trusted files and drops risky scripts and configs instead of editing them.
- **Registry** logs source, commit, licence, kept and omitted files, and a scan summary.

### How it works
1. **Check provenance and licence.**
2. **Clone and pin**, never running the repo's installer or a `curl ... | sh` line.
3. **Inventory and scan** every file; binary or minified files with no source are rejected.
4. **Judge each hit** benign or risky. When unsure, it is risky.
5. **Show a verdict table** (install, install with omissions, reject) and wait for your yes.
6. **Record and re-scan** on every update against the pinned commit.

### Frameworks & tools
`git`, `find`, `wc` and `grep` with a ready scan pattern. Works on any skill, plugin, agent config, prompt pack or MCP server.

### Why this beats prompting it yourself
A quick prompt usually reads SKILL.md and stops. This skill reads every file, flags load-time execution as the worst class, never opens the repo in an agent session that would auto-load it, and only counts your yes, not the agent's confidence.

### Use cases
- **Before any install** from a marketplace, repo, gist or chat message.
- **MCP server review** of tools, write or delete actions, network hosts and token scopes.
- **Batch vetting** with one table and one registry section.

### Known limitations
Not for auditing your own app code or package dependencies. It does not fix risky third-party scripts; it drops them or rewrites the idea. Nothing is installed automatically.

## Requires

- Git
- grep
- find
- Playwright
- Node.js

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Vetfirst: Read every file before a skill gets installed skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What does it need?

The repo URL or marketplace link of the skill, plugin or MCP server, plus `git` and `grep`. It works from a scratch folder outside your projects.

### Will it make a risky script safe?

No. It never patches a third-party script. Risky files are omitted, or you rewrite the idea yourself.

### How is this different from asking an agent if a skill is safe?

It reads every file, including hidden configs and references, scans with a fixed pattern, judges each hit in context, and waits for your explicit yes before anything is copied.

### What is in the zip?

SKILL.md, the instructions your agent follows, and LICENSE.md.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
