repoforge: Skill for Claude Code

.claude/skills/main/ripgrep/SKILL.md

check-ripgrep-availability is a skill for Claude Code from JNZader/repoforge. It costs 31 tokens per session (330 once invoked), scanned A, original, MIT.

A guide for checking whether ripgrep is installed and available. Ripgrep is a fast command-line tool for searching text across files.

In plain words
What is it for?
Use it to check ripgrep availability, retrieve its version, and diagnose file-search setup problems.
Why use it?
It prevents code from assuming a search tool exists when it may be missing from the development or CI environment.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is JNZader/repoforge's own configuration. It tells Claude Code how to work on repoforge itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything repoforge configures →

Reuse

Borrowing it

Nothing to install: this file belongs to JNZader/repoforge. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/JNZader/repoforge/main/.claude/skills/main/ripgrep/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/JNZader/repoforge

Made for: Claude Code.

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 check-ripgrep-availability

README.md
[![agentmods](https://agentmods.dev/badge/skills/jnzader/repoforge/ripgrep/github.svg)](https://agentmods.dev/skills/jnzader/repoforge/ripgrep)
Your own site
<a href="https://agentmods.dev/skills/jnzader/repoforge/ripgrep"><img src="https://agentmods.dev/badge/skills/jnzader/repoforge/ripgrep/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 check-ripgrep-availability

Your own site · 80×15
<a href="https://agentmods.dev/skills/jnzader/repoforge/ripgrep"><img src="https://agentmods.dev/badge/skills/jnzader/repoforge/ripgrep.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 330 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.
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.00031 $0.00330
Opus 5.5 $0.00012 $0.00132
Sonnet 5.5 $0.00006 $0.00066
Haiku 4.5 $0.00003 $0.00033

Measured 3mo ago against content hash e4aa5e8e1bc3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

check-ripgrep-availability 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 3mo 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.

.claude/skills/main/ripgrep/SKILL.md · 67 lines

What it actually says

Critical Patterns

Check Availability

Use rg_available to determine if ripgrep is installed.

from repoforge.ripgrep import rg_available

if rg_available():
    print("Ripgrep is available.")
else:
    print("Ripgrep is not available.")

Get Version

Retrieve the version of the installed ripgrep using rg_version.

from repoforge.ripgrep import rg_version

print(f"Ripgrep version: {rg_version()}")

When to Use

  • When setting up a development environment that requires ripgrep.
  • During CI/CD pipeline checks to ensure ripgrep is available.
  • To debug issues related to file searching capabilities.

Commands

python -m repoforge.cli

Anti-Patterns

Don't: Assume Ripgrep is Installed

Assuming ripgrep is installed without checking can lead to runtime errors.

# BAD
from repoforge.ripgrep import rg_version

print(f"Ripgrep version: {rg_version()}")

Quick Reference

Task Pattern
Check if ripgrep is available rg_available()
Get ripgrep version rg_version()
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. 3mo ago First seen · 67 lines · 31 tokens per session scan A e4aa5e8e1bc3

Subscribe to this mod's changes

check-ripgrep-availability is a skill published in the GitHub repository JNZader/repoforge (4 stars, last pushed 2mo ago), licensed MIT. It adds 31 tokens to every session and 330 once invoked, about $0.0001 per session on Opus 5.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-31.

Related

check-ripgrep-availability compared with skills from other repositories

check-ripgrep-availability next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
check-ripgrep-availabilityJNZader/repoforgeSkill42mo agoMITA31Claude Code
datamolsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A67Claude Code, Codex
clinicaltrials-databasesynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A47Claude Code, Codex
esmsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A86Claude Code, Codex
openalex-databasesynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A76Claude Code, Codex
glycoengineeringsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A75Claude Code, Codex
pysamsynthetic-sciences/openscienceSkill4.5kyesterdayApache-2.0A47Claude Code, Codex