asclaude-grep for Openclaw

A high-performance local search engine designed to provide millisecond-level precision when locating code or files within a complex workspace.

miaoxingjun
v1.0.0
Apr 5, 2026
0
598
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install asclaude-grep

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 asclaude-grep 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 asclaude-grep?

asclaude-grep is a specialized intelligent retrieval tool engineered for developers and workspace management. It bridges the gap between traditional file discovery and modern AI workflows by merging content-level retrieval (Grep) with filename indexing (Glob). This ensures that navigating large-scale Openclaw Skills projects becomes seamless and efficient.

The tool is designed to work within a local sandbox, prioritizing security and speed. By bypassing the need for complex indexing servers or data uploads, it provides a privacy-first approach to code exploration, allowing for instantaneous hits on keywords or file patterns even in massive repositories.

asclaude-grep Use Cases

  • Rapidly locating specific function definitions or variable usages across multiple file types like .py, .ts, or .json.
  • Identifying project structure and specific file paths using wildcard patterns during initialization of Openclaw Skills.
  • Debugging by jumping directly to specific line numbers in large log files or source code.
  • Searching for documentation snippets across a library of markdown files.

How asclaude-grep Works

  1. The user initiates a query via the workspace_search script using either the grep or find command.
  2. For content searches, the engine performs a deep scan across supported file extensions, utilizing regex and case-insensitive matching.
  3. For file location, it leverages native system find commands to index and return paths in milliseconds.
  4. Results are processed through an intelligent formatter that truncates long outputs and prioritizes the top 20 most relevant matches.
  5. The tool provides clear line-number references, enabling direct navigation to the target content.

asclaude-grep Setup

To integrate this tool into your environment, use the following commands within your workspace:

# Navigate to your Openclaw Skills directory
cd your-workspace-folder

# Perform a content search
python scripts/workspace_search.py grep "your_keyword"

# Perform a filename search using glob patterns
python scripts/workspace_search.py find "*.py"

asclaude-grep Data Schema & Taxonomy

The skill manages data locally and outputs structured results for easy consumption by both humans and AI agents.

Component Description
Search Scope Local workspace directory (Deep Content Scan)
Supported Extensions .py, .md, .ts, .js, .json, and more
Output Format Filename + Line Number + Contextual Snippet
Match Limit Max 20 relevant items per query for readability

asclaude-grep Advanced Features

  • Regex support for complex pattern matching in deep content scans.
  • Automated case-insensitivity mode to catch variations of keywords.
  • Native system integration for zero-latency filename discovery.
  • Sandbox-safe execution ensuring no data leaves the local Openclaw Skills environment.
  • Smart truncation to prevent context-window overflow during AI interactions.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*