Logo van Hatch3r Cli Ripgrep

Hatch3r Cli Ripgrep

Organisatie
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`.

Overzicht

Uitgeverhatch3r
Repositoryhatch3r
Skillnaamhatch3r-cli-ripgrep
Sterren
26
Forks
7
Meegeleverde bestanden
Alleen instructies
LicentieMIT
Links
  • Instructies in Markdown

    Een SKILL.md-bestand dat het model laadt wanneer nodig, zodat het alleen tokens kost als een verzoek er daadwerkelijk bij past.

  • Werkt met elk LLM

    AI-skills zijn gewone Markdown, geen aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Compleet zonder extra bestanden

    Alles wat het model nodig heeft, staat in de instructies — geen extra bestanden om te synchroniseren.

  • Open source

    Gepubliceerd door hatch3r op GitHub. Lees de broninhoud voordat je de skill installeert.

Installatie

Installeer de AI-skill Hatch3r Cli Ripgrep in TypingMind om deze met elke LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map — het leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/hatch3r/hatch3r/tree/main/skills/hatch3r-cli-ripgrep
  4. Schakel de skill in elke chat in waarin je deze beschikbaar wilt hebben.
Plug-ins → Skills → Nieuwe skill → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

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
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Hatch3r Cli Ripgrep in een willekeurige chat in TypingMind in en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek erbij past, laadt het model zelf de volledige instructies — je hoeft de skill nooit handmatig aan te roepen en deze kost pas tokens wanneer je de skill daadwerkelijk gebruikt.

Het model laadt Hatch3r Cli Ripgrep automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Hatch3r Cli Ripgrep niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

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

Veelgestelde vragen

Wat doet de AI-skill 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`.

Waarom Hatch3r Cli Ripgrep gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Hatch3r Cli Ripgrep bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model, en je kunt midden in een chat van model wisselen zonder dat de skill niet meer werkt. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Hatch3r Cli Ripgrep in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/hatch3r/hatch3r/tree/main/skills/hatch3r-cli-ripgrep. TypingMind leest het bestand SKILL.md en installeert het als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Hatch3r Cli Ripgrep gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Hatch3r Cli Ripgrep gebruiken?

Zoveel als je wilt. Zolang een model skills ondersteunt, kun je Hatch3r Cli Ripgrep ermee gebruiken: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama en meer. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Hatch3r Cli Ripgrep gratis?

Ja. Deze skill is door hatch3r op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. Deze volgt het open Agent Skills-formaat: een bestand met de naam SKILL.md met een naam en beschrijving, plus eventuele scripts, sjablonen of referentiebestanden die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Toon alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇