mauhpr

Agentlint — AI skill for Claude Code

AI community

Local guardrails for AI coding agents.

How to install Agentlint

This entry records only its repository, not the path inside it, so there is no exact command to give. Open mauhpr/agentlint and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What Agentlint does

Local guardrails for AI coding agents. Check proposed file changes and shell commands, block risky patterns, and return actionable feedback. Works with Claude Code, Codex, Cursor, Gemini CLI, and more

Alternatives in AI

  • Ante — Ghost in your shell 1.9k ★
  • Hol Guard — Open-source antivirus for AI agents: block risky tools, secret access, prompt injection, malicious packages, M 485 ★
  • The Pair — Open-source AI pair programming for desktop: a Mentor + Executor agent cross-check each other's code to catch 358 ★

README

AgentLint

[![CI](https://github.com/mauhpr/agentlint/actions/workflows/ci.yml/badge.svg)](https://github.com/mauhpr/agentlint/actions/workflows/ci.yml) [![codecov](https://codecov.io/gh/mauhpr/agentlint/branch/main/graph/badge.svg)](https://codecov.io/gh/mauhpr/agentlint) [![PyPI](https://img.shields.io/pypi/v/agentlint)](https://pypi.org/project/agentlint/) [![Python](https://img.shields.io/pypi/pyversions/agentlint)](https://pypi.org/project/agentlint/) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

**Guardrails for AI coding agents.** AgentLint checks what your agent is about to do — every file write, edit and shell command — and stops the dangerous parts before they happen: hard-coded secrets, force-pushes to `main`, destructive commands, edits to CI pipelines, risky cloud operations.

It works with **Claude Code, Codex, Cursor, Gemini CLI, Continue, Kimi, Grok**, the **OpenAI Agents SDK**, **MCP** hosts and your own tools. It runs locally, and nothing leaves your machine unless you opt in.

https://github.com/user-attachments/assets/ae9a6b72-8bf7-4b73-abe3-7f0f3b483d3b

**[Watch the 53-second product overview](docs/media/agentlint-demo.mp4)** · [Quickstart](docs/quickstart.md) · [Documentation](https://mauhpr.github.io/agentlint/)

*Real core-rule decisions using a masked synthetic credential. Proposed file writes and commands are evaluated as data, never executed.*

Install

pipx install agentlint            # Python 3.11+; or: uv tool install agentlint
cd your-project
agentlint setup claude            # or: codex, cursor, gemini, continue, kimi, grok

`setup` adds AgentLint hooks to the agent's settings and writes an `agentlint.yml` with packs detected from your project. Restart the agent, make any tool call, and check that it's working:

agentlint status
Coding agents (configured -> enabled -> observed):
  ✓ claude   (detected) configured: installed (project: