Skip to content
Back to skills

Gemini Claude Codex

ASecurity

Tri-model build pipeline (Claude Brain, Gemini Worker, Codex Reviewer/Stage-2 Fallback). Use for `gemini-claude-codex`, tri-model project execution, or autonomous overnight building with Gemini + Claude + Codex; not dual-model or review-only.

  • 2 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added December 3, 2026
ai-agentsgo

Works with

  • terminal
  • mcp

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned December 5, 2026

npx -y skills add hothiennhan021/ai-review-skills --skill gemini-claude-codex --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Gemini Claude Codex?

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

Security grade badge for Gemini Claude Codex
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hothiennhan021-gemini-claude-codex/badge)](https://www.skillsdirectory.com/skills/hothiennhan021-gemini-claude-codex)

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: gemini-claude-codex
description: >-
  Tri-model build pipeline (Claude Brain, Gemini Worker, Codex Reviewer/Stage-2
  Fallback). Use for `gemini-claude-codex`, tri-model project execution, or
  autonomous overnight building with Gemini + Claude + Codex; not dual-model or
  review-only.
---

# Tri-Model Autonomous Pipeline v3 (`gemini-claude-codex`)

Engine: `$af = "$env:USERPROFILE\.gemini\config\ai-flow.ps1"` (fallback `"D:\ai-review-skills\scripts\ai-flow.ps1"`). Pair with `/goal` for long runs.

## 1. Strict Role Boundaries
- **Claude (`ask-claude`, Opus `medium`) — SOLE ARCHITECT & RULER**: Runs `-Profile brain` (`--tools=""` in `C:\Users\Public\ai-flow-clean-cwd`, `90%` KV cache) when `TARGET_SLICE.md` / `DIFF_SLICE.md` is complete (`truncated=False`), or `-Profile review` (`--tools="Read,Grep,Glob"`) whenever `truncated=True` or callers outside the slice need inspection. Never edits files.
- **Codex (`gpt-6.2-sol`) — SCOUT (`low`), REVIEWER (`medium`) & STAGE-2 FALLBACK**: Stage 1 is strictly `-Mode readonly` (MCP/plugins stripped). Stage 2 (`overnight-runner.ps1` after Gemini ~70% cap/quota stop) runs `-Mode write` (`-s workspace-write -c "approval_policy='never'"`), reviewed by **Claude**.
- **Gemini (YOU) — ORCHESTRATOR & STRICT WORKER**: Implements `DESIGN_SPEC.md` / `FIX_PLAN` with zero improvisation; compresses logs via `& $af -Action verify`.
- *(PS 5.1 fallbacks: `cmd --% /d /s /c ""claude.exe" -p --tools="" --disable-slash-commands --strict-mcp-config --no-chrome --exclude-dynamic-system-prompt-sections --no-session-persistence --effort medium < in.md > out.md 2> err.log"`; `cmd --% /d /s /c ""codex.exe" exec -s read-only --ephemeral -c "mcp_servers={}" -c "plugins={}" -c "notify=[]" --disable plugins --disable apps --disable browser_use --disable computer_use --disable image_generation -m "gpt-6.2-sol" -o out.md - < in.md > log.txt 2> err.log"`)*.

## 2. Workflow (`.ai-workflow/`)
1. **Phase 0 & 1 (Grounded 1-Call Spec)**:
   - Run `& $af -Action init` and `map -Targets <files>` (`ask-codex -Mode readonly -Effort low` scout ONLY if `> 3` files have non-obvious cross-module dataflow).
   - Pack `[Architect Rules] + [100% Verbatim User Prompt] + [REPO_MAP.md + TARGET_SLICE.md]` → `ask-claude -OutFile .ai-workflow/DESIGN_SPEC.md` (`## Global Invariants & Shared Contracts` with exact file/module map, interfaces/signatures/ports/bit-widths/FSM/schemas, explicit edge cases & `DO-NOTs`; ordered `## Milestone M1..Mk` with disjoint `owned_files`; `## Acceptance Checklist` & verification commands).
   - If `> 2` files / new architecture: run 1 `ask-codex -Mode readonly` design critique; Claude updates `DESIGN_SPEC.md` if `[P0]`/`[P1]` gaps appear (skip on `<= 2`-file Fast-Path).
2. **Phase 2 (Milestone / Wave Loop `Mi`)**:
   - Disjoint wave milestones may run via `wave-init` / `wave-merge`. Implement `Mi` and run `-Action verify`.
   - Slice diff (`slice-diff -Round $r`), pack **only** `Global Invariants + Milestone Mi + EOF ISSUES_LEDGER.md + DIFF_SLICE.md` (`pack -SpecFile .ai-workflow/DESIGN_SPEC.md -Milestone Mi`), and run `ask-codex -Mode readonly` (`APPROVED_NO_ISSUES` or JSONL `{"id","s","f","w","x"}`).
   - **4-Gate Local Fix Triage**: Fix directly without a Claude `FIX_PLAN` call **ONLY if all 4 hold**: (1) zero `[P0]` and zero `[P1]` design/logic/interface trade-offs (mechanical/local `[P2]` or guard fixes only), (2) `100% AGREE`, (3) single-function local fix preserving `DESIGN_SPEC.md`, (4) full cumulative diff + `ISSUES_LEDGER.md` audited by Claude in Phase 3. Otherwise `ask-claude` locks `FIX_PLAN`, `ledger-append`, fix, and re-verify (`<= 2` rounds/milestone).
3. **Phase 3 (Sign-Off)**: Full `-Action verify` + `slice-diff -FullCumulative` + full `DESIGN_SPEC.md` + `ISSUES_LEDGER.md` → `ask-claude -Profile brain` outputs `PROJECT_COMPLETE` in `STATE.md`.

## 3. Overnight Runner ([overnight-runner.ps1](./scripts/overnight-runner.ps1))
`.\overnight-runner.ps1 -ProjectDir "<dir>" -Prompt "<task>"` — Stage 1 `gemini-4-neon` (~70% cap) → Stage 2 `gpt-6.2-sol` (~70% cap) with milestone-scoped `TURN_INPUT.md`, warm-snapshot stall breaker, and exact terminal-event usage math.

Files in this skill

  • SKILL.md16 KB
  • scripts/overnight-runner.ps17 KB

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.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.