بنقرة واحدة
luxonis-device-setup
Bring a Luxonis OAK camera to a verified device-ready state.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Bring a Luxonis OAK camera to a verified device-ready state.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Build a thin, runnable Luxonis/OAK proof of concept from a project brief by adapting a known-good example.
Interview the user and produce a buildable Luxonis project brief.
Choose the right Luxonis skill for your current situation.
Diagnose broken, slow, or confusing Luxonis/OAK apps and device setups.
| name | luxonis-device-setup |
| description | Bring a Luxonis OAK camera to a verified device-ready state. |
| disable-model-invocation | true |
| argument-hint | device model, OS, and connection topology |
| metadata | {"author":"luxonis","version":"1.0.0","status":"stable"} |
Reach device-ready: one target OAK is identified and one minimal, rerunnable check
proves it is usable from this host. Stop there; route app-building to
luxonis-project-interview.
End in exactly one state:
First run a discovery pass, not a verification pass:
depthai import, USB, network/VPN clues, and existing
oakctl.depthai is missing, install it in an isolated venv with a supported Python. Do not
use global pip or edit project deps without approval.oakctl discovery only if oakctl is already installed.Family rules:
oakctl. USB models may first appear
as 03e7:2485 Movidius/MyriadX; PoE RVC2 is still DepthAI.oakctl is for the
managed control plane: Hub adoption, standalone app/device management, updates, USB
internet sharing. Once adopted/configured into managed mode, manage it via Hub or oakctl.Prefer DepthAI discovery for first contact: it sees both families. oakctl list only shows
RVC4 and only matters when oakctl is already installed or management is required; an empty
oakctl list is not evidence that an RVC2 OAK is missing.
After the discovery pass, build a short list of visible candidates. If there is more than one candidate and the user's target is not explicit, stop and ask one target question before any verification:
I can see A and B. Which physical OAK should I verify?
Do not run oakctl connect, oakctl device info, oak-agent curl probes, frame streaming,
udev changes, updates, adoption, or flashing until the target is identified. Unknown target
is an interview checkpoint, not a blocked state.
After the target is identified, pin later commands to that device id/IP/serial.
Use the smallest rerunnable check that matches the device state:
oakctl just because the model is OAK4.oakctl only after the target gate selects that
managed device. If oakctl is required and absent, ask the user to install it themselves:
Linux/macOS installer:
bash -c "$(curl -fsSL https://oakctl-releases.luxonis.com/oakctl-installer.sh)"
Windows MSI:
https://oakctl-releases.luxonis.com/data/latest/windows_x86_64/oakctl.msi
After the user confirms it is installed, verify with oakctl device list --format json
plus oakctl device info -d <ip-or-serial> --format json or the current
oakctl device ... equivalent. If a password prompt appears, stop and ask for the
password or ask the user to run the interactive command; do not probe oak-agent endpoints
manually.Change one thing, rerun the same verification, observe.
169.254.0.0/16 or fix DHCP. Discovery blocked: disable VPN, check
routing, allow 11491/udp and 11490/tcp for OAK4.maxUsbSpeed=dai.UsbSpeed.HIGH).oakctl is expected to fail; switch to DepthAI. OAK4
management issues belong to Hub/oakctl; update tools only when needed and with approval.After device-ready, actively offer to save the setup for later agent sessions. Use a
clear permission flow; do not end by merely saying AGENTS.md/CLAUDE.md were not
modified.
Ask whether to create/update project-root DEVICE.md. If the user declines persistence,
stop. If yes, save only this project's verified device facts: date, model/product name,
family, connection/topology, id/IP/serial, managed state (factory vs
Hub/oakctl-managed), required tooling, and the exact verification command/snippet.
After DEVICE.md is saved, before ending, unless the user already approved or declined
it, ask a separate explicit guidance-file question, for example:
Saved
DEVICE.md. Should I also create/updateAGENTS.mdorCLAUDE.mdwith the compact Luxonis handoff block? If neither exists, I can createAGENTS.md.
Create/update AGENTS.md or CLAUDE.md only after that approval; patch existing files.
Add or update a compact block:
<luxonis-context>
Read project if exists `DEVICE.md` before OAK work and pin commands to that device.
Use https://docs.luxonis.com/llms.txt as the Luxonis docs source map.
Check `~/.luxonis/agent-context/` if present; it is shared Luxonis context for cloned
repos, docs, examples, and reusable notes, not this project's device record.
Update `DEVICE.md` whenever adoption, IP, cabling, or management state changes.
</luxonis-context>
depthai into an isolated runner is
part of discovery; request approval for sudo/admin changes or project dependency changes.usbipd, or runs the workflow from a
host with direct USB access.oakctl CLI -- https://docs.luxonis.com/software-v3/oak-apps/oakctl.md