
tools-plugin
General development utilities for file search, data processing, and diagrams in Claude Code.
- version
- 2.16.2
- GitHub stars
- 60
What it does
- Adds
fd,rg,jq, andyqskills for finding files, searching code, and querying JSON and YAML - Covers nushell structured data, imagemagick conversion, Mermaid and D2 diagrams, and justfile recipes
- Includes
zsh-gotchasto flag zsh expansions that silently rewrite commands, plusbinary-analysisfor unknown files - Designed for developers who want common CLI tools available as ready-made skills inside their coding sessions
General utilities - fd, rg, jq, shell, imagemagick
Add marketplace
/plugin marketplace add laurigates/claude-pluginsRun it inside Claude Code once, then install the plugin below.
Install
/plugin install tools-plugin@laurigates-claude-pluginsRun it inside Claude Code after adding the marketplace.
Files
Discovered from sourceApptainer
Run a container image as one batch command — a CUDA tool that reads files,
writes files and exits — on a Linux host, without a daemon and without root.
Apptainer pulls any OCI/Docker image, converts it to a single read-only .sif
file, and runs it as you, on the host network, with your home directory
mounted.
When to Use This Skill
| Use Apptainer when... | Use Docker/Podman/OrbStack instead when... |
|---|---|
| A GPU tool (COLMAP, OpenMVS, a trainer) must run from a pinned image on a Linux box | The container is a long-running service needing port mapping, compose or networks |
| There is no root, or the distro's podman predates CDI GPU support (< 4.1) | You need isolation from the host — Apptainer shares network, PIDs and $HOME by default |
| The job is "crunch this directory and exit" | The host is macOS — Apptainer is Linux-only; OrbStack/Docker run there |
Images stay OCI, so the same @sha256: image runs under Apptainer on the GPU
box, Docker on a laptop and Kubernetes in CI.
Install
Ubuntu / Pop!_OS, maintained path (apt updates it; needs sudo once):
sudo add-apt-repository -y ppa:apptainer/ppa && sudo apt update && sudo apt install -y apptainer
Use the apptainer-suid package instead only if you need the setuid variant.
On Ubuntu 24.04+, unprivileged user namespaces are restricted by AppArmor and
must be allowed on the host — see the Apptainer admin guide, User Namespace
Requirements.
No root at all: the official install-unprivileged.sh builds a relocatable
install from EPEL RPMs. It needs rpm2cpio, which Debian/Ubuntu lack — see
REFERENCE.md for the stand-in and the full command. Check user
namespaces first: unshare -Ur true && echo ok.
The Root-Disk Trap: Cache Under $HOME, Temp Under /tmp
A pull downloads the OCI layers into $APPTAINER_CACHEDIR (default
~/.apptainer/cache) and assembles the SIF under $APPTAINER_TMPDIR (default
/tmp). A 3.4 GB CUDA image therefore needs ~3.4 GB of layers plus the
3.2 GB SIF on the root disk unless both are redirected. Point them at the big
disk, persistently, before the first pull:
export APPTAINER_CACHEDIR=/big/disk/apptainer/cache APPTAINER_TMPDIR=/big/disk/apptainer/tmp
mkdir -p "$APPTAINER_CACHEDIR" "$APPTAINER_TMPDIR"
The cache directory must be per-user; do not share one between accounts.
Pull by Digest Into a Named File
A tag can move; a digest cannot. Resolve the digest once, then pull into a file
named for what it is. Docker Hub's digest already carries the sha256:
prefix, so it follows the @ as-is:
curl -fsSL "https://hub.docker.com/v2/repositories/colmap/colmap/tags?page_size=5&ordering=last_updated" | jq -r '.results[] | "\(.name) \(.digest)"'
apptainer pull /big/disk/images/colmap-20260929.8466.sif docker://colmap/colmap@<digest>
warn rootless{…} ignoring (usually) harmless EPERM on setxattr "security.capability" during an unprivileged pull is expected: file
capabilities cannot be set without root, and batch tools do not use them.
GPU: --nv
--nv binds the host NVIDIA driver libraries and device nodes into the
container. No nvidia-container-toolkit, no CDI spec. Verify before a long run:
apptainer exec --nv image.sif nvidia-smi -L
The image's CUDA runtime must be supported by the host driver. Read the tool's
own banner too — e.g. colmap help prints with CUDA for a GPU build.
Binds: Only Home, the Working Directory and /tmp Appear
By default Apptainer mounts $HOME, the current directory and /tmp (plus
/proc, /sys, /dev, /etc/hosts and /etc/localtime — the mount * and
bind path lines of apptainer.conf). Data on any other mount is absent inside the
container, and the tool reports a plain "No such file or directory" — it
looks like a wrong path, not a missing bind. Bind data disks explicitly:
apptainer exec --nv --bind /mnt/data image.sif colmap feature_extractor --image_path /mnt/data/images ...
Not a Sandbox
exec runs as your UID with your environment, your network and write access to
everything bound — including $HOME. That is what makes it convenient for batch
tools, and why it is no isolation boundary. For a cleaner run, add --cleanenv
(drop host environment) and --containall (no automatic home/tmp mounts, own
PID/IPC namespaces); then bind exactly what the job needs.
Scripting It
Wrap the call in a shell function, not a string variable:
colmap() { apptainer exec --nv --bind "$DATA" "$SIF" colmap "$@"; }
colmap feature_extractor --database_path "$W/db.db" --image_path "$IMG"
A string such as C="apptainer exec … colmap" followed by $C args fails in
zsh with exit 127, because zsh does not word-split unquoted parameters (see
tools-plugin:zsh-gotchas). This bites over ssh host '…' whenever the remote
login shell is zsh. Run multi-line remote scripts as
ssh host bash -s <<'EOF' … EOF.
For an overnight job, detach it from the SSH session and log to the data disk:
setsid nohup bash run.sh </dev/null >/big/disk/run.log 2>&1 &
Agentic Optimizations
| Context | Command |
|---|---|
| GPU visible inside the image | apptainer exec --nv image.sif nvidia-smi -L |
| Image size on disk | ls -lh /big/disk/images/*.sif |
| Tool options in the pinned version | apptainer exec image.sif <tool> <subcommand> -h | grep -E '<flag>' |
| Cache usage | du -sh "$APPTAINER_CACHEDIR" |
| Prune the layer cache | apptainer cache clean -f |
Related
tools-plugin:hf-downloads— the same root-disk trap for Hugging Face cachestools-plugin:zsh-gotchas— why a command string in a variable fails in zshconfigure-plugin:configure-container— building and publishing the OCI images Apptainer consumes
Readme
Tools Plugin
General development utilities for Claude Code - fd, rg, jq, yq, nushell, shell, imagemagick, mermaid, d2.
Overview
Collection of general-purpose development utilities for file finding, text search, data processing, and more.
Skills
General
| Skill | Description |
|---|---|
deps-install | Universal dependency installer - auto-detects package manager |
generate-image | Generate images using Nano Banana Pro (Gemini 3 Pro Image) |
File & Search
| Skill | Description |
|---|---|
fd-file-finding | Fast file finding using fd |
rg-code-search | Fast code search using ripgrep |
Data Processing
| Skill | Description |
|---|---|
nushell-data-processing | Structured data processing with native tables (JSON, YAML, CSV, TOML) |
jq-json-processing | JSON querying and transformation with jq |
yq-yaml-processing | YAML querying and transformation with yq |
System
| Skill | Description |
|---|---|
shell-expert | Shell scripting and bash patterns |
zsh-gotchas | Zsh expansions that rewrite a command — $VAR:word modifiers, leading =, no word splitting, path tied to PATH, a bare local that lists every parameter |
justfile-expert | Just command runner and recipe development |
cli-smoke-recipes | Advisory pattern for exposing transforming modules via CLI plus a bulk-smoke justfile recipe — decoders, codecs, parsers, formatters |
imagemagick-conversion | Image conversion and manipulation |
hf-downloads | Disk-safe Hugging Face model downloads — HF_HOME/xet cache redirection, gated-repo auth, staging pattern |
apptainer | Run OCI images as rootless batch jobs on a Linux GPU box — --nv passthrough, digest-pinned SIF files, cache off the root disk |
Diagrams
| Skill | Description |
|---|---|
mermaid-diagrams | Generate diagrams from text using Mermaid CLI (flowcharts, sequence, ERD, class) |
d2-diagrams | Modern text-to-diagram language with themes, layouts, and advanced styling |
Usage Examples
Find Files
fd -e ts # Find TypeScript files
fd -t f config # Find files with "config" in name
fd -e md -x head -5 # Preview markdown files
Search Code
rg "TODO|FIXME" # Find all TODOs
rg -t py "def.*async" # Find async functions in Python
rg -l "import React" # List files importing React
Process JSON
cat data.json | jq '.items[] | .name'
jq -r '.dependencies | keys[]' package.json
Process YAML
yq '.services' docker-compose.yml
yq -i '.version = "2.0"' config.yaml
Process Structured Data (Nushell)
# Visual table output
nu -c 'open package.json | get dependencies | transpose name version'
# Cross-file comparison
nu -c 'open .release-please-manifest.json | transpose plugin version | sort-by plugin'
# Multi-format conversion
nu -c 'open config.yaml | to json'
Run Project Tasks (Justfile)
just # Show available recipes
just test # Run tests
just lint # Run linters
just build # Build project
just dev # Development mode with watch
Generate Diagrams (Mermaid)
mmdc -i diagram.mmd -o diagram.svg # Convert to SVG
mmdc -i diagram.mmd -o diagram.png # Convert to PNG
mmdc -i diagram.mmd -o out.svg -t dark # Dark theme
Generate Diagrams (D2)
d2 diagram.d2 diagram.svg # Convert to SVG
d2 --watch --browser diagram.d2 # Live preview
d2 -t 101 diagram.d2 out.svg # Themed output
d2 --sketch diagram.d2 out.svg # Hand-drawn style
Universal Dependency Install
/deps:install # Auto-detects and uses npm/yarn/pnpm/uv/cargo
/deps:install axios --dev # Install as dev dependency
Disk-Safe Hugging Face Downloads
# Redirect hub + xet cache to the same disk as the destination (avoids ENOSPC on root)
HF_HOME=/big/disk/hf-cache hf download <repo> <file> --local-dir /big/disk/staging
# Fix gated-repo 401s under HF_HOME (token read from $HF_HOME/token, not ~/.cache)
export HF_TOKEN="$(cat ~/.cache/huggingface/token)"
Installation
/plugin install tools-plugin@laurigates-claude-plugins
License
MIT
Details
- Marketplace
- laurigates/claude-plugins
- Source
- tools-plugin
- Author
- Lauri Gates
- Category
- Utilities
- License
- MIT
- Keywords
- tools, utilities, fd, rg, jq, shell
- Listed since
- Apr 7, 2026
More from laurigates/claude-plugins
All 52- typescript-pluginv1.10.4
- video-pluginv2.0.2
- workflow-orchestration-pluginv1.20.0
- youtube-pluginv1.1.0
- accessibility-pluginv2.3.6
- agent-patterns-pluginv2.58.5
- agents-pluginv1.16.3
- api-pluginv2.0.1
- bevy-pluginv1.4.2
- bios-pluginv1.2.0
- blog-pluginv1.3.4
- blueprint-pluginv3.52.0
- cloud-pluginv1.1.1
- code-quality-pluginv1.30.4
- codebase-attributes-pluginv1.3.4
- comfyui-pluginv1.15.7
- communication-pluginv1.2.7
- component-patterns-pluginv1.5.4
- configure-pluginv1.43.12
- container-pluginv2.11.5
- css-pluginv1.2.4
- documentation-pluginv1.16.1
- evaluate-pluginv1.21.1
- feedback-pluginv1.16.3
Similar to tools-plugin
More Developer Tools
Desktop CommanderMCP serverwonderwhy-er10.4K starsTerminal commands, file operations, and process control for local machines, exposed as MCP tools.
utilsPluginopenshift-eng/ai-helpers123 starsA generic utilities plugin serving as a catch-all for various helper commands
rdr-pluginPluginASDFGHoney/RDR36 starsRDR plugin
automation-scriptsPluginmiles990/claude-software-skills26 starsBuild automation, task runners, and scripting tools
jq-json-processingSkilllaurigates/claude-plugins238 installsCommand-line JSON processor for querying, filtering, and reshaping data from files, APIs, and pipes.