xiaohongshu
xiaohongshu
gastrohem-media-processor
Automatically process unprocessed audio and image files in Gastrohem daily WhatsApp folders. This skill should be used when the user asks to transcribe audio files, perform OCR on images, or process media in daily folders (e.g., "Process media in today's folder", "Transcribe audio and OCR images ...
Full skill instructions
Automatski procesira WhatsApp media fajlove (audio i slike) u Gastrohem dnevnim folderima.
Što radi:
.json fajlove.md fajlove sa prirodnim sažetkomPerformance:
Note: Skill kreira .json za audio i .md za slike - dodavanje u chat.md je odvojen korak.
User says:
Default behavior: Uses today's date, scans all departments automatically.
Process all media for today (DEFAULT):
python .claude/skills/gastrohem-media-processor/scripts/process_media.py
Process specific date:
python .claude/skills/gastrohem-media-processor/scripts/process_media.py --scan-date 24.10
Process specific folder:
python .claude/skills/gastrohem-media-processor/scripts/process_media.py --folder "gastrohem whatsapp/administracija/20.10 - 27.10/24.10"
Audio Processing:
.mp3, .ogg, .m4a, .wav, .opus).json transcriptions{audio_filename}.json
{
"speakers": [],
"chunks": [...],
"text": "Full transcribed text here"
}
Image Processing:
.png, .jpg, .jpeg, .webp, .bmp).md files{image_filename}.md
# image.png
**Poslao:** Mahir Kadic
**Datum:** 26.10.2025 13:58
---
[Natural language summary focusing on Gastrohem-relevant information:
contacts, names, emails, phone numbers, business details, etc.]
The skill now uses three modular scripts for better organization:
Purpose: Audio transcription only (parallelized)
Usage:
python scripts/process_audio.py "path/to/folder" [--max-workers 3] [--output-json results.json]
Arguments:
folder - Path to folder containing audio files--max-workers N - Max parallel processes (default: 3)--no-skip-existing - Re-transcribe files with existing JSON--output-json FILE - Save results to JSONWhat it does:
.mp3, .ogg, .m4a, .wav, .opus).json transcriptions{audio_filename}.jsonRequirements: insanely-fast-whisper in PATH
Purpose: Image OCR helper functions
Usage:
# List images needing OCR
python scripts/process_images.py "path/to/folder" [--output-json images.json]
# Use in Python for batch processing
from process_images import save_ocr_md, batch_save_ocr, get_images_needing_ocr
Key functions:
get_images_needing_ocr(folder_path) - Returns list of images without .md filessave_ocr_md(image_file, summary, sender) - Save natural summary to .md filebatch_save_ocr(ocr_results) - Save multiple OCR results at onceMarkdown structure:
# image.png
**Poslao:** Mahir Kadic
**Datum:** 26.10.2025 13:58
---
Natural language summary focusing on Gastrohem-relevant information:
contacts, names, emails, phone numbers, business details, etc.
Purpose: Master script combining audio + images
Usage:
# Scan all folders for a specific date
python scripts/process_media.py --scan-date DD.MM [--output-json results.json]
# Process a specific folder
python scripts/process_media.py --folder "path/to/folder" [--output-json results.json]
Arguments:
--scan-date DD.MM - Scan all departments for this date--folder PATH - Process specific folder--base-path PATH - Base path (default: gastrohem whatsapp)--no-skip-existing - Re-process all files--output-json FILE - Save results to JSONWhat it does:
process_audio.py for audio filesprocess_images.py to find images needing OCR--scan-date for daily processing - Automatically finds all folders for a specific date across all departments--output-json to keep a record of processing resultschat.md is a separate workflowIf transcription fails:
insanely-fast-whisper is installedIf image OCR is unclear:
User: "Process media"
Claude:
python .claude/skills/gastrohem-media-processor/scripts/process_media.py.json files created.md files createdUser: "Process media for 24.10"
Claude:
python .claude/skills/gastrohem-media-processor/scripts/process_media.py --scan-date 24.101. Paralelizacija Audio Transkripicja:
ThreadPoolExecutor za paralelno izvršavanje2. Batch OCR za Slike:
.md fajl: image.png.mdsave_ocr_md() za lako čuvanje3. Automatski Scan Svih Foldera:
Struktura Skripti:
process_audio.py - Audio only (paralelno)process_images.py - Image OCR helper functionsprocess_media.py - Master skripta (kombinuje oba)Tipična brzina:
xiaohongshu
technical spec
product ux expert
database patterns
Conduct multi-agent task orchestration and workflow coordination.
Initialize project with Conductor artifacts (product definition,
Expert in web animations, transitions, and motion design using Framer Motion and CSS
Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...
PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.
Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...
Display project status, active tracks, and next actions
Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.
Generate, edit, and beat-sync AI video with leading models in one workspace.
The world's fastest calendar for remote work
Transform Your Design with AI Designer by ImgCreator.ai
Revolutionizing Video Production with AI-Powered Creativity
Extend an image past the frame and let AI fill the new aspect ratio.
Discover your celebrity doppelgänger with StarByFace!
ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.
Opus.ai: Revolutionize Your Web Experience