fetch-rules

Installation
SKILL.md

Fetch Rules

Purpose

This skill emulates Cursor's rule selection behavior for AI agents.

It discovers and selects rules from:

  • Project Rules (.cursor/rules/)
    • .mdc files with frontmatter (description, globs, alwaysApply)
    • .md files without frontmatter (treated as always-apply)
  • AGENTS.md files (root and nested subdirectories)
  • Legacy .cursorrules at repo root (deprecated but still supported)

Rule Selection Semantics

Rule Type Selection Behavior
alwaysApply: true Always included
Related skills
Installs
12
First Seen
Feb 8, 2026