Help us improve
Share bugs, ideas, or general feedback.
From host-terminal
Expertise in terminal command execution, shell scripting patterns, and command-line workflows. Use when executing commands via ~~terminal, debugging command failures, or building shell pipelines.
npx claudepluginhub ankitaa186/host-terminal-mcp --plugin host-terminalHow this skill is triggered — by the user, by Claude, or both
Slash command
/host-terminal:terminal-workflowsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Expert guidance for terminal command execution and shell workflows.
Provides Bash/Linux terminal patterns for command chaining, piping, error handling, file operations, process management, text processing, environment variables, networking, and scripting templates on macOS/Linux systems.
Provides reference patterns for Bash/Linux terminal commands including piping, file operations, process management, text processing, and scripting.
Provides shell scripting expertise for bash, zsh, POSIX; CLI tools like jq, yq, fd, rg for JSON/YAML processing, file search, automation, error handling, and cross-platform best practices. Useful for CLI commands, pipes, script development.
Share bugs, ideas, or general feedback.
Expert guidance for terminal command execution and shell workflows.
Always prefer:
--dry-run, -n when available-i for interactive confirmation# Sequential (stop on failure)
cmd1 && cmd2 && cmd3
# Sequential (continue on failure)
cmd1; cmd2; cmd3
# Conditional
cmd1 && cmd2 || cmd3 # cmd3 runs if cmd1 or cmd2 fails
# Pipeline
cmd1 | cmd2 | cmd3
# Capture stdout
result=$(command)
# Redirect stderr to stdout
command 2>&1
# Discard output
command > /dev/null 2>&1
# Tee to file and stdout
command | tee output.log
# Find by name
find . -name "*.py" -type f
# Find by content
grep -r "pattern" --include="*.js"
# Find recent files
find . -mtime -7 -type f
# Find large files
find . -size +100M -type f
# Extract column
awk '{print $2}' file
# Filter lines
grep "pattern" file
# Replace text
sed 's/old/new/g' file
# Count occurrences
grep -c "pattern" file
# Sort and unique
sort file | uniq -c | sort -rn
# Find process
ps aux | grep "name"
# Kill by name
pkill -f "pattern"
# Background job
command &
# Check port usage
lsof -i :8080
command -v git > /dev/null || echo "git not installed"
which python3 || which python
[ -f file.txt ] && cat file.txt || echo "File not found"
timeout 30 long_running_command
"$var" not $var$? after commandshead, tail, or | head -n 100If a command fails due to permissions in allowlist mode:
/permissions mode ask to enable prompting/permissions approve <cmd>| Operation | macOS | Linux |
|---|---|---|
| List open files | lsof | lsof |
| Process tree | pstree | pstree |
| Memory info | top -l 1 | free -h |
| Disk usage | df -h | df -h |
| Network config | ifconfig | ip addr |
| Clipboard | pbcopy/pbpaste | xclip |