Generate a starter bot, check project setup offline, triage issues, build installation URLs and sync coding-agent rules
The @neontechspace/ package ships the fluxerly command for project setup, offline verification, agent-assisted triage, installation URL generation and coding-agent rules. Pass --help or --version to inspect available commands and the installed SDK version. Every subcommand accepts --help (-h) and --flag=value syntax, and doctor and triage run even on Node.js older than 26.13 so they report the Node.js version check cleanly instead of crashing on load
Run installed subcommands with npx --no, pnpm exec or bunx --no-install so the package manager executes the local package rather than downloading an unscoped fluxerly package from npm
Generate a Starter with Init
Create a new JavaScript, TypeScript or Effect bot project without replacing existing files, then install dependencies:
npx @neontechspace/fluxerly initpnpm dlx @neontechspace/fluxerly initbunx @neontechspace/fluxerly initAvailable options:
--template js|ts|effect: Selects the JavaScript, TypeScript or Effect starter without prompting--dir <folder>: Writes the starter into<folder>, creating it if needed--pm npm|pnpm|bun: Selects the package manager instead of detecting the launcher--no-install: Skips package installation and prints the install commands instead
The quick start walks through the generated files, .env setup and first run
Check Setup Offline with Doctor
Verify Node.js version, ESM setup, tsconfig.json (including legacy moduleResolution settings such as node, node10 or classic), TypeScript 7, @types/node, Effect peer range, local or monorepo-hoisted node_modules drift, forbidden require() or deep /dist/ and /src/ imports, AGENTS.md and tool rule freshness, .gitignore hygiene, .env token prefixes and POSIX .env permissions (chmod 600 .env) without printing secrets or contacting Fluxer:
npx --no fluxerly doctorpnpm exec fluxerly doctorbunx --no-install fluxerly doctorAvailable options:
--dir <folder>: Targets a bot folder other than the current directory--json: Prints structured JSON check results (schemaVersion,ok,summary,versions,checks) for scripts or CI--strict: Exits non-zero when warnings or failures are found
Investigate Failures with Triage
Gather redacted project facts, redacted tsconfig.json compiler options, safe proxy and NODE_OPTIONS hints, the pinned Fluxer server commit, static doctor checks, an automatic Detected SDK codes table matched from attached logs or traces, and Fluxerly's triage playbook to diagnose whether an issue comes from application code, Fluxer or the SDK:
npx --no fluxerly triagepnpm exec fluxerly triagebunx --no-install fluxerly triageAvailable options:
[problem]: Optional short description of what failed--agent antigravity|claude|codex|opencode|t3code|other: Chooses which coding-agent CLI to start, orotherfor a harness-agnostic prompt--model <id>: Passes a model identifier through to the chosen coding-agent CLI--dir <folder>: Targets a bot folder other than the current directory--log <file|->: Attaches a redacted, ANSI-stripped tail (up to 16 KB from a bounded read, symlink-checked to refuse credential files) of a local log file or standard input (-)--run <command>: Runs<command>once withFLUXERLY_and attaches redacted outputDEBUG=rest, gateway --timeout <duration>: Sets the timeout for--run(for example45s,60000or2m, default 30 seconds)--debug <categories>: OverridesFLUXERLY_DEBUGcategories used by--run--print: Prints the triage playbook and redacted context without launching an agent--out <file>: Writes the redacted Markdown triage brief to a file (mode0600on POSIX, refusing credential-like targets) without launching an agent--json: Prints structured JSON triage facts, doctor checks and detected SDK codes
For manual diagnosis steps without an agent, see troubleshooting
Build an Installation URL with Invite
Generate a Fluxer bot installation URL offline from a decimal application ID, validating every permission name locally:
npx --no fluxerly invite 1234567890123456789 --permissions ViewChannel,SendMessages,ReadMessageHistorypnpm exec fluxerly invite 1234567890123456789 --permissions ViewChannel,SendMessages,ReadMessageHistorybunx --no-install fluxerly invite 1234567890123456789 --permissions ViewChannel,SendMessages,ReadMessageHistoryAvailable options:
--permissions <value>: Accepts comma-separated permission names or a decimal bitfield--instance <url>: Targets a self-hosted Fluxer instance origin instead of hosted Fluxer
See create a bot for application setup and community authorization steps
Sync Coding-Agent Rules with Agents
Add, refresh or verify Fluxerly's bundled rules for coding agents after installing or updating the SDK:
npx --no fluxerly agentspnpm exec fluxerly agentsbunx --no-install fluxerly agentsAvailable options:
--target agents|skill|cursor|claude|gemini|all: Chooses which agent instruction files to write--check: Exits non-zero whenAGENTS.mdis missing or out of date--print: Prints the Fluxerly rules section without modifying files