- name
- parser
- version
- 3.0.2
- author
- BytesAgain
- homepage
- https://bytesagain.com
- source
- https://github.com/bytesagain/ai-skills
- license
- MIT-0
- tags
- [parser, tool, utility]
- description
- Parse JSON, CSV, XML, and logs into structured output. Use when converting formats, validating structure, extracting fields, analyzing nested data.
parser
Parse and extract data from various file formats.
Commands
json
Parse JSON files (uses jq if available, else built-in)
scripts/script.sh jsoncsv
Parse CSV files, optionally extract a column by name or number
scripts/script.sh csvxml
Parse XML files with optional XPath (requires python3)
scripts/script.sh xmlyaml
Parse YAML files with optional key path (requires python3)
scripts/script.sh yamllines
Filter lines by pattern (grep-like, with context)
scripts/script.sh linessplit
Split file content by delimiter
scripts/script.sh splitextract
Extract text matching a regex pattern
scripts/script.sh extractstats
Show file statistics (lines, words, chars, encoding)
scripts/script.sh statsRequirements
- python3
- jq (optional)
*Powered by BytesAgain | bytesagain.com | hello@bytesagain.com*
Data Storage
Parse results can be cached in ~/.local/share/parser/.