Agent skill

hive.terminal-tools-fs-search

Use terminal_rg / terminal_find when you need raw filesystem search outside the project tree — system configs, /var/log, /etc, archive contents — or when files-tools.search_files is too project-scoped. Teaches the rg vs find vs terminal_exec("ls/du/tree") split, common rg flag combos for code/logs/configs, find predicates for mtime/size/type queries, and the rule that for tree views or single-file stat info you should just use terminal_exec instead of inventing a tool. Read before reaching for raw shell to grep or find anything.

aden-hivegithub.com/aden-hiveGitHub ↗
claude-codeApache-2.0
Install
npx skills add aden-hive/hive --skill terminal-tools-fs-search --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 3
SKILL.md size: 4 KB
Bundled scripts: none
Version: 1.0
Declared author: hive
Path: core/framework/skills/_preset_skills/terminal-tools-fs-search/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 10,850
Language: Python
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Filesystem search terminal-tools provides two structured search tools: `terminal_rg` (ripgrep for content) and `terminal_find` (find for predicates). Everything else (tree, stat, du) is just `terminal_exec`. ## When to use what | Task | Tool | |---|---| | Find code/text matching a pattern in your **project** | `files-tools.search_files` (project-aware, ranks by relevance) | | Find code/text matching a pattern in `/var/log`, `/etc`, archives, system dirs | `terminal_rg` | | Find files matching name/glob/predicate | `terminal_find` | | List a directory | `terminal_exec("ls -la /path")` | | Tree view | `terminal_exec("tree -L 2 /path")` | | Single-path stat | `terminal_exec("stat /path")` | | Disk usage | `terminal_exec("du -sh /path")` or `terminal_exec("du -h --max-depth=2 /")` | | Count matches across files | `terminal_rg(pattern, count=True via extra_args=["-c"])` | ## `terminal_rg` — content search ripgrep is fast, gitignore-aware, and has a deep flag surface. The structured wrapper exposes the most useful flags directly; `extra_args` covers the rest. ### Common patterns ``` # All Python files containing "TODO" terminal_rg(pattern="TODO", path=".", type_filter="py") # Case-inse

What's inside
Steps it walks through
  1. When to use what
  2. terminalrg — content search
  3. Common patterns
  4. rg flag idioms
  5. terminalfind — predicate search
  6. Output truncation
  7. Anti-patterns
Ships with 2 files
  • references/find_predicates.md
  • references/ripgrep_cheatsheet.md
More from hive
All skills →
About this skill
What does the hive.terminal-tools-fs-search skill do?

Use terminal_rg / terminal_find when you need raw filesystem search outside the project tree — system configs, /var/log, /etc, archive contents — or when files-tools.search_files is too project-scoped. Teaches the rg vs find vs terminal_exec("ls/du/tree") split, common rg flag combos for code/logs/configs, find predicates for mtime/size/type queries, and the rule that for tree views or single-file stat info you should just use terminal_exec instead of inventing a tool. Read before reaching for raw shell to grep or find anything.

How do I install it?

Run `npx skills add aden-hive/hive --skill terminal-tools-fs-search --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From aden-hive/hive, a repository with 10,850 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going