More screenshots

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    Arabic Word Documents (RTL DOCX)

    1

    Word documents in Arabic and other RTL languages that open correct: direction, tables, fonts, TOC and mixed English terms.

    Free

    2 usesSecurity scanned
    Arabic Word Documents (RTL DOCX)

    Arabic Word Documents (RTL DOCX)

    Example session with this skill installed

    Write a two-page Arabic sales report for Q3 as a Word file: a title, a table of contents, an introduction that mentions our products iPhone 15 and Galaxy S24, and a table of sales by branch. Page numbers at the bottom, none on the cover.

    • Read your context and instructions
    • Compiled the arabic word documents
    • Generated the document

    Summary

    Created sales-report-q3.docx: a two-page right-to-left Arabic report. I opened it in Microsoft Word and checked every page, and the built-in audit found no layout problems.

    What's in the file

    SectionContent
    CoverReport title and date, no page number
    Table of contentsBoth chapters with their page numbers
    المقدمةOverview of the quarter, mentioning iPhone 15 and Galaxy S24
    مبيعات الفروعTable: الفرع، المبيعات، نسبة النمو — first column on the right
    FooterPage numbers starting from 1 after the cover

    Checked before delivery

    CheckResult
    Text starts at the right margin✓
    Product names keep their spaces and numbers: «iPhone 15» not «15iPhone»✓
    Bold Arabic is actually bold✓
    Table columns read right to left✓
    Table of contents shows page numbers✓

    Next steps

    • Open the file in Word; if it asks to update fields, click Yes.
    • Want another chapter? Ask for it and it will be added in place without touching your edits.

    sales-report-q3.docx

    PDF · document

    Generated

    Example file from a real run - the skill writes it into your workspace.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    AI agents write Arabic Word files that look fine in the chat and break the moment someone opens them: paragraphs start at the left margin, the first table column lands on the wrong side, bold Arabic stays regular, PostgreSQL و collapses into PostgreSQLو, and C# turns into #C. None of it shows up in the text, so the agent never notices.

    This skill gives your agent a tested Python library (python-docx) that writes every direction flag Word needs, and the rules for when to use each one.

    What it handles

    • Direction everywhere: paragraphs, runs, tables, sections and document defaults, so text the reader types later is RTL too.
    • Mixed Arabic and English: text is split by script automatically. Brackets, version numbers and terms like C#, C++, .NET, +963 stay intact.
    • Formatting that actually reaches Arabic: bold, italic and size go into Word's complex-script slots, and template styles are cleaned so headings and the table of contents don't fall back to Calibri.
    • Full reports: real headings, a table of contents with page numbers, numbered figure and table captions, page numbers that skip the cover, and tables with fixed column widths and a header row that repeats on every page.
    • Existing files: audit_docx() lists what a reader would see wrong; fix_docx() repairs a document made elsewhere; insert_before() adds a chapter without rebuilding the file and losing manual edits.
    • Visual check: preview() converts through Microsoft Word (or LibreOffice) and renders every page to PNG so the agent can look before delivering.

    Works for Arabic, Persian, Urdu and Hebrew. Free and open source (MIT).

    Generating the .docx needs only Python. Visual previews need Microsoft Word or LibreOffice, and page numbers in the table of contents are filled in only by Word (LibreOffice shows the headings without numbers). Text inside images is not handled here: draw Arabic labels with the arabic-pdf skill's draw_text() or as SVG. Table placement in LibreOffice previews can differ from Word; Word's rendering is the reference.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    2 uses

    Times used to date

    Free forever

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 1 month ago

    • Free with an Agensi account

    Requires

    Python

    Permissions

    Terminal / Shell
    Read Files
    Write Files

    File Scopes

    *.docx
    *.pdf
    *.png

    Runs a local Python script that writes the .docx and, for previews, a PDF and PNG per page. Reads files only when you ask it to edit or fix an existing document. No network access, no accounts, no API keys. On Windows, previews open Microsoft Word through a temporary PowerShell script (read-only, PDF export only).

    Listed1 month ago

    What's inside

    Frequently Asked Questions

    This skill provides specialized logic and tools to ensure Word documents correctly handle Right-to-Left (RTL) formatting, including table directions, mixed-language text alignment (Arabic/English), and complex script font styling that standard AI outputs often break.

    Yes, it is fully compatible with Arabic, Persian (Farsi), Urdu, and Hebrew, ensuring that specific language nuances like script-specific bolding and bidirectional text (like 'C++' or phone numbers) remain intact.

    You receive a specialized Python library based on python-docx, pre-configured rules for RTL direction flags, and utility functions for auditing, fixing, and previewing documents as PNGs.

    The skill includes a 'preview()' function that uses Microsoft Word or LibreOffice to render the document into PNG images, allowing your AI agent to visually verify the layout before sending the file to a user.

    The skill includes a 'fix_docx()' function designed to repair existing documents generated by other tools, and an 'insert_before()' feature to add new content to a file without losing previous manual edits.

    New in Technical Documentation