1.8 KiB
1.8 KiB
name, description, disable-model-invocation
| name | description | disable-model-invocation |
|---|---|---|
| arch-troubleshooting | Diagnose and repair Arch or CachyOS system problems. | true |
Arch Troubleshooting
User-invoked only. Local machine. For routine maintenance and updates, use the arch-maintenance skill instead.
First move
- Read
../arch/references/safety.mdfor distro detection, the safety contract, and redaction rules. - Resolve
DOTFILES_ROOTas described there. - Run
bash ../arch/scripts/inspect-system.sh "$DOTFILES_ROOT"for the read-only baseline before investigating.
Discipline
Observe → rank causes → gather targeted evidence → propose → verify. Show ranked causes before testing any of them; proceed with the ranking if the user is away.
diagnose <target>— baseline plus targeted checks forboot,packages,kernel,graphics,audio,network,storage, orservices.repair <target>— propose a repair for package recovery, failed systemd units, initramfs regeneration, boot configuration, or network restart; apply only after approval and the safety contract.
Targeted evidence
- boot/service:
journalctl -bandjournalctl -b -1for the relevant unit;systemctl status <unit>. - packages: transaction errors, lock ownership, sync state; never partial upgrades.
- kernel: running vs installed kernel, initramfs presence, bootloader config.
- graphics/audio/network: identify the active device, driver, service, and recent relevant journal entries before suggesting any change.
Repairs
Each repair must state: observation, ranked cause, evidence, proposed change, reversibility, verification. Repairs are limited to reversible, scoped actions. After each approved repair, run its targeted verification and stop if it fails.
Output
- observation
- ranked causes with evidence
- proposed change
- approval needed
- verification result