โ† All skills
Tencent SkillHub ยท Developer Tools

Code Search

Search codebase contents, filenames, or directory structures using ripgrep, fd, and tree with filters for file types, context, depth, and result limits.

skill openclawclawhub Free
0 Downloads
0 Stars
0 Installs
0 Score
High Signal

Search codebase contents, filenames, or directory structures using ripgrep, fd, and tree with filters for file types, context, depth, and result limits.

โฌ‡ 0 downloads โ˜… 0 stars Unverified but indexed

Install for OpenClaw

Quick setup
  1. Download the package from Yavira.
  2. Extract the archive and review SKILL.md first.
  3. Import or place the package into your OpenClaw setup.

Requirements

Target platform
OpenClaw
Install method
Manual import
Extraction
Extract archive
Prerequisites
OpenClaw
Primary doc
SKILL.md

Package facts

Download mode
Yavira redirect
Package format
ZIP package
Source platform
Tencent SkillHub
What's included
DESIGN.md, REQUIREMENTS.md, SKILL.md, scripts/search.sh

Validation

  • Use the Yavira download entry.
  • Review SKILL.md after the package is downloaded.
  • Confirm the extracted package contains the expected setup assets.

Install with your agent

Agent handoff

Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.

  1. Download the package from Yavira.
  2. Extract it into a folder your agent can access.
  3. Paste one of the prompts below and point your agent at the extracted folder.
New install

I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.

Upgrade existing

I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.

Trust & source

Release facts

Source
Tencent SkillHub
Verification
Indexed source record
Version
1.0.0

Documentation

ClawHub primary doc Primary doc: SKILL.md 10 sections Open source page

Code Search Skill

Fast code search toolkit for exploring codebases. Provides structured grep (content search), glob (filename search), and tree (directory structure) via ripgrep, fd, and tree CLI tools.

When to Use

Searching for function/class/variable definitions or usages in code Finding files by name or extension pattern Understanding project directory structure Exploring unfamiliar codebases Looking for configuration files, imports, error messages

Prerequisites

Run dependency check first: bash /root/.openclaw/workspace/skills/code-search/scripts/search.sh check

Commands

All commands go through a single entry point: bash /root/.openclaw/workspace/skills/code-search/scripts/search.sh <command> [options]

grep โ€” Search file contents

# Basic search bash /root/.openclaw/workspace/skills/code-search/scripts/search.sh grep "func main" --path /some/project # Literal text (no regex interpretation) bash /root/.openclaw/workspace/skills/code-search/scripts/search.sh grep "fmt.Println(" --literal --path /some/project # Filter by file type bash /root/.openclaw/workspace/skills/code-search/scripts/search.sh grep "import" --type go --path /some/project # With context lines bash /root/.openclaw/workspace/skills/code-search/scripts/search.sh grep "TODO" --context 2 --path /some/project # Limit results bash /root/.openclaw/workspace/skills/code-search/scripts/search.sh grep "error" --max 20 --path /some/project Options: --path <dir> โ€” Search directory (default: current dir) --type <ext> โ€” File type filter: go, py, ts, js, etc. (repeatable) --literal โ€” Treat pattern as literal text, not regex --max <n> โ€” Max results (default: 100) --context <n> โ€” Show N lines of context around matches (default: 0)

glob โ€” Search filenames

# Find all Go files bash /root/.openclaw/workspace/skills/code-search/scripts/search.sh glob "*.go" --path /some/project # Find test files bash /root/.openclaw/workspace/skills/code-search/scripts/search.sh glob "*_test.go" --path /some/project # Find config files bash /root/.openclaw/workspace/skills/code-search/scripts/search.sh glob "*.{json,yaml,yml,toml}" --path /some/project # Filter by type bash /root/.openclaw/workspace/skills/code-search/scripts/search.sh glob "config" --type f --path /some/project Options: --path <dir> โ€” Search directory (default: current dir) --type <f|d> โ€” f=files only, d=directories only --max <n> โ€” Max results (default: 200)

tree โ€” Directory structure

# Default (3 levels deep) bash /root/.openclaw/workspace/skills/code-search/scripts/search.sh tree --path /some/project # Shallow view bash /root/.openclaw/workspace/skills/code-search/scripts/search.sh tree --path /some/project --depth 1 # With file sizes bash /root/.openclaw/workspace/skills/code-search/scripts/search.sh tree --path /some/project --depth 2 --size Options: --path <dir> โ€” Target directory (default: current dir) --depth <n> โ€” Max depth (default: 3) --size โ€” Show file sizes

check โ€” Verify dependencies

bash /root/.openclaw/workspace/skills/code-search/scripts/search.sh check

Output Format

All commands output structured text with clear delimiters: [SEARCH RESULTS: grep] / [SEARCH RESULTS: glob] / [DIRECTORY TREE] [END RESULTS] / [END TREE] [TRUNCATED: ...] when results exceed the limit [ERROR] ... on failures

Notes

All operations are read-only โ€” no files are modified Automatically ignores .git, node_modules, pycache, vendor, build artifacts Respects .gitignore rules Results sorted by modification time (newest first) for grep and glob

Category context

Code helpers, APIs, CLIs, browser automation, testing, and developer operations.

Source: Tencent SkillHub

Largest current source with strong distribution and engagement signals.

Package contents

Included in package
3 Docs1 Scripts
  • SKILL.md Primary doc
  • DESIGN.md Docs
  • REQUIREMENTS.md Docs
  • scripts/search.sh Scripts