Agent Manifest Hardening: Least-Privilege Lint and Policies
Lint an agent manifest for least privilege, fix wildcards and unused grants, then generate and test an allow/ask/deny tool-call policy per risk level.
$9
What it does
- Scans your agent settings for broad permissions that give away too much access
- Suggests narrow fixes for risky settings to keep your files and data safe
- Sets a safety level based on the cost of a mistake and the data the agent can reach
- Creates a policy that automatically blocks dangerous commands or private web addresses
- Tests the new rules against tricky inputs like system paths and hidden commands
Who it's for
Founders building AI tools for clients
Ensure your custom AI assistants can only touch the data and files you allow, protecting your customers.
Try asking: “Review the permissions for my new customer support agent.”
IT Managers and Security Officers
Verify that internal AI agents follow the principle of least privilege before they go live.
Try asking: “Check this agent manifest for security risks.”
Freelance AI Developers
Give your clients peace of mind by providing a verified security policy for the agents you build.
Try asking: “Harden the permissions for this tool-calling agent.”
Agent Manifest Hardening: Least-Privilege Lint and Policies
Example session with this skill installed
I have a new agent for my team. Can you check the manifest at agent_config.json and make sure it is safe?
- Read your context and instructions
- Compiled the agent manifest hardening
I will help you harden the permissions for your agent. I have analyzed the manifest file you provided and found a few areas where we can make it safer.
Security Findings
The scan found two high-severity risks
- Rule AM003: The agent has a "wildcard" grant to read any folder on your computer. This means it could accidentally read private system files.
- Rule AM007: One of the tools can reach any website. This could allow the agent to talk to internal company servers it should not see.
Next Steps
- Tighten Access: Can you tell me the specific folders the agent needs to work in? For example, is it just
/workspace/project-files/? - Limit Websites: Which specific websites or domains does the agent need to visit?
Once you give me these details, I will update the settings and run the scan again. After that, we will choose a risk level to create your final safety policy. Which folders should I limit the agent to?
Connects securely to your tools. The creator never sees your data.
About this skill
When you build an AI agent, you give it tools to read files, visit websites, or run commands. If those permissions are too broad, the agent might accidentally delete important files or access private data. This skill helps you lock down those permissions so the agent only does exactly what it needs to do. It checks your agent's settings for "wildcards" and broad access that could be dangerous.
How it works
- Provide the file that lists your agent's permissions and tools.
- Review the list of security risks the skill finds, like access to system folders or internal networks.
- Answer questions about how much data the agent can reach to set a risk level from low to critical.
- Review the new, tighter policy and see the results of tests that try to "trick" the agent into breaking the rules.
What you get: A hardened permission file and a safety policy that decides when a tool call is allowed, blocked, or needs a human to say yes.
This does not create a sandbox. It cannot see if a permitted file link points to a secret file elsewhere. You must provide the manifest file path.
This skill uses Python scripts to lint JSON manifests against rules AM001-AM009. It maps external formats to a standard manifest schema and generates a runtime policy based on templates for low, medium, high, and critical risk levels. It includes a policy_check utility to validate tool calls against allow/ask/deny logic. All processing is local and does not use external APIs or network calls.
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
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 1 day ago
- Accounts
169
- Software
Python
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.