Skip to content
Back to skills

Vision Audio

ASecurity

vision-audio: screenshot, describe, transcribe, diagram.

  • 5 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 4, 2026
ai-agentspythongoshellbashperformance

Works with

  • cli

Security analysis

A96/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned October 4, 2026

npx -y skills add openamer/openamer --skill vision-audio --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Vision Audio?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Vision Audio
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/openamer-vision-audio/badge)](https://www.skillsdirectory.com/skills/openamer-vision-audio)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: vision-audio
description: 'vision-audio: screenshot, describe, transcribe, diagram.'
category: software-development
triggers:
  - screenshot description
  - image analyse
  - audio transcribe
  - code diagram reading
  - multimodal pipeline
---

# Vision + Audio Pipeline — Multimodal Understanding

## Beschreibung

`scripts/vision-audio.py` ist ein CLI-Tool für:
- **Screenshot** aufnehmen und analysieren (`--screenshot`)
- **Bildbeschreibung** via Pixelanalyse/Pillow (`--describe`)
- **Code-Diagramm**-Screenshots lesen (Kontrast-basiert) (`--diagram`)
- **Audio-Transkription** via OpenAI Whisper (`--transcribe`)
- **Mikrofon-Aufnahme** + Transkription (`--record`)

Alle Ausgaben erfolgen als strukturiertes JSON.

## Abhängigkeiten

```
pip install mss PyAudio openai-whisper Pillow
```

## CLI Usage

```
usage: vision-audio.py [-h] [--screenshot] [--describe BILD]
                       [--diagram DIAGRAMM] [--transcribe AUDIO] [--record]
                       [--seconds SECONDS] [--json]

Vision + Audio Pipeline — Multimodal Understanding

options:
  -h, --help           show this help message and exit
  --screenshot         Screenshot aufnehmen + beschreiben
  --describe BILD      Bilddatei beschreiben (Pixel-Analyse)
  --diagram DIAGRAMM   Code-Diagramm-Screenshot analysieren
  --transcribe AUDIO   Audiodatei transkribieren
  --record             Mikrofon aufnehmen + transkribieren
  --seconds SECONDS    Aufnahmedauer in Sekunden (Default: 10)
  --json               Nur JSON ausgeben (keine Stderr-Info)
```

## Beispiele

```bash
# Screenshot + beschreiben
python scripts/vision-audio.py --screenshot

# Bild beschreiben
python scripts/vision-audio.py --describe screenshot.png

# Code-Diagramm analysieren
python scripts/vision-audio.py --diagram code-flow.png

# Audio transkribieren
python scripts/vision-audio.py --transcribe meeting.wav

# Mikrofon aufnehmen + transkribieren
python scripts/vision-audio.py --record
python scripts/vision-audio.py --record --seconds 30
```

## Architektur

```
vision-audio.py
├── Vision
│   ├── vision_screenshot()   → MSS / PowerShell-Fallback
│   ├── vision_describe()     → Pillow Pixelanalyse + Farbextraktion
│   └── vision_diagram()      → Kontrast-basierte Text-Bereichs-Detektion
├── Audio
│   ├── audio_transcribe()    → openai-whisper (Model: base)
│   └── audio_record()        → PyAudio → WAV → whisper
└── CLI (argparse)
```

## Output Format (JSON)

```json
{
  "action": "describe|screenshot|transcribe|diagram|record",
  "status": "ok|error",
  "timestamp": "2026-08-22T00:40:21.551751",
  "text": "Bild-Deskription / Transkription / Diagramm …",
  "file_path": "path/to/file.png",
  "metadata": {
    "width": 1920,
    "height": 1200,
    "format": "PNG",
    "mode": "RGB",
    "avg_brightness": 0.635,
    "contrast": 0.883,
    "total_pixels": 26666,
    "dominant_colors": [["rgb(240,240,245)", 820], ...],
    "thumbnail_base64": "iVBOR..."
  }
}
```

## Tips & Pitfalls

1. **Whisper-Modell**: Beim ersten `--transcribe` lädt Whisper das `base`-Modell herunter (~150 MB).
2. **Mikrofon**: PyAudio benötigt ein funktionierendes Mikrofon. Fallback via PowerShell, falls PyAudio fehlt.
3. **Screenshot**: mss (MSS) ist Standard; bei Fehler Fallback auf PowerShell PrintScreen.
4. **Code-Diagramm**: Die Diagramm-Analyse ist heuristisch (Kontrast-Erkennung) – für echten OCR empfehle ich Tesseract.
5. **Bildbeschreibung**: Sampling über Grid (40×40 Punkte) – gute Balance zwischen Performance und Genauigkeit.
6. **Ausgabeverzeichnis**: Screenshots und Aufnahmen liegen unter `~/.openamer/vision-audio/`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…