Hardware Assessment
When to Use This Skill
USE when:
- Inventorying machines for consolidation or repurposing decisions
- Comparing hardware specs across multiple devices
- Planning GPU, RAM, or storage upgrades
- Auditing SMART health status across storage devices
- Keeping machines updated (OS packages, tools, custom software)
- Tracking what changed after updates via changelogs
- Documenting system configurations for compliance or handoff
DON'T USE when:
- You need real-time monitoring (use Prometheus/Grafana instead)
- You need benchmark/performance data (this collects specs, not performance)
Quick Start
Linux
# Copy script to target machine, then:
bash hardware-assess.sh -p
# With sudo for SMART data + RAM type:
sudo bash hardware-assess.sh -p
# Custom output path:
bash hardware-assess.sh -o /tmp/inventory.json --pretty
Windows (PowerShell)
# Run in PowerShell:
.\hardware-assess.ps1 -Pretty
# Custom output:
.\hardware-assess.ps1 -OutputFile C:\temp\inventory.json -Pretty
Full Maintenance (assess + update + re-assess)
# Linux — runs all 4 phases, outputs to maintenance/ directory:
sudo bash system-maintain.sh -d ./maintenance
# With custom software config:
sudo bash system-maintain.sh -c ./custom-packages.json -d ./maintenance
# Assessment only (no updates):
bash system-maintain.sh --skip-update -d ./maintenance
See sub-skills for full details.
Update Only (no assessment)
# Linux:
sudo bash system-update.sh -c ./custom-packages.json
# Windows:
.\system-update.ps1 -ConfigFile .\custom-packages.json
Custom Software Config (JSON)
{
"packages": {
"apt": ["openfoam", "freecad", "paraview", "smartmontools"],
"snap": ["code"],
"pip": ["numpy", "polars"]
},
"ppas": ["ppa:openfoam/latest"],
"scripts": [
{ "name": "custom-tool", "check": "custom-tool --version", "install": "curl -sSL https://example.com/install.sh | bash" }
]
}
Version History
- 1.1.0 (2026-02-02): Add system-update and system-maintain orchestrator scripts for OS/tools/custom software updates with changelog tracking
- 1.0.0 (2026-02-02): Initial release — Linux Bash + Windows PowerShell scripts with unified JSON schema
Sub-Skills
- Troubleshooting
Sub-Skills
- Scripts
- Linux (
hardware-assess.sh) (+1) - Output Schema (v1.0)
- Linux (+1)
- Workflow: Multi-Machine Inventory