OpenParable
Skip to content
← Back to skills

Ble Desk Lamp

Apps & Automation
ble-desk-lamp

Ble Desk Lamp is an Agent Skill for apps & automation published in the mvanhorn/cli-printing-press repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Control BLE Desk Lamp through the generated BLE device CLI.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/mvanhorn/cli-printing-press/blob/HEAD/testdata/golden/expected/generate-device-ble-control/ble-desk-lamp/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/ble-desk-lamp, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Prerequisites: Install the CLI

This skill drives the ble-desk-lamp-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 ble-desk-lamp --cli-only
    
  2. Verify: ble-desk-lamp-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 before this CLI has a public-library category, install Node or use the category-specific Go fallback after publish.

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.

Use ble-desk-lamp-pp-cli capabilities --json to inspect callable and withheld BLE capabilities, including safety classes and evidence refs. Use ble-desk-lamp-pp-cli status --json to inspect replay-backed status output. By default the CLI is replay-backed; build with -tags ble_live and pass --live to control a real device, ble-desk-lamp-pp-cli doctor to check live readiness, and ble-desk-lamp-pp-cli scan --live to discover devices. Use ble-desk-lamp-pp-cli toggle --dry-run --json to preview the toggle write. Session IPC scaffolding is generated only when the device spec enables device-session support.