modern-cli-overrides
Skill3 starsChanged 3 months agoMITView on GitHub
Use this skill to upgrade and enforce the use of modern Rust/Go CLI equivalents over traditional POSIX coreutils. Trigger this whenever you are about to use grep, find, awk, or curl in a shell command. You MUST read this skill to learn the syntax for rg (ripgrep), fd, sg (ast-grep), jq, yq, and httpie, which are significantly faster, safer, and better suited for codebases. Must always apply!
- Sends data out
In this repository86 other files it gives its agents.
- AGENTS.mdAGENTS.md
- adrSkill
- adzic-bddSkill
- agent-md-refactorSkill
- agent-muxSkill
- agent-role-impersonatorSkill
- agilquest-reservationsSkill
- ai-text-humanizerSkill
- architecture-decision-recordsSkill
- ast-grepSkill
- atacSkill
- aws-cliSkill
- bart-adversarial-reviewerSkill
- bddSkill
- branch-doctorSkill
- c4-architectureSkill
- c4Skill
- claude-sub-agentSkill
- codemap-config-setupSkill
- codemap-exploreSkill
- codemap-handoffSkill
- codemap-hub-safetySkill
- codemapSkill
- commitSkill
- copilot-sub-agentSkill
- daily-standupSkill
- daily-statusSkill
- debugSkill
- design-thinkingSkill
- doctorSkill
- docx-word-processorSkill
- farley-tddSkill
- forensicsSkill
- gemini-sub-agentSkill
- git-commit-formatterSkill
- git-forensicsSkill
- github-actions-permissionsSkill
- github-cliSkill
- git-repo-discoverySkill
- git-safety-guardrailsSkill
- harness-idpSkill
- humanizeSkill
- iteration-plannerSkill
- jira-issue-managerSkill
- justfile-assistantSkill
- kiro-sub-agentSkill
- lessons-learnedSkill
- lessonsSkill
- lisa-planning-agentSkill
- lovejoy-release-agentSkill
- lsp-code-analysisSkill
- macro-to-microSkill
- marge-product-agentSkill
- meeting-notesSkill
- mermaid-diagram-generatorSkill
- native-web-searchSkill
- obsidian-notetakerSkill
- outlook-headlessSkill
- pdf-document-processorSkill
- pi-sub-agentSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
3 rules. About 0 are common, 3 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
When generating shell commands or writing scripts, apply the following tool substitutions:
- Distinctive: line 36
Never attempt to parse or extract values from JSON files using text-processing tools.
- Distinctive: line 41
Never attempt to parse or extract values from YAML files using text-processing tools.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Modern CLI Overrides
As an AI agent, you were likely trained heavily on traditional POSIX tools (grep, find, sed, awk, ls). However, modern development environments use faster, safer, and more intelligent alternatives.
ABSOLUTE RULE: Do not use the traditional tools if a modern equivalent exists in this environment.
The Overrides
When generating shell commands or writing scripts, apply the following tool substitutions:
1. Use rg (ripgrep) instead of grep
rgis drastically faster and respects.gitignoreby default.- DO NOT USE:
grep -r "pattern" . - USE:
rg "pattern"
2. Use fd instead of find
fdhas a simpler syntax and respects.gitignore.- DO NOT USE:
find . -name "*.py" - USE:
fd -e py
3. Use sg (ast-grep) for codebase-wide refactoring
- Standard regex replacements (
sed) are dangerous for code refactoring. - For codebase-wide structural refactoring, use
sg(ast-grep). See theast-grepskill.
4. Use jq instead of grep/awk for JSON
- Never attempt to parse or extract values from JSON files using text-processing tools.
- DO NOT USE:
grep '"key":' file.json | awk '{print $2}' - USE:
jq '.key' file.json
5. Use yq instead of grep/awk for YAML
- Never attempt to parse or extract values from YAML files using text-processing tools.
- DO NOT USE:
grep 'key:' file.yaml - USE:
yq '.key' file.yaml
6. Use httpie (http) instead of curl
curlsyntax for JSON payloads is tedious and error-prone.httpieprovides intuitive syntax, automatic JSON parsing, and avoids escaping hell.- DO NOT USE:
curl -X POST -H "Content-Type: application/json" -d '{"key":"value"}' api.com - USE:
http POST api.com key=value
Syntax Reference
For exact flag translations and advanced usage of these modern tools, refer to: references/tool-mappings.md
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

