@yedidya-dan/ai-orc
v0.1.3
Published
Reusable local CLI orchestration for Claude Code, Codex, Gemini, and image-generation workflows.
Maintainers
Readme
AI Orchestrator
Reusable local CLI orchestration for Claude Code, Codex, Gemini, and image-generation workflows.
The goal is simple: install a small toolkit into any project, then let the primary agent consult or delegate through constrained wrapper scripts instead of raw model CLI calls.
What It Provides
- Repo-aware Codex review through
codex-review - Gemini reasoning consultation through
ask-gemini - Gemini image generation through
gemini-image - Nano-banana and other Gemini image-model requests routed through
gemini-image - Codex/OpenAI image generation through
codex-image - Claude Code skill instructions under
.claude/skills/multi-model-orchestrator
Layout
orchestrator/
AGENT_RULES.md
config.example.yml
bin/
codex-review
ask-gemini
gemini-image
codex-image
skills/
multi-model-orchestrator/
SKILL.md
install.sh
package.jsonRequirements
Install and log in to the local CLIs before use:
codex login
gemini
claudeNo project API keys are required for the wrapper flow. The wrappers rely on local CLI authentication and whatever image/tool capabilities those CLIs expose.
Install Into A Project
From this source repo:
./install.sh /path/to/projectFrom GitHub:
curl -fsSL https://raw.githubusercontent.com/OWNER/REPO/main/install.sh | bash -s -- /path/to/project --repo OWNER/REPOInstall the latest tagged release or a branch:
curl -fsSL https://raw.githubusercontent.com/OWNER/REPO/main/install.sh | bash -s -- . --repo OWNER/REPO --ref v0.1.0From npm:
npx @yedidya-dan/ai-orc install .Equivalent explicit binary form:
npx --package @yedidya-dan/ai-orc ai-orc install .This installs:
/path/to/project/.ai-orchestrator/
/path/to/project/.claude/skills/multi-model-orchestrator/SKILL.mdInstall only the wrappers, without the Claude skill:
./install.sh /path/to/project --no-skillUsage In An Installed Project
Run a repo-aware Codex review:
.ai-orchestrator/bin/codex-review --prompt "Review this project setup and identify the highest-risk gaps."Ask Gemini for reasoning:
.ai-orchestrator/bin/ask-gemini --prompt "What are the tradeoffs in this architecture?"Generate an image through Gemini:
.ai-orchestrator/bin/gemini-image \
--prompt "A clean product mockup of a CLI orchestration dashboard" \
--output generated-images/orchestrator-dashboard.pngFor nano-banana or any other Gemini image-model request, use Gemini image generation. If Gemini's image MCP needs broader permissions, add --yolo:
.ai-orchestrator/bin/gemini-image --yolo \
--prompt "An astronaut cat floating in space, cinematic lighting, no text" \
--output generated-images/astronaut-cat.pngIf Gemini's image MCP is blocked by permissions:
.ai-orchestrator/bin/gemini-image --yolo \
--prompt "A clean product mockup of a CLI orchestration dashboard" \
--output generated-images/orchestrator-dashboard.pngGenerate an image through Codex/OpenAI:
.ai-orchestrator/bin/codex-image \
--prompt "An astronaut cat floating in space, cinematic lighting, no text" \
--output generated-images/astronaut-cat.pngSafety Model
codex-reviewruns Codex in read-only sandbox mode.ask-geminidoes not enable auto-approval.gemini-imagemay write one requested image file.gemini-image --yoloenables Gemini full auto-approval and skips Gemini sandboxing; use it only for explicit image-generation requests.codex-imageruns Codex in workspace-write mode so it can save the requested image file.- No general act/write workflow exists yet.
Source Repo Testing
When working in this source repo, use:
orchestrator/bin/codex-review --prompt "Review the toolkit structure."
orchestrator/bin/ask-gemini --prompt "Review the portability tradeoffs."
orchestrator/bin/gemini-image --prompt "A test image" --output generated-images/gemini-test.png
orchestrator/bin/gemini-image --yolo --prompt "A nano-banana style test image" --output generated-images/nano-banana-test.png
orchestrator/bin/codex-image --prompt "A test image" --output generated-images/codex-test.pngThe root bin/ directory is kept as a compatibility alias while the package matures.
Next Power-Ups
- Add logging for every consultation.
- Add reusable prompt presets inside the skill.
- Add a guarded
codex-actworkflow with explicit user approval. - Add a config-aware router command.
- Add optional skill installers for other agent ecosystems.
Publishing Checklist
- Test remote install:
curl -fsSL https://raw.githubusercontent.com/OWNER/ai-orchestrator/main/install.sh | bash -s -- /tmp/test-project --repo OWNER/ai-orchestrator- Publish to npm:
npm publish