본문으로 건너뛰기
cccskills
무료GitHub에 공개

grep

Search file contents using regex pattern across directories. Cross-platform pure Python implementation (no external tools needed). Returns matching lines with file paths and line numbers.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(2)

  • SKILL.md1.5 KB
  • agents/openai.yaml214 B

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Grep

跨平台内容搜索工具。

Parameters

参数类型必填说明
patternstring是正则表达式搜索模式
pathstring否搜索目录(默认当前目录)
includestring否文件名 glob 过滤(如 "*.py")
context_linesinteger否匹配行前后的上下文行数(默认 0)
max_resultsinteger否最大返回匹配数(默认 50)
case_insensitiveboolean否是否忽略大小写(默认 false)

Examples

搜索函数定义:

{
  "pattern": "def test_",
  "include": "*.py"
}

搜索 TODO 标记(忽略大小写):

{
  "pattern": "TODO|FIXME",
  "case_insensitive": true,
  "max_results": 20
}

搜索并显示上下文:

{
  "pattern": "class.*Error",
  "path": "src/",
  "context_lines": 3
}

Notes

  • 自动跳过 .git、node_modules、pycache、.venv 等目录
  • 自动跳过二进制文件
  • 纯 Python 实现,无需安装 ripgrep/grep
  • 返回格式: file:line_number:content

Related Skills

  • glob: 按文件名模式查找文件
  • read-file: 读取搜索到的文件
  • edit-file: 编辑搜索到的匹配

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Record important information to long-term memory for learning user preferences, successful patterns, and error lessons. When you need to remember user preferences, save successful patterns, or record lessons from errors.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

openakita/openakita2천2026년 9월 24일 업데이트

Click page elements by CSS selector or text content. When you need to click buttons, links, or select options. PREREQUISITE - must use browser_navigate to open target page first.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

openakita/openakita2천2026년 9월 24일 업데이트

Extract page content and element text from current webpage. When you need to read page information, get element values, scrape data, or verify page content.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

openakita/openakita2천2026년 9월 24일 업데이트

List all open browser tabs with their index, URL and title. When you need to check what pages are open, manage multiple tabs, or find a specific tab to switch to.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

openakita/openakita2천2026년 9월 24일 업데이트

Navigate browser to specified URL to open a webpage. When you need to open webpages or start web automation. PREREQUISITE - must call before browser_click/type operations. Auto-starts browser if not running.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

openakita/openakita2천2026년 9월 24일 업데이트

Open new browser tab and navigate to URL (keeps current page open). When you need to open additional page without closing current, or multi-task across pages. PREREQUISITE - must confirm browser is running first.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

openakita/openakita2천2026년 9월 24일 업데이트

openakita의 스킬 모두 보기

이 스킬의 문제 신고