gnn-cli
GNN command-line interface dispatch and health checks. Use when invoking the `gnn` CLI, validating subcommand availability, or checking command-line access to…
от ActiveInferenceInstitute★ 36 звёзд на GitHub
Установить gnn-cli в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Core Skill: cli_dispatch
Function: Unified command-line interface dispatching 15 subcommands to their respective GNN pipeline module APIs.
Example Flow
# Full pipeline execution
gnn run --target-dir input/gnn_files --verbose
# Validate a single GNN file
gnn validate input/gnn_files/discrete/actinf_pomdp_agent.md --strict
# Parse to JSON output
gnn parse input/gnn_files/discrete/actinf_pomdp_agent.md --format json
# Generate code for a specific framework
gnn render input/gnn_files/discrete/actinf_pomdp_agent.md --framework pymdp
# Check environment health
gnn preflight
gnn health
Programmatic Usage
from gnn.cli import main
# The CLI entry point dispatches to module APIs
# Each subcommand maps to a specific module function:
# run → main.main()
# validate → gnn.schema.validate_required_sections()
# parse → gnn.schema.parse_state_space()
# render → render.processor
# health → render.health.check_renderers()
# lsp → gnn.lsp.start_server() (canonical pygls server) with a cli.lsp pygls-free fallback
Features
- Pipeline Execution: Full 25-step pipeline via
gnn runwith--skip-steps,--only-steps,--skip-llmoptions - File Validation: Section, state-space, connection, and dimension validation via
gnn validate - Multi-Format Parsing: JSON, YAML, and summary output via
gnn parse - Code Generation: PyMDP, RxInfer, JAX, NumPyro, Stan, PyTorch framework output via
gnn render - Environment Checks: Dependency and configuration validation via
gnn preflightandgnn health - Live Development: File monitoring with 250ms debounce via
gnn watch - Dependency Graphs: Mermaid/text graph output via
gnn graph - API & LSP Servers: FastAPI server (
gnn serve) and Language Server (gnn lsp)
MCP Tools
This module registers tools with the GNN MCP server (see mcp.py):
cli.healthcli.preflight
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- AGENTS.md
- README.md
- SPEC.md
- __init__.py
- __main__.py
- commands.py
- handlers_complexity.py
- handlers_library.py
- handlers_ops.py
- handlers_pipeline.py
- handlers_service.py
- helpers.py
- lsp.py
- mcp.py
- parser.py
- template_assets/actinf_pomdp_2state.md
- template_assets/multi_agent_coordination.md
- template_assets/pomdp_gridworld_3x3.md
- template_index.json
- templates.py
- watcher.py
FAQ
Что делает скилл gnn-cli?
GNN command-line interface dispatch and health checks. Use when invoking the `gnn` CLI, validating subcommand availability, or checking command-line access to pipeline modules.
Как установить скилл gnn-cli?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл gnn-cli запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
ci-review
AnthropicThe scan that the plugin's GitHub Action runs.
azure-static-web-apps
GitHubHelps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
ai-ready
GitHubMake any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
aws-cdk-python-setup
GitHubSetup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…