PI

pipeline-run-checklist

A structured checklist for running, validating, and troubleshooting the 8-step HST galaxy reduction pipeline.

Install

mkdir -p .claude/skills/pipeline-run-checklist && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/16593" && unzip -o skill.zip -d .claude/skills/pipeline-run-checklist && rm skill.zip

Installs to .claude/skills/pipeline-run-checklist

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Step-by-step checklist for running the full 8-step HST galaxy reduction pipeline. Use when starting a pipeline run, resuming after an error, deciding whether to skip step 7 (DrizzledInpainter), or verifying outputs at each stage. Covers pre-flight checks, per-step validation, and common failure recovery.
305 chars✓ has a “when” triggerlonger than Claude Code's old 250-char listing cap (fine on current versions)
Intermediate

Key capabilities

  • Start a full or partial pipeline run for a configured galaxy instance
  • Resume a pipeline after an error at a specific step
  • Decide whether step 7 (DrizzledInpainter) is needed
  • Verify outputs before proceeding to the next step
  • Perform pre-flight checks before starting the pipeline
  • Identify common failures and recovery steps for each stage

How it works

The skill provides a step-by-step checklist for the 8-step HST galaxy reduction pipeline, covering pre-flight checks, per-step validation, and common failure recovery. It guides the user through each notebook and script, detailing expected outputs and potential issues.

Inputs & outputs

You give it
Starting step number, or 'full run' to start from step 1
You get back
Validation status for each pipeline step and final data products in 'Images/ProcessedImages/HST/'

When to use pipeline-run-checklist

  • Run the full galaxy reduction pipeline
  • Resume pipeline after an error
  • Validate outputs for data reduction steps
  • Perform pre-flight environment checks

About this skill

Pipeline Run Checklist

When to Use

  • Starting a full or partial pipeline run for a configured galaxy instance
  • Resuming after an error at a specific step
  • Deciding whether step 7 (DrizzledInpainter) is needed
  • Verifying outputs before proceeding to the next step

Pre-Flight Checks (before step 1)

  • ./configure has been run — no [GALAXY] placeholders remain in notebooks
  • All three conda environments exist: conda env list | grep -E 'stenv|astroba|dcr'
  • CRDS environment variables are set: echo $CRDS_PATH
  • JupyterLab is running with nb_conda_kernels so each notebook can select its own kernel

Step 1 — Image Download

Notebook: Images/ImageDownloader.ipynb Environment: stenv What it does: Queries MAST for HST observations of [GALAXY] and downloads raw FLT/FLC files.

Validation:

  • FLT or FLC FITS files appear in Images/
  • File count is non-zero and matches expected observations

Common failures:

  • MAST query returns 0 results → check GALAXY_WILDCARD constant matches the MAST target name
  • Download incomplete → re-run the download cell; MAST supports resuming

Step 2 — NED Info Download

Notebook: Data/NED/NED_InfoDownloader.ipynb Environment: stenv What it does: Downloads galaxy metadata (distance, morphology, redshift) from NED.

Validation:

  • Output files appear in Data/NED/
  • Distance and morphology values look reasonable for the target

Step 3 — GAIA Catalog Download

Notebook: Data/GAIA/GAIA_Downloader.ipynb Environment: stenv What it does: Downloads GAIA star catalog for astrometric alignment.

Validation:

  • FITS or CSV catalog file appears in Data/GAIA/
  • Source count is non-zero

Step 4 — Update CRDS References

Script: Images/update_crds.sh Environment: shell What it does: Downloads/updates HST reference files to ~/Data/CRDS.

bash Images/update_crds.sh

Validation:

  • Script completes without errors
  • $CRDS_PATH/references/hst/ directories (iref/, jref/, etc.) are populated

Common failures:

  • CRDS_SERVER_URL not set → set in ~/.bashrc and source ~/.bashrc
  • Disk space low → CRDS mirrors can be several GB; free space before running

Step 5 — Cosmic Ray Removal (DeepCR)

Notebook: Images/DeepCR-Remover.ipynb Environment: dcr What it does: Runs DeepCR neural network to identify and mask cosmic rays in each FLT/FLC.

Validation:

  • Cosmic-ray-masked files (e.g., *_crc.fits) appear in Images/
  • Mask fraction per image is plausible (< ~5% of pixels)

Common failures:

  • CUDA/GPU not available → DeepCR falls back to CPU; much slower but works
  • deepCR package not found → confirm the dcr environment is selected as the kernel

Step 6 — Image Reduction (Drizzle)

Notebook: Images/ImageReducer.ipynb Environment: stenv What it does: Runs AstroDrizzle to align, combine, and drizzle all exposures into final science images.

Validation:

  • Drizzled science mosaic (*_drz_sci.fits) appears in Images/ProcessedImages/HST/
  • Weight map (*_drz_wht.fits) is present alongside the science mosaic
  • No large NaN/blank regions in the science image (open in DS9 or matplotlib to check)

Common failures:

  • iref / jref variables not set → CRDS reference lookup fails; check step 4 was run
  • Poor alignment → tweak ASTRODRIZZLE_PARAMS or check GAIA catalog coverage from step 3

Step 7 — NaN Inpainting (optional)

Notebook: Images/ProcessedImages/HST/PythonNotebooks/DrizzledInpainter.ipynb Environment: astroba

Decision — skip or run?

Open Images/ProcessedImages/HST/DS9/FOVs/ and inspect FOV region files in DS9:

  • No blank/NaN regions within the science FOV → skip step 7
  • Blank edges or chip gaps intersect the galaxy or science region → run step 7

Validation (if run):

  • Inpainted mosaic is written to Images/ProcessedImages/HST/
  • NaN regions are filled; pixel values at boundaries look smooth

Step 8 — Photometry Check

Notebook: Images/ProcessedImages/HST/PythonNotebooks/PhotometryChecker.ipynb Environment: stenv What it does: Compares source photometry from the drizzled image against catalog values as a quality check.

Validation:

  • Photometry comparison plot is generated
  • Residuals / zero-point offset are within acceptable range for the instrument/filter

Pipeline Complete

All 8 steps done. Final data products live in Images/ProcessedImages/HST/. Science analysis notebooks go in Science/.

Resuming After a Failure

  1. Identify the failing step from the error message.
  2. Fix the root cause (see common failures above, or ask the Pipeline Explorer agent).
  3. Re-run only the failed step and all subsequent steps — earlier outputs are still valid unless you changed input files or constants.

When not to use it

  • When the task is not related to the HST galaxy reduction pipeline
  • When the task does not involve starting, resuming, or validating pipeline steps

Limitations

  • The skill is specific to the 8-step HST galaxy reduction pipeline
  • The skill assumes a configured galaxy instance
  • The skill's recovery steps are limited to common failures described in the checklist

How it compares

This skill provides a structured, step-by-step guide with explicit validation checks and failure recovery for each stage of the HST galaxy reduction pipeline, unlike a generic manual execution that might lack specific verification points.

Compared to similar skills

pipeline-run-checklist side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
pipeline-run-checklist (this skill)03moReviewIntermediate
product-strategist128moReviewAdvanced
project-development13moReviewAdvanced
nutritional-specialist19moReviewBeginner

Try saying

Example prompts that trigger this skill in your AI assistant.

You might also like

product-strategist

davila7

Strategic product leadership toolkit for Head of Product including OKR cascade generation, market analysis, vision setting, and team scaling. Use for strategic planning, goal alignment, competitive analysis, and organizational design.

1251

project-development

muratcankoylan

This skill should be used when the user asks to "start an LLM project", "design batch pipeline", "evaluate task-model fit", "structure agent project", or mentions pipeline architecture, agent-assisted development, cost estimation, or choosing between LLM and traditional approaches.

13

nutritional-specialist

ailabs-393

This skill should be used whenever users ask food-related questions, meal suggestions, nutrition advice, recipe recommendations, or dietary planning. On first use, the skill collects comprehensive user preferences (allergies, dietary restrictions, goals, likes/dislikes) and stores them in a persistent database. All subsequent food-related responses are personalized based on these stored preferences.

11

research-project-planner

Taichuan3

用于生物信息学或计算生物学项目启动前,将模糊研究方向转成可执行研究路线:澄清 central question、knowledge gap、hypothesis、evidence package、figure skeleton、技术路线、风险和 stop/pivot criteria。不用于已明确的代码执行、单篇论文阅读或单纯文本润色。

00

literature-review

K-Dense-AI

Conduct comprehensive, systematic literature reviews using multiple academic databases (PubMed, arXiv, bioRxiv, Semantic Scholar, etc.). This skill should be used when conducting systematic literature reviews, meta-analyses, research synthesis, or comprehensive literature searches across biomedical, scientific, and technical domains. Creates professionally formatted markdown documents and PDFs with verified citations in multiple citation styles (APA, Nature, Vancouver, etc.).

5591,298

quant-analyst

zenobi-us

Expert quantitative analyst specializing in financial modeling, algorithmic trading, and risk analytics. Masters statistical methods, derivatives pricing, and high-frequency trading with focus on mathematical rigor, performance optimization, and profitable strategy development.

103355

Search skills

Search the agent skills registry