Flatten — Data Flattening Reference
name: "flatten"
by bytesagain · published 2026-03-22
$ claw add gh:bytesagain/bytesagain-flatten---
name: "flatten"
version: "1.0.0"
description: "Data flatten reference — nested-to-flat conversion, JSON/array flattening, dot-notation keys, depth control. Use when transforming hierarchical data into flat structures or normalizing nested records."
author: "BytesAgain"
homepage: "https://bytesagain.com"
source: "https://github.com/bytesagain/ai-skills"
tags: [flatten, data, nested, json, array, transform, normalize, atomic]
category: "atomic"
---
# Flatten — Data Flattening Reference
Quick-reference skill for flattening nested data structures into flat key-value pairs or single-level arrays.
When to Use
Commands
`intro`
scripts/script.sh introOverview of data flattening — what it means, why it matters, core concepts.
`json`
scripts/script.sh jsonJSON object flattening — dot-notation keys, bracket notation, separator options.
`array`
scripts/script.sh arrayArray flattening — multi-dimensional to single-level, depth-limited flatten.
`algorithms`
scripts/script.sh algorithmsFlattening algorithms — recursive vs iterative, stack-based, BFS approaches.
`languages`
scripts/script.sh languagesFlatten implementations across languages — JavaScript, Python, Go, Bash, SQL.
`edgecases`
scripts/script.sh edgecasesEdge cases — circular references, null values, mixed types, empty containers.
`unflatten`
scripts/script.sh unflattenReverse operation — reconstructing nested structures from flat key-value pairs.
`patterns`
scripts/script.sh patternsReal-world patterns — ETL pipelines, log normalization, config merging.
`help`
scripts/script.sh help`version`
scripts/script.sh versionConfiguration
| Variable | Description |
|----------|-------------|
| `FLATTEN_DIR` | Data directory (default: ~/.flatten/) |
---
*Powered by BytesAgain | bytesagain.com | hello@bytesagain.com*
More tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...