fmri-skill

fmri-skill is a skill for Claude Code, Codex from CUHK-AIM-Group/NeuroClaw. It costs 122 tokens per session (5,862 once invoked), scanned A, original, MIT.

A planning and routing layer for fMRI, or functional magnetic resonance imaging, analysis. It directs work to tools for preprocessing, brain-region features, connectivity, and alignment to a standard brain space.

In plain words
What is it for?
Use it to plan workflows for fMRI preprocessing, first-level analysis, region-of-interest extraction, functional or effective connectivity, and atlas alignment.
Why use it?
It prevents fMRI tasks from bypassing required preparation and approval steps. It also separates planning from the tools that actually perform each operation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions subagents.

Good fit Use it to plan workflows for fMRI preprocessing, first-level analysis, region-of-interest extraction, functional or effective connectivity, and atlas alignment.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cuhk-aim-group/neuroclaw/fmri-skill
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add CUHK-AIM-Group/NeuroClaw --skill fmri-skill
Clone the repo
git clone --depth 1 https://github.com/CUHK-AIM-Group/NeuroClaw

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for fmri-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/cuhk-aim-group/neuroclaw/fmri-skill/github.svg)](https://agentmods.dev/skills/cuhk-aim-group/neuroclaw/fmri-skill)
Your own site
<a href="https://agentmods.dev/skills/cuhk-aim-group/neuroclaw/fmri-skill"><img src="https://agentmods.dev/badge/skills/cuhk-aim-group/neuroclaw/fmri-skill/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for fmri-skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/cuhk-aim-group/neuroclaw/fmri-skill"><img src="https://agentmods.dev/badge/skills/cuhk-aim-group/neuroclaw/fmri-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 122 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,862 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium MCP Rug Pull · line 121
    Docker image references without a specific tag (:latest is implicit) or digest (@sha256:...) can be silently replaced by a malicious image.
    Fix: Pin the image: image:tag or image@sha256:abc123
  • medium MCP Rug Pull · line 160
    Docker image references without a specific tag (:latest is implicit) or digest (@sha256:...) can be silently replaced by a malicious image.
    Fix: Pin the image: image:tag or image@sha256:abc123
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00122 $0.05862
Opus 5 $0.00061 $0.02931
Sonnet 5 $0.00024 $0.01172
Haiku 4.5 $0.00012 $0.00586

Measured 11d ago against content hash a733e4fd56e9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

fmri-skill scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/fmri-skill/SKILL.md · 371 lines

How it starts

The opening of the file, as written. The whole thing — 371 lines — stays where its author put it; the contents beside it link to each section on GitHub.

fMRI Skill (Modality Layer)

Overview

fmri-skill is the NeuroClaw modality-layer interface skill responsible for all fMRI data processing and analysis tasks.

It strictly follows the NeuroClaw hierarchical design principles:

  • This skill only describes WHAT needs to be done and which tool skill to delegate to.
  • It contains no implementation code or concrete commands.
  • All concrete execution is delegated to existing base/tool skills: fmriprep-tool, hcppipeline-tool, conn-tool, fsl-tool, bids-organizer, and claw-shell.

Core workflow (never bypassed):

  1. Identify input data (BIDS dataset or preprocessed BOLD files).
  2. Generate a numbered execution plan that clearly states WHAT needs to be done and which tool skill will handle each step.
  3. Present the full plan, estimated runtime, resource requirements, and risks to the user and wait for explicit confirmation (“YES” / “execute” / “proceed”).
  4. On confirmation, delegate every step to the appropriate skill via claw-shell.
  5. After execution, save all outputs in a clean directory structure (fmri_output/).

Benchmark-Facing Default Mainline

For benchmark-style prompts, choose the narrowest task-faithful fMRI route first and do not widen into unrelated branches just because multiple downstream tools are available.

  • If the prompt is task fMRI or mentions events, contrasts, design matrices, conditions, first-level, second-level, FEAT, cope, or z-stat maps:
    • Default to BIDS -> fMRIPrep -> first-level GLM -> group-level GLM if requested.
    • Keep the answer on the GLM/statistical path.
    • Do not introduce resting-state connectivity, CONN, PPI, DCM, or EEG branches unless the prompt explicitly asks for them.
  • If the prompt is resting-state or asks for ROI time series / connectivity:
    • Default to BIDS -> fMRIPrep -> XCP-D or ROI/connectivity extraction.
    • Do not introduce task-GLM steps unless the prompt explicitly asks for task analysis.
    • If the prompt is an ADNI-like or other raw-data resting-state benchmark, keep the answer on the narrow mainline raw data -> minimal BIDS organization -> fMRIPrep -> resting-state ROI/connectivity outputs.
    • Do not expand the primary solution into EEG branches, CONN, effective connectivity, or broad multimodal orchestration unless the prompt explicitly asks for those branches.
  • If required task-fMRI inputs such as events.tsv, contrasts, or condition timing are missing:
    • State Missing required input explicitly.
    • Do not silently switch the task into a resting-state pipeline.
  • Do not delegate to unrelated modality skills such as EEG for fMRI-only tasks.
  • In benchmark mode, do not make environment creation, broad project scaffolding, or long installation/setup sections the center of the answer when the task is asking for the executable imaging mainline.

Read the full file on GitHub · 371 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 371 lines · 122 tokens per session scan A a733e4fd56e9

Subscribe to this mod's changes

fmri-skill is a skill published in the GitHub repository CUHK-AIM-Group/NeuroClaw (84 stars, last pushed 4d ago), licensed MIT. It adds 122 tokens to every session and 5,862 once invoked, about $0.0006 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

instrument-data-to-allotrope

Convert laboratory instrument output files (PDF, CSV, Excel, TXT) to Allotrope Simple Model (ASM) JSON format or flattened 2D CSV. Use this skill when scientists need to standardize instrument data for LIMS systems, data lakes, or downstream analysis. Supports auto-detection of instrument types. Outputs include full…

anthropics/knowledge-work-plugins · 123 tokens

exploratory-data-analysis

Perform bounded, local exploratory analysis of explicitly supported scientific files. Use for redacted CSV/TSV/JSON profiles; optional NumPy, HDF5, FASTA/FASTQ, and basic image metadata inspection; missingness/leakage audits; outlier and transformation sensitivity; and rigorous EDA report scaffolds. Other domain…

K-Dense-AI/scientific-agent-skills · 83 tokens

matlab

Build, review, migrate, and safely plan MATLAB or GNU Octave numerical workflows, including arrays, tabular/time data, tests, projects, graphics, MAT files, and explicit Python interoperability.

K-Dense-AI/scientific-agent-skills · 42 tokens

phylogenetics

Build and analyze phylogenetic trees using MAFFT (multiple alignment), IQ-TREE 2 (maximum likelihood), and FastTree (fast NJ/ML). Visualize with ETE3 or FigTree. For evolutionary analysis, microbial genomics, viral phylodynamics, protein family analysis, and molecular clock studies.

K-Dense-AI/scientific-agent-skills · 68 tokens

research-engineer

An uncompromising Academic Research Engineer. Operates with absolute scientific rigor, objective criticism, and zero flair. Focuses on theoretical correctness, formal verification, and optimal implementation across any required technology.

davila7/claude-code-templates · 43 tokens

mapping-to-snomed

Maps clinical concept spans extracted by OpenMed to SNOMED CT concepts through a USER-SUPPLIED terminology server (the user's own Ontoserver, Snowstorm, or UMLS/UTS), never a bundled vocabulary. Use when the user wants to code findings, disorders, procedures, body structures, or substances to SNOMED CT, run an ECL…

maziyarpanahi/openmed · 205 tokens