Agent skill

Grep

by openakita in openakita/openakita

Search file contents using regex pattern across directories.

AGPL-3.0Auto-check passed

Install Grep

skills CLI
$ npx skills add openakita/openakita --skill grep -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install openakita/openakita grep --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/openakita/openakita.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/system/grep .claude/skills/grep && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
grep
GitHub stars
2k
Token cost
~296 tokens
SKILL.md length
62 words
Files
2
Skills in repo
29
Repo updated
First seen
Licence
AGPL-3.0

At a glance

Search file contents using regex pattern across directories.

  • SKILL.md covers Parameters, Examples, Notes and Related Skills
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Grep is an agent skill from openakita/openakita. 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.

Its SKILL.md is about 300 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).

It works with Python. The repository describes itself as: An open-source AI assistant framework with skills and agent architecture. The licence is AGPL-3.0.

Example prompts

  • “/grep”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit 5f5b38d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are json).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Grep loads about 296 tokens when it runs. Until then it costs about 48 tokens; SKILL.md has 62 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~48
When it runs · the whole SKILL.md, loaded when a task matches
~296

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from openakita/openakita at commit 5f5b38d, republished under its AGPL-3.0 licence (© openakita). 62 words, ~296 tokens.

Download SKILL.mdSave it as .claude/skills/grep/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
grep
description
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.
system
true
handler
filesystem
tool-name
grep
category
File System

Grep

跨平台内容搜索工具。

Parameters

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

Examples

搜索函数定义:

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

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

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

搜索并显示上下文:

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

Notes

  • 自动跳过 .git、node_modules、pycache、.venv 等目录
  • 自动跳过二进制文件
  • 纯 Python 实现,无需安装 ripgrep/grep
  • 返回格式: file:line_number:content
  • glob: 按文件名模式查找文件
  • read-file: 读取搜索到的文件
  • edit-file: 编辑搜索到的匹配

© openakita, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in skills/system/grep of openakita/openakita.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit 5f5b38d

Compare with similar skills

Grep next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Grep compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Grep this skillopenakita/openakita2k—~296Automated safety check: PassAGPL-3.0
MCP Server Builderanthropics/skills180k63 repos~2.3kAutomated safety check: PassApache-2.0
PDF Processinganthropics/skills180k48 repos~2kAutomated safety check: PassProprietary
NotebookLM Research AssistantPleasePrompto/notebooklm-skill7.8k14 repos~2.4kAutomated safety check: NotesMIT
Manim Video Productionbrowser-use/video-use28k6 repos~3kAutomated safety check: PassMIT
Code Review ChecklistshareAI-lab/learn-claude-code78k5 repos~1.1kAutomated safety check: PassMIT

Similar skills

  • MCP Server Builder

    anthropics/skills

    Official

    Guides the design and implementation of Model Context Protocol servers in TypeScript or Python, from tool naming and error messages to evaluation.

    180k GitHub starsUsed in 63 repos~2.3k tokens
    Agent WorkflowsAuto-check passed
  • PDF Processing

    anthropics/skills

    Official

    Handles everyday PDF jobs in Python and on the command line: extract text and tables, merge, split, rotate, watermark, fill forms, encrypt and OCR.

    180k GitHub starsUsed in 48 repos~2k tokens
    Documents & OfficeAuto-check passed
  • NotebookLM Research Assistant

    PleasePrompto/notebooklm-skill

    Lets Claude Code ask questions of your Google NotebookLM notebooks through browser automation and return answers grounded in your uploaded sources.

    7.8k GitHub starsUsed in 14 repos~2.4k tokens
    Knowledge ManagementAuto-check: notes
  • Manim Video Production

    browser-use/video-use

    Produces math and technical explainer videos with Manim Community Edition: concept animations, equation derivations, algorithm walkthroughs and data stories.

    28k GitHub starsUsed in 6 repos~3k tokens
    Media & CreativeAuto-check passed
  • Code Review Checklist

    shareAI-lab/learn-claude-code

    Reviews code against a five-part checklist covering security, correctness, performance, maintainability and testing, and reports findings in a fixed format.

    78k GitHub starsUsed in 5 repos~1.1k tokens
    DevelopmentAuto-check passed
  • PPT Master

    hugohe3/ppt-master

    Generates editable PowerPoint decks, rebuilds slides from images, fills .pptx templates and polishes existing presentations through routed workflows.

    58k GitHub starsUsed in 1 repo~2.5k tokens
    Documents & OfficeAuto-check passed

More from openakita/openakita

All 29 skills in this repo
  • Smtp Email Sender

    openakita/openakita

    Send emails via SMTP (Gmail, Outlook, etc.). An agent skill from openakita/openakita.

    2k GitHub stars~693 tokensUpdated 15 days ago
    Auto-check: notes
  • Deliver Artifacts

    openakita/openakita

    Deliver artifacts (files/images/voice) to current IM chat via gateway, returning a receipt.

    2k GitHub stars~288 tokensUpdated 15 days ago
    Auto-check passed
  • Switch Persona

    openakita/openakita

    Switch Agent persona preset. An agent skill from openakita/openakita.

    2k GitHub stars~286 tokensUpdated 15 days ago
    Auto-check passed
  • Toggle Proactive

    openakita/openakita

    Toggle proactive messaging mode. An agent skill from openakita/openakita.

    2k GitHub stars~228 tokensUpdated 15 days ago
    Auto-check passed
  • Browser Task

    openakita/openakita

    Smart browser task agent - describe what you want done in natural language and it completes automatically.

    2k GitHub stars~715 tokensUpdated 15 days ago
    Auto-check passed
  • CLI Anything

    openakita/openakita

    Control desktop software (GIMP, Blender, LibreOffice, etc.) through CLI-Anything generated command-line interfaces.

    2k GitHub stars~507 tokensUpdated 15 days ago
    Auto-check passed

Works with

Questions about Grep

What does Grep do?

Search file contents using regex pattern across directories. Grep is an agent skill from openakita/openakita. Search file contents using regex pattern across directories.

How do I install Grep in Claude Code?

Run `npx skills add openakita/openakita --skill grep -a claude-code`. Or copy the skill folder (skills/system/grep in openakita/openakita) into .claude/skills/grep in your project. Claude Code loads it when a task matches its description.

How do I install Grep in Codex?

Run `npx skills add openakita/openakita --skill grep -a codex`. Or copy the skill folder (skills/system/grep in openakita/openakita) into .agents/skills/grep in your project. Codex loads it when a task matches its description.

Can I use Grep in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add openakita/openakita --skill grep -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/grep, .gemini/skills/grep, .github/skills/grep and .opencode/skills/grep in your project.

What does Grep need to run?

SKILL.md names no scripts, command-line tools or credentials: Grep is instructions for the agent only. Our summary lists: Python 3.

Does Grep access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Grep safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Grep use?

Grep is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Grep use?

About 296 tokens (SKILL.md is roughly 1.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Grep?

Skills that share tags, products or a category with Grep: MCP Server Builder (anthropics/skills, 180k stars), PDF Processing (anthropics/skills, 180k stars), NotebookLM Research Assistant (PleasePrompto/notebooklm-skill, 7.8k stars) and Manim Video Production (browser-use/video-use, 28k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Grep?

openakita (a GitHub user) maintains it in openakita/openakita, which has 2,002 GitHub stars. The repository holds 29 skills in this directory. The repository was last updated on September 24, 2026.

Source: openakita/openakita on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.