hashgraph-online/awesome-codex-plugins / plugins/beastlabai/multi-llm-plugin/skills/multi-llm
multi-llm
FlaggedOrchestrate plan reviews, task generation, implementation and code reviews across several LLM CLIs in parallel, or ask every model one free-text question about a plan. Use when the user says: review my plan, multi-llm, run a code review, generate tasks from a plan, implement this plan, ask the models about my plan.
improve_code_orchestrator.py
View on GitHub#!/usr/bin/env python3
"""``--improve-code``: review the code changes with every model, then apply the
validated fixes, unattended.
A thin entry point. It owns the module-level ``parse_args`` the ``--help`` scan
reads and the ``main(argv)`` the dispatcher calls, one module per mode because
``modes.SCRIPT_TO_MODE`` keys each mode by its script. Everything it does lives
in ``utils/improve_workflow.py``, shared with ``--improve-plan`` and with the
native leg's planner, so the two composites and the two legs cannot drift.
Usage::
uv run --project <skill-dir> -- python <skill-dir>/multi_llm.py \\
improve-code <plan> [--models …|--quick] [--files …|--files-from …] \\
[--base-ref <ref>] [--resume] [--force]
"""
from __future__ import annotations
import argparse
import os
import sys
from pathlib import Path
from typing import Optional, Sequence
# Absolute, symlinks preserved — see utils/cli_common.py.
sys.path.insert(0, str(Path(os.path.abspath(__file__)).parent))
from utils import improve_workflow # noqa: E402
from utils.stream_bootstrap import bootstrap_streams # noqa: E402
#: This module's mode word in ``modes.py``.
MODE = "improve-code"
def parse_args(argv: Optional[Sequence[str]] = None) -> argparse.Namespace:
return improve_workflow.parse_args(MODE, argv)
def main(argv: Optional[Sequence[str]] = None) -> int:
bootstrap_streams()
return improve_workflow.entry_point(MODE, argv)
if __name__ == "__main__":
from utils import process_control
# A process entry of its own: provider children must stay this process's.
process_control.restore_sigchld_default()
sys.exit(main(sys.argv[1:]))
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| receiving-code-reviewobra/superpowersUse when receiving code review feedback, before implementing suggestions, especially if feedback seems unclear or technically questionable - requires technical rigor and verification, not performative agreement or blind implementation | Stars: 319k | Updated | Claude CodeCodex | Verified | Install |
| requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirements | Stars: 319k | Updated | Claude CodeCodex | Verified | Install |
| using-git-worktreesobra/superpowersUse when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback | Stars: 319k | Updated | Claude CodeCodex | Verified | Install |
| verification-before-completionobra/superpowersUse when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always | Stars: 319k | Updated | Claude CodeCodex | Verified | Install |