create-skill
Guides users through creating effective Agent Skills for Cursor. Use when the user wants to create, write, or author a new skill,…
Create Cursor rules for persistent AI guidance. Use when the user wants to create a rule, add coding standards, set up project conventions, configure file-specific patterns, create RULE.md files, or asks about .cursor/rules/ or AGENTS.md.
Claude Code
$ npx -y skills add coco-research/coco --skill create-rule --agent claude-code
Codex
$ npx skills add coco-research/coco --skill create-rule -a codex -y
Cursor
$ npx skills add coco-research/coco --skill create-rule -a cursor -y
Gemini CLI
$ npx skills add coco-research/coco --skill create-rule -a gemini-cli -y
GitHub Copilot
$ npx skills add coco-research/coco --skill create-rule -a github-copilot -y
OpenCode
$ npx skills add coco-research/coco --skill create-rule -a opencode -y
Windsurf
$ npx skills add coco-research/coco --skill create-rule -a windsurf -y
name: create-rule description: Create Cursor rules for persistent AI guidance. Use when the user wants to create a rule, add coding standards, set up project conventions, configure file-specific patterns, create RULE.md files, or asks about .cursor/rules/ or AGENTS.md.
Create project rules in `.cursor/rules/` to provide persistent context for the AI agent.
Before creating a rule, determine:
1. **Purpose**: What should this rule enforce or teach? 2. **Scope**: Should it always apply, or only for specific files? 3. **File patterns**: If file-specific, which glob patterns?
If you have previous conversation context, infer rules from what was discussed. You can create multiple rules if the conversation covers distinct topics or patterns. Don't ask redundant questions if the context already provides the answers.
If the user hasn't specified scope, ask:
If they mentioned specific files and haven't provided concrete patterns, ask:
It's very important that we get clarity on the file patterns.
Use the AskQuestion tool when available to gather this efficiently.
---
Rules are `.mdc` files in `.cursor/rules/` with YAML frontmatter:
.cursor/rules/ typescript-standards.mdc react-patterns.mdc api-conventions.mdc
--- description: Brief description of what this rule does globs: **/*.ts # File pattern for file-specific rules alwaysApply: false # Set to true if rule should always apply --- # Rule Title Your rule content here...
| Field | Type | Description | |-------|------|-------------| | `description` | string | What the rule does (shown in rule picker) | | `globs` | string | File pattern - rule applies when matching files are open | | `alwaysApply` | boolean | If true, applies to every session |
---
For universal standards that should apply to every conversation:
--- description: Core coding standards for the project alwaysApply: true ---
For rules that apply when working with certain file types:
--- description: TypeScript conventions for this project globs: **/*.ts alwaysApply: false ---
---
---
495 personas across 13 departments, 229 skills[^installed] and 388 commands in the full catalog (coco 1.9.0, 2026-10-21). Agent skills, slash commands and subagents for Claude Code, Cursor, Codex and other AI coding agents.
Guides users through creating effective Agent Skills for Cursor. Use when the user wants to create, write, or author a new skill,…
Create custom subagents for specialized AI tasks. Use when the user wants to create a new type of subagent, set up task-specific…
Convert 'Applied intelligently' Cursor rules (.cursor/rules/*.mdc) and slash commands (.cursor/commands/*.md) to Agent Skills…
Modify Cursor/VSCode user settings in settings.json. Use when the user wants to change editor settings, preferences,…
Train and optimize AI agents using Microsoft's Agent Lightning framework with reinforcement learning. Use when setting up agent…
Post-run self-evaluation system that scores agent output on correctness, clarity, actionability, and conciseness. Use after /team…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.