Logo Salsi

Salsi

Cộng đồng
pooooooriya
salsi

Write Persian with Persian words. Use when writing, editing, translating or reviewing Persian (Farsi) prose — articles, documentation, posts, essays, UI copy — to replace loanwords with Persian equivalents while leaving technical terminology, proper nouns and code untouched. Also use when the user asks for پارسی سره, سره‌نویسی, فارسی‌سازی, or "make this text more Persian".

Tổng quan

Nhà phát hànhpooooooriya
Kho mãsalsi
Tên kỹ năngsalsi
Sao
91
Bản fork
5
Tệp đi kèm
3
Giấy phépMIT
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 3 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được pooooooriya công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Salsi trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/pooooooriya/salsi/tree/main/skills/salsi
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/pooooooriya/salsi.git /tmp/salsi
mkdir -p .claude/skills
cp -r /tmp/salsi/skills/salsi .claude/skills/salsi
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Salsi trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Salsi ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Salsi với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

سالسی — Write Persian with Persian words

Persian prose is full of borrowed words that have perfectly good Persian equivalents. Replacing them makes writing clearer and more native. Replacing them carelessly makes writing wrong — it mangles technical terms, changes meaning, and produces words no reader recognises.

This skill is about the difference.

The one rule that matters

A loanword is only worth replacing when the replacement is at least as clear to the reader. Purity is never worth clarity. If you are unsure whether a reader would recognise the Persian equivalent, keep the original.

Workflow

  1. Scan the text to find candidates:

    bash
    salsi scan article.md --format json

    If salsi is not on PATH, this skill ships its own copy — run ./bin/salsi from this skill's directory instead. It needs nothing installed beyond Python 3.10 and carries the full 20,129-word lexicon.

    Add --domain tech (or medical, legal, science, business) so the terminology of that field is protected. Add --topic <subject> to help the scanner pick the right sense of an ambiguous word.

  2. Read each finding. Every one carries level, ambiguous, and a sense label per suggestion. Apply the judgement rules below. Most findings will be rejected in a technical document — that is the expected outcome, not a failure.

  3. Apply with your normal editing tools, one considered change at a time. For the settled subset only, salsi apply article.md does it mechanically.

  4. Show the user a diff and the reasoning before finalising. Never rewrite someone's text wholesale without showing what changed.

Only if you cannot run commands at all — no shell available — work from reference/core-words.md, which holds the settled replacements as a plain table. It is ~119 words against the lexicon's 20,129, so say plainly that you are working without the full dictionary and be correspondingly conservative.

Judgement rules

Never touch

  • Anything inside code fences, inline code, URLs, file paths, commands, identifiers, or configuration keys. (salsi already excludes these; if you are working by hand, you must too.)
  • Quoted text from another author, or a cited title. Quotations are evidence, not drafts.
  • Proper nouns: people, places, companies, products, brands, standards bodies.
  • Numbers, units, and formulas.

Technical terms — the part people get wrong

Ask what the field itself writes, not what a dictionary offers.

  • Use the Persian term when the field already uses it: کامپیوتر→رایانه, دیتابیس→پایگاه داده, دانلود→بارگیری, فایل→پرونده. These read as normal technical Persian.
  • Keep the loanword when it is the term of art: الگوریتم, پروتکل, کامپایلر, ای‌پی‌آی, توکن, کرنل. Translating these makes the text harder for its own audience.
  • Never invent a term. If the lexicon offers something you have not seen used in that field, do not be the first to use it in someone else's document.
  • In medicine, law and standards, a term can have a defined meaning. Changing it changes the content. Leave it.

Meaning first

The lexicon is keyed by spelling, not sense. Check the sense label on each suggestion before using it.

  • سرور in a systems document is server, not سُرور "joy".
  • استرس is تنش in mechanics but دلهره in psychology.
  • تست is آزمون in science, but a تُست is bread.

When ambiguous is true, either pick the sense the context demands or leave the word alone. Never take the first suggestion because it is first.

Register and audience

  • Formal, literary and cultural writing tolerates more purism.
  • Technical documentation, legal text and UI copy tolerate much less: the reader is there to accomplish something, not to admire the prose.
  • Casual and conversational text should stay casual. سلام، فایلو فرستادم should not become a treatise.

Craft

  • Be consistent. Once you choose پرونده for فایل, use it everywhere in the document, including headings.
  • Introduce once. When an unfamiliar equivalent genuinely earns its place, the first occurrence may carry the original: بارگیری (دانلود). Once.
  • Fix the grammar around the change. Persian suffixes change shape: فایل‌ها→پرونده‌ها, خانه‌ای patterns, ezafe. Re-read the sentence after each edit.
  • Do not increase word count much. A three-word phrase replacing one word is usually a bad trade.

When the user asks for سره‌نویسی

Full purism (--level pure) also targets Arabic loanwords that are ordinary modern Persian — کتاب, علم, قانون. Only do this when the user explicitly asks for it, and warn that the result reads as a deliberate literary style, not as neutral Persian.

Levels

LevelWhat it offersUse it for
safeOnly the curated, settled replacementsAutomation, first pass, anything you cannot review
standard (default)Everything except naturalised and protected wordsNormal editing with review
pureThe full lexiconسره‌نویسی, only on request

Commands

bash
salsi scan FILE [FILE...]        # --format text|json|markdown
salsi apply FILE                 # settled replacements only; --diff to preview
salsi lookup WORD                # what does the lexicon offer, and in which sense
salsi domains                    # protection profiles available
salsi info                       # lexicon size and provenance

# useful flags
--level safe|standard|pure
--domain tech|medical|legal|science|business    # repeatable
--topic "زبان‌شناسی"                            # disambiguates senses
--protect WORD / --protect-file FILE            # your own exceptions

Exit code with --strict is non-zero when anything is found, which makes salsi scan --level safe --strict usable as a CI or pre-commit check.

Reference

  • reference/judgement.md — worked examples of accepting and rejecting findings
  • reference/core-words.md — the settled replacements, usable without the CLI
  • reference/install.md — installing salsi and this skill elsewhere

Credit

The word list and every Persian equivalent come from پاسبان (Pasban) — https://pasbans.ir. This skill is a way of using their work; it is not a substitute for it. Keep the attribution when you redistribute.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Salsi làm được gì?

Write Persian with Persian words. Use when writing, editing, translating or reviewing Persian (Farsi) prose — articles, documentation, posts, essays, UI copy — to replace loanwords with Persian equivalents while leaving technical terminology, proper nouns and code untouched. Also use when the user asks for پارسی سره, سره‌نویسی, فارسی‌سازی, or "make this text more Persian".

Vì sao nên dùng Salsi trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Salsi là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Salsi trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/pooooooriya/salsi/tree/main/skills/salsi. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Salsi?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Salsi với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Salsi với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Salsi có miễn phí không?

Có. Kỹ năng này được pooooooriya phát hành trên GitHub theo giấy phép MIT. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇