File Format Parser (JSON, XML, Protobuf)

Detect and parse JSON, XML, Protobuf, SQLite, and raw binary files.

Updated Mar 8, 2026
One-click install
npx skills add https://github.com/doghelWang/amr_studio_v4 --skill file-format-parser-json-xml-protobuf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: File Format Parser (JSON, XML, Protobuf)
Source: https://github.com/doghelWang/amr_studio_v4/tree/main/skills/xml_json_protobuf_parser
Command: npx skills add https://github.com/doghelWang/amr_studio_v4 --skill file-format-parser-json-xml-protobuf

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Automatically detect and parse common and unknown data formats from files.

Core Features & Use Cases

  • Multi-format detection: identify JSON, XML, Protobuf, SQLite, and raw binary data.
  • Content extraction and formatting: present readable JSON/XML trees or protobuf decode outputs with fallbacks to strings.
  • Use Case: Quickly analyze an unknown model file or data blob to surface readable structure and content for debugging.

Quick Start

Run the parser.py script against one or more target files to inspect their format.

Frequently Asked Questions about File Format Parser (JSON, XML, Protobuf)

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

FAQPage Schema
How do I detect and parse an unknown data format in a binary file?

To detect and parse an unknown data format, run the parser script against your target files. It automatically identifies structures like SQLite, JSON, XML, and Protobuf, or extracts readable strings as a fallback.

Can I inspect a raw binary blob to extract readable content and structure?

Yes, you can inspect a raw binary blob by running the parser against it. The tool attempts strict JSON and XML parsing, SQLite header detection, and Protobuf decoding before falling back to raw string extraction.

What is the best way to decode protobuf raw data without a schema?

Decoding protobuf raw data without a schema is handled via protoc raw decoding within the parser. This process outputs the decoded protobuf structure directly, helping you surface readable content from unknown binary blobs.

Does this file format parser support SQLite header detection?

Yes, the file format parser supports SQLite header detection. It automatically identifies SQLite databases from unknown files and extracts the content, presenting readable structures for debugging.

How to extract readable strings and structures from an unknown model file?

You extract readable strings and structures from an unknown model file by running the parser script. It implements multi-format detection and fallback strings extraction to surface readable content for debugging.

What happens when strict JSON and XML parsing fails on an unknown format?

When strict JSON and XML parsing fails on an unknown format, the parser attempts Protobuf raw decoding and SQLite header detection. If all specific format detection fails, it falls back to extracting readable strings.