hive.terminal-tools-fs-search

hive.terminal-tools-fs-search is a skill for Claude Code, Codex from aden-hive/hive. It costs 131 tokens per session (1,272 once invoked), scanned A, original, Apache-2.0.

A guide for searching files and text with terminal tools. It explains when to use ripgrep for matching content, file-name globbing for locating files, and terminal commands for properties such as size, dates, and disk usage.

In plain words
What is it for?
Use it to find code or text, locate files by name, inspect directories, check file metadata, measure disk usage, or count matches.
Why use it?
It helps choose the right search method instead of using one command for every filesystem task. This makes searches across project files and system locations more systematic.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to find code or text, locate files by name, inspect directories, check file metadata, measure disk usage, or count matches.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/aden-hive/hive/terminal-tools-fs-search
About the project

OpenHive is a runtime for groups of specialized AI agents that collaborate on long-running business processes. A persistent lead agent, called the Queen, creates and coordinates worker agents while the system manages state, recovery, observability, costs, and human oversight. The catalogue entries provide agent skills, instructions, and integrations for working with this harness.

aden-hive/hive · 11,029 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add aden-hive/hive --skill terminal-tools-fs-search
Clone the repo
git clone --depth 1 https://github.com/aden-hive/hive

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for hive.terminal-tools-fs-search

README.md
[![agentmods](https://agentmods.dev/badge/skills/aden-hive/hive/terminal-tools-fs-search/github.svg)](https://agentmods.dev/skills/aden-hive/hive/terminal-tools-fs-search)
Your own site
<a href="https://agentmods.dev/skills/aden-hive/hive/terminal-tools-fs-search"><img src="https://agentmods.dev/badge/skills/aden-hive/hive/terminal-tools-fs-search/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for hive.terminal-tools-fs-search

Your own site · 80×15
<a href="https://agentmods.dev/skills/aden-hive/hive/terminal-tools-fs-search"><img src="https://agentmods.dev/badge/skills/aden-hive/hive/terminal-tools-fs-search.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 131 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,272 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00131 $0.01272
Opus 5 $0.00066 $0.00636
Sonnet 5 $0.00026 $0.00254
Haiku 4.5 $0.00013 $0.00127

Measured 11d ago against content hash cbeeefe18324, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

hive.terminal-tools-fs-search scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

core/framework/skills/_preset_skills/terminal-tools-fs-search/SKILL.md · 98 lines

How it starts

The opening of the file, as written. The whole thing — 98 lines — stays where its author put it; the contents beside it link to each section on GitHub.

terminal-tools provides two structured search tools: terminal_rg (ripgrep for content) and terminal_glob (find files by name/glob). Predicate queries (mtime/size/type) and everything else (tree, stat, du) are just terminal_exec.

When to use what

Task Tool
Find code/text matching a pattern (project tree or any path) terminal_rg (gitignore-aware; defaults to your session workdir)
Find files by name/glob (any path) terminal_glob
Find files by mtime/size/type predicate terminal_exec("find ...") (see references/find_predicates.md)
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"])

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-insensitive, with context
terminal_rg(pattern="error", path="/var/log", ignore_case=True, context=2)

# Search hidden files (rg ignores them by default)
terminal_rg(pattern="api_key", path="~", hidden=True)

# Don't respect .gitignore (find files git would ignore)
terminal_rg(pattern="generated", path=".", no_ignore=True)

# Multi-line pattern (e.g., function definitions spanning lines)
terminal_rg(pattern=r"def\s+\w+\(.*\n.*\n", path="src", extra_args=["--multiline"])

# Specific filename glob
terminal_rg(pattern="version", path=".", glob="*.toml")

rg flag idioms

Flag Effect
-tpy (type_filter="py") Only Python files
-uu Don't respect any ignores (incl. .git/)
--multiline (extra_args) Allow regex spanning lines
--max-count (max_count) Stop after N matches per file
--max-depth (max_depth) Limit recursion
-w (extra_args) Whole word match
-F (extra_args) Fixed string (no regex)

Read the full file on GitHub · 98 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 98 lines · 131 tokens per session scan A cbeeefe18324

Subscribe to this mod's changes

hive.terminal-tools-fs-search is a skill published in the GitHub repository aden-hive/hive (11,029 stars, last pushed 5d ago), licensed Apache-2.0. It adds 131 tokens to every session and 1,272 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

develop-web-game

Use when Codex is building or iterating on a web game (HTML/JS) and needs a reliable development + testing loop: implement small changes, run a Playwright-based test script with short input bursts and intentional pauses, inspect screenshots/text, and review console errors with rendergametotext.

netease-youdao/LobsterAI · 64 tokens

article-writer

Multi-style article creation skill. Supports 5 writing styles (deep analysis, practical guide, story-driven, opinion, news brief), including complete workflow: material collection → outline → content → formatting. Activated when users mention "write article", "write post", "create", or "draft".

netease-youdao/LobsterAI · 62 tokens

skin-creator

Create and apply a two-asset LobsterAI visual skin from the user's style description. Use only when the AI Skin Designer kit supplies the structured skinpack workflow marker; do not use for ordinary theme or image requests.

netease-youdao/LobsterAI · 48 tokens

content-planner

WeChat Official Account topic planning and content calendar management. Based on WeChat article search and trending analysis, generates differentiated topic recommendations and outputs structured content calendars. Activated when users mention "topic", "planning", "content calendar", "trending", or "what to write next…

netease-youdao/LobsterAI · 63 tokens

music-search

Search cloud drives for downloadable music resources (songs, albums, lossless audio). Use this skill when the user wants to download a specific song or album. Do NOT use for general music information, lyrics, or recommendations.

netease-youdao/LobsterAI · 47 tokens

skill-vetter

Security-first skill vetting for AI agents. Use before installing any skill from ClawdHub, GitHub, or other sources. Checks for red flags, permission scope, and suspicious patterns.

netease-youdao/LobsterAI · 42 tokens