← Back to Skills Marketplace
yanxingang

OpenClaw Code Search

by Yanxingang · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
470
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install openclaw-code-search
Description
Provides fast, read-only codebase search and exploration using grep for content, glob for filenames, and tree for directory structure with filtering and limits.
Usage Guidance
This skill appears to be a straightforward, read-only code search wrapper around ripgrep/fd/tree. Before installing or using it: (1) Ensure you trust the agent workspace path used in examples (/root/.openclaw/...) or change it to a safe directory — the script will read any path you give it and could expose sensitive files if asked to search system or home directories; (2) The script checks for rg/fd/tree but does not install them automatically — DESIGN.md suggests curl downloads from GitHub releases if needed; only run those manual install commands if you trust the source and checksum; (3) The shell script parses rg --json using awk in a simplistic way (not a security issue per se, but parsing could mis-handle edge cases); (4) Autonomous agent invocation is allowed by default — if you want to limit when the agent can run filesystem searches, keep the skill user-invocable only or adjust agent policies. Overall the skill is coherent with its stated purpose, but avoid pointing it at directories containing secrets unless you intend to expose that data.
Capability Analysis
Type: OpenClaw Skill Name: openclaw-code-search Version: 1.0.0 The skill provides benign code search functionality using standard CLI tools (ripgrep, fd, tree), and explicitly states it's read-only. However, the `scripts/search.sh` script directly passes user-controlled input (e.g., search patterns, paths) to these external commands, which, while generally robust, presents a potential shell injection vulnerability. Additionally, the dependency check in `scripts/search.sh` suggests installing tools via `curl | tar | cp` from external GitHub URLs, introducing a supply chain risk if those sources were ever compromised.
Capability Assessment
Purpose & Capability
Name/description (read-only code search) match the included files and runtime behavior: a shell wrapper around ripgrep (rg), fd, and tree. There are no unrelated environment variables, credentials, or config paths requested.
Instruction Scope
SKILL.md and the script direct the agent to run a local shell script which performs filesystem searches. The script only reads files and directories (search path is an explicit parameter or current dir). This matches the declared purpose. Note: the tool will read any path you point it at (including system or user dirs) so results may include sensitive files if the agent is asked to search those locations.
Install Mechanism
There is no automated install spec in the registry (instruction-only behavior). The included DESIGN.md provides manual install suggestions, including GitHub release tarball downloads and package-manager commands; those sources are standard project releases. Nothing is automatically downloaded or executed by the registry install step.
Credentials
The skill requires no environment variables, no credentials, and no special config paths. All required runtime tools are standard CLIs (rg, fd, tree) and are checked at runtime by the script — proportional to the stated functionality.
Persistence & Privilege
The skill is not marked always:true and does not request persistent system-wide changes. It does not modify other skills or global agent configuration. Autonomous invocation is allowed (platform default) but combined with no extra privileges or credentials.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install openclaw-code-search
  3. After installation, invoke the skill by name or use /openclaw-code-search
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release: grep/glob/tree via ripgrep, fd, tree
Metadata
Slug openclaw-code-search
Version 1.0.0
License
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is OpenClaw Code Search?

Provides fast, read-only codebase search and exploration using grep for content, glob for filenames, and tree for directory structure with filtering and limits. It is an AI Agent Skill for Claude Code / OpenClaw, with 470 downloads so far.

How do I install OpenClaw Code Search?

Run "/install openclaw-code-search" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is OpenClaw Code Search free?

Yes, OpenClaw Code Search is completely free (open-source). You can download, install and use it at no cost.

Which platforms does OpenClaw Code Search support?

OpenClaw Code Search is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created OpenClaw Code Search?

It is built and maintained by Yanxingang (@yanxingang); the current version is v1.0.0.

💬 Comments