wiki-cli
ما الذي تفعله
تكتشف هذه المهارة كيف يستطيع وكيلك قراءة خزنة Obsidian، ثم تبحث فيها أو تقرأها. وهي موجهة إلى من يحتفظ بملاحظاته في Obsidian ويريد عمليات بحث سريعة للقراءة فقط.
متى تستخدمها
- ✓عندما تريد البحث في ملاحظات خزنة Obsidian أو قراءتها من سطر الأوامر.
- ✓عندما تريد العثور على الروابط الخلفية أو الوسوم في خزنتك.
- ✓عندما تحتاج إلى التحقق من طريقة وصول الوكيل إلى الخزنة قبل أن يقرأ أي شيء.
رابط المهارة
https://github.com/AgriciDaniel/claude-obsidian/blob/main/skills/wiki-cli/SKILL.mdانسخه والصقه في الذكاء الاصطناعي الذي تستخدمه (Claude أو ChatGPT أو Cursor) واطلب منه اتباع التعليمات.
طريقة الاستخدام
أسهل طريقة: انسخ الرسالة والصقها في الذكاء الاصطناعي الذي تستخدمه. سيقرأ المهارة وينفّذ تعليماتها.
رسالة جاهزة للصق
لـ Claude Code أو Codex أو Cursor: شغّله داخل مجلد مشروعك وستُثبَّت المهارة.
نزّل ملف SKILL.md وضعه في مجلد مهارات وكيلك.
مثال على ما تطلبه من الذكاء الاصطناعي
“ابحث في خزنة Obsidian عن كل ما كتبته عن الميزانية، واعرض الملاحظات التي تربط إليها.”
5 مهارات جديدة كل أسبوع. قراءة في دقيقة واحدة.
كيف تعمل
يشغّل وكيلك فحصاً سريعاً ليتأكد من أن سطر أوامر Obsidian قابل للاستخدام، لأن تثبيته وحده لا يكفي. وإذا لم يكن قابلاً للاستخدام، يقرأ وكيلك ملفات الخزنة مباشرة.
المحتوى التقني (ملف SKILL.md الأصلي)
النص الأصلي من المؤلف، مباشرة من GitHub.
Obsidian CLI read transport
Use this skill only to detect transport and read or search a selected vault.
The official executable is obsidian; binary presence alone does not prove it
is usable.
Resolve the installed product root from this skill's own location, not from the vault or current working directory:
PRODUCT_ROOT=/absolute/path/to/installed/claude-obsidian
DETECT_TRANSPORT="$PRODUCT_ROOT/scripts/detect-transport.sh"
test -f "$DETECT_TRANSPORT"
Every ../wiki/references/ link in this file resolves the same way, relative
to this skill's own directory under $PRODUCT_ROOT, never relative to the
selected vault's wiki/ directory.
Detect safely
Probe without persisting host state:
bash "$DETECT_TRANSPORT" --peek --vault "$VAULT"
Trust available.cli.usable, not merely present or exit status. A supported
CLI can still be unavailable because the Obsidian app is not running, command
line access is disabled, or its response is an error. Use filesystem reads as
the portable fallback.
Persist a refreshed .vault-meta/transport.json only when the user or setup
workflow asks for a transport snapshot:
bash "$DETECT_TRANSPORT" --force --vault "$VAULT"
That file is derived runtime configuration, not knowledge content. Preserve a
valid manual_override recorded by the detector.
Read and search
Run official CLI commands from the selected vault so Obsidian resolves the correct workspace. Confirm supported syntax with the installed CLI before relying on optional commands. Typical read-only forms are:
(cd "$VAULT" && obsidian read path="$NOTE")
(cd "$VAULT" && obsidian search query="$QUERY")
Use read-only commands for backlinks, tags, or Bases results only when the
detector reports the CLI ready. Otherwise read files under $VAULT directly
and use rg for search. Reject absolute note arguments, traversal, symlinks, or
resolved paths outside the selected vault.
Mutation boundary
Do not use CLI create, write, append, property-set, daily-append, move, rename, or delete commands. Do not replace those commands with direct filesystem writes. Any knowledge or configuration change must be expressed as one reviewed transaction through the portable core; see operation transactions.
Transport choice never changes mutation semantics. The CLI is an optional read surface, not a lock manager, transaction engine, or Git checkpoint mechanism.
Checkpoint
Observe actual capability, think about the least complex read transport, verify that every resolved path stays in the vault, and accept filesystem fallback when the CLI is not ready.
الأسئلة الشائعة
هل تغيّر ملاحظاتي؟
لا. المهارة للبحث والقراءة فقط، أما التعديلات فتمر عبر عملية منفصلة ومراجَعة.
لماذا يلزم الفحص؟
يمكن تثبيت الأمر ولا يعمل، مثلاً عندما يكون تطبيق Obsidian مغلقاً، لذلك تختبره المهارة أولاً.
ما البديل إذا تعذّر الأمر؟
إذا لم يكن سطر الأوامر قابلاً للاستخدام، يقرأ وكيلك ملفات الخزنة مباشرة.
التفاصيل
الوصف الأصلي من المؤلف
Detect and use the official Obsidian command-line interface for read-only vault access; use for wiki-cli, Obsidian CLI, Obsidian read, Obsidian search, vault transport, which transport, transport detection, backlinks, tags, or Obsidian command line. Mutations always go through the claude-obsidian transaction core.
الشعبية
- نجوم GitHub
- 16k
- الترتيب
- #10811
- الترخيص
- MIT
- آخر تحديث
- 25/10/2026
التعليقات
- …
المزيد من المهارات من هذا المستودع
autoresearch
16kيتيح لوكيلك البحث في موضوع ضمن حدود محددة وكتابة تقرير مدعّم بالمراجع. تبقى نتائج الويب أدلة ولا تُضاف إلى ملاحظاتك تلقائياً.
canvas
16kيساعد وكيلك على إنشاء لوحات مرئية في Obsidian تحتوي على ملاحظات وملفات وروابط ومجموعات، وتحديثها. مفيدة للخرائط والتخطيطات المكانية.
defuddle
16kيساعد وكيلك على تخطيط تنظيف صفحة ويب لتصبح نصاً مقروءاً، والاحتفاظ بنسخ محلية من ملفات المصدر. التنظيف عبر الشبكة غير متاح بعد.
obsidian-bases
16kيساعد وكيلك على تصميم عروض Obsidian Bases التي تعمل كقواعد بيانات بسيطة، مع فلاتر ومعادلات وتخطيطات جدولية أو بطاقات.
مهارات مشابهة
knowledge-capture
394kتعلّم وكيلك حفظ القرارات والتفضيلات والحقائق المهمة في خزنة Knowledge كملاحظات قصيرة مع ذكر المصدر.
knowledge-claim-consolidation
394kيساعد وكيلك على تنظيم خزنة Knowledge بدمج الإفادات المكررة ونقلها إلى صفحات موضوعاتها الصحيحة، وإلغاء ما أصبح قديماً.
knowledge-correct
394kيتيح لوكيلك تصحيح إفادة أو صفحة محفوظة محددة في Knowledge أو سحبها بناءً على طلبك، مع الاحتفاظ بسجل لما تغيّر.