Agent skill

Create Rule

by coco-research in coco-research/coco

Create Cursor rules for persistent AI guidance. An agent skill from coco-research/coco.

Custom licenceAuto-check passedAgent Workflows

Install Create Rule

skills CLI
$ npx skills add coco-research/coco --skill create-rule -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install coco-research/coco create-rule --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/coco-research/coco.git skills-src && mkdir -p .claude/skills && cp -r skills-src/adapters/cursor/skills/create-rule .claude/skills/create-rule && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
create-rule
GitHub stars
482
Token cost
~743 tokens
SKILL.md length
289 words
Files
1
Skills in repo
57
Repo updated
First seen
Licence
Custom licence

At a glance

Create Cursor rules for persistent AI guidance. An agent skill from coco-research/coco.

  • Works in 3 steps: Purpose: What should this rule enforce… → Scope: Should it always apply, or only… → File patterns: If file-specific, which…
  • The user wants to create a rule
  • SKILL.md covers Gather Requirements, Rule File Format, Rule Configurations and Best Practices, plus 1 more section
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Create Rule is an agent skill from coco-research/coco. 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.

Its SKILL.md is about 740 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Agent Workflows, covering Agent instruction files. The repository describes itself as: CoCo Super Intelligence is the orchestration layer that turns Claude Code, Cursor, or Codex into an engineering department: a routed advisory board, 226 skills, 386 commands…

When your agent uses it

  • The user wants to create a rule
  • Add coding standards
  • Set up project conventions
  • Configure file-specific patterns

Example prompts

  • “/create-rule”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  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?

What it can do on your machine

Read from SKILL.md and the folder at commit 2ddb559. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are yaml and markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Create Rule loads about 743 tokens when it runs. Until then it costs about 63 tokens; SKILL.md has 289 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~63
When it runs · the whole SKILL.md, loaded when a task matches
~743

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 289 words (~743 tokens).

“Create project rules in .cursor/rules/ to provide persistent context for the AI agent.”

— opening of SKILL.md by coco-research, Custom licence
name
create-rule

Read the full SKILL.md on GitHub

Files

Just SKILL.md in adapters/cursor/skills/create-rule of coco-research/coco.

Open the folder on GitHubat commit 2ddb559

Compare with similar skills

Create Rule next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Create Rule compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Create Rule this skillcoco-research/coco482—~743Automated safety check: PassCustom licence
Using Agent Skillsaddyosmani/agent-skills103k4 repos~2.4kAutomated safety check: PassMIT
Claude ReflectBayramAnnakov/claude-reflect1.7k2 repos~627Automated safety check: PassMIT
Writing For Agentsbestofjs/bestofjs3.1k19 repos~2.7kAutomated safety check: PassMIT
Neat-Freak Knowledge CloseoutKKKKhazix/khazix-skills21k—~1.9kAutomated safety check: PassMIT
Task Observerrebelytics/one-skill-to-rule-them-all3.2k1 repos~12kAutomated safety check: PassCC-BY-4.0

Similar skills

  • Using Agent Skills

    addyosmani/agent-skills

    Meta-skill for choosing which workflow skill fits the task at hand, plus always-on habits: surface assumptions, stop on confusion, push back, keep it simple and stay in scope.

    103k GitHub starsUsed in 4 repos~2.4k tokens
    Agent WorkflowsAuto-check passed
  • Claude Reflect

    BayramAnnakov/claude-reflect

    Self-learning system that captures corrections during sessions and reminds users to run /reflect to update CLAUDE.md.

    1.7k GitHub starsUsed in 2 repos~627 tokens
    Agent WorkflowsAuto-check passed
  • Writing For Agents

    bestofjs/bestofjs

    Writing documents for agents. An agent skill from bestofjs/bestofjs.

    3.1k GitHub starsUsed in 19 repos~2.7k tokens
    Agent WorkflowsAuto-check passed
  • Neat-Freak Knowledge Closeout

    KKKKhazix/khazix-skills

    Brings project docs, agent rule files, authorized memory and leftover workspace files back in line with what the code and runtime actually do at the end of a work session.

    21k GitHub stars~1.9k tokensUpdated 6 days ago
    Agent WorkflowsAuto-check passed
  • Task Observer

    rebelytics/one-skill-to-rule-them-all

    Monitors task execution for skill improvement opportunities.

    3.2k GitHub starsUsed in 1 repo~12k tokens
    Agent WorkflowsAuto-check passed
  • SkillOpt Sleep Cycle

    microsoft/SkillOpt

    Official

    Runs an on-demand or nightly sleep cycle that reviews past Claude Code sessions and proposes validated updates to CLAUDE.md and skills.

    18k GitHub stars~2.3k tokensUpdated yesterday
    Agent WorkflowsAuto-check passed

More from coco-research/coco

All 57 skills in this repo
  • Arch Index

    coco-research/coco

    Build and validate .arch/index.json — a committed map from each architectural component of this repository to the real directories and files that implement it, pinned to a git commit, with every…

    482 GitHub stars~2.8k tokensUpdated today
    Auto-check passed
  • Skill Evolution

    coco-research/coco

    A skill your agent uses when running, reviewing or changing coco's self-evolution cycle: the 30-day loop that observes how skills are actually used, proposes evidence-backed edits to them as one…

    482 GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Coco Diagram

    coco-research/coco

    A skill your agent uses for architecture, current-state, process, data-flow, medallion, or DP diagrams, including redrawing .drawio and Mermaid sources.

    482 GitHub stars~9.2k tokensUpdated today
    Auto-check passed
  • M0

    coco-research/coco

    A skill your agent uses when the user says 'm0', 'm0 status', 'start m0', 'cross-tool memory', 'operational thread', or 'where is my memory stored', or when the M0 daemon or MCP wiring needs…

    482 GitHub stars~755 tokensUpdated today
    Auto-check passed
  • PR To Video

    coco-research/coco

    A skill your agent uses when the user wants a GitHub PR (URL, owner/repoN, or 'this PR') made into a code-change explainer video from its diff and commits: changelog, feature reveal, fix, or refactor.

    482 GitHub stars~7.8k tokensUpdated today
    Auto-check: notes
  • Website To Video

    coco-research/coco

    A skill your agent uses when the user wants a video of a website (site tour, portfolio, docs or landing-page showcase) captured from a URL.

    482 GitHub stars~3.1k tokensUpdated today
    Auto-check: notes

Categories

Questions about Create Rule

What does Create Rule do?

Create Cursor rules for persistent AI guidance. An agent skill from coco-research/coco. Create Rule is an agent skill from coco-research/coco. Create Cursor rules for persistent AI guidance.

When should I use Create Rule?

Create Rule fits situations like: the user wants to create a rule; add coding standards; set up project conventions; configure file-specific patterns.

How do I install Create Rule in Claude Code?

Run `npx skills add coco-research/coco --skill create-rule -a claude-code`. Or copy the skill folder (adapters/cursor/skills/create-rule in coco-research/coco) into .claude/skills/create-rule in your project. Claude Code loads it when a task matches its description.

How do I install Create Rule in Codex?

Run `npx skills add coco-research/coco --skill create-rule -a codex`. Or copy the skill folder (adapters/cursor/skills/create-rule in coco-research/coco) into .agents/skills/create-rule in your project. Codex loads it when a task matches its description.

Can I use Create Rule in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add coco-research/coco --skill create-rule -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/create-rule, .gemini/skills/create-rule, .github/skills/create-rule and .opencode/skills/create-rule in your project.

What does Create Rule need to run?

SKILL.md names no scripts, command-line tools or credentials: Create Rule is instructions for the agent only.

Does Create Rule access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Create Rule safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Create Rule use?

Create Rule has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Create Rule use?

About 743 tokens (SKILL.md is roughly 3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Create Rule?

Skills that share tags, products or a category with Create Rule: Using Agent Skills (addyosmani/agent-skills, 103k stars), Claude Reflect (BayramAnnakov/claude-reflect, 1.7k stars), Writing For Agents (bestofjs/bestofjs, 3.1k stars) and Neat-Freak Knowledge Closeout (KKKKhazix/khazix-skills, 21k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Create Rule?

coco-research (a GitHub user) maintains it in coco-research/coco, which has 482 GitHub stars. The repository holds 57 skills in this directory. The repository was last updated on October 8, 2026.

Source: coco-research/coco on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.