Connectome Discovery Workflow

SkillAI & models

Use this workflow skill whenever the user wants to turn connectome-model outputs into network discoveries: compare aligned brain maps, compute permutation significance, rank neuromodulation targets, summarize atlas-level effects, or combine CPM with spatial interpretation. Triggers include 'connectome discovery', 'network map similarity', 'permutation P value', 'target ranking', 'neuromodulation target', and 'spatial connectome interpretation'.

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Connectome Discovery Workflow skill

What this skill tells your AI

The instructions your AI receives, as published by cuhk-aim-group/neurodiscovery in skills/connectome-discovery/SKILL.md and read by ahel’s review.

Overview

connectome-discovery is a scientific interpretation workflow, not a second CPM implementation. It consumes fitted-model outputs or aligned network maps and produces map similarities, empirical significance, and candidate target rankings.

StageCanonical owner
Connectome predictioncpm, BrainGNN, BNT, or another model skill
Atlas/space validationfmri-skill, nibabel-skill
Map similarity and permutationmodels/connectome_discovery/mapping.py
Surface/network renderingbrain-visualization

Installation

pip install numpy scipy pandas

Workflows

1. Generate model evidence

Run cpm or another connectome model and freeze its held-out predictions, selected edges, atlas, and node ordering.

2. Align maps

Reference and candidate maps must use the same atlas, node order, hemisphere convention, and value orientation. Resampling or atlas mapping must be recorded.

3. Score and rank targets

Use models/connectome_discovery/mapping.py for:

  • cosine_similarity_map
  • permutation_pvalue
  • rank_targets

Save the observed score, null distribution settings, permutation count, random seed, atlas, and coordinate space.

4. Visualize

Route final ROI/network values to brain-visualization. Do not infer an anatomical target from an unlabeled edge vector.


Input / Output Summary

ItemFormat
Inputaligned ROI/network maps or model-derived connectome signatures
Statisticscosine similarity and empirical permutation P value
Rankingtarget identifier, similarity, rank, atlas/space metadata
Visualizationpublication-ready network or surface map

Testing

pytest models/tests/test_extended_models.py -q

Directory Reference

models/connectome_discovery/
├── __init__.py
└── mapping.py          map similarity, permutation, and ranking

skills/connectome-discovery/
└── SKILL.md

Reference

  • Use skills/cpm/SKILL.md for CPM training.
  • Use skills/brain-visualization/SKILL.md for spatial rendering.

Created At: 2026-07-26 HKT Last Updated At: 2026-07-29 HKT Author: chengwang96

Signals

GitHub stars
85
Forks
4
Last commit
Sep 2026
Advanced
Catalog kind
skill
Gateway key
connectome-discovery-cuhk-aim-group
Source
github.com/cuhk-aim-group/neurodiscovery