Text Search

v1.0.0

Search for a text pattern in files within a directory. Shows matching lines with filenames and line numbers. Use when the user wants to find where a word or...

0· 103·0 current·0 all-time
by목진왕@jinwangmok

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for jinwangmok/text-search.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "Text Search" (jinwangmok/text-search) from ClawHub.
Skill page: https://clawhub.ai/jinwangmok/text-search
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Required binaries: grep
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install text-search

ClawHub CLI

Package manager switcher

npx clawhub@latest install text-search
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
Purpose & Capability
Name/description (text search) match the actual contents: SKILL.md shows using grep, required binary is grep, and run.sh implements the described behavior. No unrelated binaries, credentials, or config paths are requested.
Instruction Scope
SKILL.md and run.sh only instruct running grep locally against a directory. They do not read other system files, environment variables, or send data to external endpoints. Behavior is narrow and confined to searching local files.
Install Mechanism
No install spec (instruction-only with a small helper script). No downloads or archive extraction, so nothing extra is written to disk beyond the included run.sh.
Credentials
No environment variables or credentials are requested. The required binary (grep) is appropriate for the stated purpose.
Persistence & Privilege
always is false and the skill is user-invocable; it does not request permanent presence or modify other skills or system-wide settings.
Assessment
This skill appears coherent and low-risk: it runs a local grep search and does not access network endpoints or secrets. Ensure the host has grep on PATH before using. Be aware it will read files under the specified directory (so don't run it on directories containing secrets you don't want searched), and very large directories can produce large output or take time. If you prefer literal-string matches rather than regular expressions, use grep -F or adjust the pattern accordingly.

Like a lobster shell, security has layers — review code before you run it.

Runtime requirements

🔍 Clawdis
Binsgrep
latestvk97555zh45xhywsneq8hrdnzc183rt2q
103downloads
0stars
1versions
Updated 1mo ago
v1.0.0
MIT-0

Text Search

Find a word or phrase in files within a directory with a single command.

Usage

grep -rn <PATTERN> <DIR_PATH>

Arguments:

#NameDescription
1PATTERNText or pattern to search for
2DIR_PATHDirectory to search in

Example

grep -rn "TODO" /home/user/project

Output:

/home/user/project/main.py:12:# TODO: fix this
/home/user/project/utils.py:5:# TODO: add tests

Format: FILENAME:LINE_NUMBER:MATCHING_LINE

Success / Failure

  • Success: Matching lines printed (exit code 0)
  • No matches: No output (exit code 1 — this is normal, not an error)
  • Failure: Error message (exit code 2, e.g. directory not found)

Comments

Loading comments...