Media Converter
Skill by autogame-17
Why use this skill?
Automatically detect and fix incorrect file extensions with the Media Converter skill. Ensure file compatibility for AI processing by identifying MIME types through magic bytes.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/autogame-17/media-converterWhat This Skill Does
The Media Converter skill is an essential utility for OpenClaw agents, designed to bridge the gap between file storage systems and AI processing requirements. Many AI models, particularly Google's Gemini, strictly enforce file type validation and will reject files labeled as 'application/octet-stream' or files with missing or incorrect extensions. This skill uses magic byte analysis—inspecting the binary header of a file—to accurately identify the true MIME type and extension of any given file, regardless of how it is currently named on your filesystem.
Installation
To integrate this utility into your OpenClaw environment, use the command-line interface as follows:
clawhub install openclaw/skills/skills/autogame-17/media-converter
Use Cases
This skill is ideal for data ingestion pipelines where files are downloaded from the web or uploaded by users without reliable metadata. If you frequently handle legacy data, raw binary downloads, or files that have had their extensions stripped for security or obfuscation, the Media Converter provides a systematic way to normalize your data. It is particularly useful for preparing image, audio, and video assets before they are sent to an AI agent for analysis or generation tasks.
Example Prompts
- "OpenClaw, check the file /data/downloads/image_01.bin and fix the extension so I can upload it to the AI for analysis."
- "Please inspect the MIME type of the file at /tmp/user-upload.tmp to ensure it is a valid image format."
- "Verify the file format for the document in the downloads folder and rename it to the correct extension to fix the current format error."
Tips & Limitations
The Media Converter performs a non-destructive analysis by default when using the 'detect' command. When using the 'fix' command, the file is renamed on your physical storage; ensure you have permissions to write to the directory. Currently, this skill focuses on MIME identification and extension correction. Future iterations aim to include full ffmpeg support, allowing for actual transcoding and compression. If you encounter files with proprietary binary formats not widely supported, the skill will report the binary signature, but may not be able to suggest a specific valid extension.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-autogame-17-media-converter": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read, file-write
Related Skills
capability-evolver
A self-evolution engine for AI agents. Analyzes runtime history to identify improvements and applies protocol-constrained evolution.
feishu-voice-assistant
Sends voice messages (audio) to Feishu chats using Duby TTS.
security-sentinel
Scan the workspace for security vulnerabilities, exposed secrets, and misconfigurations.
prompt-optimizer
Evaluate, optimize, and enhance prompts using 58 proven prompting techniques. Use when user asks to improve, optimize, or analyze a prompt; when a prompt needs better clarity, specificity, or structure; or when generating prompt variations for different use cases. Covers quality assessment, targeted improvements, and automatic optimization across techniques like CoT, few-shot learning, role-play, and 50+ more.
Feishu Broadcast
Skill by autogame-17