Laptop Control

Control this laptop - volume, screen brightness, lock the screen, launch applications, and report battery and memory status.

Mohamed-Alhaskir Updated

File contents


name: laptop-control description: Control this laptop - volume, screen brightness, lock the screen, launch applications, and report battery and memory status.

Laptop Control

Acts on the local machine through standard Linux tools (pactl, loginctl, brightnessctl) and /sys. All local - no network, no accounts.

Tools

One tool, control_laptop(action, value), covers five actions - a small model picks more reliably from one tool than from five:

  • action="volume", value 0-100 - output volume.
  • action="brightness", value 0-100 - screen brightness (needs brightnessctl: sudo apt install brightnessctl).
  • action="lock" - lock the session.
  • action="open", value = command name - launch an application.
  • action="status" - battery level, power state, free memory.

Mohamed-Alhaskir/Jarvis commit 3ca08d6fb0

Frequently asked questions

npx get-skill add mohamed-alhaskir/laptop-control