reCamera Intellisense
БесплатноЗапускает вложенные скриптыНе проверенRegister and control reCamera Pro devices from an agent — onboard cameras, pick AI detection models by name, configure rule-based triggers (AI / timer / GPIO…
от ichizer02 162 установки в других каталогахОб этом скилле
reCamera Intellisense
Drive one or more reCamera Pro devices: registration, AI + sound-event detection, rule-based recording, event polling, on-demand capture, storage/records, and GPIO. The bundled Python SDK (scripts/recamera_intellisense/, stdlib-only) is the reference implementation; the MCP server is a schema-compatible Rust surface sharing the same credential store.
Requirements
python3≥ 3.9 (stdlib only); reachable device HTTP/HTTPS API (TCP80/443)- Per-device token (Web Console → Device Info → Connection Settings); may be empty for local devices. Store:
~/.recamera/devices.json(auto-created, chmod600).
Security
- Capabilities: network access to configured device IPs, credential persistence in
~/.recamera/devices.json, filesystem writes (captures/downloads), GPIO control, and device administration (reboot, storage format, ISP changes). Host-level tool use isBashonly (invoking the bundled CLI). - Tokens are bearer credentials — never commit or log them. Device-facing outputs (
list_devicesetc.) never include them. - Confirmation gates:
storage_task_submit(FORMAT/FREE_UP/EJECT/REMOVE),delete_file, andreboot_devicerefuse unlessconfirm=true— always ask the user first.ensure_storageprints a stderr note whenever it changes slot/rotation state. - Event clearing is deliberately ungated:
clear_intellisense_events/clear_detection_eventspurge only the daemon's transient event buffer, which refills itself continuously; the protected evidence (recordings, snapshots on disk) sits behinddelete_fileand storage-format gates. Confirm gates are reserved for irreversible operations with material harm, so agents do not learn to reflexively passconfirm=true. - Relay URLs:
fetch_recordreturns relay links for large recordings. They need no credentials, but the path embeds a random UUID (unguessable, capability-style) and the relay auto-expires (device default TTL 300s); still avoid sharing them publicly. - Same-origin redirects only (SSRF-safe); TLS verified by default — local HTTPS devices use self-signed certs, so register
protocol=https allow_unsecured=true(trusted LAN only, never the public Internet); a one-time stderr warning is printed whenever an unverified connection is used. fetch_file/delete_filereject relative paths,.., and NUL bytes; the daemon enforces an allowlist.- This skill writes files, drives GPIO, and can format storage — point it only at hardware you own.
Invocation
export PYTHONPATH="{baseDir}/scripts"
alias rci='python3 -m recamera_intellisense'
# (or use the standalone launcher from scripts/setup-skill.py — it writes
# ~/.recamera/bin/rci and adds it to PATH by default. If `rci` is not found —
# shell not restarted yet, or PATH setup skipped with --no-path — fall back to
# the direct form above; the skill's bundled scripts always work)
rci <command> key=value ... # flat (preferred)
rci <command> --key value # flags; dashes normalize to underscores
rci <command> '{"key":"value"}' # single JSON object (never mix forms)
rci <command> --help # usage + a working example, per command
- Types coerce from the function signature: ints (
quota_limit_bytes=-1), floats, strict booleans (true/false/yes/no/on/off/1/0),null/nonefor optionals, JSON arrays/objects for structured params (rules,schedule,trigger,files) — inline or@file.json(@-= stdin;@@= literal@). - Success: pretty JSON on stdout (
None→null), exit 0. Failure: message plus usage + example on stderr, non-zero exit — surface it and propose one fix. - Discovery:
rcilists all 50 commands with required/optional keys;rci list-commandsprints names only.
Python in-process (preferred for loops and low-latency voice agents — avoids process spawn + TLS setup per call): sys.path.insert(0, "{baseDir}/scripts"), then from recamera_intellisense import … — the package exports every CLI command.
Device resolution
device_name is optional on every device command. Resolution order: explicit device_name → $RECAMERA_DEVICE → the sole registered device → zero-config local detect. The last path needs no registration at all: with $RECAMERA_TOKEN set (plus optional $RECAMERA_HOST, default 127.0.0.1, and $RECAMERA_PORT) the first command probes the local API and persists it as the local device, so later calls skip detection — the way an agent running on the camera itself should operate.
Command map
Full catalogue, per-command arguments, and key schemas: REFERENCE.md — or rci <command> --help at runtime.
- Device:
detect_local_device host=…,add_device,update_device,get_device,remove_device,list_devices(registration probes the device before persisting). - System:
get_device_info(firmwar
Установить reCamera Intellisense в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
BashFAQ
Что делает скилл reCamera Intellisense?
Register and control reCamera Pro devices from an agent — onboard cameras, pick AI detection models by name, configure rule-based triggers (AI / timer / GPIO / TTY / HTTP / always-on / sound-event), poll detection events with snapshots, capture JPG/RAW/MP4 on demand, browse recorded clips, manage storage, and drive GPIO pins. Uses a bundled stdlib-only Python SDK invoked with flat key=value arguments (a single JSON object also works). Trigger this skill whenever the user mentions reCamera or a registered reCamera device — including requests in that context about camera onboarding, object/person or sound-event detection, event polling, snapshot or video capture, recording rules, on-device GPIO, or wiring a physical camera into an agent workflow.
Как установить скилл reCamera Intellisense?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл reCamera Intellisense запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic