Skip to content
Back to skills

Cli

ASecurity

Route terminal work to the narrowest CLI instead of generic shell patterns. Use this skill when the user asks to search with `rg` or `fd`, rewrite text with `sd`, `comby`, or `ast-grep`, inspect output with `head` or `less`, fetch files with `wget`, transform JSON or YAML with `jq` or `yq`, pick items with `fzf`, compare code with `difftastic`, lint shell with `shellcheck`, or measure a repo with `scc`.

  • 225 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 4, 2026
toolsshellapi

Works with

  • terminal
  • cli
  • api

Security analysis

A100/100

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

Scanned September 4, 2026

npx -y skills add NeverSight/skills_feed --skill cli --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cli?

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

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

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
description: Route terminal work to the narrowest CLI instead of generic shell patterns. Use this skill when the user asks to search with `rg` or `fd`, rewrite text with `sd`, `comby`, or `ast-grep`, inspect output with `head` or `less`, fetch files with `wget`, transform JSON or YAML with `jq` or `yq`, pick items with `fzf`, compare code with `difftastic`, lint shell with `shellcheck`, or measure a repo with `scc`.
version: 1.0.0
source: local
license: MIT
---

# CLI Router

Route the task to the narrowest tool that matches the job. Keep this file small; read `references/` only for the tool you need.

## Choose The Tool

| Tool | Use it for | Avoid when | Reference |
|---|---|---|---|
| `fd` | Fast file and path discovery | You need content matches inside files | `references/fd.md` |
| `rg` | Fast text search across files | You need structural or syntax-aware matching | `references/ripgrep.md` |
| `sd` | Simple literal or regex replacement | The change depends on code structure or multiline context beyond regex comfort | `references/sd.md` |
| `comby` | Lightweight structural rewrites across languages | You need full syntax parsing guarantees | `references/comby.md` |
| `ast-grep` | AST-aware code search, lint, and rewrite | You need type-aware or semantic analysis | `references/ast-grep.md` |
| `jq` | Query and transform JSON | The source is YAML-first | `references/jq.md` |
| `yq` | Query and edit YAML, convert structured formats | You need exact comment preservation or full `jq` parity assumptions | `references/yq.md` |
| `wget` | Non-interactive download, retry, resume, mirror | You need browser automation or interactive login flows | `references/wget.md` |
| `head` | Quick non-interactive sampling | You need interactive search, paging, or follow mode | `references/head.md` |
| `less` | Interactive paging, search, and follow | The flow must stay unattended | `references/less.md` |
| `fzf` | Interactive fuzzy selection for humans | The agent must run headless or deterministically | `references/fzf.md` |
| `difftastic` | Syntax-aware diffs for human review | You need an applicable patch or machine-stable diff format | `references/difftastic.md` |
| `shellcheck` | Shell linting and safety checks | You need formatting rather than diagnostics | `references/shellcheck.md` |
| `scc` | Repo language inventory, LOC, and rough complexity | You need semantic code review or profiling | `references/scc.md` |

## Escalate Deliberately

- Use `fd` for paths, then `rg` for text.
- Use `sd` for simple replacements, `comby` when regex gets brittle, and `ast-grep` when syntax precision matters.
- Use `jq` for JSON and `yq` for YAML-first edits or format conversion.
- Use `head` for quick samples; switch to `less` only when a human needs to page or search.
- Treat `fzf`, `less`, and `difftastic` as human-oriented tools unless the task explicitly benefits from interactive review.

## Load More Detail Only When Needed

- Read `references/api-surface.md` for command/flag selection across the toolset.
- Read `references/common-use-cases.md` for ready-made task patterns.
- Read `references/troubleshooting-workarounds.md` for common failure modes.
- Read the tool-specific reference for examples, sharp edges, and escalation boundaries.

Files in this skill

  • SKILL.md3.2 KB
  • description_ar.txt762 B
  • description_cn.txt488 B
  • description_de.txt540 B
  • description_en.txt407 B
  • description_es.txt465 B
  • description_fr.txt536 B
  • description_it.txt468 B
  • description_ja.txt666 B
  • description_ko.txt470 B
  • description_ru.txt886 B
  • description_tw.txt491 B
  • stats.json68 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.

View all in tools →

Comments

Loading comments…

Newsletter

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