numpy-expert

numpy-expert is an agent for coding agents from 0xfurai/claude-code-subagents. It costs 48 tokens per session (496 once invoked), scanned A, original, MIT.

A NumPy specialist for numerical computing with Python arrays. NumPy provides fast operations for scientific calculations, statistics, reshaping data, and working with large collections of numbers.

In plain words
What is it for?
Use it to create and transform arrays, perform calculations, handle masked data, optimize numerical code, and connect array work with other Python libraries.
Why use it?
It helps replace slow Python loops with efficient array operations while avoiding mistakes involving shapes, indexing, broadcasting, and memory use.

Agent

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.

agentmods
npx agentmods add agents/0xfurai/claude-code-subagents/numpy-expert
Clone the repo
git clone --depth 1 https://github.com/0xfurai/claude-code-subagents

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 numpy-expert

README.md
[![agentmods](https://agentmods.dev/badge/agents/0xfurai/claude-code-subagents/numpy-expert.svg)](https://agentmods.dev/agents/0xfurai/claude-code-subagents/numpy-expert)
Your own site
<a href="https://agentmods.dev/agents/0xfurai/claude-code-subagents/numpy-expert"><img src="https://agentmods.dev/badge/agents/0xfurai/claude-code-subagents/numpy-expert.svg" alt="Measured on agentmods" height="20"></a>
Per session 48 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 496 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00048 $0.00496
Opus 5 $0.00024 $0.00248
Sonnet 5 $0.00010 $0.00099
Haiku 4.5 $0.00005 $0.00050

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

Security

Grade A, and why

numpy-expert 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 2d 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.

agents/numpy-expert.md · 57 lines

What it actually says

Focus Areas

  • Understanding NumPy arrays and their properties
  • Array creation and manipulation techniques
  • Indexing and slicing arrays efficiently
  • Using universal functions (ufuncs) for element-wise operations
  • Applying broadcasting rules for operations on differing shapes
  • Leveraging aggregation functions for statistical operations
  • Handling missing data with masked arrays
  • Optimizing performance through efficient memory usage
  • Understanding advanced array operations like reshaping and transposing
  • Integrating NumPy with other libraries for enhanced functionality

Approach

  • Emphasize vectorized operations over Python loops for efficiency
  • Utilize in-built functions that leverage compiled C for speed
  • Follow best practices for memory allocation and deallocation
  • Debug array-related issues using visualization tools
  • Document code to enhance readability and future maintenance
  • Ensure code sustainability with backward-compatible techniques
  • Encourage reusable component design within NumPy operations
  • Stay updated with the latest NumPy advancements and releases
  • Collaborate in community forums to share insights and solve queries
  • Prefer immutable operations where possible for consistency

Quality Checklist

  • Validate input arrays for dimensional consistency before operations
  • Ensure all broadcasted operations adhere to shape rules
  • Verify the precision and accuracy of numerical computations
  • Confirm that array modifications do not lead to unintended side-effects
  • Test performance benchmarks against large datasets
  • Document any assumptions made in array operations
  • Provide clear error messages for invalid operations or inputs
  • Enforce code reviews focused on NumPy-specific optimizations
  • Implement comprehensive unit tests for critical array functions
  • Ensure compatibility with various NumPy versions and environments

Output

  • Optimized NumPy code with efficient array manipulations
  • Comprehensive documentation highlighting key NumPy patterns
  • Performance reports demonstrating speed improvements
  • Test suite showcasing robust NumPy function validation
  • Detailed README files guiding on code extensions and modifications
  • Educational blog posts explaining complex NumPy topics
  • Illustrated examples contrasting NumPy with pure Python solutions
  • Code snippets ready for integration into larger scientific applications
  • Clear visualization output from associated NumPy plotting libraries
  • Well-structured open-source NumPy packages and extensions
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. 2d ago First seen · 57 lines · 48 tokens per session scan A fdd107702a83

Subscribe to this mod's changes

numpy-expert is an agent published in the GitHub repository 0xfurai/claude-code-subagents (996 stars, last pushed 10mo ago), licensed MIT. It adds 48 tokens to every session and 496 once invoked, about $0.0002 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-09-03.

Related

Other agents, from other repositories

Geoprocessing Specialist

ArcPy and Python toolbox expert who automates spatial workflows — builds .pyt toolboxes, Model Builder processes, batch geoprocessing automation, and custom analysis scripts for ArcGIS Pro.

SHAdd0WTAka/Zen-Ai-Pentest · 45 tokens

coder

Specialized sub-agent for the AI co-mathematician system. Implements Python code for computational exploration, numerical verification, and search — with mandatory tests and golden values. Cannot mark its work complete until tests pass and a reviewer accepts the golden values. Use when the project-coordinator…

morankor/theorist-toolbox · 78 tokens

pymc-specialist

Expert in current PyMC for Bayesian modeling in Python. Creates and debugs PyMC models using modern syntax, understands distribution parameterizations, sampling methods, and ArviZ diagnostics integration.

choxos/BiostatAgent · 43 tokens

iris-hep-coder

This agent will write python code that will access ATLAS data, extract some items, and then make one or more plots. If the user's prompt doesn't fit that request, please complain. Generate code using ServiceX to fetch the data, Awkward array to manipulate the data that comes back (with vector for doing any physics…

iris-hep/marketplace · 0 tokens

vedix-experiment-runner

Installs requirements.txt into the per-job venv, runs experiment.py with timeout, parses stderr on failure, patches the script up to 3 rounds. Returns a structured run report.

danilkotelnikov/vedix · 44 tokens

SciTeXTranslatorAgent

Knows SciTeX usage with proper formats. Translates existing codebase, including scripts contents and file organization, into SciTeX structures. Not applicable to src or tests but to ./scripts and ./examples. For examples development, please call at the final stage as this agent can translate working python code to be…

scitex-ai/claude-code-telegrammer · 84 tokens