SkillAgentSearch skills...

cursor-rules-to-claude

transform Cursor rules to a formatted CLAUDE.md

Install / Use

npx skills add StackOneHQ/cursor-rules-to-claude

Installs into whichever agent you are using.

About this skill
📐

.cursorrules

Cursor IDE rules (legacy)

Quality Score

70/100

Supported Platforms

Cursor
Claude Code

Our assessment of cursor-rules-to-claude

cursor-rules-to-claude scores 70/100 on our quality scale, 3809th of 4,617 Development & Engineering skills we index.

Its .cursorrules is 3.0 KB long, well organised into 19 sections with 7 code examples: a solid amount of guidance for an agent.

It has 20 GitHub stars, so there is little community track record yet; judge it on its content.

Substance
26/30
Structure
20/20
Description
8/15
Adoption
6/20
Freshness
11/15

Maintenance, license and trust

  • The repository was last updated about 11 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.
  • 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 86/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-to-claude compared with similar skills

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

SkillScoreStarsUpdatedFormat
cursor-rules-to-claude (this skill)by StackOneHQ702011mo ago.cursorrules
taste-skillby Leonxlnx100110.6ktodayCLAUDE.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-to-claude?
Run npx skills add StackOneHQ/cursor-rules-to-claude. The install tabs above show the steps for each supported agent.
Which AI agents does cursor-rules-to-claude work with?
It is written for Cursor and Claude Code, as a .cursorrules file. Other agents that read the same format can often use it too.
Is cursor-rules-to-claude 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 86/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-to-claude still maintained?
The repository was last updated about 11 months ago. That is recent enough to be usable, but agent tooling moves fast, so check the instructions against your agent's current version.

cursor-rules-to-claude

Let Claude Code use your Cursor rules.

Convert Cursor IDE rules (.md/.mdc files) to CLAUDE.md format. Perfect for using in GitHub Actions before running Claude Code.

Why is this useful?

Many dev teams use Cursor IDE and build up a large collection of Cursor rules about their codebase. However, Claude Code uses CLAUDE.md files not Cursor rules natively.

The killer use is Cursor rules with Claude Code directly inside GitHub. If you haven't tried it yet, you're missing out. See the docs here

Installation

npm install -g cursor-rules-to-claude

Or use directly with npx:

npx cursor-rules-to-claude

This will:

  • Look for .md and .mdc files in .cursor/rules/ directory
  • Generate/update CLAUDE.md file
  • Append rules to existing CLAUDE.md (won't overwrite)

Options

npx cursor-rules-to-claude [options]

Options:
  --overwrite        Overwrite CLAUDE.md instead of appending (default: false)
  --rules-dir <dir>  Cursor rules directory (default: ".cursor/rules")
  --output <file>    Output file (default: "CLAUDE.md")
  --help             Display help
  --version          Display version

Examples

# Use custom rules directory
npx cursor-rules-to-claude --rules-dir ./my-rules

# Overwrite existing CLAUDE.md
npx cursor-rules-to-claude --overwrite

# Custom output file
npx cursor-rules-to-claude --output MY_CLAUDE.md

Cursor Rule Format

Cursor rules should have YAML frontmatter:

---
description: Use Bun instead of Node.js, npm, pnpm, or vite.
globs: "*.ts, *.tsx, *.html, *.css, *.js, *.jsx, package.json"
alwaysApply: true
---
# Your rule content here

Rule description and guidelines...

Rule Processing

The tool organizes rules into three categories:

  • alwaysApply: true: Rule content is fully included in CLAUDE.md under "Auto attached rules"
  • alwaysApply: false (with description): Rule is listed as a conditional rule with a link to the full content
  • No frontmatter: Rule content is included by default for compatibility

Output Format

The generated CLAUDE.md file includes:

  • HTML comments marking the generated sections
  • Auto attached rules (fully included content)
  • Conditional rules (descriptions with links to full rules)
  • Rules without frontmatter (included by default)

GitHub Action

Use as a GitHub Action to automatically update CLAUDE.md:

name: Update Claude Rules
on: [push]
jobs:
  update-claude:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4

      - name: Cursor Rules to CLAUDE.md
        uses: StackOneHQ/cursor-rules-to-claude@latest

      - name: Run Claude Code
        id: claude
        uses: anthropics/claude-code-action@beta
        with:
          anthropic_api_key: ${{ secrets.ANTHROPIC_API_KEY }}

Development

# Install dependencies
bun install

# Run in development
bun run dev

# Build
bun run build

# Test
bun test

License

MIT

Related Skills

View on GitHub
GitHub Stars20
CategoryDevelopment
Updated11mo ago
Forks1

Languages

TypeScript

Trust signals

86/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.

2 low1 info
cursor-rules-to-claude — .cursorrules: Install & Safety Check | SkillAgent