# Five Agent Preflight Check

> Use before any five-agent-dev-team automation mutates files, opens PRs, updates branches, or performs Captain integration.

- Skill: `onfire7777/five-agent-preflight-check` (Agent Skill)
- Install (CLI): `npx skillmds@latest add onfire7777/five-agent-preflight-check`
- Raw SKILL.md: https://api.skillmd.com/api/skills/onfire7777/five-agent-preflight-check/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: onfire7777 (https://skillmd.com/u/onfire7777)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/onfire7777/five-agent-preflight-check

---


# Five Agent Preflight Check

Run this before mutation.

1. Read `~/.codex/specs/five-agent-dev-team-automation-team.md` and the rolling swarm state.
2. Check repo status: `git status --porcelain`.
3. Fetch safely: `git fetch --prune origin`.
4. Check sync against the intended base with `git rev-list --left-right --count`.
5. Inspect active PRs, labels, draft state, latest checks, and changed-file overlap.
6. Stop and write a handoff if the repo is dirty, behind, diverged, locked, duplicating PR #7, or unable to validate locally.
7. Never paste secrets, resolved environment values, or raw Docker compose output.

