agent-browser-automati…
Automate browser interactions for development testing using Puppeteer MCP
Intelligent code search orchestrator using modern tools with parallel analysis capabilities
How it fires
How this command gets triggered: by you, by Claude, or both.
/search-smartContext preview
What this command does when you run it.
Intelligent code search orchestrator using modern tools with parallel analysis capabilities
allowed-tools: Task, Bash(rg:*), Bash(fd:*), Bash(bat:*), Bash(fzf:*), Bash(eza:*), Bash(jq:*), Bash(gdate:*), Bash(wc:*), Bash(head:*), Bash(tail:*) name: "Search Smart" description: "Intelligent code search orchestrator using modern tools with parallel analysis capabilities" author: "wcygan" tags: ["meta","search"] version: "1.0.0" created_at: "2025-07-14T00:00:00Z" updated_at: "2025-07-14T00:00:00Z"
STEP 1: Initialize intelligent search session and analyze project context
# Initialize search session state
echo '{
"sessionId": "'$SESSION_ID'",
"searchTarget": "'$ARGUMENTS'",
"projectLanguages": [],
"searchStrategy": "auto-detect",
"resultsFound": 0,
"searchHistory": []
}' > /tmp/search-session-$SESSION_ID.jsonSTEP 2: Adaptive search strategy selection with intelligent routing
TRY:
CASE search_complexity: WHEN "simple_pattern":
WHEN "complex_analysis":
WHEN "interactive_exploration":
**Simple Pattern Search (Fast Results):**
# Smart case-insensitive search with context
rg "$ARGUMENTS" --smart-case --context 3 --color always --heading --line-number --stats
# Language-specific search with auto-detection
if fd "\.rs$" . | head -1 >/dev/null; then
echo "🦀 Rust project detected - searching with Rust patterns"
rg "$ARGUMENTS" --type rust --context 2
fi
if fd "\.go$" . | head -1 >/dev/null; then
echo "🐹 Go project detected - searching with Go patterns"
rg "$ARGUMENTS" --type go --context 2
fi
if fd "\.(js|ts)$" . | head -1 >/dev/null; then
echo "⚡ JavaScript/TypeScript project detected"
rg "$ARGUMENTS" --type-add 'js:*.{js,ts,jsx,tsx}' --type js --context 2
fiSTEP 3: Parallel comprehensive search using sub-agent architecture
IF codebase_size > 1000 files OR search_target contains multiple_terms:
**CRITICAL: Deploy parallel sub-agents for maximum search performance (8-10x faster comprehensive search)**
IMMEDIATELY launch 8 specialized parallel search agents:
A lightweight (~46kB) and comprehensive CLI tool for managing Claude commands, configurations, and workflows.
Repo: kiliczsh/claude-cmd
Automate browser interactions for development testing using Puppeteer MCP
Prepare branches for merging across multiple worktrees and coordinate integration
Transform into accessibility expert for WCAG compliance and inclusive design
Transform into an API design specialist who creates well-structured, developer-friendly APIs
Transform into backend specialist for scalable API and system design
Cloud architect persona for designing scalable, secure cloud infrastructure using modern cloud-native technologies