Логотип Export Map

Export Map

Сообщество
MattArtzAnthro
export-map

Export the current Gephi map as a clean PNG, labeled PNG, and SVG after checking that it is laid out, styled, and visually valid. Use for publication-ready map export and caption handoff.

Обзор

ИздательMattArtzAnthro
Репозиторийgephi-ai
Название навыкаexport-map
Звёзды
26
Форки
6
Встроенные файлы
Только инструкции
ЛицензияApache-2.0
Ссылки
  • Инструкции в формате Markdown

    Файл SKILL.md, который модель загружает по необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

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

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

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

    Опубликовано на GitHub: MattArtzAnthro. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Export Map в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/MattArtzAnthro/gephi-ai/tree/main/plugins/gephi-network-analysis/skills/export-map
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Новый навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/MattArtzAnthro/gephi-ai.git /tmp/gephi-ai
mkdir -p .claude/skills
cp -r /tmp/gephi-ai/plugins/gephi-network-analysis/skills/export-map .claude/skills/export-map
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Export Map в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Export Map, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Export Map не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими API-ключами.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

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

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

Export Map

Export the map currently open in Gephi: a clean PNG, a labeled PNG, an SVG, a legend when colour encodes groups, and a copy-ready caption. This workflow exports; it does not lay out or style. The map has to be a map first (laid out, sized, colored), which the visualize-network workflow does.

Follow the gephi skill's rules throughout; this workflow repeats only the ones it is most likely to break. Read ../gephi/references/reading-network-maps.md for the caption discipline.

Tell the user what you are doing at each step. Narrate briefly before each tool call so they know what is happening.

Rules this workflow must keep

  • Asking. When a step says to ask, ask once. If the person cannot answer, is away, or asked for a finished product, use the default named in that step and remove or overwrite nothing. At the end, give one short line for each choice that changed the result, under "Choices I made"; leave the section out when every step used its obvious default. If there is no input to work on, stop and say what is needed.
  • Session start. Start with gephi_health_check. Then check which workspace is open (gephi_list_workspaces) and whether a filter is active (filter_active in replies): a filter from an earlier conversation stays on, and exports and checks then see only what it shows.
  • Caption and legend. Every export ships with a copy-ready caption (data, layout and settings, what size and colour encode, what the map does and does not show) and, when colour encodes groups, a legend (gephi_export_legend).
  • Edges. On a light background, edges use {"edge.color": "#D0D0D0", "edge.opacity": 90, "edge.thickness": 1.0, "edge.curved": false}. Label settings change labels only; they never reset edge values.

Steps

  1. Session start: Call gephi_health_check. If it fails, tell the user to start Gephi and stop. Call gephi_list_workspaces and gephi_get_project_info. Tell the user the node and edge counts and which workspace will be exported. If the graph is empty, stop and tell them. If filter_active is true, say that the export will show only the visible nodes, and put that in the caption.

  2. Is it a map yet? Call gephi_visual_qa (with the partition column if the graph has one). If its warnings include the "looks untouched" warning, or sizes.flat is true and colors.distinct is 1, the graph has been loaded but not laid out or styled: exporting at this point produces the block of overlapping default nodes. Say that, and offer the recommended path: use visualize-network (layout, sizes, colors, with a visual check) and then export. Ask once whether to export anyway. Default: do not export an untouched graph; stop and say that visualize-network comes first. If visual_qa returns other warnings (invisible sizes, near-white colors, an exploded layout), fix or flag them before exporting.

  3. Choose the path. Use the path given in the request. Default: ~/Desktop/network.png, with the other files beside it.

  4. Set preview settings for clean export (no labels). Call gephi_set_preview_settings with:

    json
    {
      "node.label.show": false,
      "edge.opacity": 90,
      "edge.curved": false,
      "edge.color": "#D0D0D0",
      "edge.thickness": 1.0,
      "node.opacity": 100,
      "node.border.width": 0.3,
      "arrow.size": 0
    }

    Tell the user: "Setting preview to clean mode: no labels, light gray edges."

  5. Export clean PNG: Call gephi_export_png with file set to the chosen path, at width: 3840, height: 2160. Tell the user: "Exporting clean PNG at 4K resolution..."

  6. Enable labels and export annotated version:

    • Call gephi_set_preview_settings with label settings only, so the edges keep the values from step 4:
      json
      {
        "node.label.show": true,
        "node.label.proportinalSize": false,
        "node.label.font": "Arial 10 Plain",
        "node.label.outline.size": 4,
        "node.label.outline.opacity": 95
      }
    • Export with a _labeled suffix. Tell the user: "Exporting labeled version..."
  7. Export SVG: Call gephi_export_svg with file set to the same base path with the .svg extension. Tell the user: "Exporting SVG for vector editing..."

  8. Export the legend when colour encodes groups: call gephi_export_legend with file set to the same base path with a _legend.svg suffix (the legend is an SVG). It refuses when no colour or size mapping was applied through these tools in this session; then say so and name the colours in the caption instead. If the legend shows numbers rather than names, say so, and suggest writing the earned names to a column and colouring by that column.

  9. Report: List every exported file path clearly, then give the copy-ready caption: the data, the layout and its key settings, what node size and colour encode, and what the map does and does not show (including any active filter). End with "Choices I made" only for choices that changed the result.

Important

  • The export tools use file as the parameter name for the output path, not path
  • If any export fails, report the error and continue with remaining exports

Часто задаваемые вопросы

Что делает навык ИИ Export Map?

Export the current Gephi map as a clean PNG, labeled PNG, and SVG after checking that it is laid out, styled, and visually valid. Use for publication-ready map export and caption handoff.

Зачем использовать Export Map в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Export Map — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Export Map в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/MattArtzAnthro/gephi-ai/tree/main/plugins/gephi-network-analysis/skills/export-map. TypingMind прочитает файл SKILL.md и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Export Map?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Export Map?

С любым количеством. Если модель поддерживает навыки, вы можете использовать с ней Export Map: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama и другие — всё в TypingMind с вашими собственными ключами API.

Бесплатен ли навык ИИ Export Map?

Да. Навык опубликован на GitHub автором MattArtzAnthro по лицензии Apache-2.0. Вы платите только своему поставщику ИИ за использованные токены.

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

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

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

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

Все

Создайте свою рабочую ИИ-среду сейчас

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