Skip to content
Agentmart
Submit a tool

search-large-files

Find symbols in huge files without reading them whole.

Skill by eldar-p

IndexedApache-2.0
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/eldar-p-search-large-files

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Find symbols in huge files without reading them whole. Use search_files or guest_bash rg before read_file.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/search-large-files

What's inside

Skill name
search-large-files
Description
Find symbols in huge files without reading them whole. Use search_files or guest_bash rg before read_file.
License
Apache-2.0
Instructions
36 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Search inside large files

## Rule

If size unknown, generated, minified, or likely **>300 lines**: **search first, read a window only**.

## Agent tools (preferred)

```
search_files  pattern="export function foo"  path="src"
read_file     path="src/module.js"           # only after you know the region — host may truncate at 8 KB
```

Use `guest_bash` when ripgrep is needed inside the guest:

```bash
cd /workspace && rg -n 'pattern' path/to/file | head -40
cd /workspace && rg -n -C 3 'pattern' path/to/file | head -80
```

Quote regex: `'foo.*Bar\('`.

## Workflow

1. Name the target (function, import, config key, CSS class).
2. `search_files` or `rg -n` → line numbers.
3. `read_file` the smallest useful slice (or bash `sed -n '120,180p'` in guest).
4. Edit. Re-search to verify.

## Don't

- `read_file` on entire bundles, logs, or `node_modules`
- `cat` / `head -n 5000` huge files into the model context
- Multiple full-file reads after search already found the lines

From eldar-p/gim-cli, Apache-2.0.

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Aug 24, 2026 (2 months ago)
Last release
Aug 24, 2026 (2 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from eldar-p

Cite this page

search-large-files skill. Agent Mart. https://agentmart.dev/skills/eldar-p-search-large-files (last updated 2026-10-24)