شعار Vision Bridge

Vision Bridge

المجتمع
dujonwalker
vision-bridge

اقرأ الصور وافهمها عبر خادم MCP vision-bridge (أداتا analyze_image وocr_image، المدعومتان بـ Gemini) عندما يتعذر على نموذج الوكيل رؤية الصور. استخدم هذه المهارة كلما أشار المستخدم إلى ملف صورة أو أرفقه (.png .jpg .jpeg .webp .gif .heic .heif)، مثل لقطة شاشة أو مربع حوار خطأ أو صورة للطرفية أو نموذج أولي لواجهة مستخدم أو مخطط أو صورة لسبورة بيضاء أو رسم بياني أو ملاحظة ممسوحة ضوئيًا، أو قال عبارات مثل «ألقِ نظرة على لقطة الشاشة هذه» أو «ماذا يقول الخطأ؟» أو «اقرأ النص في هذه الصورة» أو «أنشئ هذا انطلاقًا من النموذج الأولي»، حتى إن لم يذكر OCR أو الرؤية. لا تستخدمها لإنشاء الصور أو تعديلها.

نظرة عامة

الناشرdujonwalker
المستودعproject-nova
اسم المهارةvision-bridge
النجوم
271
التفريعات
33
الملفات المرفقة
2
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 2

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها dujonwalker على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Vision Bridge في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/dujonwalker/project-nova/tree/main/mcp-skills/vision-bridge
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/dujonwalker/project-nova.git /tmp/project-nova
mkdir -p .claude/skills
cp -r /tmp/project-nova/mcp-skills/vision-bridge .claude/skills/vision-bridge
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Vision Bridge في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Vision Bridge تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Vision Bridge بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

Vision Bridge

A text-only model cannot see images. The vision-bridge MCP server fixes that by sending a local image to Gemini and returning text. What the tools return is your only view of the image, and it is a description written by a different model, so treat it as good but secondhand evidence.

Step 0: decide whether you need it

  • If your own model can already see the image (it is in your context), just look at it. Do not make a round trip for nothing.
  • If you only have a file path, or you cannot see the image, use the tools below.
  • The tools may be exposed with the server name as a prefix (for example vision-bridge_analyze_image), depending on the client.
  • If neither tool is available, the server is not connected. Read references/setup.md, tell the user what is missing, and stop. Do not guess at image contents.

Step 1: pick the tool

NeedTool
Exact text: error messages, stack traces, terminal output, code, config, serial numbersocr_image (takes only image_path; returns just the text, no commentary)
Anything else: what a UI looks like, diagram structure, chart data, what is wrong in a screenshotanalyze_image (takes image_path and an optional prompt)

When an image has both verbatim text that matters and visual structure that matters (a screenshot of a failing page, say), call both. Use ocr_image for the precise strings and analyze_image with a targeted prompt for layout and context.

Step 2: call it well

Paths. Prefer absolute paths. Relative paths resolve against the directory the MCP server was started in, which is usually where the agent was launched but not always. If you get FILE_NOT_FOUND, the error message shows the absolute path it tried, so use that to see what went wrong and retry with an absolute path.

Local files only. The tools cannot take URLs, clipboard contents, base64, SVG, BMP, TIFF, or PDFs. Format is detected from the file extension only. Convert first, then call:

  • URL: download it to a temp file (curl -L -o /tmp/img.png <url>)
  • Unsupported format: convert to PNG (ImageMagick magick in.bmp out.png, macOS sips -s format png in.bmp --out out.png, or Pillow)
  • PDF page: render it (pdftoppm -png -r 150 -f 1 -l 1 in.pdf /tmp/page)

One image per call. For several images, call once per image, then combine the results yourself.

Size. Files over 20MB are rejected by default. Downscale the image rather than asking the user to raise the limit.

Write a specific prompt for analyze_image. The built-in default is a generic "describe this for a developer" prompt. It works, but a prompt tied to the user's actual goal gets you the detail you need in one call instead of two. Say what you need to know and what shape you want it in. Each call is a network round trip against a rate-limited free quota, so ask for everything you need at once.

  • Debugging: "Transcribe the error message and stack trace exactly. Then describe what the app was doing and which UI state is visible."
  • Mockup to code: "List every UI element top to bottom with its label, position in the layout, and any visible state. Estimate colors as hex values."
  • Diagram: "List every node and every connection as 'A -> B (label)'. Note anything that looks like a decision point."

More recipes by image type are in references/prompt-recipes.md. Read it when the image is a chart, a table, a mockup, or a photo of handwriting.

Step 3: treat the result as evidence, not ground truth

  • Verify what you can. If the output contains an error string, grep the codebase for it. If it contains code, run or lint it. Vision models confuse l/1/I and O/0 and sometimes drop a line.
  • Do not state measurements as fact. Colors, pixel sizes, and spacing are estimates. Say "approximately" or ask the user for the real values from the design file.
  • Ask a follow-up when something critical is unclear. If the whole task hinges on one number, path, or label, run a second narrow analyze_image or ocr_image call on it instead of building on a guess.
  • Be honest about gaps. If the description seems incomplete or contradicts itself, say so. Do not fill the gaps with plausible details.
  • Say where the information came from. Note in your answer that you read the image through the vision tool, so the user knows to double-check anything surprising.

Privacy

The image is uploaded to Google's Gemini API. If the user says the image is sensitive (credentials, customer data, private documents) or the filename suggests it, confirm they are comfortable with that before calling. If secrets show up in the output (API keys, tokens, passwords), do not copy them into files, commits, or logs, and flag them to the user.

When a call fails

Failures come back as isError: true with a message shaped like [CODE] explanation. Fix the cause and retry at most once. Do not loop.

CodeMeaningWhat to do
MISSING_API_KEYGEMINI_API_KEY is not set for the serverTell the user to set it (see references/setup.md). Never ask them to paste the key into chat. This check runs before path validation, so it can mask other errors.
FILE_NOT_FOUNDPath does not existCheck the absolute path shown in the message; retry with the correct absolute path
NOT_A_FILEPath is a directoryLocate the actual image file inside it
UNSUPPORTED_TYPEExtension not in the supported listConvert to PNG, then retry
FILE_TOO_LARGEOver the size limitDownscale or compress, then retry
READ_ERRORUnreadable or empty fileConfirm the file is not empty or corrupted and that permissions allow reading
API_ERRORGemini rejected the request (bad key, quota, retired model, network)Read the message; see references/setup.md for key, quota, and GEMINI_MODEL issues
EMPTY_RESPONSEGemini returned nothing, often a safety filterRetry with a different prompt or a cropped image; if it persists, tell the user

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي Vision Bridge؟

اقرأ الصور وافهمها عبر خادم MCP vision-bridge (أداتا analyze_image وocr_image، المدعومتان بـ Gemini) عندما يتعذر على نموذج الوكيل رؤية الصور. استخدم هذه المهارة كلما أشار المستخدم إلى ملف صورة أو أرفقه (.png .jpg .jpeg .webp .gif .heic .heif)، مثل لقطة شاشة أو مربع حوار خطأ أو صورة للطرفية أو نموذج أولي لواجهة مستخدم أو مخطط أو صورة لسبورة بيضاء أو رسم بياني أو ملاحظة ممسوحة ضوئيًا، أو قال عبارات مثل «ألقِ نظرة على لقطة الشاشة هذه» أو «ماذا يقول الخطأ؟» أو «اقرأ النص في هذه الصورة» أو «أنشئ هذا انطلاقًا من النموذج الأولي»، حتى إن لم يذكر OCR أو الرؤية. لا تستخدمها لإنشاء الصور أو تعديلها.

لماذا تستخدم Vision Bridge على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Vision Bridge عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Vision Bridge في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/dujonwalker/project-nova/tree/main/mcp-skills/vision-bridge. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Vision Bridge؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Vision Bridge؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Vision Bridge معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Vision Bridge مجانية؟

نشرها dujonwalker على GitHub. راجع المستودع للاطلاع على شروط الترخيص. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇