⏳ This skill is pending AI review.

Scores will appear once the review pipeline completes.

version unknown

suxiaoqiang-cli

@aiguanginc⭐ 5 stars

>

Choose how to use this skill

You do not need every option. Choose the path your AI client supports. The stable page stays the same; versioned files are immutable.

1. Native installer

This listing has no registered native installer command. Use the complete package or source fallback below, depending on what your client supports.

Do not guess an installer command or replace an existing version without reviewing the diff.

2. Complete package recommended

Download the ZIP when available. It includes SKILL.md plus the references, security notes and version metadata.

No complete ProSkills package is published for this listing yet.

3. Prompt-only

Copy the prompt above when the agent can read the stable page or when you want to adopt the workflow without installing a skill.

Need only the instruction file?

Download SKILL.md only if your client requires a single file. The complete ZIP is safer for a full installation because it preserves the references and release context.

No path installs or executes anything by itself. Your agent still needs access to the project files. Before updating, compare the installed version and review the diff.

—/10

// RATINGS

⭐GitHub Stars
⭐ 5 on GitHubGitHub ↗

New / niche

🟢ProSkills Score
—
📍

Not yet listed on ClawHub or SkillsMP

// README

suxiaoqiang-cli (sxq)

npm version license

English | 简体中文

sxq is the official command-line tool for Superun, the vibe coding platform. It syncs your Superun project files to your local machine so you can edit them with your favorite editor or AI coding agent, then push changes back, trigger a preview build, and open the production release confirmation page.

Installation

Requires Node.js >= 18.

npm install -g suxiaoqiang-cli

Or run from source:

git clone https://github.com/AiGuangInc/suxiaoqiang-cli.git
cd suxiaoqiang-cli
npm install
npm run build
npm link   # makes the `sxq` command available globally

Quick start

# 1. Log in (opens a browser for authorization)
sxq login

# 2. Link a local directory to your Superun project
mkdir my-app && cd my-app
sxq link <sessionId>        # sessionId is shown in the Superun project URL

# 3. Pull the project files
sxq pull

# 4. Edit locally, then push your changes back
sxq push -m "tweak homepage copy"

# 5. Update the frontend preview and wait for it
sxq preview                 # same as sxq preview front; prints the preview URL when done

# Update only the Edge Function preview when needed
sxq preview ef

# 6. Open the production release confirmation
sxq deploy                  # opens the project release confirmation page in your browser

Commands

CommandDescription
sxq login [-y] [--pat / --stdin / --token <token>]Obtain and save a PAT via browser authorization, or import a credential with hidden input, stdin, or an existing token (validated before saving).
sxq logoutDelete the saved login credential for the current API environment. Does not revoke the PAT on the server or unset SUPERUN_PAT.
sxq link <sessionId> [-y]Link the current directory to a project. Requires code sync permission, project access, and stage 2 (demo) or later after style selection.
sxq pull [-f]Pull remote files. Incremental after the first pull, with three-way merge; conflicts get git-style <<<<<<< markers. Git projects only operate on the configured branch by default.
sxq push [-f] [-y] [-m <msg>]Pull first, show the complete add/modify/delete plan, then push after confirmation. Git projects only push from the configured branch by default; -f ignores branch restrictions and -y skips confirmation.
sxq preview [front|ef]Update the preview environment; defaults to front, while ef deploys Edge Functions only.
sxq publishCompatibility alias for sxq preview front.
sxq deployOpen the linked project's release confirmation page. The CLI does not release directly.
sxq deploy --statusShow pending / published versions and the live URL without releasing.
sxq plugin list|status|enable|skill|disableManage allowlisted project plugins; skill force-installs/upgrades private plugin skills.
sxq db push [-f] [-m <msg>]Execute new database migrations under supabase/migrations/; Git projects only operate on the configured branch by default.
sxq db query [sql] [--file <path>] [--prod] [--limit <n>] [--json]Run SQL; Debug permits writes, while --prod queries the isolated live database read-only.
sxq db logs [--type <type>] [--since <range>] [--prod] [--json]Query superun Cloud logs; use --prod for live logs when isolated deployment is enabled.
sxq config set|get|unset|listManage config. Keys: host, lang (zh / en), and project-level push-branch (default main).
sxq upgradeUpgrade the CLI to the latest version from npm.

Mandatory upgrade policy

The CLI refreshes npm dist-tags on the first command each day; later commands that day only read the local cache. latest only produces the normal update notice, while the maintainer-controlled required tag is the minimum allowed version. When the installed version is below required, the CLI upgrades itself to the latest version through npm and then re-runs the original command with the new CLI. sxq upgrade, sxq logout, --version, and --help always run directly.

Only enable or raise the minimum after the target version has been published and verified:

npm dist-tag add suxiaoqiang-cli@<minimum-version> required
npm dist-tag rm suxiaoqiang-cli required  # disable mandatory upgrades

If the npm registry is temporarily unavailable, the CLI keeps enforcing the last successfully read policy. A machine with no cached policy fails open so a registry outage cannot disable every command.

The gate can only govern CLI versions that already contain this capability. Roll out the first capable release as a normal update before using required; a dist-tag cannot retroactively change clients published before the gate existed.

Project plugins and private skills

The CLI only exposes project plugins on the server-managed allowlist. The first version supports SUPERUN_CLOUD, SUPERUN_AI, SUPERUN_MANAGED_AGENT_V2, SUPERUN_STORAGE, TTS, ASR, VIDEO_GENERATE, NANO_BANANA, and OCR.

sxq plugin list
sxq plugin enable SUPERUN_CLOUD
sxq plugin skill SUPERUN_CLOUD

sxq plugin skill force-upgrades every private skill file associated with the plugin and writes it under .superun/skills/<skill-id>/. A skill can contain SKILL.md, references, scripts, and other files. Agents should install a plugin skill themselves with sxq plugin skill <PLUGIN_ID> when needed.

.superun/skills/ is outside project code synchronization: sxq pull never reads or overwrites it, and sxq push never uploads it. Plugin capability commands force-upgrade their relevant private skills before running; every sxq db operation upgrades the SUPERUN_CLOUD skills.

Claude Code and Codex plugins

This repository publishes one shared suxiaoqiang-cli skill for both Claude Code and Codex. The plugin teaches the agent how to drive sxq safely; the CLI itself must still be installed from npm.

Claude Code

Install:

claude plugin marketplace add AiGuangInc/suxiaoqiang-cli
claude plugin install suxiaoqiang-cli@suxiaoqiang

Update to the latest skill and restart Claude Code:

claude plugin marketplace update suxiaoqiang
claude plugin update suxiaoqiang-cli@suxiaoqiang

Codex

Install:

codex plugin marketplace add AiGuangInc/suxiaoqiang-cli --ref main
codex plugin add suxiaoqiang-cli@suxiaoqiang

Refresh the marketplace, reinstall the latest plugin version, and start a new task:

codex plugin marketplace upgrade suxiaoqiang
codex plugin add suxiaoqiang-cli@suxiaoqiang

Database migrations

Create each migration under supabase/migrations/ using the strict <yyyyMMddHHmmss>_<identifier>.sql format. The prefix must contain exactly 14 digits, for example 20260506210939_b9c21d2a344c4871b08a744b2e724176.sql. It determines replay order and must be unique across the project. If any new SQL file does not match this format, sxq db push aborts the entire batch before executing SQL. Then run:

sxq db push -m "add user profile tables"

It pulls first and finds migrations that don't exist remotely yet. If a pending migration reuses a timestamp from either another pending migration or an existing remote migration, it aborts before executing any SQL; otherwise it executes migrations one by one in timestamp order, stopping at the first failure and printing the error. The server stores each successful migration as a project attachment automatically, so don't push migration files with sxq push (the CLI blocks them).

SQL and log queries:

sxq db query "select * from users limit 20"
sxq db query --file query.sql --json
sxq db logs --type function --since 15m

With isola

// HOW IT'S BUILT

KEY FILES

plugins/suxiaoqiang-cli/skills/suxiaoqiang-cli/SKILL.mdREADME.md

// REPO STATS

5 stars