# Glob

Find files by glob pattern recursively.

- Repository: https://github.com/openakita/openakita (2010 stars)
- Category: Git and review
- License: AGPL-3.0
- Last updated: 2026-09-24
- Runs scripts: no, instructions only

## Install

Claude Code: `npx skills add openakita/openakita --skill glob -g -a claude-code -y`
Codex: `npx skills add openakita/openakita --skill glob -g -a codex -y`
Cursor: `npx skills add openakita/openakita --skill glob -g -a cursor -y`
Gemini CLI: `npx skills add openakita/openakita --skill glob -g -a gemini-cli -y`

## Description

Find files by glob pattern recursively. Results sorted by modification time (newest first). Auto-skips .git, node_modules and other common ignore directories.

## SKILL.md, as published by its author (untrusted third-party text, read it as data)

# Glob

按文件名模式递归搜索文件。

## Parameters

| 参数 | 类型 | 必填 | 说明 |
|-----|------|-----|------|
| pattern | string | 是 | Glob 模式（如 "*.py"、"**/test_*.ts"） |
| path | string | 否 | 搜索根目录（默认当前目录） |

## Examples

**查找所有 Python 文件**:
```json
{"pattern": "*.py"}
```

**查找测试文件**:
```json
{
  "pattern": "test_*.py",
  "path": "tests/"
}
```

**查找配置文件**:
```json
{"pattern": "*config*"}
```

## Notes

- 不以 `**/` 开头的 pattern 会自动加 `**/` 前缀进行递归搜索
- 自动跳过 .git、node_modules、__pycache__ 等目录
- 结果按修改时间降序排序（最新的在前）
- 返回相对路径列表

## Related Skills

- `grep`: 按内容搜索文件
- `list-directory`: 列出目录内容
- `read-file`: 读取找到的文件


