← Back to Plugins
Tools

Mkhlab

Moshe-ship By Moshe-ship 👁 8 views ▲ 0 votes

๐Ÿฆ… ู…ุฎู„ุจ โ€” Arabic-first OpenClaw plugin. 14 Arabic AI skills, dialect-aware, culturally sensitive.

GitHub

README

<div align="center">

# ๐Ÿฆ… ู…ุฎู„ุจ โ€” Mkhlab

### ู…ุณุงุนุฏูƒ ุงู„ุฐูƒูŠ ุงู„ุนุฑุจูŠ. ู…ูุชูˆุญ ุงู„ู…ุตุฏุฑ. ูŠุดุชุบู„ ุนู„ู‰ ุฌู‡ุงุฒูƒ. ุจูŠุงู†ุงุชูƒ ุนู†ุฏูƒ.

**The first Arabic-first plugin for [OpenClaw](https://github.com/openclaw/openclaw).**

14 Arabic AI skills ยท Dialect-aware ยท Culturally sensitive ยท Works with any model

[![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE)
[![OpenClaw Plugin](https://img.shields.io/badge/OpenClaw-Plugin-blue.svg)](https://github.com/openclaw/openclaw)
[![Skills](https://img.shields.io/badge/Skills-14-orange.svg)](#skills)

</div>

---

## What is ู…ุฎู„ุจ?

**ู…ุฎู„ุจ** (Mkhlab, "claw" in Arabic) is an Arabic-first plugin for OpenClaw โ€” the open-source AI coding assistant. It adds 14 Arabic-focused skills while working with **any model provider** (Claude, GPT, Gemini, Qwen, Jais, ALLaM, Ollama, and more).

No other AI assistant offers this combination:
- **Dialect detection** โ€” responds in your dialect (Egyptian, Gulf, Levantine, Maghrebi, Iraqi)
- **Islamic sensitivity** โ€” knows prayer times, Hijri dates, handles religious topics respectfully
- **Arabic NLP tools** โ€” token optimization, content moderation, RTL testing, dataset inspection
- **Arabizi support** โ€” understands "7abibi" and "3adi"
- **Code-switching** โ€” handles Arabic/English mixing naturally

## Quick Start

### Prerequisites
- [OpenClaw](https://github.com/openclaw/openclaw) v2026.3.20+
- Node.js 18+
- Python 3.10+ (for CLI tools)

### Install

```bash
# Clone
git clone https://github.com/mousaabumazin/mkhlab.git
cd mkhlab

# Tell OpenClaw where to find the skills
# Add to ~/.openclaw/openclaw.json:
{
  "skills": {
    "load": {
      "extraDirs": ["<path-to-mkhlab>/skills"]
    }
  }
}

# Install Arabic CLI tools (optional, for full 14/14 skills)
pipx install -e ./tools/arabench
pipx install -e ./tools/khalas
pipx install -e ./tools/sarih
pipx install -e ./tools/bidi-guard
pipx install -e ./tools/qalam
pipx install -e ./tools/artok
pipx install -e ./tools/majal
pipx install -e ./tools/safha
pipx install -e ./tools/raqeeb
```

### Verify

```bash
openclaw skills list | grep "openclaw-extra"
```

You should see 14 skills, all โœ“ ready.

## Skills

### ๐Ÿ•Œ Islamic & Cultural
| Skill | Description |
|-------|-------------|
| ๐Ÿ•Œ `prayer-times` | ุฃูˆู‚ุงุช ุงู„ุตู„ุงุฉ โ€” Prayer times via Aladhan API |
| ๐Ÿ“… `hijri-calendar` | ุงู„ุชู‚ูˆูŠู… ุงู„ู‡ุฌุฑูŠ โ€” Hijri โ†” Gregorian dates + Islamic events |
| ๐Ÿ“– `quran-search` | ุจุญุซ ุงู„ู‚ุฑุขู† โ€” Search Quran by keyword, surah, or ayah |

### ๐Ÿ—ฃ๏ธ Language
| Skill | Description |
|-------|-------------|
| ๐Ÿ”„ `translate` | ุชุฑุฌู…ุฉ โ€” Arabic โ†” English with dialect awareness |
| ๐Ÿ—ฃ๏ธ `dialect-detect` | ุงู„ู„ู‡ุฌุงุช โ€” Detect and match user's Arabic dialect |

### ๐Ÿ”ง Arabic NLP Tools
| Skill | Description |
|-------|-------------|
| ๐Ÿ“Š `arabench` | ู…ุนูŠุงุฑ ุงู„ุฌูˆุฏุฉ โ€” Benchmark Arabic LLM quality across 8 categories |
| โœ‚๏ธ `khalas` | ุชุญุณูŠู† ุงู„ุชูˆูƒู†ุงุช โ€” Optimize Arabic prompts to reduce token cost |
| ๐Ÿ›ก๏ธ `sarih` | ูู„ุชุฑุฉ ุงู„ู…ุญุชูˆู‰ โ€” Offline Arabic content moderation (5 dialects) |
| ๐Ÿ”’ `bidi-guard` | ุญู…ุงูŠุฉ Bidi โ€” Detect Trojan Source bidi attacks in code |
| ๐Ÿ“ `qalam` | ุชูˆุซูŠู‚ ุนุฑุจูŠ โ€” Generate Arabic docs from Python/JS/TS code |
| ๐Ÿงฎ `artok` | ุถุฑูŠุจุฉ ุงู„ุชูˆูƒู†ุงุช โ€” Compare Arabic token costs across 18 tokenizers |
| ๐Ÿ” `majal` | ูุงุญุต ุงู„ุจูŠุงู†ุงุช โ€” Inspect Arabic training data (16 quality checks) |
| ๐Ÿ•ธ๏ธ `safha` | ูƒุงุดุท ุงู„ูˆูŠุจ โ€” Scrape Arabic web content for ML training data |
| โ†ฉ๏ธ `raqeeb` | ูุงุญุต RTL โ€” Find RTL bugs in HTML/CSS (24 checks, 0-100 score) |

## Model Support

ู…ุฎู„ุจ works with **any model** OpenClaw supports:

| Provider | Models |
|----------|--------|
| Anthropic | Claude Opus, Sonnet, Haiku |
| OpenAI | GPT-5.x, o-series |
| Google | Gemini 3.x |
| Qwen | Qwen 3.5 series |
| DeepSeek | DeepSeek R1 |
| GLM | GLM-4.7+ |
| Kimi | Kimi Coding |
| **Arabic-first** | Jais-2, ALLaM, SILMA, Falcon-H1, Karnak, Fanar |
| Local | Ollama, vLLM, LM Studio |
| Gateway | OpenRouter, Groq, Cerebras |

## Architecture

```
ู…ุฎู„ุจ is a plugin, not a fork.
It runs on top of OpenClaw โ€” like openclaw-china does for Chinese platforms.

โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”
โ”‚         OpenClaw Core           โ”‚
โ”‚  (any model, any provider)      โ”‚
โ”œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ค
โ”‚      ู…ุฎู„ุจ Plugin Layer          โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ” โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”  โ”‚
โ”‚  โ”‚ SOUL.md โ”‚ โ”‚ IDENTITY.md   โ”‚  โ”‚
โ”‚  โ”‚ persona โ”‚ โ”‚ ๐Ÿฆ… ู…ุฎู„ุจ       โ”‚  โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜ โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜  โ”‚
โ”‚  โ”Œโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”โ”‚
โ”‚  โ”‚     14 Arabic Skills        โ”‚โ”‚
โ”‚  โ”‚ prayer ยท hijri ยท quran      โ”‚โ”‚
โ”‚  โ”‚ translate ยท dialect         โ”‚โ”‚
โ”‚  โ”‚ arabench ยท khalas ยท sarih   โ”‚โ”‚
โ”‚  โ”‚ bidi-guard ยท qalam ยท artok  โ”‚โ”‚
โ”‚  โ”‚ majal ยท safha ยท raqeeb      โ”‚โ”‚
โ”‚  โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜โ”‚
โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
```

## Why ู…ุฎู„ุจ?

- **420M+ Arabic speakers**, zero open-source Arabic AI assistant
- GPT-4 drops from **85% โ†’ 45% accuracy** on Arabic dialects
- Arabic costs **2-3x more tokens** than English on most models
- No OpenClaw regional fork exists for Arabic โ€” ู…ุฎู„ุจ is the first

## Roadmap

- [x] Phase 0: Workspace + persona + 5 API skills
- [x] Phase 1: 14 skills, all ready, plugin structure
- [ ] Phase 2: WhatsApp channel (scoped to skills, per Meta policy)
- [ ] Phase 3: Arabic TTS/STT integration (Voxtral, SILMA, ArTST)
- [ ] Phase 4: Arabic RAG with AraGemma embeddings
- [ ] Phase 5: ClawHub publishing

## Contributing

Contributions welcome! Areas where help is needed:
- New Arabic skills
- Dialect coverage (especially Sudanese, Yemeni, Somali Arabic)
- RTL improvements
- Arabic model benchmarks
- WhatsApp channel integration

## License

MIT โ€” ู…ูุชูˆุญ ุงู„ู…ุตุฏุฑ ู„ู„ุฌู…ูŠุน.

---

<div align="center">

**ู…ุฎู„ุจ** โ€” Built for Arabic speakers, by Arabic speakers.

ุตูู†ุน ุจุญุจ ๐Ÿ‡ธ๐Ÿ‡ฆ๐Ÿ‡ช๐Ÿ‡ฌ๐Ÿ‡ฆ๐Ÿ‡ช๐Ÿ‡ฏ๐Ÿ‡ด๐Ÿ‡ฑ๐Ÿ‡ง๐Ÿ‡ฎ๐Ÿ‡ถ๐Ÿ‡ฒ๐Ÿ‡ฆ๐Ÿ‡ฉ๐Ÿ‡ฟ๐Ÿ‡น๐Ÿ‡ณ๐Ÿ‡ฑ๐Ÿ‡พ๐Ÿ‡ธ๐Ÿ‡พ๐Ÿ‡ต๐Ÿ‡ธ๐Ÿ‡ฐ๐Ÿ‡ผ๐Ÿ‡ถ๐Ÿ‡ฆ๐Ÿ‡ง๐Ÿ‡ญ๐Ÿ‡ด๐Ÿ‡ฒ๐Ÿ‡ธ๐Ÿ‡ฉ๐Ÿ‡พ๐Ÿ‡ช

</div>
tools

Comments

Sign in to leave a comment

Loading comments...