gnn-type-checker
GNN structural type checking and resource estimation. Use when validating GNN dimensions, syntax, type consistency, or generated type-checker reports.
от ActiveInferenceInstitute★ 36 звёзд на GitHub
Установить gnn-type-checker в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Core Skill: type_check
Function: Evaluates GNN structural schemas assigning validation integers and load capacities producing automated Abstract Model Cards.
Example Flow
# The main dispatcher triggers the core checker tracking directory integrity
from gnn.type_checker.checking import GNNTypeChecker
from pathlib import Path
# Spin up analyzer mapping
checker = GNNTypeChecker()
outcome = checker.validate_gnn_files(Path("models/"), Path("output/5_type_checker"))
# TypeCheckOutcome: PASSED / WARNINGS / FAILED with exit_code 0 / 2 / 1
print("Completed successfully:", outcome.succeeded, "exit code:", outcome.exit_code)
# Pure content validation (no file on disk) with strict-mode B-orientation checking
from gnn.type_checker import GNNTypeChecker as _TC
result = _TC(strict_mode=True).validate_content(spec_text, source_name="model.gnn")
print("valid:", result["valid"], "errors:", len(result["errors"]))
# Typed summary of a directory run
from gnn.type_checker import summarize_type_check_results
print(summarize_type_check_results({"validation_results": [result]}))
Features
- Visual Synthesis: Constructs isolated Model Baseball Cards tracking matrices, parameters, FLOPS and validity using Matplotlib abstractions directly embedded into the generated output markdown.
- Resource Analytics: Estimates accurate floating point requirements linking straight into
estimation_strategies.pynatively. - Strict Parsing Evaluation: Prevents ambiguous mathematical strings from triggering false type checks.
MCP Tools
This module registers tools with the GNN MCP server (see mcp.py):
validate_gnn_filesvalidate_single_gnn_file
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- AGENTS.md
- README.md
- SPEC.md
- __init__.py
- __main__.py
- analysis_utils.py
- checking/AGENTS.md
- checking/README.md
- checking/__init__.py
- checking/core.py
- checking/dimensions.py
- checking/outcome.py
- checking/rules.py
- checking/sections.py
- checking/summary.py
- cli.py
- estimation/AGENTS.md
- estimation/README.md
- estimation/__init__.py
- estimation/estimator.py
- estimation/report_html.py
- estimation/report_markdown.py
- estimation/strategies.py
- estimation_strategies.py
- mcp.py
- output_utils.py
- processor.py
- resource_estimator.py
- visualizer.py
FAQ
Что делает скилл gnn-type-checker?
GNN structural type checking and resource estimation. Use when validating GNN dimensions, syntax, type consistency, or generated type-checker reports.
Как установить скилл gnn-type-checker?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл gnn-type-checker запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
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…