# allowlist builder

> Automate AI agent shell permissions by generating safe allowlists from your command history.

allowlist builder is a paid AI agent skill on Agensi by Giuseppe Bellamacina, in Workflow Automation. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $5 (one-time purchase)
- Creator: [Giuseppe Bellamacina](https://www.agensi.io/creators/giuseppe-bellamacina)
- Category: [Workflow Automation](https://www.agensi.io/skills/workflow-automation)
- Version: 1.1
- Last updated: 2026-10-09
- Security: scan passed (2026-10-09); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/allowlist-builder
- Tags: automation, claude-code, devops, security, cli

## About this skill

Stop manually approving the same safe shell commands every time you use an AI coding agent. This skill analyzes your command history across Claude Code, Codex CLI, and Gemini CLI to identify safe, high-frequency patterns. It distinguishes between strictly read-only commands (like `git status` or `ls`) and project-specific execution commands (like `npm test`), allowing you to automate permissions for the former while maintaining strict oversight of the latter.

### What it does
- **History analysis** scans recent agent logs to find frequently approved shell commands.
- **Tiered classification** sorts commands into read-only, project-specific, or high-risk categories.
- **Multi-agent sync** generates native configuration rules for Claude Code, Codex, and Gemini CLI simultaneously.
- **Safety filtering** automatically excludes commands with dangerous flags like `-delete`, `-exec`, or `--output`.
- **Automated backups** creates timestamped restores of all configuration files before making changes.

### How it works
1. **Plan** by running the analysis script to see which commands are candidates for your allowlist.
2. **Review** the proposed tiers and select which agents and project scopes you want to update.
3. **Apply** the configuration to write native permission files and backup existing settings.
4. **Verify** the new rules against the agent's internal policy checkers to ensure they parse correctly.

### Frameworks & tools
Built for Node.js 18+. Integrates with Claude Code permissions, Codex CLI prefix rules, and Gemini CLI TOML policies.

### Why this beats prompting it yourself
Manually editing agent policy files is error-prone and requires knowing three different regex and configuration formats. This skill ensures your allowlist is derived from your actual usage history while enforcing safety guardrails that prevent accidental automation of destructive commands.

### Use cases
- Automate `git` and `ls` approvals across all local AI coding agents.
- Share project-specific test and lint allowlists with a team via `.claude/settings.json`.
- Reduce interruptive permission prompts during long refactoring sessions.
- Audit which commands your AI agents are actually running most frequently.

### Known limitations
Requires Node.js 18+ and local filesystem access to agent config directories. Cannot automate Cursor's allowlist due to UI-only settings, but provides the list for manual entry.

## Requires

- Node.js

## 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 allowlist builder 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 does this skill help reduce 'permission fatigue' when using AI coding agents?

The Allowlist Builder automates the permission-granting process by analyzing your command history to identify safe, repetitive patterns, eliminating the need to manually approve every 'ls' or 'git status' request while you work.

### Which AI agents and CLI tools are compatible with this allowlist generator?

It currently supports native configuration for Claude Code, Codex CLI, and Gemini CLI; for tools with UI-only settings like Cursor, it generates a formatted list that you can copy and paste manually.

### How does the skill distinguish between safe commands and potentially dangerous ones?

The skill uses a tiered classification system that automatically flags and excludes destructive flags (like --delete) and keeps project-specific execution commands separate from global read-only commands for maximum oversight.

### Does my command history or local configuration data ever leave my local environment?

No, the skill operates locally on your machine by scanning your agent logs and writing to your local configuration files; it does not send your command history or code to any external servers.

### What is included in the purchase of the Allowlist Builder?

You will receive the full toolset compatible with Node.js 18+, including the analysis script, the multi-agent configuration generator, and the automated backup utility to protect your existing settings.

---

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.
