Docs / Install

CLI: aim.mjs

One file, no packages. It shows every change before it makes one, and can undo all of it. Run it in your product’s code folder, or let your coding agent run it.

Install

Run this in your product’s code folder, or let your coding agent run it. It needs Node 18 or newer and writes only in this folder.

Terminal
curl -fsSL https://app.csuite.is/install.sh | sh

The script downloads aim.mjs, checks its SHA-256 against the one the platform names, and starts node aim.mjs setup. A copy that was cut off on the way runs nothing. To only download and check, start nothing:

Terminal
curl -fsSL https://app.csuite.is/install.sh | sh -s -- --download-only

To check your copy by hand: shasum -a 256 aim.mjs. Its first lines say what it does and does not do; it is one file you can read.

Commands

COMMANDWHAT IT DOES
node aim.mjs setupConnects this folder with a browser Allow, no code typed. Prints a link and a check word for a person to open. In a terminal it waits up to 10 minutes; in a coding agent’s shell it stops with exit code 3. Run setup --wait 90 again until it ends with exit code 0.
node aim.mjs plan reads onlyA dry run: every step, its hash and the full diff of every file. Changes nothing.
node aim.mjs apply --yesMakes the changes in the plan. --write-key also makes the connection key and writes it to .env.aim.
node aim.mjs apply secrets --file .env --yesMakes the three server secrets on this machine and writes them into that env file. Prints their names only. A new file is git-ignored first.
node aim.mjs verifyChecks that this connection key can reach the platform.
node aim.mjs status reads onlyWhat is installed here, and which mode it is in.
node aim.mjs go-liveLeaves test mode: payments count as real money from then on. Asks first.
node aim.mjs uninstallShows everything it will take out, then undoes it after your yes. Revokes the key and the token, and deletes itself last.
node aim.mjs disconnectRevokes the install token. Installed files stay.
node aim.mjs connect --platform … --code …The older way to connect: with a one-time code from the Connect page instead of a browser Allow.
node aim.mjs apply sender --cron --yesOptional: one marked line in your crontab runs the sender every hour on this machine. uninstall takes it out.
node aim.mjs apply check --run-check --yesOptional: runs the installed sender once with no key, to see that it loads. It runs that file on your machine.

Run node aim.mjs help for the full list of options.

The four products

These commands read Rankings, book a call, and start and read Go-Direct studies and Multiplier runs. They go through the MCP server with an agent key, so no connection in this folder is needed. Put the key in AIM_MCP_KEY, or in a file only you can read and pass --key-file <file>; it is never printed. Give the address with --platform or AIM_PLATFORM when this folder is not connected.

COMMANDWHAT IT DOES
node aim.mjs rank [latest] reads onlyRankings: the newest check and the ones before it. rank check <check id> [--question <n>] reads one check.
node aim.mjs rank start reads onlySays whether the daily ranking check is on and when it last ran. Checks run once a day; this starts nothing by itself.
node aim.mjs book [slots] reads onlyBook a call: the open times. book mine shows the coming call of the person who made the key.
node aim.mjs book call --start … --topic setup|product|moreBooks one of those times (--tz is this machine’s time zone when left out; --product, --note, --name).
node aim.mjs go-direct [list] reads onlyGo-Direct: the studies. go-direct show <study id> [--run <n>] reads one.
node aim.mjs go-direct start --docs <url>Starts a Go-Direct study (--product, --audience, --languages en|en,zh-Hant, --per-task 1|2|3).
node aim.mjs multiplier [show] reads onlyMultiplier: the funnel, the runs and the fixes.
node aim.mjs multiplier start --docs <url>Starts a Multiplier run. One open run at a time.
  • Starting needs a key made with May also start things in Settings › Agent keys. Any other key is told so, and nothing is started
  • A product that is not switched on yet says so and stops with exit code 4. Nothing is started
  • Every other refusal stops with exit code 1 and says why

What it will and will not do

  • Writes only inside this folder: aim/, its config and lock files, .gitignore, and the marked blocks you see in the plan. Never a line of your own code outside them
  • Steps are data, and you see each one first. It runs nothing it downloads, unless you ask for the optional load check
  • Keeps secrets out of git: before a secret goes into a file, git is asked whether the file is ignored. A file git tracks gets no secret
  • Starts in test mode: a payment is test money until you run go-live
  • Outside this folder it changes one thing, and only with --cron: one marked line in your crontab, which uninstall takes out

Last changed 1 December 2026