Complete Linux administration skill covering process management, filesystem, permissions, package management, users, bash scripting, and system monitoring.
Executes Linux system administration commands for process management, file permissions, package operations, and user administration. Use when configuring servers, troubleshooting system issues, or managing infrastructure across Ubuntu and RHEL-based distributions.
/plugin marketplace add pluginagentmarketplace/custom-plugin-devops/plugin install devops-automation-plugin@pluginagentmarketplace-devopsThis skill inherits all available tools. When active, it can use any tool Claude has access to.
assets/bashrc-template.shassets/linux_config.yamlreferences/COMMANDS.mdreferences/LINUX_GUIDE.mdscripts/linux_checker.pyscripts/system-health-check.shMaster Linux system administration - the foundation of DevOps.
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| distro | string | No | ubuntu | Target distribution |
| operation | string | Yes | - | Operation category |
# Process Management
ps aux | grep [p]rocess # Find process (avoid grep itself)
kill -15 PID # Graceful termination
kill -9 PID # Force kill (last resort)
pkill -f pattern # Kill by pattern
nohup command & # Background immune to hangup
# File Permissions
chmod 755 file # rwxr-xr-x
chmod u+x,g+r file # Symbolic notation
chown -R user:group dir/ # Recursive ownership
setfacl -m u:user:rw file # Set ACL
# Package Management (Debian/Ubuntu)
apt update && apt upgrade -y
apt install -y package
apt autoremove
# Package Management (RHEL/CentOS)
dnf update -y
dnf install package
# User Management
useradd -m -s /bin/bash user
usermod -aG sudo user
passwd user
# System Info
uname -a # Kernel info
cat /etc/os-release # OS version
free -h # Memory usage
df -h # Disk usage
| Symptom | Root Cause | Solution |
|---|---|---|
| Permission denied | Insufficient privileges | Use sudo or check ownership |
| Command not found | Package not installed | Install with apt/dnf |
| No space left | Disk full | Clean /var/log, docker prune |
| High load | CPU/IO bottleneck | Use top, iotop |
id, ls -ladf -h, du -sh /*free -hjournalctl -xedu -sh /* | sort -rh | headapt cleanjournalctl --vacuum-size=100MThis skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.