Hatch3r Cli Ripgrep logo

Hatch3r Cli Ripgrep

Organization
hatch3r
hatch3r-cli-ripgrep

Fast recursive grep with sane defaults and gitignore awareness. Use when regex content searches across large source trees with gitignore filtering; invoke `rg`. Outputs newline-separated hit records; bound results with `-c` or `--max-count`.

Overview

Publisherhatch3r
Repositoryhatch3r
Skill namehatch3r-cli-ripgrep
Stars
26
Forks
7
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by hatch3r on GitHub. Read the source before you install it.

Installation

Install the Hatch3r Cli Ripgrep AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/hatch3r/hatch3r/tree/main/skills/hatch3r-cli-ripgrep
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/hatch3r/hatch3r.git /tmp/hatch3r
mkdir -p .claude/skills
cp -r /tmp/hatch3r/skills/hatch3r-cli-ripgrep .claude/skills/hatch3r-cli-ripgrep
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Hatch3r Cli Ripgrep in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Hatch3r Cli Ripgrep on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Hatch3r Cli Ripgrep is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

ripgrep

Fast recursive grep with sane defaults and gitignore awareness

§0 — Ambiguity & Safety Gate (P8 B1)

Before invoking rg, resolve these via agents/shared/user-question-protocol.md (default behavior, not exception-driven):

  • Scope: when the search root is ambiguous or the request implies piercing ignore rules (--no-ignore, --hidden) over a large tree, confirm the intended path before running — an unscoped scan over a monorepo can return tens of thousands of hits.
  • Irreversibility: rg is read-only — it never mutates files, so no destructive confirmation is needed. The only risk is unbounded output flooding context; cap with --max-count / -l / -c when match density is unknown.
  • Ambiguity: when the request maps to two or more pattern interpretations (literal -F vs regex, case-sensitive vs -i), ask which one.

Fan-out Discipline (P8 B2)

Tier 1 reference card — no fan-out. This skill is a single-tool usage reference an agent consults inline; it spawns no sub-agents. Fan-out is owned by the calling workflow per its own Fan-out Discipline block. Source: rules/hatch3r-fan-out-discipline.md (P8 B2).

When to Use

Reach for rg when the task is in the search category and the agent would otherwise call an MCP tool or read large outputs into context.

Token Cost

CLI tools return structured stdout that fits in <1KB for typical queries; equivalent MCP calls regularly exceed 10KB. Reference: Anthropic engineering (Nov 4 2025) — code-execution-over-MCP yields 98.7% token reduction.

Recipes

bash
rg --json -tts 'createServer\(' src/

Structured JSON output scoped to TypeScript — parse hits with jq instead of re-reading files.

bash
rg -c 'TODO' --type ts

Per-file match counts for .ts files; cheap stand-in for issue-debt triage.

bash
rg -B 2 -A 4 'BREAKING' --max-count 50 CHANGELOG.md

Context windows around BREAKING entries, capped at 50 hits to bound output size.

bash
rg --hidden --no-ignore 'API_KEY' .

Pierces both dotfiles and .gitignore rules — use when scanning for accidentally-committed secrets.

bash
rg --files-with-matches 'deprecated' src/ | xargs -I{} rg -n 'deprecated' {}

Two-phase: file list first, then ranged scan — keeps stdout small when match density is uneven.

Wrong Choice When

  • Don't use rg to match by code structure (function calls, type signatures, JSX shape); literal regex misses renames and whitespace variants. Reach for ast-grep (see the ast-grep section in hatch3r-cli-toolbox).
  • Don't run rg against binary blobs (.zst, .png, lockfile snapshots); it skips them silently by default but explicit -a mode wastes CPU. Reach for category-specific tools (zstd -d then rg, or xxd | rg for hex).
  • Don't use rg to search a specific git revision or stash — it only sees the working tree. Reach for git grep <rev>.

Alternatives

ToolWhen to prefer
ast-grep (toolbox section)Structural code patterns: matchers like console.log($MSG) that survive whitespace and identifier renames.
git grepSearch at a specific revision, tag, or stash — rg only reads the working tree.
fd (hatch3r-cli-fd) piped into rgFilename pre-filter when scoping by extension/age is faster than rg --type.
grep -RInPOSIX-only environment where ripgrep is not on PATH and install is blocked.

Detection / Install

Verify with:

bash
command -v rg

Install (macOS):

bash
# brew
brew install ripgrep

Install (Linux):

bash
# apt
sudo apt install ripgrep

Install (Windows):

bash
# scoop
scoop install ripgrep

Homepage: https://github.com/BurntSushi/ripgrep

Frequently asked questions

What does the Hatch3r Cli Ripgrep AI skill do?

Fast recursive grep with sane defaults and gitignore awareness. Use when regex content searches across large source trees with gitignore filtering; invoke `rg`. Outputs newline-separated hit records; bound results with `-c` or `--max-count`.

Why use Hatch3r Cli Ripgrep on TypingMind?

Because you install it once and use it with any model. Hatch3r Cli Ripgrep is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Hatch3r Cli Ripgrep in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/hatch3r/hatch3r/tree/main/skills/hatch3r-cli-ripgrep. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Hatch3r Cli Ripgrep?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Hatch3r Cli Ripgrep?

As many as you like. As long as a model supports skills, you can use Hatch3r Cli Ripgrep with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Hatch3r Cli Ripgrep AI skill free?

Yes. It is published on GitHub by hatch3r under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇