Reflex Ops from riif

FROM RIIF

An ops terminal that remembers the team, the spend, and the decision.

Reflex Ops runs on your machine for standup, operating rules, agent handoffs, records, and live testing. It signs you in with riif, logs what every call cost, and writes the record where the team can check it.

What Reflex Ops adds

Reflex Ops is built on opencode, an open-source terminal agent, and adds four things:

Install

The command is reflex. Reflex Ops runs on Mac, Linux and Windows. One line detects your machine and installs it.

Mac or Linux, in Terminal:

curl -fsSL https://reflex.riif.com/install | bash

Windows: the line and the steps are under On Windows.

Then, in a new terminal window:

reflex --help   # prints REFLEX OPS
reflex login    # sign in with riif, once
reflex          # opens the terminal

Working with Claude Code? The steps are under With Claude Code.

On Windows

Reflex Ops runs in PowerShell. The Mac and Linux line does not work there, so use these steps.

  1. Open PowerShell: press the Windows key, type PowerShell, press Enter. Then run this line:
    irm https://reflex.riif.com/install.ps1 | iex
    It puts reflex.exe in the folder .reflex\bin inside your user folder and adds that folder to your PATH (the list of places Windows looks for programs). Nothing else is changed.
  2. Check it. reflex --version prints the version number.
  3. Sign in once. reflex login shows a code and opens account.riif.com in your browser. Approve it there.
  4. Go to your project folder with cd and type reflex. If you work with Claude Code, run reflex kit in that folder first.
  5. Close and reopen any program that was already open (Claude Code, an editor, another PowerShell window), so it can find reflex.

It says "bash is not recognized". You ran the Mac and Linux line. Use the PowerShell line in step 1.

It says "reflex is not recognized". That window was open before the install, or it is a new tab in an app that was. Run this line in it, then try again: $env:Path += ";$env:USERPROFILE\.reflex\bin". To fix it for good, close the whole terminal app (and Claude Code, and your editor) and open it again.

The program will not start on an older computer. Run $env:REFLEX_BASELINE = '1', then the line in step 1 again. That installs the build for older processors.

To update. Close Reflex Ops and run the line in step 1 again.

You use Windows Subsystem for Linux. Inside it, use the Mac and Linux line instead.

Windows is supported from version 0.19. If something does not work, write to [email protected] with what you typed and what it answered.

With Claude Code

Claude Code can hand a job to Reflex and check the result. It does this by running the reflex command on your own machine, so set the folder up once with reflex kit.

  1. Sign in, if you have not: reflex login.
  2. Go to your project folder (the one you open Claude Code in) and run:
    reflex kit
    It writes a playbook Claude Code reads by itself (.claude/skills/reflex/SKILL.md) and lets Claude Code run reflex task and reflex design without asking each time. Run it once in each project folder.
  3. Close Claude Code and open it again in that folder, so it can find reflex.
  4. Send this as your first message:
    Reflex Ops is installed on this computer. Before anything else:
    1. Run `reflex --version`. If the command is not found, use the full path
       instead: "$HOME/.reflex/bin/reflex" (on Windows add .exe), and use that
       path for every reflex command in this session.
    2. Read the file .claude/skills/reflex/SKILL.md in this folder. It is your
       playbook for working with Reflex. If it is missing, run `reflex kit`
       first, then read it.
    3. Tell me the version you found and confirm you have read the playbook.
    Do not start any job yet.
  5. Then give it the work:
    Use Reflex for this, following the playbook: [what you want made].
    Cap: 2 dollars. Write only in the folder out/. Show me the cost line
    and what you checked when it is done.
    For a page or a deck, add: use the Reflex design agent.

The spend cap. Every job Claude Code starts runs through reflex task, which stops the job once its cost passes the cap: 4 dollars unless you say another amount. The cost comes out of your Reflex credit.

Free models. reflex models lists them. A free model may learn from what it is sent, so it only runs in a folder you have marked public, with sample content. Reflex Ops tells you how to mark a folder when it refuses one.

You stay in charge. Claude Code is told to ask you before anything that signs in, pays, deletes, deploys or goes public.

First standup in six steps

  1. Sign in once: reflex login shows a code, you approve it on account.riif.com (new users pick a username there), and Reflex Agent becomes your default model.
  2. Open a folder and type reflex. The terminal opens on that folder.
  3. Pick an agent: build executes with full access, plan reads and analyses without touching files.
  4. Pool the team's items and run the agenda: standup runs on HOLDS, and the word is UNBLOCK.
  5. Voice dump: speak, it sorts on your confirm, briefs you back, runs, and records.
  6. Check the record and the cost ledger: what was decided, and what each call cost.

Keep going at riif.com/team: daily standup and agent coordination live there, with the record beside them.

Knowledge base

Short pages, each one job. The living docs stay where the team works:

Ask Haven

Haven answers setup questions here. Fixed questions only; there is no open voice box on this page.

What do I need before installing?

A Mac, Linux or Windows machine and about a minute. There is nothing else to install.

Is opencode still a command?

Only on a machine that has no opencode of its own. The installer never replaces yours. reflex is the command.

Do free models see my files?

Only in a folder you mark public. A free model may learn from what it is sent, so Reflex Ops refuses to send it a private project. Folders are private unless you say otherwise.

Where does my key live?

In your riif account dashboard, and as a device key file with owner-only permissions. Never paste it into chat.

Something harder than this page?

Bring it to standup at riif.com/team; pooled items become the agenda.

Honest limits

Sign in and key

Sign in with riif on your device. The first device gets a $5 starter credit, and credit, usage, and devices live in your account dashboard.

More from riif

Reflex Ops runs the turn. riif keeps the record of who stood behind a change and why.

riif.com/team: daily standup and agent coordination.
riif.com: rooms, rules, the record.