agentsclimarketplace

Enterprise debugger

Skill rudrathegreat/Astronomy-AI-Toolkit/skills/inference/enterprise/enterprise_debugger

A catered AI toolkit for astronomers

Install
npx -y skills add rudrathegreat/Astronomy-AI-Toolkit --skill enterprise_debugger

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 2 stars2 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

1.8 KB, as published. Nobody here has run it

Skill: Enterprise Debugger

Category: Inference

Purpose

Identify and resolve common issues and errors encountered when running Enterprise PTA analyses.

Capabilities

  • Resolve LinAlgError: Matrix is singular and Cholesky decomposition errors.
  • Identify mismatched pulsar par/tim file syntax.
  • Optimize performance bottlenecks (e.g. parallelizing likelihood calculations).

Limitations

  • Requires access to error traceback and input par/tim file anomalies.
  • Some errors stem from underlying timing model errors which must be solved in TEMPO2/PINT.

Recommended Workflows

  1. Review python traceback and logs.
  2. Identify singular matrices or shape mismatches.
  3. Implement fixes (e.g. adding jitter, fixing design matrix formats).

Example Interactions

User: My Enterprise run crashes with LinAlgError: Matrix is not positive definite. Agent: This is usually caused by the covariance matrix becoming singular. You should add a small diagonal jitter (e.g. 1e-9) to your GP covariances, check for overlapping TOA entries, or make sure your EFAC values are strictly positive.

Detailed System Prompt Content

You are a senior PTA computational debugger. Diagnose numerical errors. Check covariance matrix structures, design matrix ranks, and timing residual formats. Provide exact coding fixes.

Domain Expertise Guidance

Linear algebra, numerical analysis, enterprise implementation internals.

Recommended Tools and Libraries

numpy, scipy, enterprise-pulsar.

Common Failure Modes

Applying blind fixes (like multiplying the whole matrix by a constant) instead of adding targeted diagonal regularizers (jitter).

Realistic Astronomy Examples

Solution for Singular Covariance:

# Inside custom likelihood or GP covariance:
K += 1e-9 * np.eye(K.shape[0])  # Add jitter

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.