Agent Rules Lint
Description
Lint AGENTS.md, CLAUDE.md, Cursor rules, and Copilot instructions for safer AI coding agents
Installation
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open the source below and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
README
agent-rules-lint
[](https://pypi.org/project/agent-rules-lint/) [](https://pypi.org/project/agent-rules-lint/) [](https://github.com/Uky0Yang/agent-rules-lint/actions/workflows/ci.yml) [](LICENSE)
Lint AI agent instruction files before they confuse your coding agent.
`agent-rules-lint` is a small, dependency-free Python CLI that scans files such as `AGENTS.md`, `CLAUDE.md`, Cursor rules, and GitHub Copilot instructions for common quality and safety problems.
Why
Recent high-growth developer repos show a clear pattern: teams are adding more agent skills, rule files, memory files, and coding-agent playbooks. The missing piece is a quick quality gate for those instructions.
Bad agent instructions are expensive. They can be too long, vague, contradictory, unsafe, or accidentally include secrets. This tool gives you a fast local and CI check before those rules affect real work.
What It Checks
- Common instruction files:
AGENTS.mdCLAUDE.mdGEMINI.md.cursorrules.cursor/rules/*.md.github/copilot-instructions.md.github/instructions/*.md
- Secret-like values
- Risky shell and Git commands
- Prompt-injection-like language
- Missing title
- Missing purpose, scope, command, or safety guidance
- Vague language
- Files that are too long for practical agent use
- A small set of obvious contradictory rules
Install
Run it without installing:
uvx agent-rules-lint .
Or install it as an isolated CLI:
pipx install agent-rules-lint
agent-rules-lint .
Standard pip installation also works:
python -m pip install agent-rules-lint
For local development:
python -m pip install -e .
Usage
Scan the cur
Related Skills
Agency Agents
A complete AI agency at your fingertips - From frontend wizards to Reddit community ninjas, from whimsy inject
AI Awesome Llm Apps
100+ AI Agents, Agent Skills and RAG Apps - Free and Open Source.
AI Firecrawl
🔥 The API to search, scrape, and interact with the web for AI
AI Artifacts Builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web tech
AI Headroom
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 20% fewer tokens for coding agen
AI CrewAI
Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewA
AI