gnn-export
GNN multi-format export generation. Use when exporting GNN models to JSON, XML, GraphML, GEXF, Pickle, or other interchange formats for use in external tools…
от ActiveInferenceInstitute★ 36 звёзд на GitHub
Установить gnn-export в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
GNN Export (Step 7)
Purpose
Exports parsed GNN models to multiple interchange formats for interoperability with external tools, visualization platforms, and analysis frameworks.
Key Commands
# Run export
python src/gnn/7_export.py --target-dir input/gnn_files --output-dir output --verbose
# As part of pipeline
python src/gnn/main.py --only-steps 7 --verbose
Supported Formats
| Format | Extension | Use Case |
|---|---|---|
| JSON | .json |
General interchange, web tools |
| XML | .xml |
Enterprise integration |
| GraphML | .graphml |
Graph analysis tools (Gephi, yEd) |
| GEXF | .gexf |
Dynamic graph visualization |
| Pickle | .pickle |
Python-native serialization |
API
from gnn.export import (
export_model,
generate_exports,
export_single_gnn_file,
Exporter,
MultiFormatExporter,
get_supported_formats,
export_to_json,
export_to_xml,
export_to_graphml,
export_to_gexf,
process_export,
)
# Export single file to all formats
export_single_gnn_file("model.md", "output/")
# Use the Exporter class
exporter = Exporter()
result = exporter.export_gnn_model(gnn_content, "json")
# Multi-format export
mf_exporter = MultiFormatExporter()
results = mf_exporter.export_to_multiple_formats(content, ["json", "xml", "graphml"])
# Query supported formats
formats = get_supported_formats()
# Run full export step (used by pipeline)
process_export(target_dir, output_dir, verbose=True)
Key Exports
export_model/export_single_gnn_file— export a single modelgenerate_exports— batch export for a directoryExporter/MultiFormatExporter— class-based export interfacesexport_to_json,export_to_xml,export_to_graphml,export_to_gexf— format-specificprocess_export— main pipeline processing function
Output
- Exported files in
output/7_export_output/ - One file per model per format
- Export summary manifest
MCP Tools
This module registers tools with the GNN MCP server (see mcp.py):
export_single_gnn_filelist_export_formatsprocess_exportvalidate_export_format
References
Documentation
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- AGENTS.md
- README.md
- SPEC.md
- __init__.py
- core.py
- format_exporters.py
- formatters.py
- geo_infer.py
- geo_infer_contract.md
- geo_infer_factored.py
- geo_infer_factored_contract.md
- geo_infer_gaussian.py
- mcp.py
- notation_metadata.py
- options.py
- processor.py
- registry.py
- utils.py
FAQ
Что делает скилл gnn-export?
GNN multi-format export generation. Use when exporting GNN models to JSON, XML, GraphML, GEXF, Pickle, or other interchange formats for use in external tools and frameworks.
Как установить скилл gnn-export?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл gnn-export запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…