pycse

pycse is a skill for Claude Code, Codex from ItamarZand88/awesome-agent-conventions. It costs 0 tokens per session (1,187 once invoked), scanned A, original, MIT.

A Python scientific-computing skill for fitting mathematical models, designing experiments, and measuring uncertainty in results. It includes methods such as regression, Latin hypercube sampling, and uncertainty propagation.

In plain words
What is it for?
Use it for nonlinear curve fitting, regression, design of experiments, parameter exploration, response-surface modelling, and uncertainty analysis.
Why use it?
It helps analyse data and plan experiments when results depend on several changing parameters or when the reliability of an estimate needs to be understood.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it for nonlinear curve fitting, regression, design of experiments, parameter exploration, response-surface modelling, and uncertainty analysis.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/itamarzand88/awesome-agent-conventions/pycse
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 ItamarZand88/awesome-agent-conventions --skill pycse
Clone the repo
git clone --depth 1 https://github.com/ItamarZand88/awesome-agent-conventions

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 pycse

README.md
[![agentmods](https://agentmods.dev/badge/skills/itamarzand88/awesome-agent-conventions/pycse/github.svg)](https://agentmods.dev/skills/itamarzand88/awesome-agent-conventions/pycse)
Your own site
<a href="https://agentmods.dev/skills/itamarzand88/awesome-agent-conventions/pycse"><img src="https://agentmods.dev/badge/skills/itamarzand88/awesome-agent-conventions/pycse/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 pycse

Your own site · 80×15
<a href="https://agentmods.dev/skills/itamarzand88/awesome-agent-conventions/pycse"><img src="https://agentmods.dev/badge/skills/itamarzand88/awesome-agent-conventions/pycse.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,187 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 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.00000 $0.01187
Opus 5 $0.00000 $0.00593
Sonnet 5 $0.00000 $0.00237
Haiku 4.5 $0.00000 $0.00119

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

Security

Grade A, and why

pycse 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 10d 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.

conventions/skill-md/examples/data-analysis/pycse/SKILL.md · 162 lines

How it starts

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


name: pycse description: Python computations in science and engineering (pycse) - helps with scientific computing tasks including nonlinear regression, uncertainty quantification, design of experiments (DOE), Latin hypercube sampling, surface response modeling, and neural network-based UQ with DPOSE. Use when working with numerical optimization, data fitting, experimental design, or uncertainty analysis.

pycse - Python Computations in Science and Engineering

pycse is a comprehensive library for scientific computing, data analysis, and uncertainty quantification in Python.

Core Capabilities

1. Nonlinear Regression and Curve Fitting

  • nlinfit: Nonlinear least squares fitting with uncertainty quantification
  • regress: Linear regression with statistics
  • Supports parameter uncertainty estimation and confidence intervals

2. Design of Experiments (DOE)

  • Latin Hypercube Sampling (LHC): Space-filling designs for efficient parameter exploration
  • Surface Response Modeling: Fit polynomial response surfaces to experimental data
  • Useful for optimizing experimental conditions with minimal trials

3. Uncertainty Quantification with DPOSE

  • DPOSE (Direct Propagation of Shallow Ensembles): Neural network ensemble for UQ
  • Provides per-sample uncertainty estimates (heteroscedastic)
  • Handles gaps, extrapolation, and nonlinear relationships
  • Trained using CRPS or NLL loss for calibrated uncertainties

4. Numerical Methods

  • Root finding and optimization
  • Integration and differentiation
  • ODE solvers
  • Statistical analysis tools

When to Use pycse

Use this skill when the user asks about:

  • Fitting experimental data to nonlinear models
  • Estimating parameter uncertainties
  • Designing experiments or sampling parameter spaces
  • Latin squares or Latin hypercube designs
  • Surface response methodology
  • Uncertainty quantification in predictions
  • Neural network-based surrogate models with uncertainty
  • Scientific data analysis in Python

Read the full file on GitHub · 162 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. 10d ago First seen · 162 lines · 0 tokens per session scan A ae9ec0992f00

Subscribe to this mod's changes

pycse is a skill published in the GitHub repository ItamarZand88/awesome-agent-conventions (31 stars, last pushed 1mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,187 tokens. 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.