plan-ar

plan-ar is a command for Claude Code from OthmanAdi/planning-with-files. It costs 26 tokens per session (818 once invoked), scanned A, original, MIT.

An Arabic-language command for starting file-based planning in a coding project. It uses Arabic planning files for the task plan, findings, and progress.

In plain words
What is it for?
It helps create or continue Arabic project plans, record findings and progress, and guide the agent through a multi-step task.
Why use it?
It gives Arabic-speaking users a persistent record for complex work and preserves the exact status labels required by the completion check.

Command for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the planning-with-files plugin — 6 skills, 15 commands, 9 hooks shipped together

Good fit It helps create or continue Arabic project plans, record findings and progress, and guide the agent through a multi-step task.

Compare 6 commands from other repositories ↓
About the project

OthmanAdi/planning-with-files is a planning system that stores an AI coding agent's task plan, findings, and progress in project files so the work can be recovered after context resets, crashes, or compaction. It is for long-running coding tasks across many agent tools, including Claude Code, Codex CLI, and Cursor. The catalogue entries are the project's commands, hooks, skills, plugin, and instruction for maintaining those planning files.

OthmanAdi/planning-with-files · 28,354 stars · on GitHub · planningwithfiles.tech

Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add OthmanAdi/planning-with-files
Claude Code
/plugin install planning-with-files

Made for: Claude Code.

Or install planning-with-files, the plugin that ships this one along with the rest of its 6 skills, 15 commands, 9 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for plan-ar

README.md
[![agentmods](https://agentmods.dev/badge/commands/othmanadi/planning-with-files/plan-ar/github.svg)](https://agentmods.dev/commands/othmanadi/planning-with-files/plan-ar)
Your own site
<a href="https://agentmods.dev/commands/othmanadi/planning-with-files/plan-ar"><img src="https://agentmods.dev/badge/commands/othmanadi/planning-with-files/plan-ar/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for plan-ar

Your own site · 80×15
<a href="https://agentmods.dev/commands/othmanadi/planning-with-files/plan-ar"><img src="https://agentmods.dev/badge/commands/othmanadi/planning-with-files/plan-ar.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 818 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00026 $0.00818
Opus 5.5 $0.00010 $0.00327
Sonnet 5.5 $0.00005 $0.00164
Haiku 4.5 $0.00003 $0.00082

Measured 29d ago against content hash 565e53043dbc, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

plan-ar scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 29d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

2 near-identical copies found in the catalogue:

  • plan-zht — 88% identical, 34 lines differ
  • plan-zh — 86% identical, 34 lines differ
commands/plan-ar.md · 28 lines

What it actually says

اقرأ نص المهارة العربية من أول مسار موجود من هذين المسارين ونفّذ تعليماته بدقة:

  • $HOME/.claude/skills/planning-with-files-ar/SKILL.md
  • ${CLAUDE_PLUGIN_ROOT}/skills/i18n/planning-with-files-ar/SKILL.md

إذا لم يكن أي من المسارين موجودًا، استدعِ مهارة planning-with-files:planning-with-files وتابع العمل باللغة العربية.

استعِد قبل أن تُنشئ. إذا كان PWF_PLAN_ROOT مضبوطًا، فتحقّق من أنه جذر مشروع مطلق وموجود، وارفض أي تثبيت غير صالح للجذر قبل قراءة أي ملف أو إنشائه. وإلا فجذر المشروع هو المجلد الحالي. حدّد المهمة المختارة باستخدام sh ${CLAUDE_PLUGIN_ROOT}/scripts/resolve-plan-dir.sh (وفي PowerShell: & "$env:CLAUDE_PLUGIN_ROOT\scripts\resolve-plan-dir.ps1"):

  • إذا طُبع مجلد فهو المهمة المختارة. استأنفها: اقرأ ملفاتها task_plan.md وfindings.md وprogress.md وحافظ عليها، ولا تكتب أبدًا فوق ملفات تخطيط موجودة.
  • الإخراج الفارغ مع PLAN_ID غير فارغ يعني أن محدِّد الخطة مرفوض. توقّف واطلب من المستخدم تصحيح التثبيت. لا ترجع إلى الجذر ولا إلى خطة أخرى.
  • الإخراج الفارغ مع طباعة resolve-plan-dir.sh --check-ambiguity (وفي PowerShell: -CheckAmbiguity) للقيمة PWF_PLAN_AMBIGUOUS_V1 يعني وجود عدة خطط دون محدِّد. توقّف واطلب من المستخدم ضبط PLAN_ID=<slug>.
  • في غير ذلك، يعني الإخراج الفارغ الاصطلاح القديم (legacy) لخطة في جذر المشروع: استأنف task_plan.md من جذر المشروع الذي تم التحقق منه (PWF_PLAN_ROOT إذا كان مضبوطًا) إن كان موجودًا. تثبيت جذر صالح وحده لا يرفض خطة قديمة في الجذر.

لمهمة جديدة فقط، شغّل أداة التهيئة من جذر المشروع الذي تم التحقق منه، حتى عندما يشير PWF_PLAN_ROOT إلى مكان غير cwd المضيف: sh ${CLAUDE_PLUGIN_ROOT}/scripts/init-session.sh (وفي PowerShell: init-session.ps1). مرّر اسم مهمة للحصول على خطة معزولة في .planning/<id>/ وثبّت المضيف بـ PLAN_ID المطبوع. الملف .planning/.active_plan مجرد قيمة افتراضية مشتركة، ولا يربط جلسة موازية.

  • task_plan.md — للمراحل والتقدم والقرارات
  • findings.md — للبحث والاكتشافات
  • progress.md — لسجل الجلسة

احتفظ بكل عنوان ### Phase N: Name مع سطر **Status:** واحد فقط، ثم تحقّق من المسار الصريح للخطة المختارة باستخدام sh ${CLAUDE_PLUGIN_ROOT}/scripts/check-complete.sh --validate path/to/task_plan.md (وفي PowerShell: check-complete.ps1 -Validate -PlanFile path/to/task_plan.md). إذا فشلت خطة موجودة في التحقق، فأبلغ عن ذلك بدلًا من إعادة كتابتها.

ثم ارشد المستخدم خلال سير عمل التخطيط. جميع ملفات التخطيط يجب أن تكون باللغة العربية.

تبقى علامات الحالة بالإنجليزية حرفيًا (**Status:** in_progress و **Status:** complete) لأن check-complete.sh يبحث عنها باستخدام grep -F، وترجمتها تُعطّل بوابة الإكمال.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 29d ago Changed · +8 lines 565e53043dbc
  2. 3mo ago First seen · 20 lines · 26 tokens per session scan A 69c3632f066a

Subscribe to this mod's changes

plan-ar is a command published in the GitHub repository OthmanAdi/planning-with-files (28,354 stars, last pushed today), licensed MIT. It adds 26 tokens to every session and 818 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

plan-ar compared with commands from other repositories

plan-ar next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
plan-arOthmanAdi/planning-with-filesCommand28ktodayMITA26Claude Code
genshijin-compressInterfaceX-co-jp/genshijinCommand3365d agoMITA17Claude Code
pick-first-segmentstefanoskarakasis/Product-Marketing-SkillsCommand22yesterdayMITA11Claude Code
design-formAmey-Thakur/AI-SKILLSCommand142mo agoMITA19Claude Code
reviewnunoamorim99/agile-ledgerCommand11mo agoMITA16Claude Code
standupnunoamorim99/agile-ledgerCommand11mo agoMITA9Claude Code
enum-udppashki975/thm-claude-kitCommand23mo agoMITA16Claude Code