Silence the session-start upgrade nudge for this project.
Invocation
Run from inside Claude Code in any project where Synthex is installed:
/synthex:dismiss-upgrade-nudge
Some commands accept parameters; see the source-of-truth file linked below for the full parameter list and workflow.
Lifecycle phase
Setup. One-time project scaffolding.
Related agents
No agents declare this command's lifecycle phase. The command runs structurally — delegating to whichever agents the command's workflow names directly.
When Synthex is upgraded past a version that introduces new features, a one-line nudge prints
at session start. /synthex:dismiss-upgrade-nudge/synthex:dismiss-upgrade-nudge silences that nudge for this
project, permanently — the flag survives future version updates.
Resolves the project root ($CLAUDE_PROJECT_DIR, else the current directory).
Checks for .synthex/. If it's missing, it prints
No .synthex/ directory in this project. Run /synthex:init first. and stops.
Runs state-flag.sh dismissed in one shell call. The script atomically sets
"dismissed": true in .synthex/state.json and leaves every other field
(last_seen_version, plugin_root, star flags) untouched. A missing or malformed file is
replaced with a fresh one.
Prints a confirmation.
It asks no questions and only ever writes .synthex/state.json. It does not change
.synthex/config.yaml or your multi_model_review settings — dismissing is a UX preference,
not configuration. It's idempotent; running it twice is harmless.
Parameters
This command takes no arguments.
Configuration
None. It reads no config keys. The state it writes lives in .synthex/state.json, which
/synthex:init/synthex:init gitignores because it's per-developer and per-clone.
Output
On success:
Synthex upgrade nudge dismissed. The nudge will not print on future sessions for this project.To re-enable nudges, delete .synthex/state.json. To configure multi-model review now, run /synthex:configure-multi-model.
If the state directory isn't writable (script exit code 5), it prints
Could not write .synthex/state.json — check directory permissions. and stops.
Examples
/synthex:dismiss-upgrade-nudge
To turn nudges back on, delete .synthex/state.json.
Host notes
On Claude Code the script runs from ${CLAUDE_PLUGIN_ROOT}/scripts/state-flag.sh. On other
hosts (Codex, Gemini CLI, OpenCode, Grok, Hermes), or when that variable is empty, the plugin
root comes from plugin_root in .synthex/state.json.
Without a shell tool (or if the script is missing), it writes state.json with the Write tool
instead: keeps every existing field, sets "dismissed": true and updated_at, and starts from
{"schema_version": 1} if the file is missing or malformed.
See also
/synthex:configure-multi-model/synthex:configure-multi-model — the feature most nudges point you to
/synthex:star/synthex:star — the other prompt stored in state.json