config-reader
Original:🇺🇸 English
Translated
1 scripts
Read project config from .agents.yml and .agents.local.yml with local overrides. Supports dot notation for nested fields. Invoke with args "<field> <default>".
2installs
Added on
NPX Install
npx skill4agent add majesticlabs-dev/majestic-marketplace config-readerTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Config Reader
Read and merge and configuration files. Local config overrides base config.
.agents.yml.agents.local.ymlRequires: yq ( or )
brew install yqsnap install yqArguments
$ARGUMENTS<field> [default]Examples:
- - get top-level field, default to "false"
auto_preview false - - get nested field, default to "false"
plan.auto_create_task false - - get top-level field, default to "generic"
tech_stack generic - - get nested browser type
browser.type chrome - - get deeply nested field
toolbox.build_task.design_system_path
Execution
Run the config reader script with parsed arguments:
bash
bash {baseDir}/scripts/config_reader.sh FIELD DEFAULTReplace and with the parsed arguments from .
FIELDDEFAULT$ARGUMENTSReturn Value
Return ONLY the config value (single line):
truerailsgithub
Merge Logic
- Local checked first - wins if key exists
.agents.local.yml - Fall back to base - if not in local
.agents.yml - Default - provided default if neither has the key
Common Fields
| Field | Description | Typical Default |
|---|---|---|
| Auto-open markdown files | |
| Auto-create tasks from plans | |
| Primary tech stack | |
| Task tracking backend | |
| Git workflow style | |
| Design system location | (none) |