# Agent Skill Eval Kit — Static Security & Quality Auditor

> Zero-dependency Python CLI & 5-gate evaluation rubric to audit AI Agent Skills (SKILL.md) for trigger hygiene, hardcoded secrets, shell/SQL injection, unguarded DB writes, and context-window bloat.

Agent Skill Eval Kit — Static Security & Quality Auditor is a free AI agent skill on Agensi by SunQi, in Testing & Debugging. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [SunQi](https://www.agensi.io/creators/sunqi)
- Category: [Testing & Debugging](https://www.agensi.io/skills/testing-debugging)
- Version: 1.0
- Last updated: 2026-11-25
- Security: scan passed (2026-11-25); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/agent-skill-eval-kit-static-security-quality-auditor
- Tags: security, code-review, testing, python, qa, skill-audit, ci-cd, devops

## About this skill

Most AI Agent Skills look great in demos but break in real engineering workflows—overbroad triggers hijack unrelated prompts, raw logs blow up the context window, or helper scripts quietly ship hardcoded credentials, shell=True, unsafe deserialization, SQL interpolation, or unguarded writes.

Agent Skill Eval Kit gives your coding agent a deterministic static auditor (scripts/skill_auditor.py, Python 3.9+ stdlib only, zero external packages) paired with a field-tested 5-Gate Evaluation Rubric (references/skill-eval-rubric.md):
- G1 — Trigger & Frontmatter Hygiene: Validates SKILL.md, YAML name/description spec format and limits, and flags overly broad trigger phrases.
- G3 — Context Budget & Log Governance: Detects oversized SKILL.md files and unbounded stdout log dumps.
- G4 — Code-Level Security Guardrails (P0/P1): Catches hardcoded secrets/private keys, curl/wget piped to shell, dynamic eval/exec, os.system, shell=True, unsafe pickle/yaml deserialization, SQL string interpolation, unguarded DB writes, and prompt-override lines.
- G5 — Negative-Path & Test Coverage: Verifies test suites for error handling and dirty inputs.
- CI-Ready: Outputs Markdown or JSON reports (EN/ZH) and exits non-zero on P0 findings.

Open Source (MIT License, Free) — Full source code, CI workflows, positive/negative test fixtures, and unit tests: https://github.com/sunqi-2025/agent-skill-eval-kit

## Requires

- Python

## Known limitations

Requires target directory to contain a SKILL.md file. Auditor script requires Python 3.9+ standard library. Does not support non-agent codebases.

## 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 Agent Skill Eval Kit — Static Security & Quality Auditor skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What does Agent Skill Eval Kit — Static Security & Quality Auditor do?

Zero-dependency Python CLI & 5-gate evaluation rubric to audit AI Agent Skills (SKILL.md) for trigger hygiene, hardcoded secrets, shell/SQL injection, unguarded DB writes, and context-window bloat.

### Which AI agents support Agent Skill Eval Kit — Static Security & Quality Auditor?

This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

### How do I use Agent Skill Eval Kit — Static Security & Quality Auditor?

Connect your AI agent to Agensi through MCP, then ask it to use Agent Skill Eval Kit — Static Security & Quality Auditor on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

---

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.
