Skip to content
Back to skills

Astropy Fits Image Summary Starter

ASecurity

Use this skill to generate or load a tiny FITS image with `astropy.io.fits` and summarize the core image and header metadata.

  • 38 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 8, 2026
ai-agentspythonbash

Security analysis

A100/100

Pro scans all 8 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add ma-compbio-lab/SkillFoundry --skill astropy-fits-image-summary-starter --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Astropy Fits Image Summary Starter?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Astropy Fits Image Summary Starter
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ma-compbio-lab-astropy-fits-image-summary-starter/badge)](https://www.skillsdirectory.com/skills/ma-compbio-lab-astropy-fits-image-summary-starter)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# Astropy FITS Image Summary Starter

Use this skill to generate or load a tiny FITS image with `astropy.io.fits` and summarize the core image and header metadata.

## What it does

- Builds a deterministic toy 2D FITS image when no input file is supplied.
- Writes the FITS file to disk when requested and reloads it through Astropy.
- Reports image shape, mean, standard deviation, and a few astronomy-style header fields.

## When to use it

- You need a runnable starter for `Telescope image preprocessing`.
- You want a verified FITS I/O example before scaling to real sky-survey or instrument data.

## Example

```bash
slurm/envs/astronomy/bin/python skills/physics-and-astronomy/astropy-fits-image-summary-starter/scripts/run_astropy_fits_image_summary.py \
  --fits-out scratch/astronomy/toy_image.fits \
  --out scratch/astronomy/toy_image_summary.json
```

## Verification

- Skill-local tests: `python3 -m unittest discover -s skills/physics-and-astronomy/astropy-fits-image-summary-starter/tests -p 'test_*.py'`
- Repository smoke: `python3 -m unittest tests.smoke.test_phase30_empty_domain_seed_skills -v`

Files in this skill

  • SKILL.md1.1 KB
  • assets/README.md83 B
  • assets/toy_image_summary.json314 B
  • examples/README.md99 B
  • metadata.yaml1.3 KB
  • refs.md181 B
  • scripts/run_astropy_fits_image_summary.py2.6 KB
  • tests/test_run_astropy_fits_image_summary.py1.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…