ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified developer tools Safety 5/5

Code Search

Skill by autogame-17

Why use this skill?

Discover the Code Search skill by autogame-17. An intelligent, context-aware repository search tool for OpenClaw that automates code discovery while ignoring noise like node_modules.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/autogame-17/code-search
Or

What This Skill Does

The Code Search skill is a high-performance, context-aware repository navigation tool designed to replace legacy CLI utilities like grep, find, and awk. Unlike standard command-line tools that often return overwhelming or irrelevant data, this skill is purpose-built for AI agents. It intelligently filters out noise by ignoring common non-source directories such as .git, node_modules, build, and coverage folders, ensuring that search results remain focused on relevant project files. It provides structured, context-rich output, including line numbers and surrounding code blocks, making it easier for AI models to interpret and synthesize information from a codebase.

Installation

To integrate this skill into your environment, run the following command in your terminal: clawhub install openclaw/skills/skills/autogame-17/code-search

Use Cases

This skill is indispensable for developers and automated agents working in large, complex repositories. Use it when you need to track down specific function definitions, identify deprecated API usages, locate 'TODO' markers, or perform cross-file debugging. By integrating it into your workflow, you reduce the time spent manually navigating directory trees, allowing you to focus on logic and implementation.

Example Prompts

  1. "Use code search to find where the authentication middleware is defined in the current project."
  2. "Search for all instances of 'TODO' in the codebase and summarize the pending technical debt for me."
  3. "Find the file that exports the database configuration and show me the line containing the connection string definition."

Tips & Limitations

  • Tip: When dealing with massive repositories, always utilize the --include flag to filter by file extension (e.g., *.ts or *.py) to speed up search performance.
  • Tip: Use the --json flag when calling this skill from another script to ensure data is easily consumable by other program logic.
  • Limitation: The skill includes a default safety limit of 50 matches to prevent token overflow. If you are conducting a broad search, you may need to run sequential, more targeted searches. It is not intended for deep-packet binary file scanning or complex pattern matching beyond basic string and regex support.

Metadata

Stars1100
Views2
Updated2026-02-17
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-autogame-17-code-search": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#search#development#code-analysis#productivity
Safety Score: 5/5

Flags: file-read