Amaleh — AI skill for Claude Code
A Claude Code and Codex skill: your best model directs, cheap models build, another model reviews.
How to install Amaleh
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open mhamri/amaleh and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Amaleh does
A Claude Code and Codex skill: your best model directs, cheap models build, another model reviews.
Alternatives in AI
- Bot On Anything — A large model-based chatbot builder that can quickly integrate AI models (including ChatGPT, Claude, Gemini) i 4.2k ★
- Manifest — Real-time cost observability for OpenClaw agents — track tokens, costs, messages, and model usage 4.1k ★
- CLI Continues — resume any AI coding session in another tool — Claude Code, Copilot, Gemini, Codex, Cursor 1.5k ★
README
Amaleh
**عمله** is pronounced **ʿamaleh** (roughly **Ah-mah-leh**) and means **workers / laborers** in Persian. *Amaleh* is the project's Latin-script name: coordinated workers contributing to a shared, verified outcome.
**Why Amaleh exists: top-tier models are too expensive to do the work.** Without structure, an expensive model spends its premium context writing every edit, every check, every micro-decision. Amaleh turns that model into a director instead of a laborer: it segments work into chunks with clear outcomes, delegates each chunk to cheap Flash models, and only verifies direction at chunk boundaries. The result is the same verified delivery at a fraction of the token cost.
A self-contained workflow skill for Codex and Claude: discovery, planning, delegated parallel implementation, independent review and verified delivery. Disk checkpoints let another session resume the work.
How the division of labor works:
- Coordinator (expensive model, minimal turns): clarifies intent, chunks the work, defines acceptance criteria, integrates results. One
delegatecall per chunk; no per-step instructions, no hand-written briefs, no micro-management. - Workers (cheap Flash models via pi/OpenRouter): own a chunk end to end — implementation, checks, repair cycles. When uncertain, they consult Jev directly through a bundled helper instead of escalating to the coordinator.
- Reviewer (the other Flash family, read-only): independently verifies each chunk with structured coverage; findings route back into the worker's repair loop, not to the coordinator.
- Jev (cheap decision model): answers bounded either/or questions for workers and the coordinator; TypeScript code — not any model — enforces dependencies, ownership, checks and review coverage.
- Routing: deterministic round-robin across eligible model families seeded by the run's session hash, so work spreads across vendors instead of fixating on one.
- Escalation: only genuine boundaries
Related Skills
Expert Dispatch
new Specialist Dispatch Pattern -- let cheap AI assistants delegate complex tasks to Claude Code CLI. Bash ada
Claude Orchestrator Skill
Toggleable Claude Code mode: the big model orchestrates, cheap models do the grunt work. Cuts token spend with
Model Escalator
Claude Code mod that runs cheap models in parallel and escalates to a stronger one only when an agent gets stu
Deepseek Supervisor
"You should know" for Claude Code on third-party models such as DeepSeek: a side pass reviews the work every f
Fable Director
Token governance for Claude Code: the top model directs, execution goes to the cheapest adequate means. Routin
System One Connector
System One MCP connector to evaluate anything fast and cheap. Give your AI agent direct access to models like:
Related Agents
Pi
Delegates to the pi CLI in an isolated pi session. Use for work you want done by pi's model and tools rather t
DB Migrator
Generates and reviews Alembic migrations for LoanFlow when SQLAlchemy models change. Flags destructive operati
DB Reviewer
Reviews SQLAlchemy models, queries, and Alembic migrations for Postgres performance and safety. Use after mode