← 返回 Skills 市场
unixweb

Foto Webcam

作者 unixweb · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
1242
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install foto-webcam
功能描述
Liste und Snapshot-Abruf von Webcams (insb. foto-webcam.eu). Verwende diese Skill-Anleitung, wenn John „webcam <nummer>“ schreibt, eine Webcam-Favoritenliste pflegen will, oder wenn ein aktuelles Snapshot-Bild von einer foto-webcam.eu Webcam als JPG im Chat gesendet werden soll.
使用说明 (SKILL.md)

Foto-Webcam Snapshots

Ziel: Aus einer gespeicherten Favoritenliste (Nummer -> Webcam-Seite) ein aktuelles Bild holen und an John schicken.

Datenquelle (Favoriten)

Standard-Datei im Workspace:

  • docs/webcams/favorites-muenchen.json

Format (Beispiel):

  • items[].id (int)
  • items[].name (string)
  • items[].page (URL zur Webcam-Seite)
  • optional items[].image (direkte Bild-URL)

Typische Nutzerbefehle

  • webcam 1
  • webcam 3+4+5
  • liste
  • liste webcams
  • fuege \x3Cname> \x3Curl> hinzu

Workflow: webcam N -> Bild senden

  1. Lade Favoritenliste aus docs/webcams/favorites-muenchen.json.
  2. Suche Eintrag mit id gleich N.
  3. Erzeuge Snapshot Bild
    • Wenn image gesetzt ist lade diese Bild URL
    • Sonst page URL nehmen und daraus current 1200 jpg ermitteln
  4. Speichere Bild nach /tmp/webcam N jpg
  5. Sende Bild im Chat als Attachment Caption Format Webcam N Name

Workflow: webcam 3+4+5 -> mehrere Bilder

  1. Parse die IDs als Liste von Integers in der Reihenfolge
  2. Fuer jede ID
    • Snapshot holen
    • Ein Bild senden
  3. Maximal 6 Bilder pro Anfrage, wenn mehr gefragt wird erst nachfragen

Workflow: liste -> Favoritenliste schicken

Sende eine Text Liste Webcam 1 Name Webcam 2 Name usw

Keine Formatierung, nur Plain Text

Ermittlung der Bild-URL (foto-webcam.eu)

Für eine Webcam-Seite wie:

  • https://www.foto-webcam.eu/webcam/zugspitze/

existiert meist ein direktes „current“ Bild:

  • https://www.foto-webcam.eu/webcam/zugspitze/current/1200.jpg

Praktisch: HTML mit User-Agent laden und nach einem Link auf .../current/\x3Cdigits>.jpg suchen.

Script

Nutze das Script:

  • skills/public/foto-webcam/scripts/foto_webcam_snapshot.py

Beispiele:

  • Snapshot über Favoriten-ID:

    • python3 skills/public/foto-webcam/scripts/foto_webcam_snapshot.py --favorites docs/webcams/favorites-muenchen.json --id 4 --out /tmp/webcam4.jpg
  • Snapshot über URL:

    • python3 skills/public/foto-webcam/scripts/foto_webcam_snapshot.py --url https://www.foto-webcam.eu/webcam/zugspitze/ --out /tmp/zugspitze.jpg

Pflege / Ergänzen

  • Neue Webcam hinzufügen: ergänze favorites-muenchen.json (neue id, name, page).
  • Wenn eine Quelle instabil ist, kann image gesetzt werden (direkter JPG-Link).

Wichtig: Antworten im Chat nur als Plain Text (kein Markdown). Für Audio nur „clean speech“ (keine Sonderzeichen/Formatierung).

安全使用建议
This skill appears internally consistent and performs only web fetches and local file I/O. Before installing, verify the favorites JSON (docs/webcams/favorites-muenchen.json) to ensure it doesn't contain unwanted or internal-network URLs, ensure the runtime has the Python 'requests' package available, and be aware the skill will make outbound HTTP(S) requests to the page/image URLs contained in the favorites. If you need to restrict network scope, sanitize the favorites file or run the skill in a restricted environment. The script may print error JSON and re-raise exceptions on failure, so expect error output if a fetch fails.
功能分析
Type: OpenClaw Skill Name: foto-webcam Version: 1.0.0 The skill bundle is designed to fetch and display webcam snapshots from foto-webcam.eu. The `SKILL.md` file clearly outlines the purpose, workflows, and explicit script usage, without any instructions that could lead to prompt injection against the agent. The `foto_webcam_snapshot.py` script uses standard Python libraries (`requests`, `os`, `re`) to download images from specified URLs and save them to a temporary local path (`/tmp/`). There is no evidence of data exfiltration, malicious execution, persistence, or obfuscation; all actions are directly aligned with the stated purpose of retrieving webcam images.
能力评估
Purpose & Capability
Name/description match the actual behavior: reading a favorites list, resolving a current image URL (preferably on foto-webcam.eu), downloading the JPEG and writing it out. No extraneous credentials or unrelated binaries are requested.
Instruction Scope
The SKILL.md and script instruct the agent to read a workspace file (docs/webcams/favorites-muenchen.json), perform HTTP requests to the webcam page(s) and image URLs, and write output to a local path (e.g., /tmp). This is consistent with the stated purpose, but the favorites file controls which URLs get fetched — if that file contains arbitrary or internal URLs the skill will attempt to contact them.
Install Mechanism
Instruction-only skill with no install spec. No packages are pulled at install time. The script depends on the Python 'requests' library but no install action is declared (operational dependency only).
Credentials
The skill requests no environment variables, credentials, or config paths. The network access it requires is proportionate to fetching remote images; there are no unrelated secrets requested.
Persistence & Privilege
always:false and no modifications to other skills or global agent config. The skill only writes image output to a specified local path and prints JSON metadata — no elevated persistence or privileges are requested.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install foto-webcam
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /foto-webcam 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initiale Version: Favoritenliste + Snapshot-Abruf per 'webcam N'
元数据
Slug foto-webcam
版本 1.0.0
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Foto Webcam 是什么?

Liste und Snapshot-Abruf von Webcams (insb. foto-webcam.eu). Verwende diese Skill-Anleitung, wenn John „webcam <nummer>“ schreibt, eine Webcam-Favoritenliste pflegen will, oder wenn ein aktuelles Snapshot-Bild von einer foto-webcam.eu Webcam als JPG im Chat gesendet werden soll. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 1242 次。

如何安装 Foto Webcam?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install foto-webcam」即可一键安装,无需额外配置。

Foto Webcam 是免费的吗?

是的,Foto Webcam 完全免费(开源免费),可自由下载、安装和使用。

Foto Webcam 支持哪些平台?

Foto Webcam 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Foto Webcam?

由 unixweb(@unixweb)开发并维护,当前版本 v1.0.0。

💬 留言讨论