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.
npx agentmods add skills/g1joshi/agent-skills/bashnpx skills add G1Joshi/Agent-Skills --skill bashgit clone --depth 1 https://github.com/G1Joshi/Agent-SkillsWrote 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.
[](https://agentmods.dev/skills/g1joshi/agent-skills/bash)<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>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.
| Model | Per session | Once 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 |
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.
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 pipefailto catch errors in pipes - Quote variables
"$VAR"to handle spaces
Don't:
- Parse
lsoutput (use globs*) - Use simple
[vs[[(double brackets are safer)
References
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.
- yesterday First seen · 75 lines · 24 tokens per session scan A 2ac9bf6f3b17
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.
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…
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.
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.
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".
tdd-configure-ci
Configures CI/CD pipelines to mechanically enforce CONSTRAINTS.md quality bars and Floor-Guard anti-cheat rules. (Optional Utility).
project-memory-keeper
Analyzes the last session to log progress, extract lessons learned, and save them to the project memory instructions.