A local, privacy-first AI skill for identifying file types and MIME information without internet access.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install detect-file-type-local
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install detect-file-type-local using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
Detect File Type - Local provides a robust, offline solution for file identification within the Openclaw Skills directory. By leveraging the Google Magika machine learning model and ONNX Runtime, it performs deep content analysis on-device to classify over 214 different file types. Unlike traditional extension-based identification, this tool examines actual byte patterns to ensure high accuracy even when files are mislabeled, hidden, or obfuscated.
This skill is designed for developers and security researchers who prioritize data privacy. Because all inference happens locally, no sensitive file data ever leaves your machine. Integrating this into your local Openclaw Skills environment enables reliable, scalable, and secure file processing without the need for external API keys or constant network connectivity.
Install the package directly via pip to start using it within your Openclaw Skills workflow:
pip install detect-file-type-local
To install from source for development purposes:
pip install -e /path/to/detect-file-type-skill
The skill returns structured data for every file processed. When multiple files are scanned, the output is an array of objects.
| Field | Type | Description |
|---|---|---|
path |
string | The input file path or - for stdin. |
label |
string | Detected file type label (e.g., pdf, png, python). |
mime_type |
string | The official MIME type (e.g., application/pdf). |
score |
float | Confidence score ranging from 0.0 to 1.0. |
group |
string | Broad category (e.g., document, image, code). |
is_text |
bool | Indicates if the file is text-based content. |
Loading
An expert-level AI skill for providing professional, editorial-grade feedback on photographic composition and post-processing quality.

A read-only utility to compare the currently installed OpenClaw version against the latest release on the npm registry.

mcpsec is a specialized security auditing tool that scans Model Context Protocol (MCP) server configurations for vulnerabilities based on the OWASP MCP Top 10.

A local analysis tool for processing GHIN golf data to track handicap trends, scoring patterns, and course performance.

A legacy utility for file type detection that has been superseded by a more stable local version.

A specialized tool for querying the Czech ARES business registry with automated legal-form decoding and structured data output.








































