| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Loop Crew — a small crew of Codex agents with a built-in review loop, run entirely inside the Codex app (no CLI). It tells you whenever your input is needed.
package: codex-agent-loop-orchestrator · why three names?
English | 简体中文
Install | First run | Visual tour | Core ideas | Does it help? | When not to | Grounded in
You describe a goal. The skill splits the work across a few specialized Codex agents ("lanes"), keeps all the project state in files instead of disposable chat history, makes each agent prove its work passed before it counts, and has a separate agent review it. A local dashboard watches all of it and raises a banner whenever a human is needed.
Built for the Codex app, not the CLI. The terminal can already spawn agents; the hard part was doing it inside the app. Under the hood the skill calls the Codex app's own create_thread tool to open each agent as a real conversation and auto-seed it with its role, write scope, and — by default — the highest model tier your host offers, at xhigh reasoning when the model supports it, else its highest supported effort (quality-first; you can dial any single lane down by hand). The whole team assembles itself inside the app. You never leave it: no terminal, no logs to read, no commands to memorize.
The image above is a mock of a Codex-style desktop host; the HTML source is assets/codex-app-session.html.
Needs: the Codex app (with skills enabled), git, and Python 3.9+ on PATH (any of python3 / python / py -3) — the dashboard and the verification gates are small local Python scripts.
Open a fresh folder, start one Codex conversation in it, and paste this:
Install the Codex skill from https://github.com/hanco1/codex-app-loop-crew into my personal Codex skills directory. Clone the repository into this fresh folder, run the repository's installer for my operating system (install.ps1 on Windows or install.sh on macOS/Linux), verify that codex-agent-loop-orchestrator is present under my Codex skills directory, and tell me to open a new Codex session so the skill can be rediscovered. Do not modify or push the cloned repository.
Then open a new Codex session so the skill is rediscovered. That's it — no CLI steps of your own.
Prefer to run the installer yourself, or use the plugin marketplaceBoth scripts locate skills/codex-agent-loop-orchestrator relative to the repo root and refresh the installed copy.
Windows PowerShell:
git clone https://github.com/hanco1/codex-app-loop-crew.git
cd .\codex-app-loop-crew
.\install.ps1If script execution is blocked: powershell -ExecutionPolicy Bypass -File .\install.ps1
macOS / Linux:
git clone https://github.com/hanco1/codex-app-loop-crew.git
cd codex-app-loop-crew
chmod +x install.sh
./install.shDefault install path: %USERPROFILE%\.codex\skills\... (Windows) or ~/.codex/skills/... (macOS/Linux). Override with -SkillsDir <path> (PowerShell) or CODEX_SKILLS_DIR=<path> (bash). Precedence: an explicit -SkillsDir / CODEX_SKILLS_DIR wins, then $CODEX_HOME/skills when CODEX_HOME is set, then ~/.codex/skills (%USERPROFILE%\.codex\skills on Windows). Open a new Codex session afterward.
Plugin marketplace:
codex plugin marketplace add hanco1/codex-app-loop-crew
codex plugin add codex-agent-loop-orchestrator@codex-app-loop-crewPrerequisite: the install above, then a new Codex session (skills are discovered at session start). Run this in your actual project folder — not the folder you installed from.
In your project folder, paste this into one Codex conversation:
Use $codex-agent-loop-orchestrator for this project.
Build <one sentence: the objective, a concrete output, and a checkable done condition>.
Real data stays local. Never upload, quote, log, commit, or copy raw private data into loop files; use only an approved redacted sample or a field-shape description.
Ask one intake question at a time with your recommended answer, and stop once the objective and done condition are checkable. Then propose the smallest useful lane team and wait for my approval. After the First Move, tell me the dashboard URL.
"First Move" is the skill's one-time setup: it writes the loop files, opens the lane conversations, and starts the dashboard itself — a small local web server on 127.0.0.1 — then posts the URL in the product conversation. You just open that URL in your browser.
The skill first checks the task size. If the job fits one focused session, expect it to recommend a plain Codex session instead of a loop — this machinery is overkill for small work (see When not to use it).
You state a goal once; the agents work; the dashboard tells you whenever you're needed.
▸ Show the flowflowchart LR
A["You:<br/>one goal"] --> B["Product:<br/>split into requests"] --> C["Engineer lane:<br/>build a slice"]
C --> D{"Evidence<br/>passes?"}
D -- no --> C
D -- yes --> E{"Review<br/>OK?"}
E -- no --> C
E -- "yes · internal" --> H["Accepted ✅"]
E -- "yes · user-facing" --> G["READY FOR YOU:<br/>you confirm"]
G -- PASS --> H
G -- problem --> C
The dashboard screenshots below are the real local viewer (light theme) over an archived run; public copies redact local paths, account identity, and conversation IDs.
Progress — watch slices land. Checkpoints tick off as each request is accepted, so you know how far along you are without reading any chat.
Lane card — what one agent is doing. Its job, its latest result, its last check-in (a heartbeat), and its model tier.
"Ready for you" — when it's your turn. The banner names the exact conversation to open. Until you see it, you can leave the agents alone.
Full-page dashboard overviewSix ideas do all the work.
The mechanisms behind these, and their limits, are in ADVANCED.md and the skill reference.
The same local expense-analysis app was built twice on the same model (gpt-5.6-sol, xhigh): once through this loop, once as a single plain Codex session with the skill removed. Both builds are public, and both codebases were scored by the same rubric with every serious finding independently re-verified.
| Dimension | Solo session | This loop |
|---|---|---|
| Correctness on edge input | 6 | 7 |
| Invariant enforcement depth | 6 | 8 |
| Security | 7 | 9 |
| Test quality | 7 | 7 |
| Maintainability | 8 | 8 |
| Average | 6.8 | 7.8 |
The loop's margin is in security and defense-in-depth, at roughly 8.5× the code, roughly two-to-three orders of magnitude more wall-clock time, and one-to-two orders of magnitude more tokens. Honestly, it is not magic — the same review found real bugs in the loop's own output too. The takeaway isn't "always use the loop," it's match the machinery to the stakes.
Use a plain Codex session for a small, low-risk task one agent can finish in one sitting — roughly under two hours — when auditability, handoff recovery, sensitive-data gates, and real parallel lanes don't matter. The cost is real. In an earlier, smaller n=1 dogfood run (a single early trial: a one-day MVP, measured separately from the expense-app comparison above) the loop took 7.2× the active wall time and 36× the total tokens of the direct session; in the larger expense-app comparison the gap was ~10 minutes vs multiple days — roughly two-to-three orders of magnitude of wall-clock — and one-to-two orders of magnitude more tokens. And by default every lane runs on the top model at xhigh (or its highest supported effort), so a team is several premium sessions at once. This protocol buys traceability and independent verification; it does not make multi-agent work free. It is also a poor fit when there's nothing meaningful to machine-check.
This isn't invented from scratch — it fuses two lines of work and distills a broad survey of community practice:
Naming, in one line — Loop Crew is the brand you see (logo & title); codex-app-loop-crew is this repository; codex-agent-loop-orchestrator is the installable skill package — the name you actually type. All three are the same project.
ADVANCED.md — the request lifecycle, the completion gate, the Git model (commit-as-lane, scope guard), daily use, and repository layout.
skills/codex-agent-loop-orchestrator/ — the skill itself: SKILL.md and its references.
MIT. See LICENSE.
| Back | FazBrowse Home | New Git URL |