Communityコーディング&開発github.com

camsnap

RTSP/ONVIFカメラやローカルWebカメラからフレームやクリップをキャプチャし、USBパン/チルト/ズームを制御します。

camsnap とは?

camsnapは、ネットワークカメラ(RTSP/ONVIF)やローカルWebカメラ(macOS)からスナップショット、動画クリップ、モーションイベントを取得するためのコマンドラインツールです。設定は `~/.config/camsnap/config.yaml` に保存され、`camsnap add` でカメラを追加した後、`camsnap snap` で静止画、`camsnap clip` で動画、`camsnap watch` で動体検知を実行できます。macOSでは `camsnap devices` でデバイス一覧を取得し、`camsnap ptz` サブコマンドを使ってパン・チルト・ズーム(PTZ)の絶対/相対移動やホーム位置への復帰が可能です。内部では `ffmpeg` を利用しており、PTZ操作時はストリームを維持しながらUVC制御を行うため、macOSのカメラ権限が必要です。動体検知後の位置確認や、AIフレーミングの競合を考慮した設計も含まれています。

対応~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/clawdbot/clawdbot/tree/main/skills/camsnap

Installed? Explore more コーディング&開発 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

camsnap は何をしますか?

設定済みのカメラからスナップショット、クリップ、またはモーションイベントを取得するには camsnap を使用します。

セットアップ

  • 設定ファイル: ~/.config/camsnap/config.yaml
  • カメラの追加: camsnap add --name kitchen --host 192.168.0.10 --user user --pass pass

よく使うコマンド

  • 検出: camsnap discover --info
  • スナップショット: camsnap snap kitchen --out shot.jpg
  • クリップ: camsnap clip kitchen --dur 5s --out clip.mp4
  • モーション監視: camsnap watch kitchen --threshold 0.2 --action '...'
  • 診断: camsnap doctor --probe

ローカルWebカメラ (macOS)

  • デバイス一覧: camsnap devices
  • ローカルカメラからのスナップショット: camsnap snap --device 0 --out webcam.jpg
  • PTZの位置と範囲: camsnap ptz status --device 0
  • ジンバルカメラの移動: camsnap ptz goto --device 0 --pan 45 --tilt -18
  • さらに camsnap ptz move (相対移動) と camsnap ptz home もあります。

注意事項

  • ffmpeg がPATH上に必要です。
  • 長めのクリップの前に、短いテストキャプチャを推奨します。
  • PTZにはmacOSのカメラ権限が必要です。これらのカメラはストリーミング中にのみUVCコントロールに対応するため、camsnap は操作中キャプチャセッションを開いたまま保持します。
  • モーションコマンドは確定位置を確認し、カメラがその位置に到達しなかった場合はゼロ以外の終了コードを返します。カメラ側のAIフレーミングが手動操作を上書きする可能性があります。移動がうまくいかない場合は、トラッキングを無効にしてください。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

1password

Set up and use 1Password CLI for sign-in, desktop integration, and reading or injecting secrets.

acp-router

Route plain-language requests for Claude Code, Cursor, Copilot, OpenClaw ACP, OpenCode, Gemini CLI, Grok Build, Qwen, Kiro, Kimi, iFlow, Factory Droid, Kilocode, or explicit ACP harness work into either OpenClaw ACP runtime sessions or direct acpx-driven sessions ("telephone game" flow). For coding-agent thread requests, read this skill first, then use only `sessions_spawn` for thread creation. Codex chat binding defaults to the native Codex app-server plugin unless ACP is explicit or background spawn needs ACP.

add-model-provider

Add and live-prove a model provider with non-interactive config one-liners, without exposing credentials.

agent-transcript

Requested GitHub PR/issue agent transcripts: redact, trim, preview, and insert safely.

apple-notes

Create, view, edit, delete, search, move, or export Apple Notes via the memo CLI on macOS.

apple-reminders

List, add, edit, complete, or delete Apple Reminders and reminder lists via remindctl.

auto-qa

Run OpenClaw-wide autonomous QA and live/stress campaigns across independent subsystem lanes, with verified fixes and a resumable evidence report.

autoreview

Structured code review through the shared OpenClaw agent-skills installation.

bear-notes

Create, search, and manage Bear notes via grizzly CLI.

blacksmith-testbox

Run Blacksmith Testbox for CI-parity checks, secrets, hosted services, migrations, or builds local cannot reproduce.

block-kit

Use proactively for structured or interactive Slack replies, and when asked to author or validate native Slack Block Kit JSON.

blogwatcher

Monitor blogs and RSS/Atom feeds for updates using the blogwatcher CLI.

blucli

BluOS CLI (blu) for discovery, playback, grouping, and volume.

bluebubbles

Send and manage iMessages via BlueBubbles, including attachments, tapbacks, edits, replies, and groups.

browser-automation

Use when controlling web pages with the OpenClaw browser tool, especially multi-step flows, login checks, tab management, or recovery from stale refs/timeouts.

canvas

Present HTML on connected OpenClaw node canvases, navigate/eval/snapshot, and debug canvas host URLs.

channel-message-flows

Use when running QA Lab channel message flow evidence.

clawdtributor

Clawtributor PRs here, last week or another window: discover conversation refs, recheck GitHub, rank by impact.

clawhub

Search ClawHub for plugins by default, or skills and agent Templates when requested; add Templates; install, verify, update, uninstall, publish, or sync skills.

claw-score

Audit or refresh OpenClaw maturity scorecard docs from root taxonomy, maturity scores, and QA evidence artifacts without using maintainer discrawl data or committed inventory reports.

関連スキル