/SKILL.md
Use when working with JSON data in Python - nested dictionary access, querying collections, bulk transformations, or file-based config management
npx skillsauth add nitrosh/nitro-datastore nitro-datastoreInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Schema-agnostic JSON data store for Python with multiple access patterns.
pip install nitro-datastore
| Access Pattern | Syntax | Best For |
|----------------|--------|----------|
| Dot notation | data.site.name | Static keys |
| Dictionary | data['site']['name'] | Kebab-case keys, dynamic access |
| Path-based | data.get('site.name', default) | Dynamic paths, defaults |
from nitro_datastore import NitroDataStore
# From dict
data = NitroDataStore({'site': {'name': 'Nitro'}})
# From file
data = NitroDataStore.from_file('config.json')
# From directory (auto-merges alphabetically)
data = NitroDataStore.from_directory('data/')
# Dot notation (returns NitroDataStore for nested dicts)
data.site.name
# Path with default
data.get('site.theme.colors.primary', '#000')
# Multiple values
data.get_many(['site.name', 'site.url'])
# Dot notation
data.site.name = 'New Name'
# Path-based (creates intermediate dicts)
data.set('config.cache.ttl', 3600)
# Merge another datastore
data.merge(other_data)
results = (data.query('posts')
.where(lambda p: p.get('published'))
.sort(key=lambda p: p.get('views'), reverse=True)
.limit(10)
.execute())
# Utilities
count = data.query('posts').where(...).count()
first = data.query('posts').first()
titles = data.query('posts').pluck('title')
by_category = data.query('posts').group_by('category')
# Update matching values
count = data.update_where(
condition=lambda path, value: 'http://' in str(value),
transform=lambda value: value.replace('http://', 'https://')
)
# Clean up
data.remove_nulls()
data.remove_empty()
# List all paths
paths = data.list_paths()
paths = data.list_paths(prefix='site')
# Glob patterns
titles = data.find_paths('posts.*.title')
urls = data.find_paths('**.url')
# Find by key name
all_urls = data.find_all_keys('url')
# Find by value predicate
emails = data.find_values(lambda v: isinstance(v, str) and '@' in v)
# Transform all values (returns new instance)
upper = data.transform_all(
lambda path, value: value.upper() if isinstance(value, str) else value
)
# Transform keys
snake_case = data.transform_keys(lambda k: k.replace('-', '_'))
data.save('output.json', indent=2)
plain_dict = data.to_dict()
| Issue | Problem | Solution |
|-------|---------|----------|
| Kebab-case keys | data.user-name invalid Python | Use data['user-name'] |
| Dots in keys | data.get('key.with.dots') looks for nested | Use data['key.with.dots'] |
| Transform mutability | data.transform_keys(...) doesn't mutate | Assign result: data = data.transform_keys(...) |
| Nested access returns | data.site returns NitroDataStore | Use .to_dict() for plain dict |
# Path traversal protection
data = NitroDataStore.from_file(path, base_dir='/safe/dir')
# File size limits
data = NitroDataStore.from_file(path, max_size=10*1024*1024)
development
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.
development
Maintainer workflow for OpenClaw releases, prereleases, changelog release notes, and publish validation. Use when Codex needs to prepare or verify stable or beta release steps, align version naming, assemble release notes, check release auth requirements, or validate publish-time commands and artifacts.
development
Run, watch, debug, and extend OpenClaw QA testing with qa-lab and qa-channel. Use when Codex needs to execute the repo-backed QA suite, inspect live QA artifacts, debug failing scenarios, add new QA scenarios, or explain the OpenClaw QA workflow. Prefer the live OpenAI lane with regular openai/gpt-5.4 in fast mode; do not use gpt-5.4-pro or gpt-5.4-mini unless the user explicitly overrides that policy.
development
End-to-end Parallels smoke, upgrade, and rerun workflow for OpenClaw across macOS, Windows, and Linux guests. Use when Codex needs to run, rerun, debug, or interpret VM-based install, onboarding, gateway smoke tests, latest-release-to-main upgrade checks, fresh snapshot retests, or optional Discord roundtrip verification under Parallels.