# MCP & SKILL.md Readiness Audit: Secret Leak & Schema Check

> Scans skill folders, MCP configs, and repos offline for leaked API keys, invalid JSON, missing YAML frontmatter, and exposed .env files.

MCP & SKILL.md Readiness Audit: Secret Leak & Schema Check is a free AI agent skill on Agensi by Hamza Shaikh, in Security. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Hamza Shaikh](https://www.agensi.io/creators/hamzashaikhai)
- Category: [Security](https://www.agensi.io/skills/security)
- Version: 1.0
- Last updated: 2026-11-26
- Security: scan passed (2026-11-26); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/mcp-skill-md-readiness-audit-secret-leak-schema-check
- Tags: security, code-quality-review, agents-orchestration

## About this skill

Catch accidental secret leaks and broken manifests before pushing code or submitting skills.

**What it audits in under 1 second:**
- **API Key & Secret Detection:** Scans markdown, code, JSON, YAML, and env files for AWS keys, GitHub PATs, Stripe live keys, OpenAI/Anthropic keys, Google API keys, Slack tokens, Bearer tokens, and private key blocks — automatically redacting findings so secrets are never printed.
- **SKILL.md Frontmatter Validation:** Checks required `name` and `description` metadata blocks so any AI coding agent discovers the skill cleanly.
- **JSON Syntax Verification:** Validates `mcp_config.json`, `package.json`, `plugin.json`, and `bridge.json` files for syntax errors.
- **Hygiene Check:** Flags stray `.env` files left inside release directories.

Runs completely offline with zero external dependencies and zero API keys required.

## Requires

- Node.js 18+

## Known limitations

Detects common token prefixes via regex patterns; does not execute code or replace full SAST/DAST vulnerability suites for compiled binaries.

## 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 MCP & SKILL.md Readiness Audit: Secret Leak & Schema Check 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

### Does this upload my source code or keys anywhere?

No. It runs 100% locally offline with zero network calls and redacts secret values in terminal output.

### Do I need any API key or npm install?

Zero API keys and zero npm dependencies. Only Node.js 18+ is required.

---

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.
