Przejdź do treści
Biblioteka skilli
Produktywność osobista · Automatyzacja

logoctl

/logoctl

Steruje podświetlanym logo Apple na klapie MacBooka przez CLI logoctl, by zwrócić uwagę użytkownika lub pokazać status zadania.

Repozytorium
logoctl ↗
Licencja
MIT
Ostatnia zmiana repozytorium
06.11.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 06.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Steruje podświetlanym logo Apple na klapie MacBooka przez CLI logoctl, by zwrócić uwagę użytkownika lub pokazać status zadania.

Oryginalny opis (EN)

Control the illuminated Apple logo on the MacBook lid with the `logoctl` CLI. Use it to get the user's attention when they may be away from the screen (a long task finished, input needed), to set up logo-based status lights with Claude Code hooks, or when the user asks to change, dim, animate or check the logo light.

Jak działa

  1. Commands
  2. When to use it
  3. Claude Code hooks
  4. Behaviour to know
Sekcje z nagłówków SKILL.md, w oryginale · 97 linii, 635 słów
Podgląd SKILL.md
---
name: logoctl
description: Control the illuminated Apple logo on the MacBook lid with the `logoctl` CLI. Use it to get the user's attention when they may be away from the screen (a long task finished, input needed), to set up logo-based status lights with Claude Code hooks, or when the user asks to change, dim, animate or check the logo light.
---

# logoctl

`logoctl` drives the glowing Apple logo on the back of the lid. The person
can see it from across the room when the screen isn't in view, which makes it
a good signal for someone who has stepped away.

Check it's available first: `command -v logoctl`. If it's missing, or `logoctl
status` reports that no logo light was found, the Mac has no controllable logo.
Don't try to install it unless the user asks.

## Commands

| Command | Effect |
|---|---|
| `logoctl status --json` | Read state: `on`, `level`, `nits`, `limits`, `lux`, `displayNits` |
| `logoctl blink [--count N] [--level L] [--interval S]` | Blink, then restore the previous state |
| `logoctl breathe [--period S] [--min L] [--max L]` | Breathe until killed, then restore |
| `logoctl stream` | Read levels from stdin, one per line (`75%`, `750nits`, `on`, `off`); restores on EOF |
| `logoctl set L` / `max` / `on` / `off` | Persistent change (lasts until reboot) |
| `logoctl auto` | Follow screen brightness (Apple's default) |
| `logoctl limits on\|off` | Apple's room-light limits on the logo |
| `logoctl fade S` | Fade time for sleep, lid close and wake |
| `logoctl reset` | Restore every setting to Apple's defaults |

Levels are percent (`60`, `60%`) or nits (`600nits`, max 1000).

## When to use it

**Good uses:**
- **Getting attention.** Run `logoctl blink --count 2` when a long-running task
  finishes or you need input and the user may have stepped away.
- **Status lights,** when the user asks for them. See the hooks below.
- **Direct requests** to dim, brighten, turn off, animate or check the logo.

**Avoid:**
- Persistent changes the user didn't ask for (`set`, `off`, `limits`, `fade`).
  These change how their Mac looks until reboot. For notifications, use
  `blink`, which restores the previous state on its own.
- Blinking on every small event. Save it for things worth looking up for.
- Running `breathe` or `stream` in the foreground, because they block until
  killed. Run them in the background and stop them with
  `pkill -f "logoctl breathe"`. That sends SIGTERM, and logoctl restores the
  previous state on the way out.
- Running `reset` to "clean up". It discards any settings the user made. To
  undo your own changes, put back the values you read from
  `logoctl status --json` beforehand.

## Claude Code hooks

Add these to `~/.claude/settings.json` (all users) or `.claude/settings.json`
(one project), and merge them with any existing `hooks`. Show the user the
change and get their agreement before writing it.

**Blink when Claude needs the user:**

```json
{
  "hooks": {
    "Notification": [
      { "hooks": [{ "type": "command", "command": "logoctl blink --count 2" }] }
    ]
  }
}
```

**Breathe while Claude works, stop when it's done:**

```json
{
  "hooks": {
    "UserPromptSubmit": [
      { "hooks": [{ "type": "command", "command": "pkill -f 'logoctl breathe'; nohup logoctl breathe --period 3 --min 20% >/dev/null 2>&1 &" }] }
    ],
    "Stop": [
      { "hooks": [{ "type": "command", "command": "pkill -f 'logoctl breathe'; true" }] }
    ],
    "Notification": [
      { "hooks": [{ "type": "command", "command": "pkill -f 'logoctl breathe'; sleep 0.3; logoctl blink --count 2" }] }
    ]
  }
}
```

Wait for the logo to settle (about 0.3 s) between stopping an animation and
starting the next one. Otherwise the second one saves the half-restored state
and puts that back when it exits.

## Behaviour to know

- Settings last until reboot or until `corebrightnessd` restarts.
- The daemon smooths brightness changes at about 2000 nits/s, so very fast
  effects blur. `blink` stays crisp because it toggles on/off, which is
  instant.
- The logo fades out on its own when the display sleeps or the lid closes.
- Only one animation should run at a time. Two `breathe` processes will fight.

Wersje

W bazie nie ma innych skilli o nazwie logoctl.

Migawka bazy z 13.11.2026 · wersja paczki 6ad4040874f3 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100control-lighting
    Steruje inteligentnymi światłami przez panel smart home: włącza, wyłącza, ustawia jasność i grupuje światła według pomieszczeń.
  • 100light
    Steruje światłem w pokoju, żarówkami Tuya i Smart Life w sieci lokalnej: włącza, przyciemnia, zmienia barwę, sceny i harmonogramy.
  • 100video-logo-add
    Nakłada logo lub znak wodny w rogach wideo przez meitu-cli, także jako przezroczysty PNG.
  • 95StudioLights
    Steruje lampami Aputure i amaran przez WebSocket: zapisuje sceny, jasność i temperaturę barwową poszczególnych lamp.
  • 95signals
    Przygotowuje poranny briefing z ofertami, wzorcami i zmianami od ostatniego sprawdzenia, wskazując, na co zwrócić uwagę.
  • 90logo-design
    Projektuje i poprawia logo produktu lub marki, dopasowuje ikonę aplikacji i eksportuje gotowe zasoby.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.