file-utilities-and-editing

Detect MIME types, format file sizes, and generate cryptographic hashes.

Updated Feb 24, 2026
One-click install
npx skills add https://github.com/AgentPMT/agent-skills --skill file-utilities-and-editing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: file-utilities-and-editing
Source: https://github.com/AgentPMT/agent-skills/tree/main/skills/file-utilities-and-editing
Command: npx skills add https://github.com/AgentPMT/agent-skills --skill file-utilities-and-editing

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines common file operations, from identifying file types and formatting sizes to manipulating paths and converting data formats, reducing manual effort and potential errors in file handling tasks.

Core Features & Use Cases

  • File Identification: Detect MIME types and identify file extensions.
  • Path Manipulation: Parse, join, and normalize file paths across different operating systems.
  • Data Formatting: Convert CSV to ASCII tables, pretty-print JSON, and minify JSON.
  • Encoding & Hashing: Encode/decode Base64 and generate MD5, SHA1, SHA256, or SHA512 hashes.
  • Use Case: Automatically detect the MIME type of an uploaded file, format its size into a human-readable string, and generate its SHA256 hash for integrity verification.

Quick Start

Use the file-utilities-and-editing skill to detect the MIME type of the file named 'document.txt'.

Frequently Asked Questions about file-utilities-and-editing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I detect MIME type from a file extension in an automation workflow?

To detect MIME type, the Skill uses the file extension to identify the format and returns the corresponding MIME type string. This allows automation workflows to validate file types during processing or uploads.

Can I generate SHA256 and MD5 hashes for file integrity verification?

You can generate cryptographic hashes including MD5, SHA1, SHA256, and SHA512. The Skill calculates the hash value for your file content, enabling integrity verification and checksum validation in automated pipelines.

What's the best way to convert CSV data to an ASCII table?

Converting CSV to an ASCII table is handled directly by the Skill's data formatting utilities. It parses your CSV input and outputs a structured ASCII table, making tabular data readable in text environments.

How do I pretty-print or minify JSON for data formatting?

JSON pretty-printing and minification are supported as core data formatting features. The Skill takes raw JSON input and either adds indentation for readability or removes whitespace to minify the payload.

Does Base64 encoding and decoding work across different operating systems?

Base64 encoding and decoding functions operate independently of the operating system. The Skill processes binary data and outputs Base64 strings, ensuring consistent data transfer across any platform.

How do I parse and normalize file paths across different operating systems?

Path manipulation functions parse, join, and normalize file paths to ensure cross-platform compatibility. The Skill adjusts directory separators and resolves path segments for the target operating system.