gantry-mode
Set the default interaction style used when Gantry creates a new task, or change an existing task immediately. This changes explanation depth and pseudocode chunking only; it never weakens Gantry's approval gate or design rigor.
Store configuration at ~/.gantry/config.json ($HOME/.gantry/config.json, using the platform's real user-home directory). Use the bundled script for every read and write:
node <absolute-path-to-this-skill>/scripts/gantry-mode.mjs [guided|collaborative|concise|reset] [slug] [--root <project-root>]
Arguments
Accept a mode and an optional Gantry slug:
- no argument — report the current default and list the three valid levels.
guided,collaborative, orconcise— set the user-level default for future tasks.<mode> <slug>— update.gantry/<slug>.diff.mdand apply the level to that task immediately without changing the default. Applying a level to an active task means re-rendering the doc's unresolved givens, forks, and open items in the new style inside.gantry/<slug>.md; it does not mean re-explaining the existing design in chat. Keep the chat reply to the script's confirmation plus a one-line pointer to what changed in the editor.reset— remove the global override and return the default tocollaborative.reset <slug>— set that task to the current global default.
Treat values case-insensitively and normalize them to lowercase. For any other value, print the valid choices and stop without changing the file.
Run the script with no argument to report status. For a task-specific change, pass the repository root with --root and use the filename stem from .gantry/<slug>.md. Relay the script's output without embellishment. If it reports malformed configuration or sidecar frontmatter, stop; never repair or overwrite it automatically.
The script preserves unrelated global configuration keys and sidecar frontmatter.
Output
Keep responses short. Every script call — status, a default change, a task change, or a reset — lists the three available modes so the engineer always sees the choices. Relay that verbatim; do not restate or re-describe the modes yourself.
Status call:
Gantry guidance: collaborative
guided — more teaching and smaller steps
collaborative — balanced pairing (default)
concise — terse, fluency-assuming context
A write additionally reports the exact config or sidecar path and appends the same Available modes: block:
Gantry guidance set to guided for future tasks.
Config: /home/you/.gantry/config.json
Available modes:
guided — more teaching and smaller steps
collaborative — balanced pairing (default)
concise — terse, fluency-assuming context