grepwrapper for Openclaw

A high-performance CLI tool that enables AI agents to find exact code matches and snippets across public GitHub repositories via grep.app.

riprsa
v0.3.0
Feb 19, 2026
0
0
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install grepwrapper

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install grepwrapper using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is grepwrapper?

grepwrapper is a specialized utility that integrates the lightning-fast search capabilities of grep.app directly into your development workflow. As a key addition to your Openclaw Skills, this tool allows for precise, large-scale code discovery across millions of public GitHub repositories. It serves as a bridge for AI agents to locate specific function implementations, variable usages, or configuration patterns in the wild.

By providing a structured interface to global source code, grepwrapper empowers developers to perform technical research and competitive analysis without leaving their terminal. This skill is essential for anyone building a robust library of Openclaw Skills that require real-world code context and high-fidelity search results.

grepwrapper Use Cases

  • Finding exact code matches and implementation examples on public GitHub repositories.
  • Locating specific repository, file, and path occurrences for any given code snippet.
  • Running advanced grep.app code searches directly from a command-line interface.
  • Performing regex-based audits of public codebases for security or research purposes.
  • Automating the discovery of library usage patterns across the open-source ecosystem.

How grepwrapper Works

  1. The user or agent initiates a search by providing a query string or regular expression through the grepwrapper CLI.
  2. The skill communicates with the grep.app backend to scan indexed public repositories for matching patterns.
  3. Search parameters such as case sensitivity and whole-word matching are applied to narrow down the results.
  4. The tool returns a summary line containing performance metrics, total hits, and a list of specific file matches.
  5. The AI agent processes these Openclaw Skills results to provide direct GitHub links and summarized code context to the user.

grepwrapper Setup

To integrate this capability into your Openclaw Skills environment, install the grepwrapper CLI via npm:

npm i -g git+https://github.com/riprsa/grepwrapper.git

You can then verify the installation by performing a standard search:

grepwrapper search --q "your-search-query"

grepwrapper Data Schema & Taxonomy

The skill produces structured summary data and detailed hit lists. The output schema is organized as follows:

Field Description
time The time taken to execute the search in milliseconds.
total The total number of matches found across all public repos.
returned The number of result lines returned in the current response.
repo The GitHub repository name where the match was identified.
path The file path within the repository containing the match.
matches The count of specific occurrences within that file.

Example result line format: - <repo>:<path> (matches=<count>).

grepwrapper Advanced Features

  • Regex Mode: Utilize the --regexp flag for complex pattern matching across codebases.
  • Case Sensitivity: Fine-tune searches using the --case toggle to match exact variable naming conventions.
  • Pagination: Navigate through large result sets using the --page parameter to retrieve subsequent hits.
  • Filtering: Use the --words flag to ensure whole-word matching, preventing partial string hits.
  • Integration Ready: Designed to work seamlessly with other Openclaw Skills for automated repository analysis.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Requires
Bins grepwrapper
Github Stars: 0
forks: 0

Featured*