Przejdź do treści
Biblioteka skilli
Nauka i badania · Testowanie

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.

Repozytorium
braina ↗
Licencja
BSD-3-Clause
Ostatnia zmiana repozytorium
18.09.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
1
Przestarzałość

Brak sygnałów. Repozytorium zmienione 18.09.2026, bez odwołań do wycofanych modeli i API.

Licencja

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. 1. Smoke test (environment + tools)
  2. 2. If the braina MCP server did not connect
  3. 3. Interpret the JAX line
  4. 4. Optional: full test suite (development checkout only)
  5. Reporting
Sekcje z nagłówków SKILL.md, w oryginale · 58 linii, 313 słów
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

RepozytoriumWynikLicencja
Ta strona · brainets/braina100BSD-3-Clause
tw93/Waza100MIT
nigelng/nng-kit100MIT
Automatebasics/automatebasics-skills100MIT
tony/skills100MIT
vibiumdev/vibium100Apache-2.0
koda-ai-studio/agent-bom100Apache-2.0
JQ-WCoding/devkit100MIT
ribato22/vibecheck100MIT

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.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.