- Home
- Skills
- Agents & Orchestration
- arabic rtl fix
arabic rtl fix
Fixes reversed or left-aligned Arabic, Hebrew, and Urdu text in Electron desktop apps via renderer injection.
Free
Works with the AI Agents you already use
arabic rtl fix
Example session with this skill installed
My Arabic messages in the Slack desktop app are showing up left-to-right and the letters are all out of order. Can you fix the RTL rendering?
- Read your context and instructions
- Compiled the arabic rtl fix
I have analyzed the Slack installation and confirmed it is an Electron-based application. I will now extract the renderer resources, inject the RTL dir="auto" patch, and prepare a swap script.
RTL Patch Operation Log
| Phase | Action | Status |
|---|---|---|
| Environment | Detected Node.js v20.10.0 | Verified |
| Discovery | Found app.asar at /Applications/Slack.app/Contents/Resources/ | Success |
| Security | Checked Electron Fuses (Integrity Validation: Disabled) | Passed |
| Extraction | Unpacked app.asar and merged app.asar.unpacked | Success |
| Injection | Patched index.html and 4 secondary renderer files | Success |
| Deployment | Generated rollback.sh and reapply.sh in ~/slack-rtl-patch/ | Ready |
Note: Slack is currently running. I have initialized a file watcher to complete the swap.
Next steps
- Quit Slack completely by right-clicking the icon in your Dock/Tray and selecting Quit.
- Wait 10 seconds for the watcher to swap the patched files, then relaunch Slack.
- If the app fails to start due to signature issues, run
codesign --force --deep -s - /Applications/Slack.app.
Connects securely to your tools. The creator never sees your data.
About this skill
Arabic and Hebrew speakers often struggle with Electron-based desktop apps that render text in the wrong direction. While Chromium handles character shaping, it frequently defaults to LTR alignment, resulting in scrambled, unreadable paragraphs. This skill fixes the problem at the source by injecting a bidi-aware patch into the app's renderer.
What it does
- Electron detection identifies if the target application is built on Electron by scanning for specific resource structures.
- Safety validation checks Electron fuses to prevent breaking apps that have integrity validation or ASAR loading restrictions enabled.
- Automated extraction unpacks
app.asararchives and merges external native binaries to ensure the app remains functional post-patch. - Injection patching inserts a battle-tested CSS/JS snippet into renderer HTML files to force
dir="auto"behavior. - Atomic swapping uses background watchers to replace application resources the moment the user closes the app, avoiding file-in-use errors.
- Maintenance generation creates local scripts for the user to easily roll back changes or re-apply the patch after an app update.
How it works
- Identify the application's resource directory and confirm Node.js version compatibility.
- Execute a fuse check to ensure the application allows modified ASAR contents.
- Patch the renderer HTML entry points by injecting the RTL snippet.
- Deploy the changes by renaming the original archive and activating the patched folder.
Frameworks & tools
The skill utilizes node.js, the @electron/asar utility for archive manipulation, and the @electron/fuses library for security checks. It relies on standard shell commands (find, cp, mv) and PowerShell for Windows process management.
Why this beats prompting it yourself
Manual patching of Electron apps is high-risk, as missing the app.asar.unpacked merge or ignoring fuse settings will crash the application immediately. This skill handles the specific edge cases of file locking and code signing that generic prompts overlook.
Use cases
- Fix reversed Arabic text in desktop apps like Slack, Discord, or Notion.
- Restore RTL support to Cursor or Claude Code after a software update.
- Patch custom internal Electron tools that lack native bidi support.
- Automate the rollback of patches if an application fails integrity checks.
Known limitations
Does not fix terminal panels using xterm.js or native non-Electron applications. macOS users may need to re-sign the app ad-hoc after patching to satisfy Gatekeeper requirements.
How to use
Skills on Agensi run inside your AI agent. Copy the prompt, paste it into your agent, and it connects to Agensi and installs this skill for you. If a payment is needed, your agent shows it to you first.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill passes our trust checks below.
Security scanned
Passed our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free forever
No account required to browse
Trust & safety
Security scanned
Verified clean 12 days ago
- Free to download with an account
Requires