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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00015 $0.00165
Sonnet 5 $0.00006 $0.00066
Haiku 4.5 $0.00003 $0.00033

Measured 6d ago against content hash e4aa5e8e1bc3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 6d 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. 6d 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 (5 stars, last pushed 12d ago), licensed MIT. It adds 31 tokens to every session and 330 once invoked, about $0.0002 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-31.

Related

Other skills, from other repositories

datamol

Pythonic wrapper around RDKit with simplified interface and sensible defaults. Preferred for standard drug discovery including SMILES parsing, standardization, descriptors, fingerprints, clustering, 3D conformers, parallel processing. Returns native rdkit.Chem.Mol objects. For advanced control or custom parameters…

synthetic-sciences/openscience · 67 tokens

clinicaltrials-database

Query ClinicalTrials.gov via API v2. Search trials by condition, drug, location, status, or phase. Retrieve trial details by NCT ID, export data, for clinical research and patient matching.

synthetic-sciences/openscience · 47 tokens

openalex-database

Query and analyze scholarly literature using the OpenAlex database. This skill should be used when searching for academic papers, analyzing research trends, finding works by authors or institutions, tracking citations, discovering open access publications, or conducting bibliometric analysis across 240M+ scholarly…

synthetic-sciences/openscience · 76 tokens

esm

Comprehensive toolkit for protein language models including ESM3 (generative multimodal protein design across sequence, structure, and function) and ESM C (efficient protein embeddings and representations). Use this skill when working with protein sequences, structures, or function prediction; designing novel…

synthetic-sciences/openscience · 86 tokens

pysam

Genomic file toolkit. Read/write SAM/BAM/CRAM alignments, VCF/BCF variants, FASTA/FASTQ sequences, extract regions, calculate coverage, for NGS data processing pipelines.

synthetic-sciences/openscience · 47 tokens

tinker-training-cost

Calculates training costs for Tinker fine-tuning jobs. Use when estimating costs for Tinker LLM training, counting tokens in datasets, or comparing Tinker model training prices. Tokenizes datasets using the correct model tokenizer and provides accurate cost estimates.

synthetic-sciences/openscience · 55 tokens