Communityコーディング&開発github.com

Claude Arabic Terminal

ワンコマンドで「Claude Arabic Terminal」をセットアップ — VS Code 内でアラビア語・ペルシャ語・ヘブライ語・ウルドゥー語を正しく表示できるようにします(接続文字、右から左の順序)。macOS と Windows に対応。

Claude Arabic Terminal とは?

このスキルは、VS Code のターミナルでアラビア語など右横書き(RTL)スクリプトを正しく表示するための問題を解決します。標準の xterm.js では RTL テキストが切断された文字や逆順で表示されますが、このスキルは VS Code 拡張機能と `arabic` ランチャーをインストールし、Claude Code を疑似ターミナルで実行して HTML としてレンダリングすることで、ブラウザエンジンによるアラビア文字の整形と双方向テキスト処理を実現します。ユーザーは `arabic claude` と入力するだけで、通常の Claude Code フラグ(例:`arabic claude --dangerously-skip-permissions`)をそのまま使えます。GitHub リポジトリからインストーラを実行してセットアップし、VS Code の再読み込み後に利用可能になります。

対応✓Claude Code~Codex CLI~Cursor
npx skills add https://github.com/JamalMohafil/claude-skills/tree/HEAD/claude-arabic

Installed? Explore more コーディング&開発 skills: steipete/bluebubbles, steipete/eightctl, steipete/blucli · View all 6 →

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

Claude Arabic Terminal は何をしますか?

VS Code のターミナル(xterm.js)は右横書き(RTL)スクリプトを正しく描画できません。アラビア語は文字が分断され、単語の順序が反転して表示され、設定では修正できません。このスキルは、VS Code 拡張機能をインストールし、Claude Code を疑似ターミナルで実行、ヘッドレスターミナルエミュレータで画面を保持し、HTML として VS Code 内にレンダリングします。これにより、ブラウザエンジンが claude.ai と同様にアラビア文字の整形と双方向テキスト処理を行います。

リポジトリ: https://github.com/JamalMohafil/claude-arabic-terminal

あなたの役割

ユーザーの OS に合わせてインストーラを実行し、動作確認をして、今後使うべきコマンドを伝えてください:arabic claude

手順

1. 前提条件を確認(不足があれば停止してユーザーに伝える)

  • git、node(18+)、npm — git --version、node -v、npm -v
  • Claude Code CLI — claude --version
  • VS Code と code CLI — code --version (macOS で code がない場合:VS Code → Cmd+Shift+P → 「シェルコマンド: PATH 内に 'code' コマンドをインストール」)

2. インストーラを実行

macOS / Linux:

curl -fsSL https://raw.githubusercontent.com/JamalMohafil/claude-arabic-terminal/main/install.sh | bash

Windows(PowerShell):

irm https://raw.githubusercontent.com/JamalMohafil/claude-arabic-terminal/main/install.ps1 | iex

インストーラはリポジトリを ~/.claude-arabic-terminal にクローンし、npm install を実行し、拡張機能を ~/.vscode/extensions/ にリンクし、arabic ランチャーを ~/.local/bin に配置します(必要に応じて PATH に追加)。再実行すると既存のインストールを更新します。

curl/irm がブロックされている場合は、リポジトリを手動でクローンし、内部の ./install.sh または .\.\install.ps1 を実行してください。

3. 動作確認

  • ls ~/.vscode/extensions | grep claude-arabic(Windows: dir $env:USERPROFILE\.vscode\extensions)に jamal.claude-arabic-terminal-<バージョン> が表示される
  • command -v arabic(Windows: Get-Command arabic)が解像される — 解像されない場合、ユーザーは 新しい ターミナルを開いて PATH を更新する必要があります
  • ls ~/.claude-arabic-terminal/node_modules/node-pty/prebuilds に darwin-* / win32-* がリストされる

4. ユーザーに正確に次のように伝える

  1. VS Code を再読み込み: Cmd/Ctrl+Shift+P → 「開発者: ウィンドウの再読み込み」

  2. 今後は、VS Code のターミナルで次のコマンドを実行:

    arabic claude
    

    すべての Claude Code フラグはそのまま渡されます: arabic claude --dangerously-skip-permissions、arabic claude --resume、arabic claude --model opus

  3. 初回起動時に「'Claude Arabic Terminal' がこの URI を開こうとしています」と表示されたら、「この拡張機能について今後表示しない」 にチェックを入れ、「開く」 をクリック。

Claude Code は VS Code のターミナル領域内でアラビア語対応のペインとして開き、コマンドを実行したフォルダで動作します。

トラブルシューティング

症状対処法
arabic: コマンドが見つかりません新しいターミナルを開く(PATH が更新されたばかり)、または ~/.local/bin/arabic claude を実行
URI ダイアログが表示されるが何も開かないインストール後に VS Code が再読み込みされていない — 開発者: ウィンドウの再読み込み
すぐに「claude exited with code 1」通常のターミナルで claude を実行してログイン/フォルダの信頼を完了
macOS で拡張機能が読み込まれない(posix_spawnp failed)chmod +x ~/.claude-arabic-terminal/node_modules/node-pty/prebuilds/*/spawn-helper
ターミナル領域ではなくエディタタブで開きたいコマンドパレット → 「Claude Arabic Terminal: エディタタブで開く」

アンインストール

rm -rf ~/.claude-arabic-terminal ~/.vscode/extensions/jamal.claude-arabic-terminal-* ~/.local/bin/arabic

Individual skills in this repo

This repo contains 2 individual skills — each has its own dedicated page.

JamalMohafil/claude-skills

One-command setup for a new AI coding agent. Installs the essential starter skills (find-skills, agent-browser, karpathy-guidelines, ui-ux-pro-max, caveman, arabic-design, design-taste-frontend, remotion-best-practices) across 70+ agents, plus the core Claude Code plugins/MCPs (frontend-design, superpowers, code-review, playwright, github, claude-md-management). Use when the user is setting up a new project or a fresh agent and asks for "the skills/MCPs I should start with", a "starter pack", or "set up my agent".

JamalMohafil/claude-skills

Build a local AI "content operating system" for one business or many isolated businesses (an agency's clients). One Next.js engine plus one folder per business, with an owner-approved brand kit, an approve-before-generate idea store, a grounded trend radar, competitor tracking, HTML→PNG export, optional AI image/video/animation, a chat assistant with memory, owner-confirmed publishing, a CRM and an optional knowledge-vault graph. Every spawned AI agent is confined (no shell, no access to other businesses). Works with any coding agent (Claude Code, Codex, Cursor, Kimi…). It ALWAYS interviews first, starting with "one business or several isolated ones?", then builds. Use when someone wants a system to run their or their clients' content ("build me a content OS", "something like my friend's content OS", "a dashboard to run my content", "a system to run my clients' content", "an AI content OS for my agency"), even if they never say "content OS".

関連スキル