SkillAgentSearch skills...

cursor-rules-cli

A CLI for boostrapping Cursor AI rules - before skills.sh was a thing

Install / Use

npx skills add gabimoncha/cursor-rules-cli

Installs into whichever agent you are using.

About this skill
📐

.cursorrules

Cursor IDE rules (legacy)

Quality Score

68/100

Supported Platforms

Cursor

Our assessment of cursor-rules-cli

cursor-rules-cli scores 68/100 on our quality scale, 3867th of 4,613 Development & Engineering skills we index.

Its .cursorrules is 4.2 KB long, well organised into 23 sections with 3 code examples: a solid amount of guidance for an agent.

It has 50 GitHub stars, a meaningful sign that others use it.

Substance
26/30
Structure
18/20
Description
12/15
Adoption
7/20
Freshness
5/15

Maintenance, license and trust

  • The repository was last updated about 16 months ago. Expect some instructions to reference tool versions or APIs that have since changed.
  • Our last check on 2026-10-21 found the source still online.
  • It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
  • Its trust signals score 83/100, with 2 cautions from licensing, adoption, age or documentation. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

Safety scan

No issues found

Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful.

AI review by kimi-k2.7-code on 2026-09-24. Automated pattern scan on 2026-09-24. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.

cursor-rules-cli compared with similar skills

All 4 of these similar skills score higher than cursor-rules-cli; compare them before choosing.

SkillScoreStarsUpdatedFormat
cursor-rules-cli (this skill)by gabimoncha685016mo ago.cursorrules
taste-skillby Leonxlnx100110.6k1d agoCLAUDE.md
ai-job-searchby ai-job-search-dev10069.8ktodayCLAUDE.md
claude-howtoby luongnv8910046.6k2d agoCLAUDE.md
algorithmic-artby anthropics100177.9k44d agoSKILL.md

Frequently asked questions

How do I install cursor-rules-cli?
Run npx skills add gabimoncha/cursor-rules-cli. The install tabs above show the steps for each supported agent.
Which AI agents does cursor-rules-cli work with?
It is written for Cursor, as a .cursorrules file. Other agents that read the same format can often use it too.
Is cursor-rules-cli safe to use?
Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands. An AI review of the same text found nothing harmful. It is MIT-licensed and scores 83/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is cursor-rules-cli still maintained?
The repository was last updated about 16 months ago. Expect some instructions to reference tool versions or APIs that have since changed.

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.

<img src="https://github.com/user-attachments/assets/7ace785a-fb5f-4537-963c-68eea490def1" width="80%" height="80%"/>

What are Cursor Rules?

YouTube presentation

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 scan command
  • ⌨️ 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>        # path to scan (default: ".")
  -f, --filter <filter>    # filter allowing only directories and files that contain the string (similar to node test)
  -P, --pattern <pattern>  # regex pattern to apply to the scanned files (default: "\.cursorrules|.*\.mdc")
  -s, --sanitize           # (recommended) sanitize the files that are vulnerable

# list all rules
cursor-rules list

# setup shell completion
cursor-rules completion --install

Options:
  -i, --install    # install tab autocompletion
  -u, --uninstall  # uninstall tab autocompletion

Default Rule Templates

The CLI provides three default templates:

  • cursor-rules.md: Guidelines for adding and organizing AI rules
  • task-list.md: Framework for tracking project progress with task lists
  • project-structure.md: Template for documenting project structure
  • use-bun-instead-of-node.md: Use Bun instead of Node.js, npm, pnpm, or vite

Awesome Rules Templates

The CLI also provides rules from awesome-cursorrules repository

How Cursor Rules Work

  1. Cursor IDE detects rules in .cursor/rules directory or project root
  2. AI assistant reads these rules to understand project context
  3. When requesting assistance, AI follows guidelines in your rules
  4. Results in more contextually appropriate and project-aware responses

Documentation

For more detailed documentation, visit:

Development

# Clone the repository
git clone https://github.com/gabimoncha/cursor-rules-cli.git
cd cursor-rules-cli

# Install dependencies
bun install

# Run the CLI locally
bun --cwd cli prepare
bun --cwd cli prompt

License

MIT

Acknowledgements

Related Skills

View on GitHub
GitHub Stars50
CategoryDevelopment
Updated1y ago
Forks2

Languages

TypeScript

Trust signals

83/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

1 medium1 low