Логотип 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 и локальными моделями.

  • Всё необходимое — в инструкциях

    Всё необходимое для модели содержится в инструкциях — никаких дополнительных файлов для синхронизации.

  • Открытый исходный код

    Издатель навыка на GitHub — Cognigy. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Package Management в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать 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?

С любым количеством. В TypingMind вы можете использовать Package Management с любой моделью, которая поддерживает навыки, в том числе с GPT, Claude, Gemini, Grok, DeepSeek, Mistral и Llama. Для этого вы используете собственные ключи API.

Бесплатен ли навык ИИ Package Management?

Да. Навык опубликован на GitHub по лицензии MIT. Издатель — Cognigy. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это набор инструкций, которыми модель ИИ может пользоваться каждый раз, когда ей нужно выполнить конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты, которые она может вызывать: при вызове где-то выполняется код и возвращает результат. Навык ИИ, напротив, даёт модели знания и описывает порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте своё рабочее пространство с ИИ прямо сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇