شعار Package Management

Package Management

مؤسسة
Cognigy
package-management

Use when exporting, importing, uploading, inspecting, or downloading Cognigy package zip files — including reusing an LLM plus its connection across projects.

نظرة عامة

الناشرCognigy
المستودعcognigy-plugin
اسم المهارةpackage-management
النجوم
20
التفريعات
14
الملفات المرفقة
تعليمات فقط
الترخيصMIT
الروابط
  • تعليمات بصيغة Markdown

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

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

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

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

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

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

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

التثبيت

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

1

التثبيت في TypingMind

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

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

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

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

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

استخدمها في TypingMind

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

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

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

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

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

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

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

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

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

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

Package Management Guide

Use manage_packages to import and export Cognigy package .zip files.

Supported workflow

Transfer an LLM + connection between projects

Use this when the target project is missing an LLM but another project already has a working one.

  1. manage_packages { operation: "list_exportable", projectId: "<sourceProjectId>" }
  2. Identify BOTH the largeLanguageModel resource ID and its connection resource ID
  3. manage_packages { operation: "export", projectId: "<sourceProjectId>", resourceIds: ["<llmResourceId>", "<connectionResourceId>"], name: "llm-transfer" }
  4. manage_packages { operation: "upload_and_inspect", projectId: "<targetProjectId>", filePath: "<savedTo from export>" }
  5. manage_packages { operation: "import", projectId: "<targetProjectId>", packageId: "<packageId from upload_and_inspect>" }
  6. list_resources { resourceType: "llm_model", projectId: "<targetProjectId>" } to verify the imported LLM is available

Important:

  • export BOTH the LLM and its connection together
  • do not rely on a cross-project connectionId; Cognigy connections are project-scoped
  • this workflow can be fully automated through the MCP tools

Discover exportable resources

  1. manage_packages { operation: "list_exportable", projectId }
  2. Review the returned resources and choose the IDs you want to package
  3. manage_packages { operation: "export", projectId, resourceIds, name }

Import

  1. manage_packages { operation: "upload_and_inspect", projectId, filePath }
  2. Review the returned preview:
    • importable resources
    • conflicts
    • locale mapping defaults
  3. manage_packages { operation: "import", projectId, packageId, ... }
  4. If needed, poll task status with:
    • manage_packages { operation: "read_task", projectId, taskId }

Export

  1. manage_packages { operation: "export", projectId, resourceIds, name }
  2. By default the archive is downloaded with MCP authentication and saved to a local temp file
  3. The response includes the exact file path, the containing directory path, and file:// URIs for both
  4. Optionally control the destination by passing outputPath
  5. If needed, poll task status with:
    • manage_packages { operation: "read_task", projectId, taskId }
  6. Download an existing package later with:
    • manage_packages { operation: "download", projectId, packageId, outputPath? }

Operations

list_exportable

Returns the project resources that can be packaged for export, based on the same project graph the UI export flow uses.

Required:

  • projectId

Notes:

  • includes export candidates such as flows, endpoints, knowledge stores, AI agents, connections, and largeLanguageModel resources
  • flags resources that are currently disabled for export, such as retired LLM models and function resources
  • useful when the user asks what can be exported from a project before choosing resourceIds

upload_and_inspect

  • Reads a local .zip file from disk
  • Uploads it to Cognigy
  • Waits for extraction to finish
  • Returns an import preview

Required:

  • projectId
  • filePath

Optional:

  • timeoutMs

inspect

Returns the import preview for an already uploaded package.

Required:

  • projectId
  • packageId

import

Imports resources from the package into the target project.

Required:

  • projectId
  • packageId

Optional:

  • resources
  • localeMapping
  • waitForCompletion
  • timeoutMs

If resources is omitted, the preview defaults are used.

If localeMapping is omitted, the preview default mapping is used.

read_task

Reads a task and returns normalized status/progress.

Required:

  • projectId
  • taskId

export

Creates a package from project resources.

Required:

  • projectId
  • resourceIds
  • name

Optional:

  • dependencyResourceIds
  • includeDependencies
  • description
  • outputPath
  • waitForCompletion
  • timeoutMs

If dependencyResourceIds is omitted, all detected dependencies are included by default.

If outputPath is provided and the task completes, the .zip is written there immediately.

If outputPath is omitted, the .zip is still downloaded and saved to a local temp path because the raw download URL requires authentication.

The response includes:

  • savedTo
  • savedToUri
  • savedFileName
  • savedDirectory
  • savedDirectoryUri
  • openArchiveUri
  • openContainingFolderPath
  • openContainingFolderUri

download

Downloads the package .zip with MCP authentication and saves it to disk.

Required:

  • projectId
  • packageId

Optional:

  • outputPath

If outputPath is omitted, a temp file path is created automatically and returned.

The response includes the same saved file and directory fields as export.

UI parity defaults

  • locale resources are not imported directly; they are handled through localeMapping
  • knowledgeStore resources default to strategy replace
  • other resources default to strategy re-identify
  • re-identify imports a resource that already exists in the project (matched by referenceId) as a NEW copy, not an update; the preview counts these in summary.reidentifyConflictCount with one summary.conflictWarning, and import lists them in importedAsNewCopy. Pass strategy replace for those resources to update them in place
  • retired largeLanguageModel resources are disabled by default
  • export includes detected dependencies by default
  • export skips retired largeLanguageModel resources and function resources, matching current UI behavior
  • imports always use autoRename: true
  • exports append a timestamp suffix to the package name

File handling

  • Only local .zip files are supported
  • filePath must be absolute
  • ~ is expanded to the user home directory
  • outputPath must be absolute when provided
  • if outputPath points to a directory, the package name is used to create the final .zip path
  • if outputPath is omitted for export or download, the package is saved under the system temp directory
  • savedToUri is a file:// URI for the package archive
  • savedDirectoryUri is a file:// URI for the containing folder, which clients can use to open Finder or Explorer directly
  • openContainingFolderUri is the preferred folder-opening URI to present to users
  • when showing saved locations to users, preserve the full absolute path or file:// URI verbatim and do not shorten it with ...

Notes

  • It uses the standard package upload endpoint, not resumable upload
  • Long-running extraction, import, or export tasks may time out waiting; in that case use read_task to continue polling

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

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

Use when exporting, importing, uploading, inspecting, or downloading Cognigy package zip files — including reusing an LLM plus its connection across projects.

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

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

كيف أثبّت Package Management في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/Cognigy/cognigy-plugin/tree/main/plugin/skills/package-management. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

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

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

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

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

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

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

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

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

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

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

عرض الكل

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

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