DOCS · REFERENCE · COMMANDS · SETUP

star/synthex:star

Setup

Offer to star the LumenAI marketplace repository on GitHub.

Invocation

Run from inside Claude Code in any project where Synthex is installed:

/synthex:star

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/star.md.

Last modified:

What it does, end-to-end

star/synthex:star asks whether you'd like to star the Lumenai marketplace repo (https://github.com/bluminal/lumenai) and helps you get there. It's friendly, idempotent, and never blocks anything.

  1. Checks state. If .synthex/ doesn't exist, it prints the repo URL with a pointer to init/synthex:init and stops without writing anything. If .synthex/state.json already has "starred": true, it thanks you and stops — no re-prompt.
  2. Asks with three options: Yes, take me there, Maybe later, or No thanks.
  3. Applies your choice:
    • Yes — prints the URL, tries once to open it in your browser (open, xdg-open, or Start-Process; opener failures are ignored), then sets "starred": true.
    • Maybe later — writes nothing. The upgrade-nudge hook asks again on the next version bump.
    • No thanks — sets "star_dismissed": true so you aren't asked again in this project.

It never stars on your behalf. There are no GitHub API or gh calls; you click the button yourself.

init/synthex:init runs the same prompt (steps 2–3) as part of first-time setup.

Parameters

This command takes no arguments.

Configuration

None. It reads no config keys. It stores its answer in .synthex/state.json, which is per-developer and gitignored:

FieldMeaning
starredYou accepted and were sent to the repo
star_dismissedYou declined; future star nudges are suppressed

If both are false or absent, the upgrade-nudge hook re-prompts on the next upgrade.

Output

A short message for each branch, for example:

Thank you! Visit this URL and click the ★ Star button in the top right:

  https://github.com/bluminal/lumenai

If state.json can't be written (exit code 5), it prints Could not write .synthex/state.json — check directory permissions. The URL is already on screen, so you can still star manually.

Examples

/synthex:star

Host notes

  • On Claude Code the flag is written by ${CLAUDE_PLUGIN_ROOT}/scripts/state-flag.sh starred (or star_dismissed). 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, keeping every existing field and setting the flag plus updated_at.
  • If no browser opener works on your platform, the printed URL is all you need.

See also

  • dismiss-upgrade-nudge/synthex:dismiss-upgrade-nudge — silence the session-start upgrade nudge