Skip to content
Agentmart
Submit a tool

antspy

Use ANTsPy/antspyx for medical image IO, ANTsImage metadata, image operations, registration, segmentation, visualization, and learning helper workflows.

Skill by VectorSpaceLab

IndexedApache-2.0★ 341
Write a review

Chalk Labs

Need help deploying antspy?

Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.

Book a call

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/vectorspacelab-antspy

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Use ANTsPy/antspyx for medical image IO, ANTsImage metadata, image operations, registration, segmentation, visualization, and learning helper workflows.

Use cases: data

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/antspy

What's inside

Skill name
antspy
Description
Use ANTsPy/antspyx for medical image IO, ANTsImage metadata, image operations, registration, segmentation, visualization, and learning helper workflows.
License
Apache-2.0
Metadata
disco-role: operating
Instructions
44 lines in SKILL.md · view on GitHub

Before installing

  • Ships executable scripts

Files (40)

  • SKILL.md
  • api-index.md · references/
  • package-overview.md · references/
  • repo-provenance.md · references/
  • repo-routing-metadata.json · references/
  • troubleshooting.md · references/
  • antspy_environment_check.py · scripts/
  • run_antspy_smoke_suite.py · scripts/
  • SKILL.md · sub-skills/image-core/
  • api-reference.md · sub-skills/image-core/references/
  • troubleshooting.md · sub-skills/image-core/references/
  • workflows.md · sub-skills/image-core/references/
  • antspy_image_smoke.py · sub-skills/image-core/scripts/
  • SKILL.md · sub-skills/image-ops-math/
  • api-reference.md · sub-skills/image-ops-math/references/
  • imath-reference.md · sub-skills/image-ops-math/references/
  • troubleshooting.md · sub-skills/image-ops-math/references/
  • workflows.md · sub-skills/image-ops-math/references/
  • antspy_ops_smoke.py · sub-skills/image-ops-math/scripts/
  • SKILL.md · sub-skills/learning-deeplearn/
  • api-reference.md · sub-skills/learning-deeplearn/references/
  • troubleshooting.md · sub-skills/learning-deeplearn/references/
  • workflows.md · sub-skills/learning-deeplearn/references/
  • antspy_deeplearn_smoke.py · sub-skills/learning-deeplearn/scripts/
  • SKILL.md · sub-skills/registration-transforms/
  • api-reference.md · sub-skills/registration-transforms/references/
  • transform-types.md · sub-skills/registration-transforms/references/
  • troubleshooting.md · sub-skills/registration-transforms/references/
  • workflows.md · sub-skills/registration-transforms/references/
  • antspy_registration_smoke.py · sub-skills/registration-transforms/scripts/
  • SKILL.md · sub-skills/segmentation-labels/
  • api-reference.md · sub-skills/segmentation-labels/references/
  • troubleshooting.md · sub-skills/segmentation-labels/references/
  • workflows.md · sub-skills/segmentation-labels/references/
  • antspy_segmentation_smoke.py · sub-skills/segmentation-labels/scripts/
  • SKILL.md · sub-skills/visualization-interop/
  • api-reference.md · sub-skills/visualization-interop/references/
  • troubleshooting.md · sub-skills/visualization-interop/references/
  • workflows.md · sub-skills/visualization-interop/references/
  • antspy_plotting_smoke.py · sub-skills/visualization-interop/scripts/

SKILL.md (first lines)

# ANTsPy Repo Skill

Use this repo skill when a task involves the Python package distributed as `antspyx` and imported as `ants`: medical image IO, `ANTsImage` objects, preprocessing, registration, transforms, segmentation, labels, plotting, interoperability, or ANTsPy learning/deeplearn helper utilities.

## Start Here

1. Install the package with `pip install antspyx` or `conda install conda-forge::antspyx`.
2. Verify the public import with `python -c "import ants; print(ants.__name__)"`.
3. Run [scripts/antspy_environment_check.py](scripts/antspy_environment_check.py) for a tiny import/API smoke check.
4. Read [references/package-overview.md](references/package-overview.md) for package scope, compiled-backend caveats, and workflow boundaries.
5. Read [references/troubleshooting.md](references/troubleshooting.md) when installation, import, compiled libraries, physical-space metadata, optional dependencies, or expensive algorithms fail.
6. Check [references/repo-provenance.md](references/repo-provenance.md) before deciding whether this skill is stale for a newer ANTsPy checkout.

## Route by Task

| User task | Read |
| --- | --- |
| Create, read, write, clone, index, compare, or validate `ants.ANTsImage` objects and physical metadata | [image-core](sub-skills/image-core/SKILL.md) |
| Smooth, denoise, mask, crop, pad, slice, resample, threshold, run `iMath`, compute image metrics, or use morphology | [image-ops-math](sub-skills/image-ops-math/SKILL.md) |
| Register images, apply transforms to images or points, inspect transform files, build templates, run motion correction, or compute Jacobians | [registration-transforms](sub-skills/registration-transforms/SKILL.md) |
| Run Atropos, k-means, Otsu, priors, joint label fusion, label stats, overlap, geometry, label matrices, centroids, or point images | [segmentation-labels](sub-skills/segmentation-labels/SKILL.md) |
| Save plots headlessly, build overlays/grids/movies, handle RGB/vector channels, convert image lists/matrices, or interoperate with nibabel/SimpleITK | [visualization-interop](sub-skills/visualization-interop/SKILL.md) |
| Use sparse/eigen learning helpers, patch extraction/reconstruction, one-hot labels, random augmentation, simulated bias fields, or learning-oriented crop/pad helpers | [learning-deeplearn](sub-skills/learning-deeplearn/SKILL.md) |

## Cross-Cutting Rules

- Import with `import ants`; do not import `antspyx` as a module.
- ANTsPy wraps compiled ANTs/ITK code. A successful `pip install` is not enough if importing `ants` fails; run the environment check script before debugging workflow code.
- `ANTsImage` values and physical metadata are both important. Validate `shape`, `dimension`, `origin`, `spacing`, and `direction` before mixing images, masks, labels, transforms, overlays, or matrices.
- Use label-safe interpolation such as `nearestNeighbor` or `genericLabel` for labels and masks. Use linear-style interpolation for intensity images unless the workflow requires otherwise.
- Prefer small synthetic images for smoke checks and troubleshooting. Full nonlinear registration, joint label fusion, high-resolution 3-D operations, and template building can be expensive.
- Keep ANTsPyNet, neural-network model training, and application-specific medical pipelines outside this skill unless the task only uses ANTsPy helper utilities.

## Shared References and Scripts

- [Package overview](references/package-overview.md): package identity, public workflow map, data model, optional dependencies, and version caveats.
- [API index](references/api-index.md): quick map from common `ants.*` functions to the owning sub-skill and detailed reference.
- [Troubleshooting](references/troubleshooting.md): install/import failures, wheel/source-build problems, shadowed imports, physical-space errors, optional dependencies, and expensive workflow triage.
- [Repo provenance](references/repo-provenance.md): source commit, dirty-state baseline, package versions, and evidence paths used for this generated skill.
- [Routing metadata](references/repo-routing-metadata.json): structured scenario metadata consumed by the managed `repo-skills-router` during import.
- [Environment check](scripts/antspy_environment_check.py): tiny import/API smoke check for `antspyx`.
- [Smoke suite](scripts/run_antspy_smoke_suite.py): runs the bundled sub-skill smoke scripts with the current Python interpreter.

From VectorSpaceLab/AREX-Skill, Apache-2.0.

More from VectorSpaceLab/AREX-Skill

Signals

Stars
341
Forks
26
Open issues
0
Last commit (this folder)
Aug 26, 2026 (2 months ago)
Last release
Sep 2, 2026 (1 month ago)

From GitHub (fetched Oct 24, 2026).

Details

License
Apache-2.0
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from VectorSpaceLab

Done for you

Rather not set it up yourself?

Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.

See how we build AI agents →Read the case studies

Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.

launches shipped
50+
launches shipped
media placements
500+
media placements
founders on every account
2
founders on every account

Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block

Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.

Get antspy running in your business

Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.

Goes to the Chalk Labs founders, not the newsletter. Privacy

Need help deploying antspy?

CallGet help
Cite this page

antspy skill. Agent Mart. https://agentmart.dev/skills/vectorspacelab-antspy (last updated 2026-10-24)