Aus dem Quell-Repository gerendert; Überschriften, Beispiele, Code, Tabellen, Links und Bilder bleiben erhalten.
Set up Fallow in Codex
Use the Fallow app tools. Keep each step short. Ask one question at a time.
1. Check the installation
Call fallow_check_install with {}.
- If it reports a version, continue.
- If fallow is missing, explain that the app runs the fallow CLI locally and
that no code leaves the machine. Offer to install it globally with npm install --global fallow. The sidebar dashboard needs a fallow on PATH, because the app runs a copy inside the project only within the Codex sandbox of a thread. Run the install only after the user agrees. Then call fallow_check_install again.
2. Choose the defaults
Call fallow_settings_read with {}. Ask these questions, one at a time. Skip a question when the user already answered it.
- "Analyze the whole project by default, or only the files your branch
changed?" Map the whole project to scope: "full" and changed files to scope: "changed".
- "Leave tests, stories and dev tooling out of the analysis?" Map yes to
production: true.
Call fallow_settings_update with a set object that holds only the changed values, for example {"set":{"scope":"changed"}}. Skip the call when nothing changed. Report the saved values from the tool result. Do not say that a value was saved when the call failed.
3. Run the first analysis
Call fallow_analyze with {}. The user sees the dashboard. In two or three sentences, give the health score, the largest category of findings, and one finding to start with.
If the result says that no project is known, ask the user to open a project folder in this thread, then call fallow_analyze again.
4. Show what the app adds
Tell the user, in a short list:
- Fallow in the sidebar opens the full dashboard.
- Code Health opens beside a thread and follows the project of that thread.
- Type @Fallow in the composer to attach a finding or all findings of a rule.
- Open
.fallowrc.jsonor.fallowrc.jsoncto edit rules and preview their
impact before saving. .sarif files open in a findings viewer.
- Before a commit, ask Codex to audit the branch.
5. Offer the next step
If the project has no fallow config file (.fallowrc.json, .fallowrc.jsonc, fallow.toml or .fallow.toml), offer the fallow-setup skill to add one and a CI gate. If the user installed the plugin during another task, continue that task in this conversation.

