RU

rule-identifier

Provides syntax and pattern guidance for creating custom Hookify rules to trigger automated responses.

Install

mkdir -p .claude/skills/rule-identifier && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/427" && unzip -o skill.zip -d .claude/skills/rule-identifier && rm skill.zip

Installs to .claude/skills/rule-identifier

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

This skill should be used when the user asks to "create a hookify rule", "write a hook rule", "configure hookify", "add a hookify rule", or needs guidance on hookify rule syntax and patterns.
191 chars✓ has a “when” trigger
Beginner

Key capabilities

  • →Generates YAML frontmatter structures
  • →Defines regex pattern matching
  • →Maps bash/file events to actions
  • →Validates rule syntax logic
  • →Configures block vs warn behaviors

How it works

Applies a template-based generator to produce rule files that adhere to the Hookify markdown schema.

Inputs & outputs

You give it
Desired trigger event and action logic description
You get back
Formatted.md rule file with correct YAML headers

When to use rule-identifier

  • →Create a custom Hookify rule
  • →Configure rule event triggers
  • →Debug regex patterns for rules
  • →Add a new blocking rule

About rule-identifier

Assists with writing and configuring Hookify rule files (YAML frontmatter and regex patterns). It defines triggers for bash commands, file edits, and agent events.

This skill should be used when the user asks to "create a hookify rule", "write a hook rule", "configure hookify", "add a hookify rule", or needs guidance on hookify rule syntax and patterns.

When not to use it

  • →When creating general-purpose shell scripts
  • →When writing standard application business logic

Limitations

  • →Regex patterns must be simple enough for the parser
  • →Limited to the specific events defined by the hookify system

How it compares

It automates the specific boilerplate formatting required for Hookify instead of writing rules manually.

Compared to similar skills

rule-identifier side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
rule-identifier (this skill)512moReviewBeginner
command-development1612moReviewIntermediate
prpm-development611moReviewIntermediate
autonomous-agent-patterns49moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

More by anthropics

View all by anthropics →

frontend-design

anthropics

Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.

481544

pptx

anthropics

Presentation creation, editing, and analysis. When Claude needs to work with presentations (.pptx files) for: (1) Creating new presentations, (2) Modifying or editing content, (3) Working with layouts, (4) Adding comments or speaker notes, or any other presentation tasks

393763

webapp-testing

anthropics

Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.

353585

mcp-builder

anthropics

Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).

136215

skill-creator

anthropics

Guide for creating effective skills. This skill should be used when users want to create a new skill (or update an existing skill) that extends Claude's capabilities with specialized knowledge, workflows, or tool integrations.

128200

docx

anthropics

Comprehensive document creation, editing, and analysis with support for tracked changes, comments, formatting preservation, and text extraction. When Claude needs to work with professional documents (.docx files) for: (1) Creating new documents, (2) Modifying or editing content, (3) Working with tracked changes, (4) Adding comments, or any other document tasks

93225

You might also like

command-development

anthropics

This skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.

16133

prpm-development

pr-pm

Use when developing PRPM (Prompt Package Manager) - comprehensive knowledge base covering architecture, format conversion, package types, collections, quality standards, testing, and deployment

6101

autonomous-agent-patterns

davila7

Design patterns for building autonomous coding agents. Covers tool integration, permission systems, browser automation, and human-in-the-loop workflows. Use when building AI agents, designing tool APIs, implementing permission systems, or creating autonomous coding assistants.

451

example-skill

anthropics

This skill should be used when the user asks to "demonstrate skills", "show skill format", "create a skill template", or discusses skill development patterns. Provides a reference template for creating Claude Code plugin skills.

326

command-creator

davila7

This skill should be used when creating a Claude Code slash command. Use when users ask to "create a command", "make a slash command", "add a command", or want to document a workflow as a reusable command. Essential for creating optimized, agent-executable slash commands with proper structure and best practices.

422

agent-orchestration-improve-agent

sickn33

Systematic improvement of existing agents through performance analysis, prompt engineering, and continuous iteration.

418

Search skills

Search the agent skills registry