- π Any - Works on all platforms (uses remote APIs)
- π§ Arch - Requires Arch Linux
- βοΈ systemd - Requires systemd (most Linux distros)
π Discovery & Information (6 tools)
Search and retrieve package/documentation information.search_archwiki π
Query Arch Wiki documentation with intelligent ranking using the MediaWiki API."systemd boot configuration""dual boot windows""wifi troubleshooting"
search_aur π
Search AUR packages with smart ranking algorithms. Parameters:query(string): Package name or description keywordssort_by(optional):relevance,votes,popularity,modified
analyze_package_metadata_risk, analyze_pkgbuild_safety, install_package_secure
get_official_package_info π
Lookup official repository packages with hybrid local/remote search. Parameters:package(string): Package name
search_aur, install_package_secure
get_latest_news π
Fetch Arch Linux news from RSS feed. Parameters:limit(optional): Number of news items (default: 10)
check_critical_news, get_news_since_last_update
check_critical_news π
Find critical news requiring manual intervention. Parameters: None Returns: Critical news items with manual action flags Related:get_latest_news, check_updates_dry_run
get_news_since_last_update π§
News posted since last system update. Parameters: None Returns: News items between last DB sync and now Related:get_latest_news, check_critical_news
π¦ Package Lifecycle (4 tools)
Install, update, and remove packages safely.check_updates_dry_run π§
Check for available updates without modifying system. Parameters: None Returns: List of packages with available updates Related:check_critical_news, check_disk_space
install_package_secure π§
Securely install packages with automated pre-installation security checks and confirmations."python""yay"(AUR)"visual-studio-code-bin"(AUR)
false, the tool auto-detects whether to use official repos or AUR.- β Automatic security scanning before installation
- β Blocks packages with critical security threats
- β Requires confirmation for AUR packages
- β Checks for AUR helper (paru or yay)
- β Validates package exists before attempting install
- β Shows detailed security report
"success", "blocked", "failed", or "cancelled""official" or "aur"get_official_package_info- Check if package is officialanalyze_pkgbuild_safety- Scan PKGBUILD (if AUR)analyze_package_metadata_risk- Evaluate trust (if AUR)- Installation with confirmation prompt
get_official_package_info, analyze_pkgbuild_safety, analyze_package_metadata_risk
Related: check_updates_dry_run, verify_package_integrity, get_transaction_history
remove_package π§
Remove single package with dependency handling. Parameters:package(string): Package namerecursive(optional): Remove deps (default: false)force(optional): Force removal (default: false)
remove_packages_batch, list_orphan_packages
remove_packages_batch π§
Remove multiple packages efficiently in one operation. Parameters:packages(array): List of package namesrecursive(optional): Remove deps (default: false)
remove_package, remove_orphans
π§ Package Maintenance (7 tools)
Analyze, verify, and maintain package health.list_orphan_packages π§
Find packages installed as dependencies but no longer required. Parameters: None Returns: List of orphaned packages with sizes Related:remove_orphans, mark_as_explicit
remove_orphans π§
Clean orphaned packages with safety checks. Parameters:dry_run(optional): Preview only (default: true)exclude(optional): Packages to keep
list_orphan_packages
Related: list_orphan_packages
verify_package_integrity π§
Check package file integrity for modifications or corruption. Parameters:package(string): Package name
get_transaction_history, find_package_owner
list_explicit_packages π§
List packages explicitly installed by user. Parameters: None Returns: User-installed packages (excludes dependencies) Related:mark_as_explicit, mark_as_dependency
mark_as_explicit π§
Prevent package from being orphaned by marking as user-installed. Parameters:package(string): Package name
list_explicit_packages, list_orphan_packages
mark_as_dependency π§
Allow package to be orphaned by marking as dependency. Parameters:package(string): Package name
list_explicit_packages, list_orphan_packages
check_database_freshness π§
Check when package database was last synced. Parameters: None Returns: Last sync timestamp and age warnings Related:get_database_sync_history
π File Organization (5 tools)
Navigate package-file relationships and groups.find_package_owner π§
Find which package owns a specific file. Parameters:file_path(string): Absolute file path
list_package_files, verify_package_integrity
list_package_files π§
List all files installed by a package. Parameters:package(string): Package namefilter_regex(optional): Regex pattern to filter files
find_package_owner, search_package_files
search_package_files π§
Search for files across all packages. Parameters:pattern(string): Search pattern (filename or regex)
list_package_files, find_package_owner
list_package_groups π§
List all package groups (base, base-devel, etc.). Parameters: None Returns: All groups with member counts Related:list_group_packages
list_group_packages π§
Show packages in a specific group. Parameters:group(string): Group name
list_package_groups
Related: list_package_groups
π Security Analysis (2 tools)
Evaluate package safety before installation.analyze_pkgbuild_safety π
Comprehensive PKGBUILD security analysis using 50+ threat detection patterns."yay""neofetch""spotify"
- β 50+ red flag patterns
- β Malicious command detection
- β Obfuscation analysis
- β Crypto miner signatures
- β Rootkit technique scanning
- β Network security checks
- 0-20: LOW risk
- 21-50: MEDIUM risk
- 51-80: HIGH risk
- 81-100: CRITICAL risk
"LOW", "MEDIUM", "HIGH", or "CRITICAL"rm -rf /, fork bombs).- π΄ Dangerous:
rm -rf /,dd if=/dev/zero, fork bombs - π Suspicious:
curl|sh,wget|sh, base64 pipes, eval statements - π‘ Warnings: chmod 777, binary downloads, external scripts
analyze_package_metadata_risk, install_package_secure
analyze_package_metadata_risk π
Package trust scoring based on community metrics. Parameters:package(string): AUR package name
- Vote count and popularity
- Maintainer presence and reputation
- Package age and update frequency
- Out-of-date status
search_aur
Related: analyze_pkgbuild_safety, install_package_secure
π System Monitoring (5 tools)
Monitor system health and diagnostics.get_system_info π
Retrieve system information and resource usage. Parameters: None Returns: Kernel version, memory usage, uptime, CPU info Related:check_disk_space, check_failed_services
check_disk_space π
Disk usage statistics with capacity warnings. Parameters:warning_threshold(optional): Warn if above % (default: 80)
get_pacman_cache_stats, list_orphan_packages
get_pacman_cache_stats π§
Package cache size and age analysis. Parameters: None Returns: Cache size, package count, oldest package date Related:check_disk_space
check_failed_services βοΈ
Find failed systemd services. Parameters: None Returns: Failed service units with status details Related:get_boot_logs, get_system_info
get_boot_logs βοΈ
Retrieve journalctl boot logs for diagnostics. Parameters:lines(optional): Number of lines (default: 100)priority(optional): Log level filter (default: all)
check_failed_services
π Transaction History (4 tools)
Audit package operations and database events.get_transaction_history π§
Recent package transactions (install/upgrade/remove). Parameters:limit(optional): Number of transactions (default: 20)
find_when_installed, find_failed_transactions
find_when_installed π§
Package installation history and timeline. Parameters:package(string): Package name
get_transaction_history
find_failed_transactions π§
Failed package operations from pacman logs. Parameters: None Returns: Failed transactions with error messages Related:get_transaction_history
get_database_sync_history π§
Database synchronization event log. Parameters:limit(optional): Number of events (default: 10)
check_database_freshness
π Mirror Management (4 tools)
Optimize repository mirrors for speed and reliability.list_active_mirrors π§
Show currently configured mirrors from mirrorlist. Parameters: None Returns: Active mirror URLs with protocols Related:test_mirror_speed, check_mirrorlist_health
test_mirror_speed π§
Test latency to configured mirrors. Parameters:timeout(optional): Test timeout in seconds (default: 5)
list_active_mirrors
Related: suggest_fastest_mirrors, list_active_mirrors
suggest_fastest_mirrors π
Recommend optimal mirrors by geographic location. Parameters:country(optional): ISO country code (default: auto-detect)protocol(optional): http/https (default: https)
test_mirror_speed
check_mirrorlist_health π§
Verify mirror configuration validity. Parameters: None Returns: Configuration health status and warnings Related:list_active_mirrors, suggest_fastest_mirrors
βοΈ Configuration Management (4 tools)
Analyze system configuration files.analyze_pacman_conf π§
Parse pacman.conf settings and options. Parameters: None Returns: Configuration map with repositories, options, ignore lists Related:check_ignored_packages, get_parallel_downloads_setting
analyze_makepkg_conf π§
Parse makepkg.conf build settings. Parameters: None Returns: Build flags, compression settings, package destinations Related:analyze_pacman_conf
check_ignored_packages π§
List packages excluded from updates. Parameters: None Returns: Ignored packages with critical package warnings Related:analyze_pacman_conf
get_parallel_downloads_setting π§
Get parallel download configuration value. Parameters: None Returns: Parallel download count or βdisabledβ Related:analyze_pacman_conf
Common Workflows
Many tools work better together. Here are proven workflows for common tasks.Safe AUR Installation Workflow
Safe AUR Installation Workflow
Search for package
Check trust score
Scan for threats
Install if safe
System Cleanup Workflow
System Cleanup Workflow
Check disk usage
Find orphaned packages
Preview removal
Check cache size
Clean system
Mirror Optimization Workflow
Mirror Optimization Workflow
List current mirrors
Test mirror speeds
Get recommendations
Verify configuration
Update mirrorlist
/etc/pacman.d/mirrorlist with recommended mirrors.Troubleshooting Workflow
Troubleshooting Workflow
Check system health
Check for failed services
Review boot logs
Search Wiki for solutions
Check transaction history
Pre-Update Check Workflow
Pre-Update Check Workflow
Check for critical news
Check available updates
Verify disk space
Check database freshness
Perform update
sudo pacman -Syu after reviewing all checks.Package Investigation Workflow
Package Investigation Workflow
Get package info
Check installation history
List package files
Verify integrity
Check installation reason
Quick Reference
| Category | Count | Permission | Platform Mix |
|---|---|---|---|
| Discovery & Information | 6 | Read | 5 Any, 1 Arch |
| Package Lifecycle | 4 | Write | All Arch |
| Package Maintenance | 7 | Mixed | All Arch |
| File Organization | 5 | Read | All Arch |
| Security Analysis | 2 | Read | All Any |
| System Monitoring | 5 | Read | 3 Any, 2 systemd, 1 Arch |
| Transaction History | 4 | Read | All Arch |
| Mirror Management | 4 | Read | 3 Arch, 1 Any |
| Configuration | 4 | Read | All Arch |