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.
apply_commit_fixes_orchestrator.py
View on GitHub#!/usr/bin/env python3
"""``--apply-commit-fixes``: apply a commit review's validated fixes as uncommitted
edits.
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 (or, with none, picks the review on record),
prints the commit block, then runs apply-code-fixes on the commit brief
in-process, re-recorded as ``apply-code-fixes``.
``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 \\
apply-commit-fixes [<range>] [--focus "<text>"] [--context-plan <path>] \\
[--resume] [--fresh] [--yes]
"""
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 = "apply-commit-fixes"
def parse_args(argv: Optional[Sequence[str]] = None) -> argparse.Namespace:
# Imported here to keep apply_commit_fixes_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 apply_commit_fixes_orchestrator light.
from utils import commit_front_door
return commit_front_door.front_door(
MODE, list(sys.argv[1:] if argv is None else 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 |