DOCS · REFERENCE · COMMANDS · SETUP

dismiss-upgrade-nudge/synthex:dismiss-upgrade-nudge

Setup

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.

No agents declare this command's lifecycle phase. The command runs structurally — delegating to whichever agents the command's workflow names directly.

Source

The command's parameters, workflow, and sub-agent invocations are defined in markdown at bluminal/lumenai/blob/main/plugins/synthex/commands/dismiss-upgrade-nudge.md.

Last modified:

What it does, end-to-end

When Synthex is upgraded past a version that introduces new features, a one-line nudge prints at session start. dismiss-upgrade-nudge/synthex:dismiss-upgrade-nudge silences that nudge for this project, permanently — the flag survives future version updates.

  1. Resolves the project root ($CLAUDE_PROJECT_DIR, else the current directory).
  2. Checks for .synthex/. If it's missing, it prints No .synthex/ directory in this project. Run /synthex:init first. and stops.
  3. 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.
  4. 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

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

  • configure-multi-model/synthex:configure-multi-model — the feature most nudges point you to
  • star/synthex:star — the other prompt stored in state.json