check
/check
Weryfikuje działanie wtyczki braina: środowisko, wersje Frites i HOI, backend JAX (CPU lub GPU), połączenie z serwerem MCP i end-to-end smoke test narzędzi.
- Autor
- brainets ↗
- Repozytorium
- braina ↗
- Licencja
- BSD-3-Clause
- Ostatnia zmiana repozytorium
- 18.09.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 1
Brak sygnałów. Repozytorium zmienione 18.09.2026, bez odwołań do wycofanych modeli i API.
BSD-3-Clause, otwarta.
Co robi i kiedy
Weryfikuje działanie wtyczki braina: środowisko, wersje Frites i HOI, backend JAX (CPU lub GPU), połączenie z serwerem MCP i end-to-end smoke test narzędzi.
Oryginalny opis (EN)
Verify that the braina plugin works - environment, Frites/HOI versions, JAX backend (CPU or GPU), MCP server connection, and an end-to-end smoke test of the tools. Use when the user asks to check, verify, test or debug the braina installation, when a braina MCP tool is unavailable or the server shows CONNECTION_CLOSED, or right after installing or updating the plugin.
Jak działa
- 1. Smoke test (environment + tools)
- 2. If the braina MCP server did not connect
- 3. Interpret the JAX line
- 4. Optional: full test suite (development checkout only)
- Reporting
Podgląd SKILL.md
---
name: check
description: Verify that the braina plugin works - environment, Frites/HOI versions, JAX backend (CPU or GPU), MCP server connection, and an end-to-end smoke test of the tools. Use when the user asks to check, verify, test or debug the braina installation, when a braina MCP tool is unavailable or the server shows CONNECTION_CLOSED, or right after installing or updating the plugin.
---
# Braina self-check
Run these steps in order and report the outcome plainly.
## 1. Smoke test (environment + tools)
```bash
uv run "${CLAUDE_PLUGIN_ROOT}/scripts/smoke_test.py"
```
- Prints the Frites / HOI / NumPy versions and the JAX backend, then runs
`frites_sim_ar` -> `frites_conn_covgc` -> `frites_conn_net`, `hoi_oinfo`
-> `hoi_get_nbest_mult`, and `plot_result` on simulated data.
- Ends with `SMOKE TEST PASSED` (exit 0) or `SMOKE TEST FAILED: [...]`.
- The **first** run after an install downloads ~150 MB of wheels and can
take a few minutes; that is expected. Later runs take seconds.
## 2. If the braina MCP server did not connect
A `CONNECTION_CLOSED` / "Connection closed" status for the `braina` server
at session start almost always means the cold start exceeded Claude Code's
30 s MCP timeout while `uv` was still downloading dependencies. Fix:
```bash
uv sync --script "${CLAUDE_PLUGIN_ROOT}/mcp/braina_mcp.py"
```
then reconnect with `/mcp` (or restart the session). The plugin's
SessionStart hook runs this sync in the background automatically, so the
second session normally works without intervention. If `uv` itself is
missing: https://docs.astral.sh/uv/getting-started/installation/
## 3. Interpret the JAX line
- `JAX backend: CPU` - the default; HOI tools run on CPU. Fine for a
handful of ROIs and `maxsize` <= 4-5.
- `JAX backend: GPU` - only happens if the user installed a CUDA-enabled
`jax` in the environment `uv` resolves. Braina's own dependency block
requests plain (CPU) `jax`; see the `hoi-metrics` skill, section
"Compute backend", before promising GPU speed-ups.
## 4. Optional: full test suite (development checkout only)
From a clone of the braina repository:
```bash
uv run tests/run_tests.py
```
runs the pytest suite that exercises all 34 MCP tools on synthetic data.
## Reporting
State: versions, backend, whether the smoke test passed, and - if it did
not - the first failing tool and its error line verbatim. Do not describe
the installation as working until the smoke test has actually passed.
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · brainets/braina | 100 | BSD-3-Clause |
| tw93/Waza | 100 | MIT |
| nigelng/nng-kit | 100 | MIT |
| Automatebasics/automatebasics-skills | 100 | MIT |
| tony/skills | 100 | MIT |
| vibiumdev/vibium | 100 | Apache-2.0 |
| koda-ai-studio/agent-bom | 100 | Apache-2.0 |
| JQ-WCoding/devkit | 100 | MIT |
| ribato22/vibecheck | 100 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki 24a7b4f4941c (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100orientation
Pomaga dobrać metodę i podejście statystyczne do danych elektrofizjologicznych i neuroobrazowych (fMRI, MEG, EEG, LFP), w tym narzędzie braina, import danych i korekty wielokrotnych testów. - 100cuequivariance-jax
Pomaga pisać i debugować wielomiany cuEquivariance w JAX, słowniki nieredukowalnych reprezentacji i warstwy Flax NNX.