agent-browser-automati…
Automate browser interactions for development testing using Puppeteer MCP
Load Fedora Linux expertise with system information and configuration guidance
How it fires
How this command gets triggered: by you, by Claude, or both.
/context-load-fedoraContext preview
What this command does when you run it.
Load Fedora Linux expertise with system information and configuration guidance
allowed-tools: Bash(cat:*), Bash(rpm:*), Bash(dnf:*), Bash(systemctl:*), Bash(hostnamectl:*), Bash(date:*), Bash(jq:*), Read, WebFetch, Task, TodoWrite name: "Context Load Fedora" description: "Load Fedora Linux expertise with system information and configuration guidance" author: "wcygan" tags: ["context","ops"] version: "1.0.0" created_at: "2025-07-14T00:00:00Z" updated_at: "2025-07-14T00:00:00Z"
!`if [ -f /etc/fedora-release ] || grep -q "Fedora" /etc/os-release 2>/dev/null; then echo "FEDORA_DETECTED=true"; else echo "FEDORA_DETECTED=false"; fi`
IF FEDORA_DETECTED == "false": PRINT "❌ This system is not running Fedora Linux. This command is designed specifically for Fedora systems." PRINT "Detected OS: $(cat /etc/os-release 2>/dev/null | grep PRETTY_NAME | cut -d= -f2 | tr -d '"' || echo 'Unknown')" EXIT gracefully
ELSE: PRINT "✅ Fedora Linux detected! Loading expertise and system information..."
**DEPLOY 8 PARALLEL AGENTS** for comprehensive Fedora expertise:
1. **System Architecture Agent**: Map Fedora's filesystem hierarchy, systemd units, and core system components 2. **Package Management Agent**: Deep dive into DNF, RPM, Flatpak, and repository management 3. **Configuration Agent**: Analyze system configuration files, networking, and service management 4. **Security Agent**: SELinux policies, firewall rules, and security best practices 5. **Performance Agent**: System tuning, monitoring tools, and optimization techniques 6. **Troubleshooting Agent**: Log analysis, debugging tools, and common issue resolution 7. **Development Agent**: Development tools, compilers, and Fedora-specific build processes 8. **Administration Agent**: User management, updates, and system maintenance procedures
**Phase 1: System Information Gathering**
COLLECT current system state:
**Phase 2: Create Fedora Expertise Knowledge Base**
CREATE /tmp/fedora-expertise-$SESSION_ID.json with:
{
"essential_directories": {
"/etc/dnf/": "DNF package manager configuration",
"/etc/yum.repos.d/": "Repository definitions",
"/etc/systemd/": "Systemd service configurations",
"/var/log/": "System and application logs",
"/usr/share/doc/": "Package documentation",
"/etc/selinux/": "SELinux configuration",
"/etc/sysconfig/": "System configuration files"
},
"critical_commands": {
"dnf": "Package management (install, update, search)",
"rpm": "Low-level package operations",
"systemctl": "Service management",
"journalctl": "System log viewing",
"firewall-cmd": "Firewall configuration",
"ausearch/aureport": "SELinux audit logs",
"getsebool/setsebool": "SELinux boolean management",
"restorecon": "Fix SELinux contexts"
},
"configuration_files": {
"/etc/dnf/dnf.conf": "DNF configuration",
"/etc/selinux/config": "SELinux mode",
"/etc/systemd/system.conf": "Systemd settings",
"/etc/fstab": "Filesystem mounts",
"/etc/hosts": "Static hostname mappings",
"/etc/hostname": "System hostname",
"/etc/nsswitch.conf": "Name service switch config"
}
}**Phase 3: Load Fedora-Specific Documentation**
FETCH documentation from official sources:
**Phase 4: Common Tasks Quick Reference**
GENERATE task-specific guidance:
**Package Management:**
# Update system sudo dnf update # Search packages dnf search <package> # Install package sudo dnf install <package> # Remove package sudo dnf remove <package> # Clean cache sudo dnf clean all # Show package info dnf info <package>
**Service Management:**
# Start/stop/restart service sudo systemctl start|stop|restart <service> # Enable/disable at boot sudo systemctl enable|disable <service> # Check service status systemctl status <service> # View service logs journalctl -u <service>
**SELinux Management:**
# Check SELinux status getenforce # Set SELinux mode sudo setenforce 0|1 # View SELinux contexts ls -Z # Restore file contexts sudo restorecon -Rv /path # Check SELinux denials sudo ausearch -m avc -ts recent
**Phase 5: Create Personalized Learning Plan**
Based on your current system, recommend:
1. Areas to explore based on installed packages 2. Security hardening steps specific to your configuration 3. Performance optimizations for your hardware 4. Useful tools not yet installed
**Phase 6: Interactive Q&A Mode**
OFFER to answer specific questions about:
SAVE expertise session to: /tmp/fedora-expertise-$SESSION_ID.json ARCHIVE to: ~/.fedora-expertise-history/
PRINT "🎓 Fedora expertise loaded! You now have access to:" PRINT "- System-specific configuration knowledge" PRINT "- Common commands and their usage" PRINT "- Troubleshooting procedures" PRINT "- Best practices for Fedora $FEDORA_VERSION" PRINT "" PRINT "Ask me anything about your Fedora system!"
FINALLY: IF session completed: ARCHIVE knowledge base for future reference CLEAN temporary files REPORT key insights discovered
A lightweight (~46kB) and comprehensive CLI tool for managing Claude commands, configurations, and workflows.
Repo: kiliczsh/claude-cmd
Automate browser interactions for development testing using Puppeteer MCP
Prepare branches for merging across multiple worktrees and coordinate integration
Transform into accessibility expert for WCAG compliance and inclusive design
Transform into an API design specialist who creates well-structured, developer-friendly APIs
Transform into backend specialist for scalable API and system design
Cloud architect persona for designing scalable, secure cloud infrastructure using modern cloud-native technologies