text-search
Skill0 starsChanged 8 months agoMITView on GitHub
Search for a text pattern in files within a directory. Use when the user wants to find which files contain a specific word or phrase.
In this repository7 other files it gives its agents.
- disk-usageSkill
- file-backupSkill
- file-finderSkill
- json-formatterSkill
- slug-generatorSkill
- text-case-converterSkill
- word-countSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Search for a text pattern in files within a directory.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Text Search / 텍스트 검색
Search for a text pattern in files within a directory. 디렉토리 내 파일에서 텍스트 패턴을 검색합니다.
Usage / 사용법
bash run.sh <PATTERN> [DIRECTORY]Arguments / 인수:
| # | Name | Description | 설명 |
| 1 | PATTERN | Text or regex pattern to search for | 검색할 텍스트 또는 정규식 패턴 |
| 2 | DIRECTORY | Directory to search in (default: current) | 검색할 디렉토리 (기본값: 현재 디렉토리) |
Example / 예시
bash run.sh "TODO" /home/user/projectOutput / 출력:
PATTERN: TODO
DIRECTORY: /home/user/project
---
/home/user/project/main.py:12:# TODO: fix this
/home/user/project/utils.py:5:# TODO: add tests
---
MATCHES: 2
STATUS: OKSuccess / Failure — 성공 / 실패
- Success / 성공: Matching lines with
MATCHES:count andSTATUS: OK(exit code 0) — 일치하는 줄과MATCHES:수,STATUS: OK(종료 코드 0) - Failure / 실패:
ERROR:message (exit code non-zero) —ERROR:메시지 (종료 코드 0이 아님)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

