build-and-compile
Building, compiling, and resolving dependency issues across languages
Working with diverse data formats: binary, text, structured, and custom
Claude Code
$ npx -y skills add vstorm-co/pydantic-deepagents --skill data-formats --agent claude-code
Codex
$ npx skills add vstorm-co/pydantic-deepagents --skill data-formats -a codex -y
Cursor
$ npx skills add vstorm-co/pydantic-deepagents --skill data-formats -a cursor -y
Gemini CLI
$ npx skills add vstorm-co/pydantic-deepagents --skill data-formats -a gemini-cli -y
GitHub Copilot
$ npx skills add vstorm-co/pydantic-deepagents --skill data-formats -a github-copilot -y
OpenCode
$ npx skills add vstorm-co/pydantic-deepagents --skill data-formats -a opencode -y
Windsurf
$ npx skills add vstorm-co/pydantic-deepagents --skill data-formats -a windsurf -y
name: data-formats description: "Working with diverse data formats: binary, text, structured, and custom" tags: [data, parsing, formats, benchmark] version: "1.0.0"
How to work with diverse and unknown data formats.
Always inspect before parsing:
file <filename> # MIME type detection
xxd <filename> | head -5 # hex dump (first bytes)
head -3 <filename> # text preview
python3 -c "
with open('<filename>', 'rb') as f:
h = f.read(16)
print(h, h.hex())
"1. Hex dump first 256 bytes: `xxd file | head -16` 2. Look for magic bytes, version numbers, string tables 3. Check file size — does it suggest a pattern? (e.g., N * record_size) 4. Look for documentation of the format online 5. Write a minimal parser, test on known values
1. Never load entirely — sample first: `head`, `tail`, `shuf -n 10` 2. Check consistency: are all lines the same format? 3. Count fields: `head -1 file | awk -F',' '{print NF}'` 4. Watch for: mixed types, missing values, encoding issues
1. List all files and sizes 2. Look for manifest/index files (often JSON or CSV) 3. Check naming patterns — timestamps, sequence numbers, shards 4. Process one file first, then generalize
Open-source, self-hosted Claude Code - a terminal AI assistant and the Python framework behind it. Tool-calling, sandboxed execution, multi-agent teams, skills, checkpoints, unlimited context - on Pydantic AI, any model.
Building, compiling, and resolving dependency issues across languages
Systematic exploration of unknown environments before starting work
Writing efficient code that handles large data and tight constraints
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.