Skip to content
Back to skills

Deepsearch

ASecurity

Multi-strategy deep code search skill. When triggered by '/deepsearch', '깊은 검색', 'deep search', or '코드 찾아줘', this skill applies multiple search strategies — structural (AST-like pattern), textual (regex), semantic (by meaning), and historical (git history) — to find code that simple grep can't.

  • 9 stars
  • 0 votes
  • 2 copies
  • 4 views
  • Added October 23, 2026
ai-agentsgitapi

Works with

  • api

Security analysis

A100/100

Scanned October 23, 2026

npx -y skills add johnfkoo951/cmdspace-plugins --skill deepsearch --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Deepsearch?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Deepsearch
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/johnfkoo951-deepsearch/badge)](https://www.skillsdirectory.com/skills/johnfkoo951-deepsearch)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: deepsearch
description: >
  Multi-strategy deep code search skill. When triggered by '/deepsearch', '깊은 검색',
  'deep search', or '코드 찾아줘', this skill applies multiple search strategies —
  structural (AST-like pattern), textual (regex), semantic (by meaning), and historical
  (git history) — to find code that simple grep can't.
---

# Deep Search — Multi-Strategy Code Search

Applies multiple search strategies to find code that simple text search misses.

## Workflow

### Step 1: Understand Search Intent

Use `AskUserQuestion`:

```json
{
  "questions": [
    {
      "question": "What are you looking for?",
      "header": "Search Type",
      "options": [
        {"label": "Pattern/Usage", "description": "Find all places where a pattern is used (e.g., all async functions, all API calls)"},
        {"label": "Concept/Feature", "description": "Find code related to a concept (e.g., 'authentication', 'caching')"},
        {"label": "Changed code", "description": "Find code that was recently modified or relates to a specific change"},
        {"label": "Dead code", "description": "Find unused functions, imports, or variables"}
      ],
      "multiSelect": false
    }
  ]
}
```

### Step 2: Apply Search Strategies

Dispatch **explorer** (Haiku) with instructions to apply multiple strategies in parallel:

**Strategy 1: Textual Search**
- Use Grep with regex patterns
- Search for exact names, patterns, and keywords

**Strategy 2: Structural Search**
- Use Glob for file pattern matching
- Trace import/export chains
- Follow function call hierarchies

**Strategy 3: Semantic Search**
- Search by concept (related terms, synonyms)
- Look in comments, docstrings, variable names
- Search for patterns that implement the concept

**Strategy 4: Historical Search** (if applicable)
- Use `git log --all -S "term"` for code that appeared/disappeared
- Use `git log --follow` for file history
- Use `git blame` for authorship and timing

### Step 3: Rank and Present Results

```markdown
## Search Results: [Query]

### Strategy Results Summary
| Strategy | Matches | Top Result |
|----------|---------|------------|
| Textual | [N] | [file:line] |
| Structural | [N] | [file:line] |
| Semantic | [N] | [file:line] |
| Historical | [N] | [commit] |

### Top Results (by relevance)
1. **[file:line]** — [context snippet]
   - Found by: [strategy]
   - Relevance: [why this matches]

2. **[file:line]** — [context snippet]
   ...

### Related Files
- [Files that are connected to the search results]
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.