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.
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.
/plugin marketplace add OthmanAdi/planning-with-files/plugin install planning-with-filesWrote 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.
[](https://agentmods.dev/commands/othmanadi/planning-with-files/plan-ar)<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.
<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>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.
| Model | Per session | Once 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 |
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.
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، وترجمتها تُعطّل بوابة الإكمال.
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.
- 29d ago Changed · +8 lines 565e53043dbc
- 3mo ago First seen · 20 lines · 26 tokens per session scan A 69c3632f066a
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.
plan-ar compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| plan-arOthmanAdi/planning-with-files | Command | 28k | today | MIT | A | 26 | Claude Code |
| genshijin-compressInterfaceX-co-jp/genshijin | Command | 336 | 5d ago | MIT | A | 17 | Claude Code |
| pick-first-segmentstefanoskarakasis/Product-Marketing-Skills | Command | 22 | yesterday | MIT | A | 11 | Claude Code |
| design-formAmey-Thakur/AI-SKILLS | Command | 14 | 2mo ago | MIT | A | 19 | Claude Code |
| reviewnunoamorim99/agile-ledger | Command | 1 | 1mo ago | MIT | A | 16 | Claude Code |
| standupnunoamorim99/agile-ledger | Command | 1 | 1mo ago | MIT | A | 9 | Claude Code |
| enum-udppashki975/thm-claude-kit | Command | 2 | 3mo ago | MIT | A | 16 | Claude Code |