File search
Skill next-open-ai/openclawx/presets/workspaces/file-assistant/skills/file-search
Searches for files by name, extension, size, or content using powerful system tools like grep or find.From its SKILL.md
npx -y skills add next-open-ai/openclawx --skill file-searchAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
SKILL.md
0.9 KB, 204 tokens by cl100k_base, as published. Nobody here has run it
File Search Skill
Use this skill to recursively search for files or file contents within a specified directory.
Workflow
- Identify the user's search criteria:
- By name/extension pattern (e.g., "*.md")
- By content (e.g., "contains the word 'auth'")
- By metadata (e.g., "modified in the last 7 days", "larger than 10MB")
- Formulate the appropriate
bashcommand:- Use
find <dir> -name "*.ext" -type fto search by name. - Use
grep -rn "pattern" <dir>orrg "pattern" <dir>(if ripgrep is available) to search by content. - Use
find <dir> -mtime -7 -size +10Mto search by metadata.
- Use
- Execute the command using the
bashtool. - Process the output and present the results clearly to the user.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.