شعار Agentation

Agentation

المجتمعشائع
benjitaylor
agentation

Add Agentation visual feedback toolbar to a Next.js project

نظرة عامة

الناشرbenjitaylor
المستودعagentation
اسم المهارةagentation
النجوم
4.8K
التفريعات
390
الملفات المرفقة
تعليمات فقط
الروابط
  • تعليمات بصيغة Markdown

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

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

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

  • مكتفية بذاتها

    كل ما يحتاجه النموذج موجود في التعليمات — لا ملفات إضافية لمزامنتها.

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

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

التثبيت

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

1

التثبيت في TypingMind

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

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

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

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

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

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

Agentation Setup

Set up the toolbar and, when requested, connect it to the user's coding agent. A visible toolbar and a healthy MCP server do not prove that browser feedback reaches the agent. Verify that final step before calling setup complete.

Steps

  1. Inspect the project

    • Read the project's instructions and detect its package manager.
    • Look for agentation and an existing <Agentation> mount before installing.
    • If already mounted, inspect its endpoint and current MCP setup. Do not exit just because the component exists, and do not add a duplicate mount.
    • Install agentation if missing, using the existing lockfile's package manager.
  2. Choose the connection mode from the request

    • For MCP or live agent feedback, use the same HTTP server URL as the agent. The default local server is http://localhost:4747; preserve an existing custom port or proxy URL. Never assume the browser and agent use the same machine when the project is remote.
    • For manual copy/paste only, omit endpoint and explain that feedback remains in this browser. Do not silently enable a server connection.
    • If the intended mode is unclear, ask one brief question while inspecting the existing project. Keep working on independent setup checks.
  3. Add or update the component

    For a Next.js App Router project, render in the root layout's body after children. For Pages Router, render after Component in pages/_app. Preserve any existing callbacks and options.

    tsx
    import { Agentation } from "agentation";
    
    // Use the actual server URL selected above for MCP sync:
    {process.env.NODE_ENV === "development" && (
      <Agentation endpoint="http://localhost:4747" />
    )}

    The package provides its own client boundary. Keep the application's root layout server-rendered unless the project has another reason to change it.

  4. Configure the agent when MCP was requested

    • Use the project's existing MCP client and configuration conventions.
    • The launch command must include the server subcommand: npx -y agentation-mcp server.
    • For supported agents, npx add-mcp "npx -y agentation-mcp server" is one setup option. For Claude Code, use claude mcp add agentation -- npx -y agentation-mcp server or the init wizard.
    • Apply the same custom port to the server command and component endpoint.
    • Restart or reconnect the agent when its configuration requires it. Do not create a second HTTP server on a port already owned by the working server.
  5. Verify the complete connection

    • Run npx agentation-mcp doctor for service diagnostics. For a custom URL, use doctor --http-url <url> when supported by the installed version.
    • Open the app and create one clearly identified test annotation through the toolbar. Read it with agentation_get_all_pending or session-scoped tools.
    • Check the exact test comment and page, not just a nonzero count or health response. Leave unrelated annotations alone.
    • If annotations are empty, check the component endpoint, browser network failures/CORS, and whether the agent and browser point to the same server.
    • If browser or MCP tools are unavailable, say exactly which part remains unverified and give the user this final check. Do not claim live sync works.

Notes

  • The development guard prevents the toolbar from appearing in production.
  • Agentation requires React 18 or newer.
  • Installing the toolbar does not install, configure or connect an MCP server.
  • Manual copy mode is supported and does not need a running server.

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

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

Add Agentation visual feedback toolbar to a Next.js project

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

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

كيف أثبّت Agentation في TypingMind؟

افتح الإضافات → المهارات → التثبيت من GitHub في TypingMind والصق https://github.com/benjitaylor/agentation/tree/main/skills/agentation. يقرأ TypingMind ملف SKILL.md الخاص بها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

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

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

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

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

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

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

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

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

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

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

عرض الكل

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

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