System Information Investigation
When to use this skill
Use this when you need to understand:
- •What operating system you're on
- •Distribution and version
- •Kernel version
- •Available memory and disk space
- •Shell environment
How to use
Basic system info
bash
exec {"command": "uname -a"}
exec {"command": "lsb_release -a"} # Linux only
exec {"command": "sw_vers"} # macOS only
Memory info
bash
exec {"command": "free -h"} # Linux
exec {"command": "vm_stat"} # macOS
Disk info
bash
exec {"command": "df -h"}
Platform-specific notes
Linux
- •Use
lsb_releasefor distro info - •Use
freefor memory - •Check
/proc/cpuinfofor CPU details
macOS
- •Use
sw_versfor OS version - •Use
sysctlfor system info - •Use
vm_statfor memory
Output storage
Store comprehensive results in:
code
~/.kai/logs/<session>/system-info-YYYY-MM-DD.txt