Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

pp-unifi

БесплатноБез исполняемых скриптовНе проверен

Operate UniFi consoles through the cloud connector or your LAN, with a local history, change previews and a change journal. Trigger phrases: `check my unifi…

mvanhornот mvanhorn★ 2 170 звёзд на GitHub

Об этом скилле

UniFi: Printing Press CLI

Prerequisites: Install the CLI

This skill drives the unifi-pp-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:

  1. Install via the Printing Press installer. It defaults binaries to $HOME/.local/bin on macOS/Linux and %LOCALAPPDATA%\Programs\PrintingPress\bin on Windows:
    npx -y @mvanhorn/printing-press-library install unifi --cli-only
    
  2. Verify: unifi-pp-cli --version
  3. Ensure the reported install directory is on $PATH for the agent/runtime that will invoke this skill.

If the npx install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.10 or newer). This installs into $GOPATH/bin (default $HOME/go/bin), so add that directory to $PATH instead:

go install github.com/mvanhorn/printing-press-library/library/devices/unifi/cmd/unifi-pp-cli@latest

If --version reports "command not found" after install, the runtime cannot see the binary directory on $PATH. Do not proceed with skill commands until verification succeeds.

One binary for the official UniFi APIs, over the cloud connector or a direct connection to your gateway. A local mirror keeps a snapshot from each sync, and 'impact' estimates what a change would affect before you make it. Reads have run against one test console over the cloud connector; most writes have not.

When to Use This CLI

Use for operating UniFi consoles over the cloud connector or a local gateway: health, config review, device and guest actions, Protect, and what-changed questions from local snapshots. Run 'impact' before, and prefer 'change apply' for, changes that could affect connectivity. Start with reads: cloud writes are unproven and no route has been tested live.

Anti-triggers

Do not use this CLI for:

  • UniFi Access or Talk administration: no official API here and no commands cover them
  • Blocking a client with an official command: the API offers only guest authorize and unauthorize, so blocking means an unverified raw controller path or a firewall or ACL rule
  • Proving a firewall outcome: rule-predict is a prediction with no API confirmation
  • Live video streaming beyond handing out RTSPS links
  • First-time console setup and account administration

Before You Act

Live testing so far covers reads against one test console over the cloud connector, plus one hotspot voucher created and deleted there. InnerSpace, Mobility and Carrier refused that key. Everything else, including most writes, rests on mock servers and --dry-run. Report results as observed only when you have seen them.

  • Writes: docs say cloud keys are read-only today, yet one hotspot voucher create and delete worked with a cloud key on one test console. Other cloud writes are unproven. Run reach first and expect that a write through the connector may be refused. Local writes with a local key are untested live.
  • Most writes send immediately: network, protect, carrier and mobility write commands and import have no confirmation step, and --agent adds none. Use --dry-run first. raw, change apply and change undo preview until --confirm.
  • raw: controller paths are unofficial and unverified. A raw write has no journal or undo.
  • change apply --trial: expiry is unverified, so check the policy after the window. Trials cannot cross midnight, and times must be console-local.
  • rule-predict: a prediction with no API confirmation. Do not report it as what the gateway will do.
  • impact: reasons from the last sync and never means safe. no-known-risk is not a guarantee.
  • Local history: drift, digest, newcomer, topology, impact and rule-predict read the mirror, so they are only as current as the last sync.
  • Not covered: UniFi Access and Talk.

Unique Capabilities

Safe remote operation

  • reach — See which transports and products answer on each console. Write status is yes, no or unproven, and a probe alone never reports yes.

    Run this first in a session to learn what answers before planning a change. Spends one read per surface per console.

    unifi-pp-cli reach --agent
    
  • impact — Estimate from the last sync what a proposed action would take down and whether it risks your way back in. It never reports safe.

    Use before any change that could cut the path needed to undo it. Verdicts are blocks-path, at-risk, no-known-risk or cannot-determine, and it cannot see every cause of path loss.

    unifi-pp-cli impact device restart gateway --agent
    
  • change apply — Send one change to an official Network or Protect path with a journaled before-image, a read-back check and undo. Nothing is sent without --confirm.

    _Use instead of a plain write when the change must be checked and revertible. Docs say cloud keys are read-only today, other cloud writes are unproven beyond one voucher

Полный SKILL.md на GitHub

Установить pp-unifi в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Read
Bash

Вложенные файлы

.gitignore.golangci.yml.goreleaser.yaml.manuscripts/20261101-155632-9a5a2a2b/discovery/browser-sniff-report.md.manuscripts/20261101-155632-9a5a2a2b/discovery/crowd-browser-sniff-report.md.manuscripts/20261101-155632-9a5a2a2b/discovery/crowd-sniff-provenance.json.manuscripts/20261101-155632-9a5a2a2b/proofs/2026-11-01-163723-fix-unifi-pp-cli-build-log.md.manuscripts/20261101-155632-9a5a2a2b/proofs/2026-11-01-172557-fix-unifi-pp-cli-shipcheck.md.manuscripts/20261101-155632-9a5a2a2b/proofs/2026-11-06-172000-fix-unifi-pp-cli-acceptance.md.manuscripts/20261101-155632-9a5a2a2b/proofs/2026-11-06-173257-fix-unifi-pp-cli-polish.md.manuscripts/20261101-155632-9a5a2a2b/proofs/phase-4.85-findings.md.manuscripts/20261101-155632-9a5a2a2b/proofs/phase-4.95-findings.md.manuscripts/20261101-155632-9a5a2a2b/proofs/phase5-acceptance.json.manuscripts/20261101-155632-9a5a2a2b/proofs/regen-merge-dry-run-report.json.manuscripts/20261101-155632-9a5a2a2b/proofs/shipcheck-1.log.manuscripts/20261101-155632-9a5a2a2b/proofs/shipcheck-2.log.manuscripts/20261101-155632-9a5a2a2b/proofs/shipcheck-3.log.manuscripts/20261101-155632-9a5a2a2b/proofs/shipcheck-4.log.manuscripts/20261101-155632-9a5a2a2b/research.json.manuscripts/20261101-155632-9a5a2a2b/research/2026-11-01-160302-feat-unifi-pp-cli-brief.md.manuscripts/20261101-155632-9a5a2a2b/research/2026-11-01-161710-feat-unifi-pp-cli-absorb-manifest.md.manuscripts/20261101-155632-9a5a2a2b/research/docs/carrier-fabric.openapi.json.manuscripts/20261101-155632-9a5a2a2b/research/docs/enuno.md.manuscripts/20261101-155632-9a5a2a2b/research/docs/innerspace.openapi.json.manuscripts/20261101-155632-9a5a2a2b/research/docs/llms.txt.manuscripts/20261101-155632-9a5a2a2b/research/docs/mobility.openapi.json.manuscripts/20261101-155632-9a5a2a2b/research/docs/network.openapi.json.manuscripts/20261101-155632-9a5a2a2b/research/docs/protect.openapi.json.manuscripts/20261101-155632-9a5a2a2b/research/docs/site-manager.openapi.json.manuscripts/20261101-155632-9a5a2a2b/research/docs/sitemap.xml.manuscripts/20261101-155632-9a5a2a2b/research/novel-features-constraints.md.manuscripts/20261101-155632-9a5a2a2b/research/overlays/carrier-fabric.json.manuscripts/20261101-155632-9a5a2a2b/research/overlays/innerspace.json.manuscripts/20261101-155632-9a5a2a2b/research/overlays/mobility.json.manuscripts/20261101-155632-9a5a2a2b/research/overlays/network.json.manuscripts/20261101-155632-9a5a2a2b/research/overlays/protect.json.manuscripts/20261101-155632-9a5a2a2b/research/overlays/site-manager.json.manuscripts/20261101-155632-9a5a2a2b/research/unifi-crowd-spec.yaml.printing-press-patches/.gitkeep.printing-press-patches/ambiguous-write-retries-disabled.json

FAQ

Что делает скилл pp-unifi?

Operate UniFi consoles through the cloud connector or your LAN, with a local history, change previews and a change journal. Trigger phrases: `check my unifi network`, `what changed on my network`, `restart my access point`, `what would restarting this unifi device affect`, `use unifi`, `run unifi`.

Как установить скилл pp-unifi?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл pp-unifi запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить pp-unifi с