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.
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:
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
| COMMAND | WHAT IT DOES |
|---|---|
node aim.mjs setup | Connects 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 only | A dry run: every step, its hash and the full diff of every file. Changes nothing. |
node aim.mjs apply --yes | Makes 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 --yes | Makes 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 verify | Checks that this connection key can reach the platform. |
node aim.mjs status reads only | What is installed here, and which mode it is in. |
node aim.mjs go-live | Leaves test mode: payments count as real money from then on. Asks first. |
node aim.mjs uninstall | Shows everything it will take out, then undoes it after your yes. Revokes the key and the token, and deletes itself last. |
node aim.mjs disconnect | Revokes 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 --yes | Optional: 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 --yes | Optional: 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.
| COMMAND | WHAT IT DOES |
|---|---|
node aim.mjs rank [latest] reads only | Rankings: the newest check and the ones before it. rank check <check id> [--question <n>] reads one check. |
node aim.mjs rank start reads only | Says 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 only | Book 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|more | Books one of those times (--tz is this machine’s time zone when left out; --product, --note, --name). |
node aim.mjs go-direct [list] reads only | Go-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 only | Multiplier: 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
1and 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, whichuninstalltakes out
Last changed 1 December 2026