# Guided setup for agent-guardrails-kit

> A guided setup and verification checklist for agent-guardrails-kit, a free open-source CLI that adds safety rails for AI coding agents. Your agent asks for your settings, previews every file first, installs only after you say yes, and you then check that the hook really runs.

Guided setup for agent-guardrails-kit is a paid AI agent skill on Agensi by Utkarsh Barnwal, in LLM Ops. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $5 (one-time purchase)
- Creator: [Utkarsh Barnwal](https://www.agensi.io/creators/utkarsh-barnwal)
- Category: [LLM Ops](https://www.agensi.io/skills/llm-ops)
- Version: 1.0
- Last updated: 2026-11-24
- Security: scan passed (2026-11-24); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/guided-setup-for-agent-guardrails-kit
- Tags: llm-ops, security, devops, node-js, cli

## About this skill

### What this is
A guided setup and verification checklist for **agent-guardrails-kit**, a free, open-source (MIT) command-line tool: https://www.npmjs.com/package/agent-guardrails-kit

The tool is free. This skill is the guided walk-through. It does not replace the tool, and it does not promise protection.

### What it does
- Checks that Node.js 22.12+ and git are available
- Asks for your settings one question at a time: which agents, how strict, project type, GitHub files, git hooks
- Shows a **dry-run preview** of every file before anything is written
- Installs only after you clearly say yes to the exact command
- Walks you through checking that the hook really runs (`doctor` and the test prompt)
- Helps with common problems: a new session is needed, the agent was not ticked, Node is missing from PATH

### What it does not do
- It is not a different tool. You can run `npx agent-guardrails-kit init` yourself for free.
- It does not guarantee safety. The tool lowers risk and does not remove it. Antigravity has no hooks, so for it the rules are advice only.
- It never approves your plan or changes your settings for you.

### Known limits
Requires Node.js 22.12 or newer and git. On Windows, Git for Windows (Git Bash) is needed. Start a new agent session after installing, because agents read hooks when a session starts.

## Requires

- agent-guardrails-kit
- Node.js

On Windows, install Git for Windows (Git Bash) first.

## Known limitations

Requires Node.js 22.12+. Protection is not absolute and depends on the agent executing the hooks. Antigravity agent rules are advisory only. User must manually run approval commands.

## 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 Guided setup for agent-guardrails-kit skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### How is this different from just telling my AI agent not to delete files in the system prompt?

A prompt is only advice, and an agent can ignore it. agent-guardrails-kit adds hooks that check each action before it runs and block known dangerous ones, such as deleting files, git pushes and reading .env files. This skill guides the setup. Whether your agent really runs the hook depends on the agent, so the skill also walks you through a check.

### Which AI agents and programming languages are compatible with these guardrails?

The tool has hooks for Claude Code, Cursor, Codex and Qoder. Antigravity has no hooks, so for it the rules are advice only and nothing blocks it. Project type settings cover Node/TypeScript, Python, Go, database-heavy and generic projects. The project type only decides which everyday commands, such as test and build, run without asking.

### What are the technical prerequisites for running these guardrails locally?

You will need Node.js 22.12 or newer and Git installed on your local machine to allow the guardrail CLI and hooks to execute properly.

### How can I be sure the guardrails are actually working after I install them?

Run doctor, which checks the setup. Then run the test prompt in a throwaway copy of your project. It makes your agent try risky actions, such as deleting a file or pushing, and ends with PASS or FAIL. Also start a new agent session after installing, because agents read hooks when a session starts.

### Can I customize the strictness of the security rules for different projects?

Yes. You choose a strictness preset: balanced (recommended), learner or team. A light preset exists too, with fewer interruptions and no plan approval, so use it only if you review changes yourself. You can change it later with the tool's preset command.

### Does this skill provide a 100% guarantee that an agent won't make mistakes?

No. The tool lowers risk and does not remove it. It checks patterns, so some actions can slip through, and an agent that does not run hooks is not stopped. Antigravity has no hooks. The README on the npm page lists what the tool does not stop.

---

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.
