arabic-rag

Enable semantic search over Arabic religious texts using AraGemma embeddings and FAISS indexing.

1|Updated Apr 19, 2026
One-click install
npx skills add https://github.com/jackquelinunpredictable827/mkhlab --skill arabic-rag
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: arabic-rag
Source: https://github.com/jackquelinunpredictable827/mkhlab/tree/main/hermes-skills/arabic-rag
Command: npx skills add https://github.com/jackquelinunpredictable827/mkhlab --skill arabic-rag

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Arabic search often relies on exact word matching, which misses semantic connections due to morphology and synonyms. This skill enables semantic retrieval across Quran, Hadith, and other Arabic texts by using AraGemma embeddings to match concepts rather than surface words.

Core Features & Use Cases

  • Semantic search across Quran, Hadith, and Arabic documents using AraGemma embeddings.
  • Supports concept-based retrieval for topics like patience, justice, and guidance.
  • Use Case: A researcher wants to locate verses and hadith related to patience even if different word forms are used.

Quick Start

Initiate a semantic search across Qur'an and Hadith using AraGemma embeddings to retrieve concept-based results.

Frequently Asked Questions about arabic-rag

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I perform semantic search across Quran and Hadith texts in Arabic?

Semantic search across Quran and Hadith uses AraGemma embeddings and FAISS indexing to retrieve concept-based results, matching meanings rather than exact words. This allows you to find verses and hadith by topic even when different word forms are used.

Why does my Arabic text search miss verses that use different word forms or synonyms?

Exact word matching fails in Arabic text search due to morphology and synonyms. Semantic retrieval overcomes this by applying AraGemma embeddings to match underlying concepts, ensuring relevant verses and hadith are returned despite variations in vocabulary.

What is the best way to find Quran verses and Hadith related to a specific concept like patience?

To find Quran verses and Hadith related to a concept like patience, use concept-based retrieval. This approach uses AraGemma embeddings to map semantic meaning, returning results that discuss the topic regardless of the specific Arabic words used.

Can I use semantic search for Arabic linguistic research and religious studies?

Semantic search supports Arabic linguistic research and religious studies by enabling concept-based retrieval across Arabic documents. It matches semantic meanings across texts, making it suitable for educational contexts requiring deep topical exploration.

How does FAISS indexing work with AraGemma embeddings for Arabic NLP retrieval?

FAISS indexing works with AraGemma embeddings by organizing the embedded Arabic texts for rapid similarity lookups. This combination enables efficient semantic retrieval, allowing the system to quickly find and return conceptually matching Quran or Hadith passages.

Does Arabic semantic search handle morphology and synonyms automatically?

Arabic semantic search handles morphology and synonyms automatically by using AraGemma embeddings. Instead of relying on surface-level word matching, the embeddings capture the underlying semantic meaning, ensuring that morphological variations do not prevent accurate retrieval.