gnn-environment-setup
GNN environment setup and dependency management. Use when configuring the development environment, installing dependencies, managing virtual environments, or…
от 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_statusensure_directory_existsfind_project_gnn_filesget_standard_output_pathsget_uv_environment_infoinstall_uv_dependencysetup_uv_project_structuresync_uv_dependencies
References
- AGENTS.md — Module documentation
- README.md — Usage guide
- SPEC.md — Module specification
- ../../../SETUP_GUIDE.md — Full setup guide
- ../../../pyproject.toml — Dependency definitions
Documentation
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- 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 запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
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…