json-config-loader
Configuration file parsing patterns for bash scripts (INI, key=value, JSON)
Best use case
json-config-loader is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Configuration file parsing patterns for bash scripts (INI, key=value, JSON)
Teams using json-config-loader should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/json-config-loader/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How json-config-loader Compares
| Feature / Agent | json-config-loader | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Configuration file parsing patterns for bash scripts (INI, key=value, JSON)
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Json Config Loader
## When to Use This Skill
✅ **Use when:**
- Loading configuration from files into bash scripts
- Parsing key=value or INI-style configuration files
- Working with JSON data using jq
- Generating JSON reports from bash
- Managing configuration with associative arrays
❌ **Avoid when:**
- Complex nested configuration (consider Python instead)
- Real-time configuration changes (use a daemon)
- Configuration with complex validation rules
## Complete Example: Config Manager
Full configuration management with multiple formats:
```bash
#!/bin/bash
# ABOUTME: Universal configuration manager
# ABOUTME: Supports key=value, JSON, and environment overrides
set -e
# ─────────────────────────────────────────────────────────────────
# Configuration Storage
# ─────────────────────────────────────────────────────────────────
declare -A CONFIG
CONFIG_FILE=""
CONFIG_FORMAT=""
# ─────────────────────────────────────────────────────────────────
# Format Detection
# ─────────────────────────────────────────────────────────────────
detect_format() {
local file="$1"
case "${file##*.}" in
*See sub-skills for full details.*
## Resources
- [jq Manual](https://stedolan.github.io/jq/manual/)
- [yq Documentation](https://mikefarah.gitbook.io/yq/)
- [Bash Associative Arrays](https://www.gnu.org/software/bash/manual/html_node/Arrays.html)
---
## Version History
- **1.0.0** (2026-01-14): Initial release - extracted from workspace-hub configuration scripts
## Sub-Skills
- [1. Key=Value Configuration Parsing (+1)](1-keyvalue-configuration-parsing/SKILL.md)
- [3. JSON Report Generation](3-json-report-generation/SKILL.md)
- [4. Multi-Section INI Parsing](4-multi-section-ini-parsing/SKILL.md)
- [5. Environment Variable Configuration](5-environment-variable-configuration/SKILL.md)
- [6. YAML Configuration (via yq)](6-yaml-configuration-via-yq/SKILL.md)
- [1. Always Provide Defaults (+4)](1-always-provide-defaults/SKILL.md)Related Skills
xurl
X/Twitter via xurl CLI: post, search, DM, media, v2 API.
xitter
Interact with X/Twitter via the x-cli terminal client using official X API credentials. Use for posting, reading timelines, searching tweets, liking, retweeting, bookmarks, mentions, and user lookups.
research-paper-writing
End-to-end pipeline for writing ML/AI research papers — from experiment design through analysis, drafting, revision, and submission. Covers NeurIPS, ICML, ICLR, ACL, AAAI, COLM. Integrates automated experiment monitoring, statistical analysis, iterative writing, and citation verification.
cli-productivity
Essential CLI tools and shell productivity patterns for efficient terminal workflows
usage-tracker
Track and analyze usage metrics with timestamped logging, reporting, and trend detection
state-directory-manager
Manage persistent state directories with XDG-compliant paths and cleanup for bash scripts
parallel-batch-executor
Parallel task execution patterns using xargs and job control for significant performance gains
interactive-menu-builder
Build multi-level interactive CLI menus with navigation and selection for bash scripts
git-sync-manager
Multi-repository git synchronization and fetch-pull-push patterns for batch operations across workspaces
complexity-scorer
Score task complexity using keyword matching, heuristic analysis, and configurable threshold rules
bash-cli-framework
Universal bash CLI patterns for colors, logging, headers, and error handling
toml-section-scoping-config-debug
Diagnose TOML config errors caused by misplaced keys in table sections