| name | ndx-config |
| description | View or change n-dx configuration with guided assistance |
| argument-hint | [key] [value] |
View or change n-dx configuration with guided assistance.
Available configuration areas:
- LLM settings: vendor (claude/codex), model, API keys, CLI paths
- Rex settings: budget thresholds, level-of-effort params, adapter
- Hench settings: provider, model, max turns, token budget, guard policies
- Web settings: dashboard port
If no arguments: show current configuration summary
If key only: show current value and explain what it controls
If key and value: validate and set the value
Run the appropriate ndx config command to apply changes.
Final step — commit configuration changes
After applying any configuration change, commit the modified files:
-
Run git status --porcelain against the project root. This catches every dirty path — both direct file edits to .n-dx.json/.rex/config.json/.hench/config.json and MCP side-effect writes under .rex/prd_tree/. If the output is empty, print "Working tree clean — nothing to commit." and stop.
-
Run git add -A to stage all changes.
-
Commit with a message that names the key changed and includes the n-dx authorship + model audit trailer block via a HEREDOC:
git commit -m "$(cat <<'EOF'
ndx-config: update <key> configuration
N-DX: skill/ndx-config
Co-Authored-By: En Dash's n-dx <n-dx@endash.us>
EOF
)"
Keep the N-DX: and Co-Authored-By: trailer lines exactly as shown — they form the audit trail used by downstream tooling.