Skip to content
Back to skills

Main Branch Owner Loop

ASecurity

Use when the operator asks Codex to run Main Branch daily owner-loop work from a business repo: start/status/setup/update/doctor, think/codify, end/checkpoint/save, validate, or workflow discovery. Starts from deterministic mb facts and asks before durable writes, provider mutations, publishing, spend, customer contact, or checkpoints.

  • 44 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 7, 2026
businessshell

Works with

  • claude code
  • cli

Security analysis

A100/100

Scanned October 7, 2026

npx -y skills add noontide-co/mainbranch --skill main-branch-owner-loop --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Main Branch Owner Loop?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Main Branch Owner Loop
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/noontide-co-main-branch-owner-loop-mainbranch/badge)](https://www.skillsdirectory.com/skills/noontide-co-main-branch-owner-loop-mainbranch)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: main-branch-owner-loop
description: >-
  Use when the operator asks Codex to run Main Branch daily owner-loop work from a business repo: start/status/setup/update/doctor, think/codify, end/checkpoint/save, validate, or workflow discovery. Starts from deterministic mb facts and asks before durable writes, provider mutations, publishing, spend, customer contact, or checkpoints.
---

# Main Branch owner loop for Codex

Run Main Branch owner-loop work from a business repo. This is a Codex-native
skill generated by `mb`; `AGENTS.md` remains the repo-level bootstrap.

## Start Here

Before advice, run read-only facts that fit the request:

- `mb --version`
- `mb status --json --peek`
- `mb start --json`
- `mb doctor repair --plan --json`
- `mb update --check --json`
- `mb validate --json`
- `mb checkpoint --plan --json`
- `mb workflow list --runtime codex --json`

Run `command -v mb` and `mb --version` as a standalone runtime preflight before
substantive `mb` commands. This guidance was generated by Main Branch
`0.3.33`. If the runtime reports an older or different version, stop and
tell the operator to put the current Main Branch install earlier on the
runtime/login-shell PATH before continuing.

After `mb status --json --peek` or `mb start --json`, stop if `runtime.codex_cli.status` is `runtime_mismatch` or any `drift.items[].id` equals `codex_runtime_mb_mismatch`. Treat that as a runtime `mb` mismatch: tell the operator to fix the runtime/login-shell PATH and rerun read-only checks before owner-loop advice, repair planning, or writes.

Use `mb status --json --peek` as the first daily read. Use `mb start --json`
when runtime handoff or adapter readiness matters. Use
`mb workflow list --runtime codex --json` when the operator asks what Codex can
do.

## Supported Owner Loop

- start/status/setup/update/doctor: inspect facts and plans, then ask before
  applying repairs, migrations, setup writes, or updates.
- think/codify: follow the `mb-think` shared workflow route in `AGENTS.md`.
- end/checkpoint/save: run `mb checkpoint --plan --json`, propose a
  business-readable checkpoint, and ask before saving it.
- validate: run `mb validate --json` and explain repo health in business
  language before technical details.
- workflow discovery: read `references/workflow-inventory.md` or run
  `mb workflow list --runtime codex --json`.

## Approval Gates

Ask before durable writes, checkpoints, updates, repairs, migrations, provider
mutation, publishing, spend, customer contact, destructive operations, raw
private-source reads, or public issue/proposal submission.

Do not claim Claude Code slash-skill parity in Codex. Do not claim ads, site,
organic, provider mutation, wiki, or skill-authoring parity unless the
inventory marks that surface `supported`.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…