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.
Free
agent check
Example session with this skill installed
Check my Claude Code setup in this project and tell me what to fix first.
- Read your context and instructions
- Compiled the agent check
Real output on the example project in the repo (examples/messy-project):
messy-project: agent setup check
4 things to fix before you trust this setup.
Fix first
-
.claude/settings.json allows whole tools without limits
Bash
Fix: Replace with narrow rules such as Bash(npm test:*). -
PostToolUse hook points at a missing file
.claude/settings.json: ./scripts/format.sh
Fix: Fix the path or remove the hook; a missing script fails on every event. -
MCP server 'tickets' uses plain http
http://tickets.example.com/mcp
Fix: Use https; tokens and tool results travel in clear text. -
MCP server 'tickets' has a secret written into .mcp.json
env API_TOKEN is a literal value.
Fix: Use ${API_TOKEN} and keep the value in the environment.
Worth fixing
-
No CLAUDE.md or AGENTS.md
The agent starts every session without project rules.
Fix: Add a short CLAUDE.md: how to build, test, and what never to touch. -
.env is not in .gitignore
One git add -A away from leaking keys.
Fix: Add .env* (and keep .env.example). -
.claude/settings.json pre-approves risky commands
Bash(git push:*)
Fix: Move these to ask, or narrow them to exact arguments. -
PostToolUse hook hides its own failures
$CLAUDE_PROJECT_DIR/scripts/format.sh || true
Fix: Let it fail loudly, or log the error; a silent hook looks like a working one.
When you have a minute
-
.claude/settings.local.json is not ignored
Personal permissions can end up shared.
Fix: Add .claude/settings.local.json to .gitignore. -
.claude/settings.json has no deny rules
Nothing blocks reading .env or secrets folders.
Fix: Add deny rules such as "Read(./.env*)" and "Read(./secrets/**)".
What this looked at: project settings, hooks, MCP config, project files for keys and .env files, project instructions.
What it can't see: how the agent behaves while running, or whether MCP servers connect. It reads files only.
Connects securely to your tools. The creator never sees your data.
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
Reads static files only. Cannot monitor live agent behavior, active sessions, or runtime MCP connection status.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed 12 days ago
- Free with an Agensi account
- Accounts
GitHub
- Software
Python 3
Git
Permissions
Allowed Hosts
What's inside
Frequently Asked Questions
New in Security
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Security.