README ยท Architecture ยท Agents ยท Skills & Commands ยท Plugins
Portable AI developer setup: Claude plans, local Ollama executes.
Works with any project: TypeScript, Python, Flutter, Swift, C++.
All orchestration is pure Bash and jq.
/implement triggers a multi-layer smart pipeline:
Layer 0 TRIAGE โ detects domain, chooses route
Layer 1 PLAN โ planner + pre-review (approach approval)
Layer 2 CODE โ coder (Ollama) + build check
Layer 3 GATE โ fast review โ deep review (if needed)
Layer 4 FIX LOOP โ error-coordinator, max 3 rounds
Layer 5 FINALIZE โ token savings tracked
Triage auto-detects the task domain (api, docker, security, database, testing, etc.) and loads the right plugins, agents, and standards โ no manual configuration needed.
For focused tasks (optimize Dockerfile, run security audit, generate tests) triage routes directly to the matching plugin, skipping the planner and saving tokens. For composite tasks it runs the full pipeline with domain expertise pre-loaded.
Claude orchestrates and plans. A local Ollama model writes and reviews the code. Details: Architecture ยท Agents
/implement Add JWT authentication to the REST API
/implement Optimize the Dockerfile with multi-stage build
/implement Refactor the user service to reduce complexity
/implement Fix this crash: TypeError cannot read property of undefined
/implement Generate tests for the payment module
The pipeline detects the domain, loads the right expertise, and runs automatically.
- Claude Code CLI
- Ollama installed and running
jq(install.shinstalls it automatically)
curl -sSL https://raw.githubusercontent.com/Mybono/ai-orchestrator/main/scripts/install.sh | bashgit clone https://github.com/Mybono/ai-orchestrator ~/Projects/ai-orchestrator
cd ~/Projects/ai-orchestrator
./scripts/install.shBoth methods run scripts/install.sh automatically to configure your local system (creating symlinks in ~/.claude/ and configuring Ollama models for your hardware).
Model routing is controlled by llm-config.json in the repo root:
{
"models": {
"coder": "hf.co/bartowski/Qwen2.5-Coder-14B-Instruct-GGUF:IQ4_XS",
"reviewer": "qwen2.5-coder:7b",
"pre-reviewer": "qwen2.5-coder:7b",
"debugger": "qwen2.5-coder:7b",
"devops": "qwen2.5-coder:7b",
"quick-coder": "qwen2.5-coder:7b",
"commit": "qwen2.5-coder:7b",
"triage": "llama3.1:8b",
"embedding": "mxbai-embed-large"
}
}Changing a model name takes effect immediately without restarting anything. See Architecture โ Model Configuration for details.
| Command | What it does |
|---|---|
/implement |
Full plan โ code โ build โ review pipeline |
/review |
Check current changes against language standards |
/stats |
Show token savings (day, week, month, or all-time) |
/debug |
Trace root cause of an error |
All commands and agents: Skills & Commands ยท Agents ยท Plugins
Domain-specific extensions that add slash commands to the orchestrator. Each plugin in plugins/ handles a specific area โ accessibility, database work, Docker, Kubernetes, testing, security, and more.
| Plugin | What it adds |
|---|---|
qa-tools |
Generate tests, analyze failures, fix PR comments |
security-guidance |
Security audit and vulnerability fixes |
api-architect |
REST API design and OpenAPI spec generation |
database-tools |
Schema design, query optimization, ERD generation |
release-manager |
Version bumps, releases, changelog updates |
Full list with trigger keywords and paired agents: Plugins
install.sh adds shell aliases for these commands automatically:
local-commit # stage all changes, generate a commit message via Ollama, confirm and commit
open-pr # generate a PR title and description via Ollama, optionally create it via gh
stats [day|week|month] # show token savings summaryThe orchestrator tracks every Ollama call. View estimated savings vs Claude Sonnet pricing:
/stats weekโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
ai-orchestrator savings
Period: this week
Runs: 12
Tokens saved: ~186k
Estimated saving: $7.20
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
To apply orchestration rules in any project:
cp ~/.claude/ai_rules.md ~/Projects/your-project/ai_rules.mdCompatible with .cursorrules and .clauderules.
cd ~/Projects/ai-orchestrator && git pullChanges apply immediately via symlinks, so you do not need to reinstall.
README ยท Architecture ยท Agents ยท Skills & Commands ยท Plugins# Testing shellcheck
