Command Palette

Search for a command to run...

Назад к скиллам
скилл № 54622

gnn-environment-setup

GNN environment setup and dependency management. Use when configuring the development environment, installing dependencies, managing virtual environments, or…

БесплатноЗапускает вложенные скрипты
ActiveInferenceInstituteот ActiveInferenceInstitute★ 36 звёзд на GitHub

Установить gnn-environment-setup в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

GNN Environment Setup (Step 1)

Purpose

Manages environment configuration, virtual environment creation, and dependency installation for the GNN pipeline. All package operations go through uv; there is no pip path.

Key Commands

# Run setup step
python src/gnn/1_setup.py --target-dir input/gnn_files --output-dir output --verbose

# As part of pipeline
python src/gnn/main.py --only-steps 1 --verbose

# Using uv (recommended)
uv sync                    # Core dependencies plus the default dev tooling group
uv sync --no-dev           # Runtime dependencies without development tooling
uv sync --extra dev        # Development profile plus the CmdStanPy dev extra
uv sync --extra torch      # Supported optional PyTorch backend
uv sync --extra bnlearn    # Supported optional Bayesian-network backend
uv sync --all-extras       # Every declared optional extra

Optional Dependency Groups

The default PEP 735 dev dependency group supplies test/lint/docs tools. The separate dev extra adds CmdStanPy. Optional extras are discovered from installed Provides-Extra metadata, with a source-manifest fallback; pyproject.toml is the authoritative registry. Main profiles include:

Group Key Packages Purpose
Core uv sync pymdp, jax, numpyro, discopy, LLM clients, visualization Standard pipeline runtime
audio librosa, soundfile, pedalboard Audio generation
gui gradio GUI interface
ml-ai transformers, scipy, scikit-learn Machine learning extensions
torch, bnlearn torch, bnlearn Optional backends in the universal lock
api fastapi, uvicorn HTTP API
stan cmdstanpy Stan driver; native CmdStan is separate
cpomdp, thrml, ngclearn cpomdp, thrml, ngclearn Explicit experimental backends; ngclearn needs Python >=3.12
geo-infer h3 Geospatial indexing
graphs graphviz Graphviz bindings
Default dev group pytest-*, mypy, ruff Development tools
dev extra cmdstanpy Development profile Stan driver
research jupyterlab, sympy, numba, cython Research tools
scaling dask, distributed, ray Parallel processing
all Named optional groups above Full optional installation

Environment Requirements

  • Python: >=3.12,<3.15; default 3.14.8, with named compatibility profiles in the root README
  • Package manager: uv 0.13.6 (required by uv.toml)
  • Core deps: the scientific/backend/client requirements in pyproject.toml; the frozen lock selects their versions

The GUI and all-extras profiles resolve Gradio 6.32.0 or newer with the Pillow 13 minimum. See the runtime profiles.

Troubleshooting

Issue Solution
uv: command not found curl -LsSf https://astral.sh/uv/install.sh | sh
PyMDP import fails uv sync
matplotlib missing uv sync
CUDA not detected Install the torch extra, inspect torch.cuda.is_available(), and qualify any separately selected CUDA build

MCP Tools

This module registers tools with the GNN MCP server (see mcp.py):

  • check_uv_project_status
  • ensure_directory_exists
  • find_project_gnn_files
  • get_standard_output_paths
  • get_uv_environment_info
  • install_uv_dependency
  • setup_uv_project_structure
  • sync_uv_dependencies

References


Documentation

  • README: Module Overview
  • AGENTS: Agentic Workflows
  • SPEC: Architectural Specification
  • SKILL: Capability API
Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • AGENTS.md
  • README.md
  • SPEC.md
  • __init__.py
  • constants.py
  • dependency_setup.py
  • mcp.py
  • package_names.py
  • setup.py
  • utils.py
  • uv_management.py
  • uv_package_ops.py
  • validator.py

FAQ

Что делает скилл gnn-environment-setup?

GNN environment setup and dependency management. Use when configuring the development environment, installing dependencies, managing virtual environments, or troubleshooting dependency issues for the GNN pipeline.

Как установить скилл gnn-environment-setup?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл gnn-environment-setup запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить gnn-environment-setup с