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-terminalThis skill uses the workspace's default tool permissions.
Expert guidance for terminal command execution and shell workflows.
Creates isolated Git worktrees for feature branches with prioritized directory selection, gitignore safety checks, auto project setup for Node/Python/Rust/Go, and baseline verification.
Executes implementation plans in current session by dispatching fresh subagents per independent task, with two-stage reviews: spec compliance then code quality.
Dispatches parallel agents to independently tackle 2+ tasks like separate test failures or subsystems without shared state or dependencies.
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 |