- Home
- Skills
- Agents & Orchestration
- Agent Tool Security Least Privilege
More screenshots
Works with the AI Agents you already use
Agent Tool Security Least Privilege
Implement least-privilege tool gating and injection containment for secure multi-agent systems.
$12.99
Agent Tool Security Least Privilege
Example session with this skill installed
My agent reads incoming email and can call tools. How do I limit the damage if an email contains instructions meant to hijack it?
- Read your context and instructions
- Compiled the agent tool security
Summary
Illustrative outline of the skill's advice. This is a sample, not captured output from a live model.
- Give the email-reading role only the tools it needs; refuse the rest.
- Keep high-privilege tools in a set that cannot be granted, even if the agent asks.
- Wrap the email body as untrusted data and tell the model to ignore instructions inside it.
- Make side effects wait for human approval, so injected text cannot act on its own.
- Add a request size limit on the server.
Next steps
- List your agent roles and their tools.
- Move risky tools behind approval.
Connects securely to your tools. The creator never sees your data.
About this skill
Secure a tool-calling agent at the permission layer: least-privilege tool lists per role, a privileged set that can never be granted, untrusted-content wrapping for emails and web results, and limits on what injected text can cause. It comes from a small Python reference app (AI Office) and was checked against that code and its tests.
What it does
- Gives each role only the tools it needs; other calls are refused and logged.
- Keeps a privileged set of tools that cannot be granted to an agent.
- Wraps emails and web content as untrusted data and says so in the system prompt.
- Limits what content can cause, for example search results can change text an agent writes but not which tools it may use.
- Adds server-side hygiene such as a request body size limit (64 KB in the reference app).
How it works
Each rule is written out with the reasoning and what the reference tests do and do not prove.
Frameworks & tools
Plain Python with the standard library. A written playbook, not an installable package.
Use cases
- Hardening an agent that reads email or browses the web.
- Reviewing which tools each agent role really needs.
Known limitations
It contains agents at the tool boundary. It does not stop a model from being fooled into writing bad text, and it does not sanitize what the model reads.
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 4 days ago
Permissions
What's inside
Frequently Asked Questions
New in Agents & Orchestration
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.