# Glob

> Find files matching a glob pattern in the workspace

- Skill: `tashfeenahmed/glob` (Agent Skill, multi-file: 3 files)
- Install (CLI): `npx skillmds@latest add tashfeenahmed/glob`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tashfeenahmed/glob/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: tashfeenahmed (https://skillmd.com/u/tashfeenahmed)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/tashfeenahmed/glob

---


# Glob Skill

Find files matching a glob pattern in the workspace.

## When to Use

Use the glob skill for:

- **Finding files by extension**: `**/*.ts`, `**/*.test.ts`
- **Locating config files**: `**/tsconfig.json`, `**/.env*`
- **Scoped searches**: Find files within a subdirectory
- **Multiple extensions**: `**/*.{ts,js,tsx,jsx}`

## Input Format

```json
{
  "pattern": "**/*.ts",
  "path": "src"
}
```

### Parameters

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| `pattern` | string | Yes | - | Glob pattern (`*`, `**`, `?`, `{a,b}` supported) |
| `path` | string | No | `.` | Directory to search in |

## Output Format

```json
{
  "success": true,
  "output": "src/index.ts\nsrc/utils/helper.ts",
  "exitCode": 0
}
```

## Limitations

- Maximum 200 results returned
- Respects .gitignore rules
- Skips .git/, node_modules/, and binary files

