Agent Safety Pair
Two skills for the limits around a coding agent. Rules Gate Starter sets what the agent may do, with a Yes, No, Ask me first rules file, a checker and a Claude Code hook. Agent Security Review audits the agent's config files and walks a checklist on credentials, untrusted content, network and shared memory. Use the first to set the rules and the second to look for what the rules miss. Neither is a sandbox, and neither replaces your own review. Each skill has its own limits listed on its page.
Works with any agent that signs in to Agensi, such as Claude, ChatGPT, Claude Code, Cursor and Codex CLI.
One payment, lifetime access. 2 skills unlock instantly in your library.
What's included
2 skillsA Yes, No, Ask me first rules file with a tested checker and a Claude Code hook. Same rules, same answer.
A first-pass audit of agent config files, then a checklist: credentials, untrusted content, network, shared memory.
See it in action
Rules Gate Starter for Coding Agents
Example session with this skill installed
I want rules for this project so an agent cannot push to main, cannot read .env files, and has to ask before installing packages. Set that up and show me it works.
- Read your context and instructions
- Compiled the rules gate starter
Summary
The agent copied the starter rules to .agent-rules.json, read each rule back in plain words, validated the file, and tested one action per rule. Output below is from running the checker on the starter rules.
Validate
$ python3 scripts/gate.py validate --rules .agent-rules.json
ok: 12 rules
One test per rule
| Action | Answer | Rule | Exit code |
|---|---|---|---|
git push origin main | No | no-push-main | 2 |
rm -rf build | No | no-destructive-delete | 2 |
Read app/.env | No | no-secret-files | 2 |
pip install requests | Ask me first | ask-install | 3 |
Write src/app.py | Ask me first | ask-write | 3 |
git status | Yes | yes-git-look | 0 |
git status && curl http://x.invalid | Ask me first | ask-chained-command | 3 |
The last row matters. A safe-looking start cannot hide a second command, because the starter asks about any command that chains, pipes, redirects or spans lines.
Next steps
- Review the rules and edit any you disagree with. Run
validateagain after each edit. - The agent offers the Claude Code hook. It adds it to
.claude/settings.jsononly if you say yes. Without the hook, the rules file does nothing. - Test the hook in a live session: ask the agent to run
git push origin mainand confirm it is blocked with the rule id. Then ask forgit statusand confirm nothing is blocked.
This is a cooperative check. It only sees what Claude Code sends to the hook, and it is not a sandbox.
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 these skills and uses them on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every skill in this bundle goes through our trust checks.
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.