matches

Community

Conditional logic for text matching

Authorbdambrosio
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill enables conditional logic within agent workflows by checking if a given text string matches a specified pattern, whether it's a simple substring, a regular expression, or an exact match.

Core Features & Use Cases

  • Conditional Flow Control: Direct the agent's actions based on the content of text data.
  • Data Validation: Ensure input data conforms to expected formats or contains specific keywords.
  • Filtering: Selectively process information based on pattern matching criteria.
  • Use Case: In an email processing agent, use this Skill to check if an incoming email's subject line contains the word "Urgent" before escalating it.

Quick Start

Use the matches skill to check if the variable $email matches the regex pattern for a valid email address.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: matches
Download link: https://github.com/bdambrosio/Cognitive_workbench/archive/main.zip#matches

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.