Skip to content
Agentmart
Submit a tool

mac-brightness

Adjusts Mac screen brightness by setting a specific level (0–1), increasing, or decreasing display brightness via the brightness CLI tool.

Skill by leionion

IndexedApache-2.0★ 89
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/leionion-mac-brightness

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Adjusts Mac screen brightness by setting a specific level (0–1), increasing, or decreasing display brightness via the brightness CLI tool. Use when the user asks to change, dim, brighten, increase, decrease, or check macOS display brightness or backlight level.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/mac-brightness

What's inside

Skill name
mac-brightness
Description
Adjusts Mac screen brightness by setting a specific level (0–1), increasing, or decreasing display brightness via the brightness CLI tool. Use when the user asks to change, dim, brighten, increase, decrease, or check macOS display brightness or backlight level.
License
Apache-2.0
Instructions
35 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Agent Skills spec issues

  • name: "mac-brightness" does not match folder "mac_brightness"

Files (3)

  • SKILL.md
  • _meta.json
  • mac_brightness.py

SKILL.md (first lines)

# mac-brightness — Screen Brightness Control

Adjusts Mac screen brightness using the `brightness` CLI tool (installed via Homebrew).

## Prerequisites

```bash
brew install brightness
```

## Usage

```bash
# Set brightness to 50%
python3 mac_brightness.py 0.5

# Set brightness to max
python3 mac_brightness.py 1.0

# Set brightness to minimum (not off)
python3 mac_brightness.py 0.1
```

The `level` argument accepts a float between `0` (off) and `1` (full brightness).

## How it works

The script calls the `brightness` CLI tool via `subprocess.run(["brightness", level])`. If the tool is not installed, it prints an error prompting `brew install brightness`.

## Error handling

- **Missing tool**: prints `❌ 请先安装: brew install brightness` — install with `brew install brightness`
- **Out of range**: values outside 0–1 are rejected with a message

From leionion/ClawForge, Apache-2.0.

More from leionion/ClawForge

Signals

Stars
89
Forks
21
Open issues
0
Last commit (this folder)
Apr 15, 2026 (6 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from leionion

Cite this page

mac-brightness skill. Agent Mart. https://agentmart.dev/skills/leionion-mac-brightness (last updated 2026-10-24)