Cursor Rules CLI — AI skill for Claude Code
A CLI for boostrapping Cursor AI rules - before skills.sh was a thing.
How to install Cursor Rules CLI
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open gabimoncha/cursor-rules-cli and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Cursor Rules CLI does
A CLI for boostrapping Cursor AI rules - before skills.sh was a thing.
Alternatives in AI
- AI Review Local — Run AI code review locally using Codex CLI or OpenAI API before opening a PR 387 ★
- SoloDawn — Catches and repairs AI hallucinations before delivery: three quality gates, 31 built-in rules, a self-healing 312 ★
- Real-World Pain Points — Project: https://github.com/Narwhal-Lab/MagicSkills For many teams building multi-agent systems, the first thi 277 ★
README
Cursor Rules CLI
Made with ❤️ in Cursor IDE, dogfooding `cursor-rules`
A command-line tool for managing AI-assisted guidance in your projects through Cursor IDE rules.
What are Cursor Rules?
[YouTube presentation](https://www.youtube.com/watch?v=RphQhNX9xB0)
Cursor rules are markdown files with structured metadata that provide AI with instructions on how to interact with your codebase. These rules enhance the AI's understanding of:
- Project structure and organization
- Coding conventions and patterns
- Task management approaches
- Best practices specific to your codebase
Features
- 🚀 Rule Installation: Easily add Cursor rules to any project
- 📋 Template Rules: Includes default rule templates for common use cases
- 💬 Interactive Setup: Guided setup process using command-line prompts
- 🔍 Security Scan: Detect and fix vulnerable rule files with
scancommand - ⌨️ Shell Autocompletion: One-command tab-completion powered by
tabtab - 📊 Repomix Integration: Packs repository in a single file for AI analysis
- 📁 Project Structure: Creates standardized rule organization
Installation
# Global install
bun add -g @gabimoncha/cursor-rules
# Project install
bun add -d @gabimoncha/cursor-rules
# (works with npm, pnpm & yarn too)
Usage
cursor-rules -v # show version
cursor-rules -h # show help
# start the setup process
cursor-rules init [options]
Options:
-f, --force # overwrites already existing rules if filenames match
-r, --repomix # packs entire repository in a single file for AI analysis
-o, --overwrite # overwrite existing rules
# packs entire repository in a single file for AI analysis
cursor-rules repomix
# scan and check all files in the specified path
cursor-rules scan [options]
Options:
-p, --path # path to scan (default: ".")
-f, -
Related Skills
Memnox Runtime
Let AI agents work autonomously. Memnox rules on every tool call Claude Code, Codex, Cursor, Gemini CLI and Wi
Skill Vet
Vet AI agent skills (SKILL.md, MCP bundles, Cursor rules) before your agent runs them. Prompt injection, exfil
Fairlead
Open-source policy gate for AI coding agents. Checks every command, file operation and tool call from Cursor,
Hierophant
See what a repo will make your AI coding agent do, before you click Trust. Hierophant statically checks hooks,
Neuron CLI
This ia the most powerful cli ai agent that can actually do any thing and combines between open claw and Claud
Ndo Multi Agent Command Center
Running a few sessions for ai agents with cli at once for different jobs draft this, research that, summarize
Related Agents
Claudable
by Ethan Park - Claudable is an open-source web builder that leverages local CLI agents, such as Claude Code a
Async Code
Use Claude Code or CodeX CLI to perform multiple tasks in parallel with a Codex-style UI, functioning as a per
Cursor
Cursor slot (claude substitute) — implementation / cross-check via Cursor CLI