ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified file management Safety 4/5

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.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/autogame-17/media-converter
Or

What 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

  1. "OpenClaw, check the file /data/downloads/image_01.bin and fix the extension so I can upload it to the AI for analysis."
  2. "Please inspect the MIME type of the file at /tmp/user-upload.tmp to ensure it is a valid image format."
  3. "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

Stars1100
Views1
Updated2026-02-17
View Author Profile
AI Skill Finder

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 skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-autogame-17-media-converter": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#file-processing#mime-type#file-renaming#automation
Safety Score: 4/5

Flags: file-read, file-write