Przejdź do treści
Biblioteka skilli
AI i agenci · Automatyzacja

omega-loop

/omega-loop

Wykonuje autonomiczną pętlę inżynierską: plan, budowę, niezależny audyt, weryfikację i commit, z automatycznym wyborem Codex lub samego Claude.

Repozytorium
omega-loop ↗
Licencja
MIT
Ostatnia zmiana repozytorium
11.11.2026

Ocena i bezpieczeństwo

85/ 100Klasa: dobry
Format20 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść25 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 11.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Wykonuje autonomiczną pętlę inżynierską: plan, budowę, niezależny audyt, weryfikację i commit, z automatycznym wyborem Codex lub samego Claude.

Oryginalny opis (EN)

Autonomous multi-model engineering loop (plan → build → isolated adversarial audit → verify → commit) with automatic Codex detection and Claude-only fallback. Use when the user invokes /omega-loop or asks for the OMEGA-LOOP protocol on a task.

Jak działa

  1. Provider failover
  2. Model routing (runtime)
  3. Phase 0 — Bootstrap (every run, re-detects Codex)
  4. Phase 1 — Recon + Strategy
  5. Phase 2 — Execution (Builder)
  6. Phase 3 — Adversarial audit
  7. Phase 4 — Verification + commit
Sekcje z nagłówków SKILL.md, w oryginale · 39 linii, 457 słów
Podgląd SKILL.md
---
name: omega-loop
description: Autonomous multi-model engineering loop (plan → build → isolated adversarial audit → verify → commit) with automatic Codex detection and Claude-only fallback. Use when the user invokes /omega-loop or asks for the OMEGA-LOOP protocol on a task.
---

# OMEGA-LOOP (global)

Tooling lives in `~/.claude/omega/`. Per-repo state lives in `.omega/` of the current repo (globally git-ignored). Task = skill args.

Rules: the writer never reviews its own diff. Project CLAUDE.md rules still win (commit-per-phase confirmations, CHANGELOG, etc.). Never use `--no-verify`.

## Provider failover
- Codex out of tokens/erroring: its role (architect, builder, auditor) moves to Claude immediately, without stopping the loop. `audit.sh` does this by itself (codex → claude).
- Claude out of tokens: `audit.sh` falls back to Codex; the rest of the loop resumes from the terminal with `~/.claude/omega/codex_takeover.sh` (reads `.omega/` and continues). Claude cannot launch it once exhausted: ask the user to do it, and always keep STATE.json/DECISIONS.log current so resuming is possible.
- Every provider switch must be written to DECISIONS.log.

## Model routing (runtime)
Orchestrator = the model selected in the session (Sonnet, Opus, Fable). Everything else goes to local Qwen (Ollama :11434 / LM Studio :1234) when available.
- Qwen unavailable: Sonnet replaces it; if Sonnet is already the orchestrator, Haiku is used.
- Delegate read-only side tasks (searches, summaries, validations) with `OMEGA_MAIN_MODEL=<your model> ~/.claude/omega/subagent.sh "<prompt>"` instead of the Agent tool. `PROVIDER_STATE.json` shows `qwen` and `delegate`.
- Audit order in `audit.sh`: codex, qwen, claude (Claude-only mode: qwen, claude, codex). Log every routing change in DECISIONS.log.

## Phase 0 — Bootstrap (every run, re-detects Codex)
1. `python3 ~/.claude/omega/skills/fallback_manager.py` → `.omega/PROVIDER_STATE.json`. Report mode: `HYBRID_MULTI_MODEL` (codex ok) or `CLAUDE_ISOLATED_FULL_STACK`.
2. Write `.omega/STATE.json` `{"state":"RECON","iteration":0}`. Append every transition/decision to `.omega/ledger/DECISIONS.log`.

## Phase 1 — Recon + Strategy
1. Read repo rules/docs, detect stack. Validators in `~/.claude/omega/skills/validate.sh <files>` (scad, swift, cs; AngularJS only with `OMEGA_NG=1`).
2. Architect role: Codex mode → `codex exec --sandbox read-only` with `~/.claude/omega/agents/architect_prompt.md`; fallback → do it yourself as architect persona (no code). 
3. Write `.omega/PLAN.md`: goals, invariants, acceptance criteria, exact proof commands.
4. GATE: show the plan, get explicit user approval (AskUserQuestion) before any edit.

## Phase 2 — Execution (Builder)
State `EXECUTION`. Minimal atomic edits (Builder = you; in Codex mode may delegate to `codex exec --full-auto` if the user chose it). Run `validate.sh` on changed files. Then `git diff > .omega/drafts/latest.diff` (include untracked via `git add -N` first).

## Phase 3 — Adversarial audit
State `ADVERSARIAL_AUDIT`. Run `~/.claude/omega/audit.sh <iteration>`: uses Codex if available, else a fresh `claude -p` session with no tools and no memory of the build. Parse the JSON verdict.
- REJECTED: log flaws, iteration+1, back to Phase 2 with remediations. Max 5 iterations, then stop and ask the user.
- APPROVED: log, continue. Unparseable output = treat as REJECTED once, then ask user.

## Phase 4 — Verification + commit
State `VERIFICATION`: run the PLAN proof commands (build/tests). If green: write `.omega/SUMMARY.md`, state `COMMITTED`, commit following the project's commit rules (ask first if project requires it).

Wersje

W bazie nie ma innych skilli o nazwie omega-loop.

Migawka bazy z 13.11.2026 · wersja paczki 122cfea96cec (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100omega-agent-bridge
    Przekazuje ograniczone zadania wdrożeniowe i przeglądy do lokalnych agentów CLI, np. Claude Code lub Codex, i raportuje ich wynik.
  • 91omega-harness
    Prowadzi pracę w Omega i repozytoriach AIEN: kompilator, migracje, trasowanie repozytoriów i dowody uruchomienia kodu.
  • 100omh-loop
    Uruchamia, kontynuuje lub zatrzymuje autonomiczną pętlę Oh My Harness sterowaną specyfikacją w Codex.
  • 100ralph
    Przygotowuje autonomiczną pętlę kodowania w stylu Ralph: specyfikację i plan implementacji do bezgłowego uruchomienia Claude.
  • 98auto-review-loop-minimax
    Prowadzi autonomiczną pętlę przeglądu badań rundami przez API MiniMax, jako alternatywę dla zewnętrznej recenzji przez Codex MCP.
  • 90omega-communication
    Komunikuje pracę Omega i AIEN precyzyjnie: etykiety statusu i dowodów, raporty, teksty pull requestów, przekazania między agentami i korekty.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.