chatcli: Skill for Claude Code

.agent/skills/bash-linux/SKILL.md

bash-linux is a skill for Claude Code from diillson/chatcli. It costs 29 tokens per session (1,296 once invoked), scanned B, a copy of bash-linux, Apache-2.0.

A reference for using the Bash command shell on Linux and macOS. It explains command chaining, pipes, file searches, processes, ports, logs, and error handling.

In plain words
What is it for?
Use it to write shell commands and scripts, combine command output, inspect files and logs, manage processes, and find programs using a network port.
Why use it?
It reduces mistakes when running commands, finding files, diagnosing running programs, or handling command failures in a terminal.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: positional $N argument.

This is diillson/chatcli's own configuration. It tells Claude Code how to work on chatcli itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything chatcli configures →

Reuse

Borrowing it

Nothing to install: this file belongs to diillson/chatcli. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/diillson/chatcli/main/.agent/skills/bash-linux/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/diillson/chatcli

Made for: Claude Code.

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-linux

README.md
[![agentmods](https://agentmods.dev/badge/skills/diillson/chatcli/bash-linux/github.svg)](https://agentmods.dev/skills/diillson/chatcli/bash-linux)
Your own site
<a href="https://agentmods.dev/skills/diillson/chatcli/bash-linux"><img src="https://agentmods.dev/badge/skills/diillson/chatcli/bash-linux/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for bash-linux

Your own site · 80×15
<a href="https://agentmods.dev/skills/diillson/chatcli/bash-linux"><img src="https://agentmods.dev/badge/skills/diillson/chatcli/bash-linux.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,296 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 92% copy Near-identical to another mod 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.1 $0.00029 $0.01296
Opus 5.5 $0.00012 $0.00518
Sonnet 5.5 $0.00006 $0.00259
Haiku 4.5 $0.00003 $0.00130

Measured 1mo ago against content hash 17c0a0d75bf2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

bash-linux scanned grade B with 2 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 1mo ago.

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.

Sends data to an external URLmediumData exfiltration

A POST to an outside endpoint may be telemetry or may be exfiltration; either way the mod talks to somewhere, and you should know where.

| POST JSON | `curl -X POST -H "Content-Type: application/json" -d '{"key":"value"}' URL` |

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

| Download | `curl -O https://example.com/file` |
Origin

This is a copy

92% identical to bash-linux — 2 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.agent/skills/bash-linux/SKILL.md · 200 lines

How it starts

The opening of the file, as written. The whole thing — 200 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Bash Linux Patterns

Essential patterns for Bash on Linux/macOS.


1. Operator Syntax

Chaining Commands

Operator Meaning Example
; Run sequentially cmd1; cmd2
&& Run if previous succeeded npm install && npm run dev
|| Run if previous failed npm test || echo "Tests failed"
| Pipe output ls | grep ".js"

2. File Operations

Essential Commands

Task Command
List all ls -la
Find files find . -name "*.js" -type f
File content cat file.txt
First N lines head -n 20 file.txt
Last N lines tail -n 20 file.txt
Follow log tail -f log.txt
Search in files grep -r "pattern" --include="*.js"
File size du -sh *
Disk usage df -h

3. Process Management

Task Command
List processes ps aux
Find by name ps aux | grep node
Kill by PID kill -9 <PID>
Find port user lsof -i :3000
Kill port kill -9 $(lsof -t -i :3000)
Background npm run dev &
Jobs jobs -l
Bring to front fg %1

4. Text Processing

Core Tools

Tool Purpose Example
grep Search grep -rn "TODO" src/
sed Replace sed -i 's/old/new/g' file.txt
awk Extract columns awk '{print $1}' file.txt
cut Cut fields cut -d',' -f1 data.csv
sort Sort lines sort -u file.txt
uniq Unique lines sort file.txt | uniq -c
wc Count wc -l file.txt

5. Environment Variables

Task Command
View all env or printenv
View one echo $PATH
Set temporary export VAR="value"
Set in script VAR="value" command
Add to PATH export PATH="$PATH:/new/path"

6. Network

Task Command
Download curl -O https://example.com/file
API request curl -X GET https://api.example.com
POST JSON curl -X POST -H "Content-Type: application/json" -d '{"key":"value"}' URL
Check port nc -zv localhost 3000
Network info ifconfig or ip addr

Read the full file on GitHub · 200 lines

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. 1mo ago First seen · 200 lines · 29 tokens per session scan B 17c0a0d75bf2

Subscribe to this mod's changes

bash-linux is a skill published in the GitHub repository diillson/chatcli (93 stars, last pushed today), licensed Apache-2.0. It adds 29 tokens to every session and 1,296 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 2 findings (sends data to an external url, makes network calls). It is 92% identical to bash-linux, differing in 2 lines, and is treated as a copy.

Related

Other skills, from other repositories

agent-state-bar

A design guide for an agent status bar: a short, automatically updated summary of progress, remaining tasks, tool counts, errors, and system state placed near the latest model input.

bojieli/ai-agent-book · 105 tokens

context-engineering

A guide to organizing the instructions and information an AI agent receives at each step. It covers system prompts, tool descriptions, conversation history, on-demand skills, and protections against unsafe outside content.

bojieli/ai-agent-book · 96 tokens

kv-cache-design

A guide to arranging an AI agent's conversation so previously processed text can be reused. A KV cache stores intermediate results for earlier tokens, while a prompt cache reuses a stable beginning across requests.

bojieli/ai-agent-book · 91 tokens

loop-engineering

A guide to building reliable loops for AI agents that plan, act, check their work, and continue until a task is truly complete. It includes independent verification and a proposer-reviewer pattern in which one agent's work is checked using outside evidence.

bojieli/ai-agent-book · 139 tokens

reward-design

A guide to defining the scores that an AI agent receives during trial-and-error training. It covers checks based on rules, human preferences, or another model, and distinguishes rewarding the final result from rewarding the steps taken.

bojieli/ai-agent-book · 131 tokens

pptx

A guide for turning a paper, outline, or structured text into a PowerPoint presentation. It covers an 8–12-slide structure, concise slide points, and generation of a .pptx file.

bojieli/ai-agent-book · 84 tokens