← Back to Skills Marketplace
40
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install grep-tool
Description
Search text files for lines matching a pattern using regular expressions. Use for log analysis, code searching, and data filtering.
README (SKILL.md)
Pattern Search Utility
Search through files and output lines matching a given pattern. Supports basic, extended, and Perl-compatible regular expressions.
Usage
grep-tool [options] \x3Cpattern> [file...]
Common Options
-i: Case-insensitive search-r: Recursive directory search-n: Show line numbers-v: Invert match (show non-matching lines)-c: Count matches instead of showing lines
Examples
# Case-insensitive search
grep-tool -i "error" log.txt
# Recursive search
grep-tool -r "function" ./src
# Count matches
grep-tool -c "TODO" *.py
Usage Guidance
This skill appears to implement exactly what it claims: a local text-search tool. Before using it, consider: only run it against directories you intend to search (it will read any files you point it at, so avoid running on sensitive system directories or as root), be cautious piping secrets into it, and note it does not perform any network I/O or require credentials. If you want extra assurance, you can inspect or run the included scripts/grep.py locally in a sandbox before enabling the skill for autonomous use.
Capability Analysis
Type: OpenClaw Skill
Name: grep-tool
Version: 1.0.0
The skill implements a standard text search utility (grep) using Python's 're' and 'os' modules. The code in scripts/grep.py and the instructions in SKILL.md are consistent with the stated purpose of searching files for patterns, with no evidence of malicious intent, data exfiltration, or prompt injection.
Capability Assessment
Purpose & Capability
Name/description (pattern search for files) aligns with the provided implementation (scripts/grep.py) and SKILL.md usage examples. No unrelated binaries, env vars, or capabilities are requested.
Instruction Scope
SKILL.md simply documents how to run the utility; the included script reads stdin or files/directories provided by the user and does not access other system state, network endpoints, or secrets. Note: the tool will read any files/directories you point it at (including sensitive files) — which is expected for a grep-like tool.
Install Mechanism
No install spec (instruction-only skill) and a single, small Python script is included. There are no external downloads or archive extraction steps. Risk from installation is minimal.
Credentials
The skill requires no environment variables, credentials, or config paths. The code does not read env vars or attempt to access unrelated credentials.
Persistence & Privilege
always is false and the skill does not request permanent presence or modify other skills or system-wide settings. Autonomous invocation is allowed (platform default) and is reasonable for a user-invocable utility.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install grep-tool - After installation, invoke the skill by name or use
/grep-tool - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release
Metadata
Frequently Asked Questions
What is Grep Tool?
Search text files for lines matching a pattern using regular expressions. Use for log analysis, code searching, and data filtering. It is an AI Agent Skill for Claude Code / OpenClaw, with 40 downloads so far.
How do I install Grep Tool?
Run "/install grep-tool" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Grep Tool free?
Yes, Grep Tool is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Grep Tool support?
Grep Tool is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Grep Tool?
It is built and maintained by BIN (@dinghaibin); the current version is v1.0.0.
More Skills