bash

bash is a skill for Claude Code, Codex from G1Joshi/Agent-Skills. It costs 24 tokens per session (367 once invoked), scanned A, original, MIT.

A command-line language and shell used mainly on Linux and macOS. Shell scripts run system commands, connect their output, and manipulate files.

In plain words
What is it for?
Use it to automate system tasks, file operations, command-line workflows, and CI/CD pipelines.
Why use it?
It removes repetitive manual work from system administration, development tasks, and build pipelines. Exit codes and error-handling options help scripts detect failures.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/g1joshi/agent-skills/bash
Any agent
npx skills add G1Joshi/Agent-Skills --skill bash
Clone the repo
git clone --depth 1 https://github.com/G1Joshi/Agent-Skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for bash

README.md
[![agentmods](https://agentmods.dev/badge/skills/g1joshi/agent-skills/bash.svg)](https://agentmods.dev/skills/g1joshi/agent-skills/bash)
Your own site
<a href="https://agentmods.dev/skills/g1joshi/agent-skills/bash"><img src="https://agentmods.dev/badge/skills/g1joshi/agent-skills/bash.svg" alt="Measured on agentmods" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 367 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00024 $0.00367
Opus 5 $0.00012 $0.00183
Sonnet 5 $0.00005 $0.00073
Haiku 4.5 $0.00002 $0.00037

Measured yesterday against content hash 2ac9bf6f3b17, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

bash scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/languages/bash/SKILL.md · 75 lines

What it actually says

Bash

Bourne Again SHell, the standard shell for Linux and macOS.

When to Use

  • Automating system tasks
  • CI/CD pipelines
  • File manipulation
  • Glue code between CLIs

Quick Start

#!/bin/bash

NAME="World"
echo "Hello, $NAME!"

if [ -f "file.txt" ]; then
    echo "File exists"
else
    echo "File not found"
fi

Core Concepts

Variables

No data types. Everything is a string.

count=10
echo $count

Pipes and Redirection

  • |: Pipe output of one command to input of next.
  • >: Redirect output to file (overwrite).
  • >>: Redirect output to file (append).
cat file.txt | grep "error" > errors.log

Exit Codes

Commands return 0 for success and non-zero for failure. Check with $?.

Best Practices

Do:

  • Use set -e (e)xit on error
  • Use set -u (u)nset variable usage is error
  • Use set -o pipefail to catch errors in pipes
  • Quote variables "$VAR" to handle spaces

Don't:

  • Parse ls output (use globs *)
  • Use simple [ vs [[ (double brackets are safer)

References

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 75 lines · 24 tokens per session scan A 2ac9bf6f3b17

Subscribe to this mod's changes

bash is a skill published in the GitHub repository G1Joshi/Agent-Skills (12 stars, last pushed 6mo ago), licensed MIT. It adds 24 tokens to every session and 367 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

campus-git-team-workflow

Activate when a student or team needs to set up, repair, or reason about a Git collaboration workflow for a university group project (semester project, hackathon team, final year project, capstone). Trigger phrasings include "set up a git workflow for my group project", "how should our team branch our repo", "help me…

ieeecsopen/mcp-cs · 212 tokens

ci-cd-and-automation

Automates CI/CD pipeline setup. Use when setting up or modifying build and deployment pipelines. Use when you need to automate quality gates, configure test runners in CI, or establish deployment strategies.

addyosmani/agent-skills · 45 tokens

peon-ping-toggle

Toggle peon-ping sound notifications on/off. Use when user wants to mute, unmute, pause, or resume peon sounds during a Claude Code session. Also handles config changes like volume, pack rotation, categories — any peon-ping setting.

PeonPing/peon-ping · 58 tokens

peon-ping-log

Log exercise reps for the Peon Trainer. Use when user says they did pushups, squats, or wants to log reps. Examples - "/peon-ping-log 25 pushups", "/peon-ping-log 30 squats", "log 50 pushups".

PeonPing/peon-ping · 64 tokens

tdd-configure-ci

Configures CI/CD pipelines to mechanically enforce CONSTRAINTS.md quality bars and Floor-Guard anti-cheat rules. (Optional Utility).

GulajavaMinistudio/awesome-copilot-id · 33 tokens

project-memory-keeper

Analyzes the last session to log progress, extract lessons learned, and save them to the project memory instructions.

GulajavaMinistudio/awesome-copilot-id · 27 tokens