# agent check

> One-page audit of your Claude Code setup: permissions, hooks, MCP servers and secrets. Tells you what to fix first and exactly how. Reads files only, never runs your code.

agent check is a free AI agent skill on Agensi by curro garrido, in Security. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [curro garrido](https://www.agensi.io/creators/curro-garrido)
- Category: [Security](https://www.agensi.io/skills/security)
- Version: 1.1
- Last updated: 2026-11-23
- Security: scan passed (2026-11-23); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/agent-check
- Tags: security, devops, claude-code

## About this skill

Ask your agent "check my Claude Code setup" and get a plain one-page report: what to fix first, what's worth tidying, and the exact fix for each item.

### What it checks
- **Permissions** in project and user settings: bypass mode, whole tools allowed with no limits, risky commands pre-approved, no deny rules.
- **Hooks**: scripts that don't exist, commands that aren't installed, hooks that hide their own errors.
- **MCP servers** in .mcp.json: plain http, servers whose command can't be found, keys written straight into the file.
- **Secrets**: API keys, tokens, private keys and .env files in the project.
- **Basics**: a CLAUDE.md or AGENTS.md, and a .gitignore that keeps .env and personal settings out of git.

### How it works
Python 3 standard library only. It reads files and never runs your hooks, MCP servers or code. Recognised keys are masked in the report. It exits with 1 when something is in "Fix first", so it also works in CI. After the report, your agent offers each fix and reruns the check to confirm.

### Limits
It only sees files. It can't see how the agent behaves in a live session or whether MCP servers actually connect. For a human review of that: guraforge.com/agent-check

Open source (MIT): github.com/campeomsergio-ui/agent-check

## Requires

- Python 3
- Git

## Known limitations

Reads static files only. Cannot monitor live agent behavior, active sessions, or runtime MCP connection status.

## 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 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 agent-check stop my AI agent from running destructive commands?

No, it doesn't block anything itself. It reads your settings, hooks and .mcp.json and tells you where the setup allows risky commands, has no deny rules, or exposes keys, with the exact change to make. You or your agent apply the fixes, then rerun it to confirm.

### Does this skill work with any AI agent, or is it specific to Claude Code?

This skill is purpose-built for Claude Code environments and projects utilizing the Model Context Protocol (MCP); it specifically audits `.mcp.json` files and Claude-specific project metadata.

### Does this skill monitor my agent's activity in real-time?

No, for security reasons, the auditor only performs static analysis on your configuration files and does not monitor or intercept live agent sessions or runtime terminal activity.

### What's included?

SKILL.md, the audit script (audit.py, Python standard library only), the README and the MIT licence. It's free and open source: github.com/campeomsergio-ui/agent-check

### Are there any specific technical requirements to run the Agent Check audit?

The audit script requires a local Python 3 installation and read-access permissions to the project directory you wish to scan.

---

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.
