Skip to content
Back to skills

Cli Tools

ASecurity

Picks the fast tool for a shell task: rg to find each file that mentions a word, fd to list files, jq or yq for a JSON or YAML field, curl for an HTTP endpoint.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 5, 2026
developmentpythonshellgitapi

Works with

  • terminal
  • cli
  • api

Security analysis

A100/100

Pro scans all 20 files and shows the line behind each finding

Scanned November 5, 2026

npx -y skills add niksavis/handily --skill cli-tools --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cli Tools?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cli Tools
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/niksavis-cli-tools/badge)](https://www.skillsdirectory.com/skills/niksavis-cli-tools)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cli-tools
description: 'Picks the fast tool for a shell task: rg to find each file that mentions a word, fd to list files, jq or yq for a JSON or YAML field, curl for an HTTP endpoint.'
---
<!-- Generated by `basicly skills-build` from skill.yaml. Do not edit; edit the source. -->

# Command-line tools

Pick the tool for the task, then read its reference for the flags, the rules and the output. When a tool is missing, say so and use the fallback in the last column.

| Task | Tool | Reference | Fallback |
| --- | --- | --- | --- |
| Search text in files | `rg` | [ripgrep](references/ripgrep.md) | `grep -rn` |
| Find files by name or type | `fd` | [fd](references/fd.md) | `find` |
| Read a file with line numbers | `bat` | [bat](references/bat.md) | `cat -n` |
| Read or reshape JSON | `jq` | [jq](references/jq.md) | a script |
| Read or reshape YAML or TOML | `yq` | [yq](references/yq.md) | a script |
| Replace text in files | `sd` | [sd](references/sd.md) | `sed` |
| Search or rewrite code structure | `ast-grep` | [ast-grep](references/ast-grep.md) | `rg` |
| Call an HTTP API | `xh`, `curl` | [xh](references/xh.md), [curl](references/curl.md) | `curl` |
| Download a file | `wget` | [wget](references/wget.md) | `curl -O` |
| Read a diff | `delta` | [git-delta](references/git-delta.md) | `git diff` |
| Run a project recipe | `just` | [just](references/just.md) | the README command |
| Run with the project variables | `direnv exec .` | [direnv](references/direnv.md) | set them by hand |
| Large binary files in git | `git lfs` | [git-lfs](references/git-lfs.md) | none |
| Check a shell script | `shellcheck` | [shellcheck](references/shellcheck.md) | none |
| Find spelling mistakes | `typos` | [typos](references/typos.md) | none |
| Show a directory tree | `tree` | [tree](references/tree.md) | `fd` |
| Git commands | `git` | [git](references/git.md) | none |
| Review and stage by hand | `lazygit` | [lazygit](references/lazygit.md) | `git` |
| Pick a line from a list | `fzf` | [fzf](references/fzf.md) | `rg` |
| Python projects and scripts | `uv` | [uv](references/uv.md) | `pip` |
| Wait for a command or CI | Host wait tools | [bounded waiting](references/waiting.md) | One CLI watcher and the same execution handle |
| Sessions and panes | `tmux` | [tmux](references/tmux.md) | none |
| Shell startup and config errors | `zsh` | [zsh](references/zsh.md) | none |
| Shell prompt segments | `starship` | [starship](references/starship.md) | none |
| Terminal tabs, panes and keys | `wezterm` | [wezterm](references/wezterm.md) | none |

To give every repo on this machine this skill and its references, run `basicly skills-user cli-tools` once.

## Rules

- **Never start an interactive tool.** `fzf`, `lazygit` and `tmux` wait for a person; their references say which forms are safe.
- **Prefer the tool over a custom script.** It is faster, and a person can read the command.
- **Read the output before you act on it.** An empty result is not proof of absence; run a search that must match first.

Files in this skill

  • SKILL.md3 KB
  • references/ast-grep.md1.4 KB
  • references/bat.md710 B
  • references/curl.md1.1 KB
  • references/direnv.md1.2 KB
  • references/fd.md804 B
  • references/fzf.md856 B
  • references/git-delta.md774 B
  • references/git-lfs.md1.3 KB
  • references/git.md1.6 KB
  • references/jq.md925 B
  • references/just.md1.2 KB
  • references/lazygit.md1 KB
  • references/ripgrep.md895 B
  • references/sd.md813 B
  • references/shellcheck.md795 B
  • references/starship.md890 B
  • references/tmux.md989 B
  • references/tree.md727 B
  • references/typos.md733 B

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.