skillZs
★ LIVE SKILL TAGS ★
>>> LIVE SKILLS INDEX <<<
* OPEN SOURCE *
NO LOGIN, NO TRACKING
※ REAL INSTALL DATA ※
← back to all skills
majesticlabs-dev/majestic-marketplace65 installs

config-reader

Read project config from .agents.yml and .agents.local.yml with local overrides. Supports dot notation for nested fields. Invoke when agents/skills reference `config_read("field", "default")` pseudocode. Args format "FIELD DEFAULT".

How do I install this agent skill?

npx skills add https://github.com/majesticlabs-dev/majestic-marketplace --skill config-reader
view source ↗

Is this agent skill safe to install?

  • Gen Agent Trust Hubfail

    The skill is vulnerable to command injection because it passes unsanitized user arguments directly to a shell command template. Additionally, it reads project configuration files without validation, which creates an indirect prompt injection surface.

  • Socketpass

    No alerts

  • Snykpass

    Risk: LOW · No issues

  • Runlayerwarn

    2/2 files flagged

What does this agent skill do?

Config Reader

Read and merge .agents.yml and .agents.local.yml configuration files. Local config overrides base config.

Requires: yq (brew install yq or snap install yq)

Arguments

$ARGUMENTS format: <field> [default]

Examples:

  • auto_preview false - get top-level field, default to "false"
  • plan.auto_create_task false - get nested field, default to "false"
  • tech_stack generic - get top-level field, default to "generic"
  • browser.type chrome - get nested browser type
  • toolbox.build_task.design_system_path - get deeply nested field

Execution

Run the config reader script with parsed arguments:

bash {baseDir}/scripts/config_reader.sh FIELD DEFAULT

Replace FIELD and DEFAULT with the parsed arguments from $ARGUMENTS.

Return Value

Return ONLY the config value (single line):

  • true
  • rails
  • github

Merge Logic

  1. Local checked first - .agents.local.yml wins if key exists
  2. Fall back to base - .agents.yml if not in local
  3. Default - provided default if neither has the key

Common Fields

FieldDescriptionTypical Default
auto_previewAuto-open markdown filesfalse
plan.auto_create_taskAuto-create tasks from plansfalse
tech_stackPrimary tech stackgeneric
task_managementTask tracking backendnone
workflowGit workflow stylebranches
toolbox.build_task.design_system_pathDesign system location(none)

Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.

<a href="https://skillzs.dev/skills/majesticlabs-dev/majestic-marketplace/config-reader">View config-reader on skillZs</a>