Skip to content
Development
Command

/fedora-expert

Comprehensive Fedora Linux expertise with instant parallel analysis

From plugin
claude-cmd
313180 skills180 commands

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/fedora-expert

Context preview

What this command does when you run it.

Comprehensive Fedora Linux expertise with instant parallel analysis

Command definition

fedora-expert.md
allowed-tools: Task, Read, Write, Bash(*), Grep, Edit
name: "Fedora Expert"
description: "Comprehensive Fedora Linux expertise with instant parallel analysis"
author: "wcygan"
tags: ["ops","fedora"]
version: "1.0.0"
created_at: "2025-07-14T00:00:00Z"
updated_at: "2025-07-14T00:00:00Z"

Context

  • Fedora Version: !`cat /etc/fedora-release 2>/dev/null || echo "Not Fedora"`
  • Kernel: !`uname -r`
  • SELinux Status: !`getenforce 2>/dev/null || echo "No SELinux"`

Your task

Provide expert Fedora Linux assistance by leveraging comprehensive knowledge across all system domains.

**IF topic is broad or unspecified:** DEPLOY 10 PARALLEL AGENTS for instant comprehensive analysis:

1. **Package Management Expert**: DNF5, RPM, COPR, Flatpak, repository management 2. **Security Specialist**: SELinux, firewalld, audit system, hardening, CVE analysis 3. **System Administration**: User/group management, systemd, automation, backups 4. **Performance Engineer**: Monitoring, profiling, cgroups v2, tuning, optimization 5. **Troubleshooting Expert**: Debugging, recovery, logs, common issues, solutions 6. **Development Platform**: Compilers, build systems, containers, language toolchains 7. **Network Specialist**: NetworkManager, firewall rules, connectivity, DNS 8. **Storage Expert**: Btrfs, LVM, disk management, quotas, snapshots 9. **Boot/Kernel Expert**: GRUB, initramfs, kernel modules, parameters 10. **Integration Specialist**: Hardware support, virtualization, containers

**ELSE for specific topics:** Focus expertise on the requested area with deep knowledge.

Fedora Expertise Knowledge Base

Package Management (DNF5)

# Essential DNF5 Commands
dnf search <package>              # Search for packages
dnf info <package>                # Show package details
sudo dnf install <package>        # Install package
sudo dnf remove <package>         # Remove package
sudo dnf update                   # Update all packages
sudo dnf upgrade --refresh        # Force metadata refresh and upgrade
dnf history                       # View transaction history
dnf history info <id>             # Details of specific transaction
sudo dnf history undo <id>        # Undo transaction
dnf repoquery --depends <pkg>     # Show dependencies
dnf repoquery --whatrequires <pkg> # Reverse dependencies
dnf provides <file>               # Find package providing file

# Repository Management
dnf repolist                      # List repositories
sudo dnf config-manager --add-repo <url>  # Add repository
sudo dnf copr enable <user/project>        # Enable COPR repo
dnf repository-packages <repo> list        # List repo packages

# Groups and Modules
dnf group list                    # List available groups
sudo dnf group install "Development Tools"
dnf module list                   # List modules
sudo dnf module enable nodejs:18  # Enable module stream

SELinux Management

# Status and Modes
getenforce                        # Current mode
sudo setenforce 0|1               # Set permissive|enforcing
sestatus -v                       # Detailed status

# Context Management
ls -Z                            # View contexts
sudo restorecon -Rv /path        # Restore contexts
sudo semanage fcontext -a -t httpd_sys_content_t "/web(/.*)?"
sudo chcon -t httpd_sys_content_t /var/www/html/file

# Troubleshooting
sudo ausearch -m avc -ts recent  # Recent denials
sudo audit2allow -a              # Generate policy from denials
sudo audit2allow -a -M mymodule  # Create policy module
sudo semodule -i mymodule.pp     # Install policy

# Booleans
getsebool -a | grep httpd        # List booleans
sudo setsebool -P httpd_can_network_connect on

System Administration

# User Management
sudo useradd -m -s /bin/bash -G wheel username
sudo usermod -aG docker username
sudo passwd username
sudo userdel -r username         # Delete with home dir

# Service Management
systemctl status <service>
sudo systemctl start|stop|restart|enable|disable <service>
systemctl list-units --type=service --state=running
systemctl list-unit-files --type=service
journalctl -u <service> -f       # Follow service logs
systemctl daemon-reload          # Reload unit files

# System Updates
sudo dnf upgrade --refresh
sudo dnf system-upgrade download --releasever=43
sudo dnf system-upgrade reboot
sudo dnf autoremove
sudo dnf clean all

Performance & Monitoring

# System Monitoring
top -c                           # Process monitor
htop                             # Better process monitor
iotop -o                         # I/O monitor
iftop                            # Network monitor
vmstat 1                         # Virtual memory stats
iostat -x 1                      # I/O statistics
sar -u 1 10                      # CPU usage
ss -tunlp                        # Network connections

# Performance Analysis
perf top                         # Real-time CPU profiling
perf record -g <command>         # Record performance
perf report                      # Analyze recording
systemd-analyze                  # Boot performance
systemd-analyze blame            # Service startup times
systemd-analyze critical-chain   # Boot critical path

# Resource Control (cgroups v2)
systemctl set-property <service> CPUQuota=50%
systemctl set-property <service> MemoryMax=1G
systemd-cgls                     # Show cgroup tree
systemd-cgtop                    # Top for cgroups

Troubleshooting

# System Logs
journalctl -b                    # Current boot logs
journalctl -b -1                 # Previous boot
journalctl -p err               # Error messages only
journalctl --since "1 hour ago"
journalctl -u NetworkManager     # Service logs
dmesg | grep -i error            # Kernel messages

# Recovery
systemctl emergency              # Emergency mode
systemctl rescue                 # Rescue mode
# At boot: add 'rd.break' for initramfs shell
# At boot: add 'single' for single user mode
# At boot: add 'enforcing=0' for SELin
Read more
Ships withclaude-cmd

A lightweight (~46kB) and comprehensive CLI tool for managing Claude commands, configurations, and workflows.

Get the whole plugin