AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Majal

skill-moshe-ship-hurmoz-majal · by Moshe-ship

فاحص بيانات التدريب العربية — اكتشف مشاكل الترميز والمحتوى المخفي وخلط اللهجات في ملفات JSONL

No reviews yet
0 installs
24 views
0.0% view→install

Install

$ agentstack add skill-moshe-ship-hurmoz-majal

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-moshe-ship-hurmoz-majal)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
2mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Majal? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

majal — فاحص بيانات التدريب العربية

أداة لفحص جودة بيانات التدريب العربية عبر 16 فحص. استخدم لتنظيف بيانات التدريب.

الأوامر

فحص البيانات

majal scan data.jsonl

مثال عملي:

majal scan training_data.jsonl

النتيجة المتوقعة:

🔍 Scanning training_data.jsonl (12,450 records)...
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

╔════════════════════╦══════════╦═══════════╦═════════╗
║ Check              ║ Severity ║ Found     ║ % Total ║
╠════════════════════╬══════════╬═══════════╬═════════╣
║ mojibake           ║ HIGH     ║ 234       ║ 1.9%    ║
║ invisible_chars    ║ HIGH     ║ 12        ║ 0.1%    ║
║ bidi_override      ║ HIGH     ║ 3         ║ 0.0%    ║
║ mixed_encoding     ║ MEDIUM   ║ 89        ║ 0.7%    ║
║ dialect_mixing     ║ MEDIUM   ║ 456       ║ 3.7%    ║
║ empty_arabic       ║ MEDIUM   ║ 67        ║ 0.5%    ║
║ latin_in_arabic    ║ LOW      ║ 1,203     ║ 9.7%    ║
║ excessive_tashkeel ║ LOW      ║ 321       ║ 2.6%    ║
╠════════════════════╬══════════╬═══════════╬═════════╣
║ TOTAL ISSUES       ║          ║ 2,385     ║ 19.2%   ║
╚════════════════════╩══════════╩═══════════╩═════════╝

Quality Score: 74/100 (مقبول — يحتاج تنظيف)

إحصائيات شاملة

majal stats data.jsonl

النتيجة المتوقعة:

📊 Dataset Statistics — training_data.jsonl
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Records:        12,450
Total tokens:   1,847,320
Avg tokens/rec: 148

Language Distribution:
  Arabic:     89.2%  ████████████████████████████▊
  English:     7.3%  ██▎
  Mixed:       3.5%  █▏

Dialect Distribution:
  فصحى:      62.1%  ████████████████████
  مصري:      14.3%  ████▌
  خليجي:     11.8%  ███▊
  شامي:       7.2%  ██▎
  مغاربي:     4.6%  █▌

Field Analysis:
  instruction:  avg 23 tokens (all records)
  input:        avg 45 tokens (8,230 records)
  output:       avg 80 tokens (all records)

Token Distribution (P50/P90/P99):
  instruction: 18 / 45 / 120
  output:      62 / 180 / 450

إصلاح تلقائي

majal fix data.jsonl

النتيجة المتوقعة:

🔧 Fixing training_data.jsonl ...
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Proposed fixes:
  1. Fix mojibake (234 records)
     Example: "السلام" → "السلام"
  2. Remove invisible chars (12 records)
     Example: "مر\u200bحبا" → "مرحبا"
  3. Remove bidi overrides (3 records)
  4. Normalize encoding to UTF-8 (89 records)

Apply all fixes? [y/N/diff]

عرض diff قبل التطبيق:

majal fix data.jsonl --diff

تطبيق بدون تأكيد:

majal fix data.jsonl --yes

حفظ في ملف جديد:

majal fix data.jsonl --output fixed_data.jsonl

شرح الفحوصات

majal explain

عيّنة عشوائية

majal sample data.jsonl

النتيجة المتوقعة:

📋 Random Sample (5 records)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━

Record #3,421:
  instruction: "اشرح مفهوم الذكاء الاصطناعي"
  output: "الذكاء الاصطناعي هو فرع من علوم الحاسوب..."
  tokens: 142
  dialect: فصحى
  quality: ✅ clean

Record #8,102:
  instruction: "ترجم الجملة التالية"
  output: "The quick brown fox..."
  tokens: 28
  dialect: —
  quality: ⚠️ latin_in_arabic (output is entirely English)

عيّنة مع فلتر:

# عيّنة من السجلات المشكوك فيها فقط
majal sample data.jsonl --filter issues

# عيّنة من لهجة محددة
majal sample data.jsonl --filter dialect:masri

الفحوصات الـ16 بالتفصيل

فئة الترميز (Encoding)

  1. mojibake — نص مشوّه بسبب خطأ ترميز (مثل: "السلام")
  2. mixed_encoding — خلط UTF-8 مع Windows-1256 أو ISO-8859-6
  3. bom_marker — وجود Byte Order Mark غير ضروري
  4. null_bytes — بايتات فارغة داخل النص

فئة الحروف المخفية (Invisible)

  1. invisible_chars — حروف عرض صفري (zero-width)
  2. bidi_override — حروف تجاوز اتجاه النص
  3. homoglyph — حروف تشبه العربية لكنها من أبجديات أخرى
  4. control_chars — حروف تحكم غير مرئية

فئة المحتوى (Content)

  1. empty_arabic — حقل يدّعي أنه عربي لكنه فارغ أو إنجليزي بالكامل
  2. duplicate — سجلات مكررة تماما
  3. toxic_content — محتوى مسيء أو سام
  4. pii_leak — تسريب معلومات شخصية (أرقام هواتف، إيميلات)

فئة العربي (Arabic)

  1. dialect_mixing — خلط لهجات في نفس السجل
  2. latininarabic — حروف لاتينية مخلوطة بالعربي
  3. excessive_tashkeel — تشكيل زائد أو خاطئ
  4. normalization — ألف ممدودة/مقصورة، تاء مربوطة/مفتوحة

مقاييس الجودة

| التقييم | النقاط | المعنى | |---------|--------|--------| | ممتاز | 90-100 | بيانات نظيفة جاهزة للتدريب | | جيد | 75-89 | تحتاج تنظيف طفيف | | مقبول | 60-74 | تحتاج تنظيف متوسط | | ضعيف | أقل من 60 | تحتاج إعادة معالجة شاملة |

متى تستخدم

  • المستخدم يجهّز بيانات تدريب عربية
  • يريد فحص جودة dataset
  • يشك بمشاكل ترميز أو محتوى مخفي
  • يريد تنظيف بيانات قبل fine-tuning
  • يحتاج إحصائيات عن توزيع اللهجات في بياناته

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.