vibe-rules
Save, load, distribute your AI rules
Install / Use
npx skills add FutureExcited/vibe-rulesInstalls into whichever agent you are using.
.cursorrules
Cursor IDE rules (legacy)
Quality Score
Category
Development & EngineeringSupported Platforms
Tags
Our assessment of vibe-rules
vibe-rules scores 75/100 on our quality scale, 3704th of 4,617 Development & Engineering skills we index.
Its .cursorrules is 13 KB long, well organised into 55 sections with 11 code examples: a thorough specification that gives an agent plenty to work with.
It has 528 GitHub stars, a meaningful sign that others use it.
Maintenance, license and trust
- The repository was last updated about 15 months ago. Expect some instructions to reference tool versions or APIs that have since changed.
- Our last check on 2026-10-18 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 foundOur 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.
vibe-rules compared with similar skills
All 4 of these similar skills score higher than vibe-rules; compare them before choosing.
| Skill | Score | Stars | Updated | Format |
|---|---|---|---|---|
| vibe-rules (this skill)by FutureExcited | 75 | 528 | 15mo ago | .cursorrules |
| taste-skillby Leonxlnx | 100 | 110.6k | today | CLAUDE.md |
| ai-job-searchby ai-job-search-dev | 100 | 69.8k | today | CLAUDE.md |
| claude-howtoby luongnv89 | 100 | 46.6k | 2d ago | CLAUDE.md |
| algorithmic-artby anthropics | 100 | 177.9k | 44d ago | SKILL.md |
Frequently asked questions
- How do I install vibe-rules?
- Run
npx skills add FutureExcited/vibe-rules. The install tabs above show the steps for each supported agent. - Which AI agents does vibe-rules work with?
- It is written for Cursor, Windsurf and Zed, as a .cursorrules file. Other agents that read the same format can often use it too.
- Is vibe-rules 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 vibe-rules still maintained?
- The repository was last updated about 15 months ago. Expect some instructions to reference tool versions or APIs that have since changed.
Skill content
View source on GitHubvibe-rules
A powerful CLI tool for managing and sharing AI rules (prompts, configurations) across different editors and tools.
✨ Supercharge your workflow! ✨
Quick Context Guide
This guide highlights the essential parts of the codebase and how you can quickly start working with vibe-rules.
Guide
Quickly save your favorite prompts and apply them to any supported editor:
# 1. Save your prompt locally
vibe-rules save my-react-helper -f ./prompts/react-helper.md
# 2. Apply it to Cursor
vibe-rules load my-react-helper cursor
Or, automatically install shared prompts from your project's NPM packages:
# Find packages with 'llms' exports in node_modules and install for Cursor
vibe-rules install cursor
(See full command details below.)
Installation
# Install globally (bun recommended, npm/yarn also work)
bun i -g vibe-rules
Usage
vibe-rules helps you save, list, load, and install AI rules.
Save a Rule Locally
Store a rule for later use in the common vibe-rules store (~/.vibe-rules/rules/).
# Save from a file (e.g., .mdc, .md, or plain text)
vibe-rules save my-rule-name -f ./path/to/rule-content.md
# Save directly from content string
vibe-rules save another-rule -c "This is the rule content."
# Add/update a description
vibe-rules save my-rule-name -d "A concise description of what this rule does."
Options:
-f, --file <file>: Path to the file containing the rule content.-c, --content <content>: Rule content provided as a string. (One of-for-cis required).-d, --description <desc>: An optional description for the rule.
List Saved Rules
See all the rules you've saved to the common local store.
vibe-rules list
Load (Apply) a Saved Rule to an Editor
Apply a rule from your local store (~/.vibe-rules/rules/) to a specific editor's configuration file. vibe-rules handles the formatting.
# Load 'my-rule-name' for Cursor (creates/updates .cursor/rules/my-rule-name.mdc)
vibe-rules load my-rule-name cursor
# Alias: vibe-rules add my-rule-name cursor
# Load 'my-rule-name' for Claude Code IDE globally (updates ~/.claude/CLAUDE.md)
vibe-rules load my-rule-name claude-code --global
# Alias: vibe-rules add my-rule-name claude-code -g
# Load 'my-rule-name' for Windsurf (appends to ./.windsurfrules)
vibe-rules load my-rule-name windsurf
# Load into the project's unified .rules file
vibe-rules load unified my-unified-rule
# Load into a specific custom target path
vibe-rules load my-rule-name cursor -t ./my-project/.cursor-rules/custom-rule.mdc
Arguments:
<name>: The name of the rule saved in the local store (~/.vibe-rules/rules/).<editor>: The target editor/tool type. Supported:cursor,windsurf,claude-code,gemini,codex,clinerules,roo,vscode.
Options:
-g, --global: Apply to the editor's global configuration path (if supported, e.g.,claude-code,gemini,codex). Defaults to project-local.-t, --target <path>: Specify a custom target file path or directory, overriding default/global paths.
Convert Rules Between Editor Formats
Convert rules from one editor format to another, supporting both directories and individual files.
# Convert cursor directory to claude-code format
vibe-rules convert cursor claude-code .cursor
# Convert windsurf file to separate cursor rules
vibe-rules convert windsurf cursor .windsurfrules
# Convert single cursor rule to claude-code with custom target
vibe-rules convert cursor claude-code .cursor/rules/my-rule.mdc --target output.md
# Convert VSCode directory to unified format with global target
vibe-rules convert vscode unified .github/instructions --global
Arguments:
<sourceFormat>: Source editor format (cursor, windsurf, claude-code, codex, amp, clinerules, roo, zed, unified, vscode).<targetFormat>: Target editor format (same options as source).<sourcePath>: Path to source directory (like.cursor) or file (likeCLAUDE.md).
Options:
-g, --global: Apply to global config path if supported (claude-code, codex, etc.). Defaults to project-local.-t, --target <path>: Specify custom target file or directory path.
Sharing and Installing Rules via NPM
In the evolving AI landscape, prompts and context are becoming increasingly crucial components of development workflows. Just like code libraries, reusable AI rules and prompts are emerging as shareable assets.
We anticipate more NPM packages will begin exporting standardized AI configurations, often via a llms entry point (e.g., my-package/llms). vibe-rules embraces this trend with the install command.
Convert Rules Between Formats
🔄 Seamlessly migrate between editors! 🔄
Convert rules from one editor format to another, supporting both directories and individual files. Perfect for migrating between editors or sharing rules across different development environments.
# Convert cursor rules to claude-code format
vibe-rules convert cursor claude-code .cursor
# Convert a single windsurf file to separate cursor rules
vibe-rules convert windsurf cursor .windsurfrules
# Convert VSCode instructions to unified format
vibe-rules convert vscode unified .github/instructions
# Convert with custom target path
vibe-rules convert cursor claude-code .cursor --target my-claude.md
Supported conversions:
- Directory-based:
cursor↔clinerules↔vscode(individual files) - File-based:
windsurf↔claude-code↔codex↔amp↔zed↔unified(tagged blocks) - Cross-format: Any format to any other format with automatic metadata preservation
Install Rules from NPM Packages
⚡ The easiest way to integrate shared rule sets! ⚡
Install rules directly from NPM packages into an editor's configuration. vibe-rules automatically scans your project's dependencies or a specified package for compatible rule exports.
# Most common: Install rules from ALL dependencies/devDependencies for Cursor
# Scans package.json, finds packages with 'llms' export, applies rules.
vibe-rules install cursor
# Install rules from a specific package for Cursor
# (Assumes 'my-rule-package' is in node_modules)
vibe-rules install cursor my-rule-package
# Install rules from a specific package into a custom target dir for Roo/Cline
vibe-rules install roo my-rule-package -t ./custom-ruleset/
# Install rules into the project's unified .rules file
vibe-rules install unified my-awesome-prompts
Add the --debug global option to any vibe-rules command to enable detailed debug logging during execution. This can be helpful for troubleshooting installation issues.
Arguments:
<editor>: The target editor/tool type (mandatory). Supported:cursor,windsurf,claude-code,gemini,codex,clinerules,roo,vscode.[packageName](Optional): The specific NPM package name to install rules from. If omitted,vibe-rulesscans all dependencies and devDependencies in your project'spackage.json.
Options:
-g, --global: Apply to the editor's global configuration path (if supported).-t, --target <path>: Specify a custom target file path or directory.
How install finds rules:
- Looks for installed NPM packages (either the specified one or all dependencies based on whether
[packageName]is provided). - Attempts to dynamically import a module named
llmsfrom the package root (e.g.,require('my-rule-package/llms')orimport('my-rule-package/llms')). Handles both CommonJS and ESM. - Examines the
default exportof thellmsmodule:- If it's a string: Treats it as a single rule's content.
- If it's an array: Expects an array of rule strings or rule objects.
- Rule Object Shape:
{ name: string, rule: string, description?: string, alwaysApply?: boolean, globs?: string | string[] }(Validated using Zod). Note the use ofrulefor content.
- Rule Object Shape:
- Uses the appropriate editor provider (
cursor,windsurf, etc.) to format and apply each found rule to the correct target path (respecting-gand-toptions). Metadata likealwaysApplyandglobsis passed to the provider if present in a rule object. - Important: Rules installed this way are applied directly to the editor configuration; they are not saved to the common local store (
~/.vibe-rules/rules/). Usevibe-rules savefor that.
Uninstall (Remove) a Rule from an Editor
Remove a previously installed rule from a specific editor configuration.
# Remove a Cursor rule file
vibe-rules uninstall my-package_my-rule cursor
# Remove from Claude Code (local project)
vibe-rules uninstall my-package_my-rule claude-code
# Remove from Codex (global)
vibe-rules uninstall my-package_my-rule codex --global
# Remove from Zed / unified .rules file
vibe-rules uninstall my-package_my-rule zed
# Remove from VSCode instructions directory
vibe-rules uninstall my-package_my-rule vscode
Arguments:
<name>: The fully-qualified rule name as applied (typically<package>_<rule>)<editor>: Target editor type. Supported:cursor,windsurf,claude-code,codex,amp,clinerules,roo,zed,unified,vscode.
Options:
-g, --global: Remove from the editor's global configuration path when supported (claude-code,codex).-t, --target <path>: Custom target path overriding default/global paths.
Supported Editors & Formats
vibe-rules automatically handles formatting for:
- Cursor (
cursor):- Creates/updates individual
.mdcfiles in./.cursor/rules/(local) or~/.cursor/rules/(global, if supported via-t). - Uses frontmatter for metadata (
description,alwaysApply,globs).
- Creates/updates individual
- Windsurf (
windsurf):- Appends rules wrapped in
<rule-name>tags to./.windsurfrules(local) or a target file specified by-t. Global (- g) is not typically used.
- Appends rules wrapped in
- Claude Code (
claude-code):- Appends/updates rules within XML-like tagged blocks in a
<!-- vibe-rules Integration -->section in./CLAUDE.md(local) or~/.claude/CLAUDE.md(global). - Each rule is encapsulated in tags like
<rule-name>...</rule-name>within the single markdown file. - Supports metadata formatting for
alwaysApplyandglobsconfigurations.
- Appends/updates rules within XML-like tagged blocks in a
- Gemini (
gemini):- Appends/updates rules within XML-like tagged blocks in a
<!-- vibe-rules Integration -->section in./GEMINI.md(local) or~/.gemini/GEMINI.md(global). - Each rule is encapsulated in tags like
<rule-name>...</rule-name>within the single markdown file. - Supports metadata formatting for
alwaysApplyandglobsconfigurations.
- Appends/updates rules within XML-like tagged blocks in a
- Codex (
codex):- Appends/updates rules within XML-like tagged blocks in a
<!-- vibe-rules Integration -->section in./AGENTS.md(local) or~/.codex/AGENTS.md(global). - Each rule is encapsulated in tags like
<rule-name>...</rule-name>within the single markdown file. - Supports metadata formatting for
alwaysApplyandglobsconfigurations. - Codex File Hierarchy: Codex looks for
AGENTS.mdfiles in this order:~/.codex/AGENTS.md(global),AGENTS.mdat repo root (default), andAGENTS.mdin current working directory (use--targetfor subdirectories).
- Appends/updates rules within XML-like tagged blocks in a
- Amp (
amp):- Manages rules within a single
AGENT.mdfile in the project root using XML-like tagged blocks. - Each rule is encapsulated in tags like
<rule-name>...</rule-name>without requiring wrapper blocks (similar to ZED). - Local only: Does not support global files or subdirectory configurations.
- Supports metadata formatting for
alwaysApplyandglobsconfigurations.
- Manages rules within a single
- Cline/Roo (
clinerules,roo):
Truncated for display — read the full file on GitHub.
Related Skills
taste-skill
110.6kAgent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages
ai-job-search
69.8kThe job search that runs on your machine. AI job application framework built on Claude Code: evaluate postings, tailor CVs, write cover letters, prep interviews. Fork it and own it.
claude-howto
46.6kA visual, example-driven guide to Claude Code — from basic concepts to advanced agents, with copy-paste templates that bring immediate value.
algorithmic-art
177.9kCreating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code, generative art, algorithmic art, flow fields, or particle systems.
Languages
Trust signals
From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.
