performance-optimizer

performance-optimizer is a skill for Claude Code from rudrathegreat/Astronomy-AI-Toolkit. It costs 20 tokens per session (408 once invoked), scanned A, original, no licence file.

A guide for improving the speed of scientific Python programs through profiling, vectorization, compilation, and parallel execution.

In plain words
What is it for?
Use it to profile workloads and optimise numerical Python code with vectorized, compiled, or parallel execution.
Why use it?
It helps identify slow code and choose implementation changes that can reduce its running time.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the astronomy-ai-toolkit plugin — 30 skills, 6 agents, 4 MCP servers shipped together

Good fit Use it to profile workloads and optimise numerical Python code with vectorized, compiled, or parallel execution.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rudrathegreat/astronomy-ai-toolkit/performance_optimizer
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 rudrathegreat/Astronomy-AI-Toolkit --skill performance_optimizer
Clone the repo
git clone --depth 1 https://github.com/rudrathegreat/Astronomy-AI-Toolkit

Made for: Claude Code.

Or install astronomy-ai-toolkit, the plugin that ships this one along with the rest of its 30 skills, 6 agents, 4 MCP servers.

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 performance-optimizer

README.md
[![agentmods](https://agentmods.dev/badge/skills/rudrathegreat/astronomy-ai-toolkit/performance_optimizer/github.svg)](https://agentmods.dev/skills/rudrathegreat/astronomy-ai-toolkit/performance_optimizer)
Your own site
<a href="https://agentmods.dev/skills/rudrathegreat/astronomy-ai-toolkit/performance_optimizer"><img src="https://agentmods.dev/badge/skills/rudrathegreat/astronomy-ai-toolkit/performance_optimizer/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 performance-optimizer

Your own site · 80×15
<a href="https://agentmods.dev/skills/rudrathegreat/astronomy-ai-toolkit/performance_optimizer"><img src="https://agentmods.dev/badge/skills/rudrathegreat/astronomy-ai-toolkit/performance_optimizer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 408 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.
Origin unknown 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.00020 $0.00408
Opus 5 $0.00010 $0.00204
Sonnet 5 $0.00004 $0.00082
Haiku 4.5 $0.00002 $0.00041

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

Security

Grade A, and why

performance-optimizer 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 8d 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/software_engineering/performance_optimizer/SKILL.md · 53 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 8d ago First seen · 53 lines · 20 tokens per session scan A aa7626109fb2

Subscribe to this mod's changes

performance-optimizer is a skill published in the GitHub repository rudrathegreat/Astronomy-AI-Toolkit (2 stars, last pushed 1mo ago), with no licence file. It adds 20 tokens to every session and 408 once invoked, about $0.0001 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-31.

Related

Other skills, from other repositories

astropy

Core Python library for astronomy and astrophysics workflows that need Astropy APIs, including units/quantities, coordinates, FITS I/O, tables, time systems, WCS, and cosmology. Use when implementing or debugging astronomical data analysis code with Astropy.

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

bioservices

Unified Python interface to 40+ bioinformatics services. Use when querying multiple databases (UniProt, KEGG, ChEMBL, Reactome) in a single workflow with consistent API. Best for cross-database analysis, ID mapping across services. For quick single-database lookups use gget; for sequence/file manipulation use…

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

cobrapy

Constraint-based metabolic modeling (COBRA). FBA, FVA, gene knockouts, flux sampling, SBML models, for systems biology and metabolic engineering analysis.

K-Dense-AI/scientific-agent-skills · 38 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

pennylane

Hardware-agnostic quantum ML framework with automatic differentiation. Use when training quantum circuits via gradients, building hybrid quantum-classical models, or needing device portability across IBM/Google/Rigetti/IonQ. Best for variational algorithms (VQE, QAOA), quantum neural networks, and integration with…

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

python-to-dafny-translator

Translate Python programs into equivalent Dafny code, preserving program semantics and ensuring the generated code is well-typed, executable, and verifiable. Use when the user asks to convert Python code to Dafny, port Python programs to Dafny, add formal verification to Python code, or create Dafny versions of Python…

ArabelaTso/Skills-4-SE · 74 tokens