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_commits_orchestrator.py
View on GitHub#!/usr/bin/env python3
"""``--improve-commits``: review a commit range with every model, then apply the
validated fixes, unattended.
A thin entry point, as ``improve_code_orchestrator.py`` is. 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/commit_front_door.py``, the
front-door core the three commit modes and ``util commit-brief`` share
(plans/review-commits.md §2.1), so the doors cannot drift apart. It resolves the range, prints the commit block and writes or reuses the
commit brief, then runs ``improve_workflow.entry_point`` on it,
re-recorded as ``improve-commits`` itself (its own run dir), never as
``improve-code``.
``utils.commit_front_door`` is imported inside each function rather than at module
scope: importing this module stays side-effect free and cheap, as every
dispatch target's must (``tests/test_instruction_portability.py``).
Usage::
uv run --project <skill-dir> -- python <skill-dir>/multi_llm.py \\
improve-commits [<range>] [--focus "<text>"] [--context-plan <path>] \\
[--models …|--quick] [--files …|--files-from …] [--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.stream_bootstrap import bootstrap_streams # noqa: E402
#: This module's mode word in ``modes.py``.
MODE = "improve-commits"
def parse_args(argv: Optional[Sequence[str]] = None) -> argparse.Namespace:
# Imported here to keep improve_commits_orchestrator light.
from utils import commit_front_door
return commit_front_door.parse_args(MODE, argv)
def main(argv: Optional[Sequence[str]] = None) -> int:
bootstrap_streams()
# Imported here to keep improve_commits_orchestrator light.
from utils import commit_front_door
tokens = list(sys.argv[1:] if argv is None else argv)
# A worker started here directly applies its stage as the dispatcher's does.
commit_front_door.hand_worker_the_stage_applier(tokens)
return commit_front_door.front_door(MODE, tokens)
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: 322k | Updated | Claude CodeCodex | Verified | Install |
| requesting-code-reviewobra/superpowersUse when completing tasks, implementing major features, or before merging to verify work meets requirements | Stars: 322k | 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: 322k | 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: 322k | Updated | Claude CodeCodex | Verified | Install |