What are Prompts?
Prompts are intelligent workflows that:- Guide you through multi-step processes
- Combine multiple tools automatically
- Provide context-aware recommendations
- Leverage AI reasoning for better results
Available Prompts
troubleshoot_issue
Diagnose and resolve system errors using Arch Wiki knowledge. Purpose: Help users identify and fix system problems by leveraging Wiki documentation and AI analysis. Workflow:- Extract keywords from error description
- Search Arch Wiki for relevant documentation
- Analyze error context
- Provide context-aware suggestions
- Link to detailed Wiki sections
- System errors or failures
- Service/daemon issues
- Boot problems
- Configuration errors
- Package conflicts
- Extracted keywords: “boot”, “grub”, “rescue”
- Wiki pages: GRUB, Boot process, System rescue
- Diagnostic steps
- Recovery commands
- Prevention tips
- Parses your error description
- Identifies key technical terms
- Searches multiple Wiki pages
- Prioritizes most relevant sections
- Provides step-by-step solutions
- Links to additional resources
audit_aur_package
Perform comprehensive pre-installation security audit for AUR packages. Purpose: Evaluate package safety before installation by analyzing metadata, PKGBUILD, and trust indicators. Workflow:- Fetch AUR package metadata
- Analyze package metadata risk
- Retrieve and analyze PKGBUILD
- Check for malicious patterns
- Evaluate maintainer reputation
- Generate security recommendations
- Before installing any AUR package
- Investigating suspicious packages
- Security audits
- Verifying package safety
- Package info (votes: 2500+, popularity: high)
- Metadata risk: LOW
- PKGBUILD analysis: No suspicious patterns
- Maintainer: Known contributor
- Recommendation: SAFE TO INSTALL
- ✓ Vote count validation
- ✓ Maintainer verification
- ✓ Package age check
- ✓ Update frequency analysis
- ✓ PKGBUILD pattern scanning
- ✓ Dependency safety
- Overall risk assessment
- Detailed security findings
- Line-by-line PKGBUILD analysis
- Trust indicators
- Installation recommendation
- Alternative suggestions (if risky)
analyze_dependencies
Plan package installation by mapping dependencies and determining optimal install order. Purpose: Understand package dependencies and create installation plan for complex setups. Workflow:- Query official repositories
- Search AUR if needed
- Map dependency tree
- Check for conflicts
- Suggest installation order
- Identify optional vs required deps
- Installing packages with many dependencies
- Resolving dependency conflicts
- Planning complex installations
- Understanding package relationships
- Repository: extra
- Required dependencies: containerd, runc, bridge-utils
- Optional dependencies: docker-compose, docker-buildx
- Conflicts: None
- Install order:
- containerd
- runc
- bridge-utils
- docker
- docker-compose (optional)
- Direct dependencies
- Transitive dependencies
- Conflicts and replaces
- Optional dependencies
- Make dependencies (AUR)
- Check dependencies (AUR)
- Groups packages by type
- Orders by dependency chain
- Flags potential conflicts
- Highlights optional features
- Suggests pre-installation steps
safe_system_update
Enhanced system update workflow with pre-update safety checks. Purpose: Safely update your system by checking for critical news, disk space, and system health before updating. Workflow:- Check for critical Arch Linux news
- Review news since last system update
- Verify sufficient disk space
- List available updates
- Check for failed services
- Provide update recommendations
- Before running system updates
- Regular maintenance routines
- After seeing Arch news notifications
- When preparing for major updates
- ✓ Critical news requiring manual intervention
- ✓ Disk space availability
- ✓ Failed systemd services
- ✓ Database freshness
- ✓ Pacman cache status
cleanup_system
Comprehensive system cleanup workflow to free disk space. Purpose: Clean up orphaned packages, package cache, and verify system integrity. Workflow:- List orphaned packages
- Calculate reclaimable space
- Check pacman cache statistics
- Remove orphans (with confirmation)
- Clean package cache
- Verify package integrity
- Low disk space
- Regular system maintenance
- After removing large packages
- Cleaning up test installations
aggressive(optional): Perform more aggressive cleanup (default: false)
- Orphaned packages
- Old package cache files
- Unused dependencies
- Corrupted package files (identifies for manual review)
package_investigation
Deep research and security analysis before installing a package. Purpose: Thoroughly investigate a package’s safety, dependencies, and characteristics before installation. Workflow:- Check official repositories first
- If AUR: fetch metadata and analyze trust
- Fetch and analyze PKGBUILD
- Review dependencies and conflicts
- Check for known issues
- Generate comprehensive report
- Before installing unfamiliar packages
- When package name seems suspicious
- Security-conscious installations
- Understanding package impact
- Package source (official vs AUR)
- Security analysis
- Dependency tree
- Disk space requirements
- Known issues or warnings
mirror_optimization
Test and configure optimal package mirrors based on your location. Purpose: Find and configure the fastest repository mirrors for better download speeds. Workflow:- List currently active mirrors
- Test mirror latency
- Suggest fastest mirrors by location
- Check mirrorlist health
- Provide configuration recommendations
- Slow package downloads
- After moving to new location/region
- Mirror connectivity issues
- Initial system setup
country(optional): Country code for mirror suggestions (e.g., “US”, “DE”, “JP”)
- Tests mirror response times
- Ranks by latency
- Filters by protocol (HTTPS preferred)
- Checks mirror sync status
- Provides mirrorlist configuration
system_health_check
Comprehensive system diagnostic to identify potential issues. Purpose: Perform a complete health check of your Arch Linux system. Workflow:- Get system information (kernel, memory, uptime)
- Check disk space usage
- Identify failed systemd services
- Review boot logs for errors
- Check package database freshness
- Verify pacman cache health
- List recent failed transactions
- Generate health report with recommendations
- Troubleshooting system issues
- Regular health monitoring
- After system updates
- Before major system changes
- ✓ System resources (CPU, memory, disk)
- ✓ Systemd service status
- ✓ Package manager health
- ✓ Recent errors and warnings
- ✓ Database and cache status
Prompt Usage Patterns
Troubleshooting Pattern
Security Audit Pattern
Dependency Analysis Pattern
Combining Prompts
Prompts can be chained for complex workflows: Example: Safe AUR InstallationPrompt vs Tool vs Resource
| Type | Purpose | Interaction | Examples |
|---|---|---|---|
| Resource | Read data | Passive lookup | archwiki://, aur://*/info |
| Tool | Single operation | Execute function | search_aur, analyze_pkgbuild_safety |
| Prompt | Multi-step workflow | Guided process | troubleshoot_issue, audit_aur_package |
- Resource: Direct data access, you know exact location
- Tool: Single specific operation needed
- Prompt: Complex task requiring multiple steps and AI reasoning