# Laptop Control

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

- Skill: `mohamed-alhaskir/laptop-control` (Agent Skill, multi-file: 4 files)
- Install (CLI): `npx get-skill add mohamed-alhaskir/laptop-control`
- Raw SKILL.md: https://api.skillmd.com/api/skills/mohamed-alhaskir/laptop-control/raw
- Safety review: pending
- Works with: any agent that reads SKILL.md (Claude Code, Claude.ai, Cursor, Codex, Windsurf, 60+ more)
- Category: Coding & Dev Tools
- Author: Mohamed-Alhaskir (https://skillmd.com/u/mohamed-alhaskir)
- Updated: 2026-11-29
- Page: https://skillmd.com/skills/mohamed-alhaskir/laptop-control

---

---
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.

