Xpersona
P

Persian Language

CLAWHUB · Unverified

Enhances AI ability to read, write, translate, and format Persian (Farsi) with native-level accuracy across any task. Handles Unicode, half-spaces, RTL, regi... Skill: Persian Language Owner: nimaansari Summary: Enhances AI ability to read, write, translate, and format Persian (Farsi) with native-level accuracy across any task. Handles Unicode, half-spaces, RTL, regi... Tags: latest:1.0.1 Version history: v1.0.1 | 2026-04-13T04:04:19.098Z | user **Expanded and clarified Persian numeral and formatting standards.** - Added detailed instructions for Persian digits (۰۱۲۳۴۵۶۷۸۹),

62
Rank
84
Safety
1.0k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s174r0htpq7skja1v1n3b0z0zn83e8x4:persian-language
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-nimaansari-persian-language/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

100,998 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: persian-language
version: 1.0.0
description: Enhances AI ability to read, write, translate, and format Persian (Farsi) with native-level accuracy across any task. Handles Unicode, half-spaces, RTL, registers, ta'arof, Solar Hijri dates, and cultural nuance.
metadata: {"openclaw": {"emoji": "📝"}}
---

# Persian Language Skill

## Identity

A capability layer that enhances the agent's ability to **read, write, translate, and format Persian (Farsi)** across any task. Not a tutor. Not a chatbot persona. A quality multiplier for any workflow involving Persian.

---

## Triggers

Activate this skill when any of the following are true:

- The user writes in Persian (Farsi script)
- The user requests Persian content generation (posts, emails, docs, reports, stories, comments)
- The user asks to translate to or from Persian
- The user asks to review, improve, or edit Persian text
- Persian text appears in an attached file, image, or code
- The user mentions "فارسی", "Persian", or "Farsi" in a task
- Mixed Persian/English content is present and needs handling

---

## Core Instructions

### 1. Always Use Correct Persian Unicode

- Use **ک** (U+06A9 Persian kaf), never ك (U+0643 Arabic kaf)
- Use **ی** (U+06CC Persian ya), never ي (U+064A Arabic ya)
- Use **half-space** (U+200C) in compound words: می‌خواهم، نمی‌توانم، خانه‌ام
- See `references/writing-standards.md` for full rules

### 2. Format Persian Output Correctly

- Use Persian punctuation: «» for quotes, ، for comma, ؛ for semicolon, ؟ for question mark
- Default to **Persian digits** (۰۱۲۳۴۵۶۷۸۹, U+06F0–U+06F9) in prose — **not** Arabic-Indic digits (٠١٢٣٤٥٦٧٨٩, U+0660–U+0669), which look similar but are wrong in Persian
- Use Persian numeric separators: **٬** (U+066C) for thousands, **٫** (U+066B) for decimal, **٪** (U+066A) for percent — never `,` `.` or `%` inside a Persian number
- Dates in Persian content use the **Solar Hijri** calendar (شمسی), e.g. ۲۴ فروردین ۱۴۰۵
- Keep Western digits in code, technical IDs, versions, ports, URLs, and anything inside a code block
- Respect right-to-left (RTL) text direction — do not let punctuation or Latin fragments break flow, and never manually reverse digits to "fix" their display
- In mixed content, isolate LTR segments properly
- See `references/numerals.md` for the full numerics guide (digit families, separators, dates, time, currency, percentages, ordinals, phone numbers, math, mixed content)

### 3. Match the Right Register

- **Formal (رسمی):** reports, business emails, academic writing, official announcements — use شما, formal verb endings, no contractions
- **Colloquial (محاوره‌ای):** social media, casual messages, dialogue — Tehran-standard spoken forms are acceptable
- **Mixed/code-switching:** when Persian text includes English technical terms, integrate them naturally without forced translation of well-known terms (e.g., API, framework, deploy)
- See `references/tone-register.md` for register details

### 4. Translate with Cultural

README.md

# Persian Language Skill 📝

An [OpenClaw](https://openclaw.ai) capability layer that gives your AI native-level Persian (Farsi) fluency across any task.

## What It Does

Stop AI Persian mistakes forever. This skill automatically fixes:

- ✅ **Correct Unicode** — Uses ک/ی (Persian), not ك/ي (Arabic)
- ✅ **Proper half-spaces** — می‌خواهم، نمی‌توانم (not میخواهم)
- ✅ **Register matching** — Formal vs colloquial, automatic detection
- ✅ **Cultural context** — Ta'arof, Solar Hijri dates, Iranian conventions
- ✅ **RTL formatting** — Persian punctuation (« » ، ؛ ؟)
- ✅ **Natural translation** — Idioms, not word-for-word calques
- ✅ **Persian numerals** — Correct digit family (۰-۹, not ٠-٩), proper separators (٬ ٫ ٪)

Works for: Writing, translation, content generation, data extraction, code comments, and any Persian workflow.

---

## Recent Updates

### v2.0 (April 2026) — Persian Numerals Overhaul

**Major addition:** Comprehensive `numerals.md` reference file (13KB)

**What changed:**
- ✅ **Digit family correction** — Persian digits (۰-۹, U+06F0–U+06F9) vs Arabic-Indic (٠-٩, U+0660–U+0669)
- ✅ **Persian separators** — Thousands ٬ (U+066C), decimal ٫ (U+066B), percent ٪ (U+066A)
- ✅ **Solar Hijri dates** — Complete formatting guide (۱۴۰۵/۰۱/۲۴, ۲۴ فروردین ۱۴۰۵)
- ✅ **Currency** — Toman vs Rial, proper formatting (۵۰٬۰۰۰ تومان)
- ✅ **Phone numbers** — Iranian mobile/landline formats
- ✅ **Ordinals** — اول، دوم، سوم vs ۱م، ۲م، ۳م
- ✅ **Time, percentages, math** — Complete coverage
- ✅ **Mixed content rules** — When to use Persian vs Western digits
- ✅ **Quality checklist** — 12-point numeric verification

**Why this matters:**
- The #1 error in AI Persian output is wrong digit family (mixing ٤ with ۴)
- The #2 error is using Western separators (`,` and `.`) in Persian numbers
- This update fixes both permanently

**Updated files:**
- `SKILL.md` — Added numerals section to Core Instructions
- `references/numerals.md` — NEW 13KB comprehensive guide
- Quality checklist expanded with numeric checks

---

## Installation

### Option 1: Symlink (Recommended)

```bash
git clone https://github.com/nimaansari/persian-language.git
ln -s "$(pwd)/persian-language" ~/.openclaw/skills/persian-language
```

### Option 2: Direct Clone

```bash
cd ~/.openclaw/skills/
git clone https://github.com/nimaansari/persian-language.git
```

---

## Quick Examples

### Unicode: Right vs Wrong

**❌ Bad (Arabic Unicode):**
```
كتاب - ي - نمي خواهم
```

**✅ Good (Persian Unicode):**
```
کتاب - ی - نمی‌خواهم
```

### Register Matching

**❌ Formal email with informal ending:**
```
با احترام،
موضوع جلسه رو بررسی کردیم.
مرسی!
```

**✅ Consistent formal register:**
```
با احترام،
موضوع جلسه را بررسی کردیم.
با تشکر و احترام
```

### Half-Space Usage

**❌ Missing half-spaces:**
```
نمیتوانم کتابها را بخوانم
```

**✅ Correct half-spaces:**
```
نمی‌توانم کتاب‌ها را بخوانم
```

### Persian Numerals (NEW v2.0)

**❌ Wrong digit family (Arabic-Indic):**
```
قیمت ٤٥٬٠٠٠ تومان
```

**✅ Correct P

_meta.json

{
  "ownerId": "kn71p3j5rhce9mb926nxqwgfgs83adqf",
  "slug": "persian-language",
  "version": "1.0.1",
  "publishedAt": 1776053059098
}

references/common-mistakes.md

# Common AI Mistakes in Persian Generation

This file catalogs recurring errors that AI models make when generating Persian text, with corrections and explanations.

---

## 1. Unicode Errors

### Arabic Characters Instead of Persian

**The most frequent and most visible error.**

| Error | Correction | How to Detect |
|---|---|---|
| ك (U+0643) | ک (U+06A9) | Search for U+0643 in output |
| ي (U+064A) | ی (U+06CC) | Search for U+064A in output |
| ة (U+0629 taa marbuta) | ه (U+0647) or ت | Context-dependent |
| ؤ (U+0624) | و (rare in Persian) | Almost never used in Persian |
| ئ (U+0626) | ی or ئ (context) | Only valid in specific words |

**Fix:** After generating Persian text, programmatically replace Arabic variants with Persian equivalents. This is a mechanical fix that should always be applied.

### Missing Half-Spaces

| Error | Correction | Rule |
|---|---|---|
| میروم | می‌روم | می + verb always gets half-space |
| نمیدانم | نمی‌دانم | نمی + verb always gets half-space |
| کتابها | کتاب‌ها | noun + ها plural |
| بزرگترین | بزرگ‌ترین | adjective + ترین superlative |
| خانهای | خانه‌ای | noun + ای indefinite |

**Fix:** Apply half-space rules systematically. When in doubt, use a half-space — it's almost never wrong to separate a prefix/suffix from its root.

---

## 2. Grammar Errors

### Wrong Verb Conjugation

Persian verbs conjugate by person/number. Common AI errors:

| Error | Correction | Issue |
|---|---|---|
| من می‌رود | من می‌روم | First person needs -م ending |
| ما می‌کنم | ما می‌کنیم | Plural subject needs plural verb |
| آن‌ها رفتم | آن‌ها رفتند | Third person plural needs -ند |

### Ezafe Construction Errors

The ezafe (-e) links nouns to modifiers. It's unwritten but must be grammatically correct:

| Error | Correction | Rule |
|---|---|---|
| کتابِ بزرگِ | کتابِ بزرگ | No ezafe on final adjective |
| خانه‌ی من (in formal) | خانهٔ من or خانه من | Use hamze or omit in formal |
| دوست خوب من | دوستِ خوبِ من | Ezafe needed between each link |

### Subject-Object-Verb Order Violations

Persian is SOV (Subject-Object-Verb). AI models trained primarily on English (SVO) sometimes produce unnatural word order:

- Wrong: «من دارم می‌خوانم کتاب را» (SVO-like)
- Right: «من دارم کتاب را می‌خوانم» or «من کتاب را دارم می‌خوانم»

**Fix:** Always place the verb at the end of the clause in standard Persian.

### را (rā) Marker Errors

را marks definite direct objects. Common mistakes:

| Error | Correction | Rule |
|---|---|---|
| من کتاب خواندم | من کتاب را خواندم | Definite object needs را |
| من یک کتاب را خواندم | من یک کتاب خواندم | Indefinite objects don't take را |
| به او را گفتم | به او گفتم | Indirect objects (with preposition) don't take را |

---

## 3. Translation Errors

### Literal Calques (Word-for-Word Translation)

| English | Wrong Persian (Calque) | Natural Persian |
|---|---|---|
| "It makes sense" | آن حس می‌سازد | منطقی است / درست است |
| "I'm looking forward to" | من به جلو نگاه می‌کنم | مشتاقانه منتظرم / بی‌صبرانه 

references/content-templates.md

# Persian Content Templates

Ready-to-use structural templates for common Persian content types. Adapt the register, tone, and details to the specific context.

---

## 1. Formal Business Email (ایمیل رسمی)

### Structure

```
موضوع: [موضوع ایمیل]

[نام و عنوان گیرنده] + عزیز،
(جناب آقای دکتر احمدی / سرکار خانم مهندس رضایی)

با سلام و احترام،

[پاراگراف اول: هدف ایمیل — چرا می‌نویسید]
بدین‌وسیله به استحضار می‌رساند که…
پیرو مکاتبه مورخ ۱۴۰۵/۰۱/۱۵…
با توجه به جلسه مورخ…

[پاراگراف دوم: جزئیات و توضیحات]

[پاراگراف سوم: درخواست یا اقدام مورد انتظار]
خواهشمند است دستور فرمایید…
ممنون می‌شوم در صورت امکان…
لطفاً نتیجه را به این آدرس ارسال فرمایید.

با تشکر و احترام،
[نام]
[سمت]
[اطلاعات تماس]
```

### Example

```
موضوع: درخواست هماهنگی جلسه بررسی پروژه

جناب آقای مهندس محمدی عزیز،

با سلام و احترام،

پیرو صحبت‌های انجام‌شده در جلسه مورخ ۱۴۰۵/۰۱/۱۰، بدین‌وسیله
درخواست می‌شود جلسه‌ای جهت بررسی وضعیت پروژه در هفته جاری
هماهنگ گردد.

پیشنهاد می‌شود جلسه روز سه‌شنبه ۱۴۰۵/۰۱/۲۴ ساعت ۱۰ صبح
برگزار شود. در صورتی که زمان دیگری مناسب‌تر است، لطفاً
اعلام فرمایید.

با تشکر و احترام،
علی رضایی
مدیر پروژه
a.rezaei@example.com
```

---

## 2. Semi-Formal Email (ایمیل نیمه‌رسمی)

### Structure

```
سلام [نام]،

امیدوارم حالت خوب باشه.

[متن اصلی — مستقیم و صمیمی ولی محترمانه]

ممنون می‌شم اگه [درخواست].

مرسی،
[نام]
```

### Example

```
سلام مریم جان،

امیدوارم حالت خوب باشه.

می‌خواستم بدونم فایل طراحی که قرار بود بفرستی آماده شده یا نه؟
اگه تا فردا بفرستی عالی می‌شه چون باید تا آخر هفته نهایی‌اش کنیم.

ممنون،
سارا
```

---

## 3. Social Media — Instagram Caption

### Structure

```
[خط اول: هوک — جمله‌ای جذاب که توجه جلب کند]

[متن اصلی: ۲-۴ خط، محاوره‌ای، مرتبط با تصویر/ویدیو]

[دعوت به اقدام: سؤال یا درخواست تعامل]

[هشتگ‌ها: ترکیبی از فارسی و انگلیسی]
```

### Example (Cafe/Lifestyle)

```
یه قهوه خوب می‌تونه کل روزت رو نجات بده ☕

امروز رفتم یه کافه جدید که دوستم معرفی کرده بود و واقعاً
غافلگیر شدم. فضاش عالیه و قهوه‌ترکیش بی‌نظیر بود.

شما کافه مورد علاقه‌تون کجاست؟ بگید تا یه سر بزنم 👇

#کافه_گردی #قهوه #تهران_گردی #کافه_تهران #coffeelover
```

### Example (Tech/Business)

```
یه اشتباه ساده که خیلی از استارتاپ‌ها مرتکب می‌شن 👇

فکر می‌کنن اول باید محصول کامل بسازن، بعد برن سراغ مشتری.
ولی واقعیت اینه که اول باید مشکل رو اعتبارسنجی کنید.
MVP یعنی همین: کمترین چیز برای بیشترین یادگیری.

تجربه شما چیه؟ اول محصول ساختید یا اول با مشتری حرف زدید؟

#استارتاپ #کارآفرینی #MVP #startup #بیزینس
```

---

## 4. Telegram Channel Post

### Structure

```
[عنوان با ایموجی]

[متن: کوتاه، مستقیم، ۳-۵ خط]

[لینک یا منبع اگر لازم است]

[دکمه/لینک دعوت به اقدام]
```

### Example

```
🔥 آپدیت جدید اپلیکیشن منتشر شد!

نسخه ۲.۵ با این تغییرات آماده شده:
• رابط کاربری کاملاً بازطراحی شده
• سرعت بارگذاری ۳ برابر بیشتر
• اضافه شدن حالت تاریک

همین الان آپدیت کنید 👇
[لینک دانلود]
```

---

## 5. Formal Announcement (اطلاعیه رسمی)

### Structure

```
بسم‌الله الرحمن الرحیم (optional — common in Iranian official docs)

اطلاعیه

[موضوع اطلاعیه]

به اطلاع [مخاطبان] می‌رساند که…

[

Sponsored

Ads related to Persian Language and adjacent AI workflows.