bash-linux
Skill by sickn33
Bash Linux Patterns gives an AI assistant a reference of Bash and Linux terminal patterns. It covers command chaining, piping, file, process, text and network commands, plus scripting and error handling. It is meant for work on macOS or Linux systems.
Install bash-linux
Built from the published package, never by AI.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/plugins/agentic-awesome-skills/skills/bash-linux ~/.claude/skills/bash-linuxRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/agentic-awesome-skills/plugins/agentic-awesome-skills/skills/bash-linux ~/.gemini/antigravity-cli/skills/bash-linuxAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
Bash Linux Patterns is an agent skill that gives an AI assistant a reference of common Bash and Linux terminal patterns. It covers command chaining with operators such as && and ||, piping, file operations, process management, text processing with grep, sed and awk, environment variables, and network commands such as curl and nc. It also includes a script template that uses set -euo pipefail, a cleanup trap, and common scripting patterns.
The skill is aimed at people working on macOS or Linux systems who want consistent shell practices. It includes a comparison table of PowerShell and Bash equivalents and notes on error handling. The source warns that set -e has conditional and pipeline exceptions, so consequential operations should be checked explicitly. The skill's metadata lists its risk level as critical.
Written from the project's SKILL.md and checked against it.
What it can do
- Command chainingExplains sequential, conditional and piped command operators such as ; && || and |.
- File operationsLists common commands for listing, finding, reading, searching and sizing files.
- Process managementShows how to list processes, find port owners with lsof, and manage background jobs.
- Text processingCovers grep, sed, awk, cut, sort, uniq and wc for working with text.
- Environment variablesShows how to view, set and extend variables such as PATH.
- Network commandsCovers curl requests, port checks with nc, and network interface info.
- Script templateProvides a Bash script skeleton with strict mode, logging helpers and a main function.
- Error handlingDescribes set options and a trap for cleaning up temporary files on exit.
What you need
- macOS or Linux system
- Bash shell
Try asking
- Show me a Bash script template with safe error handling
- Which command should I use to find what is listening on port 3000?
- Write a Bash loop that processes every .js file in this folder
Good to know
- The source warns that set -e has conditional and pipeline exceptions.
- sed in-place flags differ between macOS and GNU systems.
- set -x should only be used with non-secret inputs.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: plugins/agentic-awesome-skills/skills/bash-linux/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md5 KB
Alternatives to bash-linux
All alternatives →Creates importable JSON templates for the Obsidian Web Clipper. It is for users who want to clip a site, understand the available variables, or format clipped content.
Harness Creator builds, audits, and improves the instruction and state files that help AI coding agents stay reliable across sessions. It is for developers whose agents forget context, drift out of scope, or claim work is done too early.
Guides an assistant through extracting text from scanned PDFs, photographed pages, and images with OCR. Covers backends, language packs, force-OCR, and performance tuning.
Edits a named local file in place to remove AI-writing patterns, using minimal targeted changes and post-edit verification. Built for users who explicitly ask to clean, rewrite, or humanize that specific file.
Polishes, translates, or tightens existing academic manuscript prose while preserving facts, terminology, and evidence boundaries. Made for researchers revising drafts, including Chinese-to-English translation and LaTeX layout fixes.
Adds PDF form analysis and filling, table extraction, OCR, validation and batch processing to an AI assistant. Aimed at developers who run complex or high-volume PDF workflows.
Compare with obsidian-clipper-template-creator, harness-creator or xberg-extracting-with-ocr
bash-linux: common questions
What operating systems does this Bash skill cover?
The skill is written for working on macOS or Linux systems. It notes that some sed in-place flags differ between macOS and GNU.
Does the skill explain how to stop a process safely?
It suggests sending a TERM signal to a process you own and verifying the exit, escalating only if needed. It also advises verifying ownership of a port listener before stopping it.
Does set -e fully protect a script from errors?
No. The source says set -e has conditional and pipeline exceptions, so consequential operations should be checked explicitly.
How do I install bash-linux?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is bash-linux free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is bash-linux safe to use?
It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to bash-linux?
Similar skills: obsidian-clipper-template-creator, harness-creator, xberg-extracting-with-ocr, file-edit-in-place.
