Skip to content
Back to skills

Claude Anti

ASecurity

Dual-model debate & build pipeline: Claude CLI (`claude -p`) as Chief Brain and Gemini as Critic, Debater & Worker (no Codex). Use for `claude-anti` or autonomous Claude+Gemini debate/building without Codex; not Codex pipelines.

  • 2 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added December 3, 2026
ai-agents

Works with

  • cli
  • mcp

Security analysis

A100/100

Scanned December 5, 2026

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

Installs into .claude/skills of the current project.

Are you the author of Claude Anti?

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

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

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: claude-anti
description: >-
  Dual-model debate & build pipeline: Claude CLI (`claude -p`) as Chief Brain
  and Gemini as Critic, Debater & Worker (no Codex). Use for `claude-anti` or
  autonomous Claude+Gemini debate/building without Codex; not Codex pipelines.
---

# Claude ↔ Antigravity v3 (`claude-anti`)

Engine: `$af = "$env:USERPROFILE\.gemini\config\ai-flow.ps1"` (fallback `"D:\ai-review-skills\scripts\ai-flow.ps1"`).

## 1. Strict Roles & Profiles
- **Claude (`claude -p`) — SOLE CHIEF BRAIN & JUDGE** (never edits files):
  - **Brain (`& $af -Action ask-claude -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`) and self-contained.
  - **Reviewer (`-Profile review`)**: `--permission-mode plan --tools="Read,Grep,Glob"` whenever `map` reports `truncated=True` or surrounding callers outside `DIFF_SLICE.md` must be read.
  - *(PS 5.1 fallback: `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"`)*.
- **Gemini (YOU) — SCOUT, DEBATER & STRICT WORKER**: Uses `flash` subagents on large repos (`< 35k` main context), critiques draft specs, rebuts false positives with code/test proof, and executes locked rulings faithfully.

## 2. Autonomous Workflow (`.ai-workflow/`)
1. **Phase 0 & 1 (Grounded Spec)**:
   - Run `& $af -Action init` and `map -Targets <files>`.
   - **Fast-Path (`<= 2` files)**: Pack `[Architect Rules] + [100% Verbatim User Prompt] + [REPO_MAP.md + TARGET_SLICE.md]` → `ask-claude -OutFile .ai-workflow/DESIGN_SPEC.md` (exact interfaces/contracts, edge cases, explicit `DO-NOTs`, verification commands) in 1 call → Phase 2.
   - **Full Mode (`> 2` files)**: Grounded Call #1 drafts `DESIGN_DRAFT.md` (`## Global Invariants & Shared Contracts` with exact interfaces/ports/FSM/schemas & `DO-NOTs`, `## Milestone M1..Mk`, `## Acceptance Checklist`) → Gemini writes `< 100`-line `GEMINI_DESIGN_REVIEW.md` (if zero issues, promote directly to `DESIGN_SPEC.md`; else `ask-claude` locks `DESIGN_SPEC.md`).
2. **Phase 2 (Milestone & Debate Loop, `MAX_ROUNDS = 6`)**:
   - Implement `Mi`, run `& $af -Action verify -CommandLine "<cmd>"`, and run `slice-diff -Round $k`.
   - Pack `[Reviewer Rules] + [Scoped DESIGN_SPEC Mi] + [EOF ISSUES_LEDGER.md] + [DIFF_SLICE.md]` (`pack -SpecFile .ai-workflow/DESIGN_SPEC.md -Milestone Mi`) → `ask-claude` (`APPROVED_NO_ISSUES` or JSONL `{"id","s","f","w","x"}`).
   - **4-Gate Local Fix Triage**: Skip `CLAUDE_DECISION` **ONLY when all 4 hold**: (1) zero `[P0]` and zero `[P1]` design/logic/interface trade-offs (unambiguous mechanical/local 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.
   - **Disputed Items**: Write `< 100`-line `GEMINI_REBUTTAL.md` (`AGREE` / `REBUT` + proof) → `ask-claude -Profile brain` locks `CLAUDE_DECISION.md` → `ledger-append`, batch-fix, and re-verify.
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` (fail-fast to `STATE.md` on quota/auth error or deadlock).

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.