detect
Determine whether a specific pattern, entity, or condition exists in the given data. Use when searching for patterns, checking existence, validating presence, or finding signals.
npx skills add majiayu000/claude-skill-registry --skill detect --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
## Intent Scan data sources to determine whether a specified pattern, entity, or condition is present. Detection is binary (present/absent) with associated signal strength. **Success criteria:** - Clear boolean determination of presence/absence - At least one evidence anchor for positive detections - False positive risk assessment provided - Confidence score justified by evidence quality **Compatible schemas:** - `schemas/output_schema.yaml` ## Inputs | Parameter | Required | Type | Description | |-----------|----------|------|-------------| | `target` | Yes | string\|object | The data source to scan (file path, URL, or structured data) | | `pattern` | Yes | string\|regex | The pattern, entity type, or condition to detect | | `threshold` | No | object | Detection sensitivity settings (e.g., min_matches, confidence_floor) | | `scope` | No | string | Limit search to specific regions (e.g., "functions", "imports", "comments") | ## Procedure 1) **Define detection criteria**: Clarify exactly what constitutes a positive detection - Convert vague patterns to concrete search terms or regex - Establish minimum evidence threshold for positive detection 2) **Scan target systematically**: Sear
- Intent
- Inputs
- Procedure
- Output Contract
- Field Definitions
- Examples
- Example 1: Detect SQL Injection Vulnerability
- Example 2: Detect Deprecated API Usage
- Verification
- Safety Constraints
- Composition Patterns
What does the detect skill do?
Determine whether a specific pattern, entity, or condition exists in the given data. Use when searching for patterns, checking existence, validating presence, or finding signals.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill detect --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
