Pc Assistant Fixed
by @ningtoba
PC healthcheck and diagnostics with detailed system information and actionable recommendations. Works on Windows, macOS, and Linux. Read-only system diagnost...
clawhub install pc-assistant-fixedπ About This Skill
name: pc-assistant description: PC healthcheck and diagnostics with detailed system information and actionable recommendations. Works on Windows, macOS, and Linux. Read-only system diagnostics. Supports scheduling via cron. author: Muhammad Hakim
PC Assistant - Healthcheck Skill
Overview
This skill runs a comprehensive PC healthcheck that provides detailed system information along with actionable recommendations to fix any issues found. Supports Windows, macOS, and Linux.
When to Use
Requirements
Execute Healthcheck
The skill automatically detects your OS and runs the appropriate script:
~/.npm-global/lib/node_modules/openclaw/skills/pc-assistant/scripts/healthcheck.sh # Linux/WSL
~/.npm-global/lib/node_modules/openclaw/skills/pc-assistant/scripts/healthcheck.ps1 # Windows
~/.npm-global/lib/node_modules/openclaw/skills/pc-assistant/scripts/healthcheck.command # macOS
Or use the convenience wrapper (auto-detects OS):
~/.npm-global/lib/node_modules/openclaw/skills/pc-assistant/scripts/run.sh
The script outputs:
healthcheck_YYYYMMDD_HHMMSS.txt - Full human-readable report with recommendationshealthcheck_YYYYMMDD_HHMMSS.json - JSON summaryPlatform-Specific Features
Linux/WSL
Windows (PowerShell)
macOS
What the Healthcheck Captures
| Section | Information | |---------|-------------| | System Overview | OS, kernel, uptime, user, shell | | CPU | Model, cores, speed, usage | | Memory | Total, free, used, percentage | | Storage | Disk usage, partitions, SMART status | | Network | Interfaces, IP addresses, DNS | | Processes | Top CPU/memory consumers | | Services | Running/stopped services | | Security | Firewall, antivirus status | | Software | Installed packages & apps | | Hardware | GPU, USB, temperature | | Summary | Health score + recommendations |
Recommendations Included
The report automatically includes specific recommendations when issues are detected:
Storage Issues (High disk usage)
Memory Issues
General Maintenance
Scheduling (Cron Jobs)
The skill includes a scheduler script for automated periodic healthchecks:
Quick Start
# Run with defaults (saves to /tmp/pc-healthcheck-reports)
~/.npm-global/lib/node_modules/openclaw/skills/pc-assistant/scripts/schedule.shCustom output folder
PC_ASSISTANT_OUTPUT_DIR="$HOME/Downloads/pc-assistant reports" \
~/.npm-global/lib/node_modules/openclaw/skills/pc-assistant/scripts/schedule.sh
Configuration Options
Create a config file at ~/.config/pc-assistant.conf:
# Output directory for reports
PC_ASSISTANT_OUTPUT_DIR="$HOME/Downloads/pc-assistant reports"Report filename prefix
PC_ASSISTANT_REPORT_PREFIX="HealthCheck"Days to keep old reports (default: 30)
PC_ASSISTANT_KEEP_DAYS=30Enable automatic cleanup of old reports
PC_ASSISTANT_CLEANUP=true
Environment Variables
| Variable | Default | Description |
|----------|---------|-------------|
| PC_ASSISTANT_OUTPUT_DIR | /tmp/pc-healthcheck-reports | Where to save reports |
| PC_ASSISTANT_REPORT_PREFIX | HealthCheck | Filename prefix |
| PC_ASSISTANT_KEEP_DAYS | 30 | Days to keep reports |
| PC_ASSISTANT_CLEANUP | false | Auto-delete old reports |
| PC_ASSISTANT_CONFIG | ~/.config/pc-assistant.conf | Config file path |
Cron Job Example
# Add to crontab (runs daily at midnight)
0 0 * * * PC_ASSISTANT_OUTPUT_DIR="$HOME/Downloads/pc-assistant reports" \
~/.npm-global/lib/node_modules/openclaw/skills/pc-assistant/scripts/schedule.sh
Output
Reports are saved to:
/tmp/pc-healthcheck/ (or custom via config)$env:TEMP\pc-healthcheck\ (usually C:\Users\...\AppData\Local\Temp\pc-healthcheck\)/tmp/pc-healthcheck/When using scheduler: HealthCheck_YYYYMMDD_HHMMSS.txt and .json
Tips
PC_ASSISTANT_CLEANUP=true to auto-remove old reportsβ‘ When to Use
π‘ Examples
# Run with defaults (saves to /tmp/pc-healthcheck-reports)
~/.npm-global/lib/node_modules/openclaw/skills/pc-assistant/scripts/schedule.shCustom output folder
PC_ASSISTANT_OUTPUT_DIR="$HOME/Downloads/pc-assistant reports" \
~/.npm-global/lib/node_modules/openclaw/skills/pc-assistant/scripts/schedule.sh
Configuration Options
Create a config file at ~/.config/pc-assistant.conf:
# Output directory for reports
PC_ASSISTANT_OUTPUT_DIR="$HOME/Downloads/pc-assistant reports"Report filename prefix
PC_ASSISTANT_REPORT_PREFIX="HealthCheck"Days to keep old reports (default: 30)
PC_ASSISTANT_KEEP_DAYS=30Enable automatic cleanup of old reports
PC_ASSISTANT_CLEANUP=true
Environment Variables
| Variable | Default | Description |
|----------|---------|-------------|
| PC_ASSISTANT_OUTPUT_DIR | /tmp/pc-healthcheck-reports | Where to save reports |
| PC_ASSISTANT_REPORT_PREFIX | HealthCheck | Filename prefix |
| PC_ASSISTANT_KEEP_DAYS | 30 | Days to keep reports |
| PC_ASSISTANT_CLEANUP | false | Auto-delete old reports |
| PC_ASSISTANT_CONFIG | ~/.config/pc-assistant.conf | Config file path |
Cron Job Example
# Add to crontab (runs daily at midnight)
0 0 * * * PC_ASSISTANT_OUTPUT_DIR="$HOME/Downloads/pc-assistant reports" \
~/.npm-global/lib/node_modules/openclaw/skills/pc-assistant/scripts/schedule.sh
π Tips & Best Practices
PC_ASSISTANT_CLEANUP=true to auto-remove old reports