Astropy
zLanqing/codex-claude-academic-skills
Comprehensive Python library for astronomy and astrophysics.
Astronomical data processing with Astropy, FITS files, and sky surveys
$ npx skills add wentorai/research-plugins --skill astrophysics-data-guide -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install wentorai/research-plugins astrophysics-data-guide --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/domains/physics/astrophysics-data-guide .claude/skills/astrophysics-data-guide && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "astrophysics-data-guide" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/domains/physics/astrophysics-data-guide into .claude/skills/astrophysics-data-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "astrophysics-data-guide", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/wentorai/research-plugins/tree/main/skills/domains/physics/astrophysics-data-guideType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add wentorai/research-plugins --skill astrophysics-data-guide -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install wentorai/research-plugins astrophysics-data-guide --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/domains/physics/astrophysics-data-guide .agents/skills/astrophysics-data-guide && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "astrophysics-data-guide" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/domains/physics/astrophysics-data-guide into .agents/skills/astrophysics-data-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "astrophysics-data-guide", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add wentorai/research-plugins --skill astrophysics-data-guide -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install wentorai/research-plugins astrophysics-data-guide --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/domains/physics/astrophysics-data-guide .cursor/skills/astrophysics-data-guide && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "astrophysics-data-guide" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/domains/physics/astrophysics-data-guide into .cursor/skills/astrophysics-data-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "astrophysics-data-guide", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/wentorai/research-plugins.git --path skills/domains/physics/astrophysics-data-guide--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add wentorai/research-plugins --skill astrophysics-data-guide -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install wentorai/research-plugins astrophysics-data-guide --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/domains/physics/astrophysics-data-guide .gemini/skills/astrophysics-data-guide && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "astrophysics-data-guide" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/domains/physics/astrophysics-data-guide into .gemini/skills/astrophysics-data-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "astrophysics-data-guide", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install wentorai/research-plugins astrophysics-data-guideInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add wentorai/research-plugins --skill astrophysics-data-guide -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/domains/physics/astrophysics-data-guide .github/skills/astrophysics-data-guide && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "astrophysics-data-guide" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/domains/physics/astrophysics-data-guide into .github/skills/astrophysics-data-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "astrophysics-data-guide", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add wentorai/research-plugins --skill astrophysics-data-guide -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install wentorai/research-plugins astrophysics-data-guide --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/wentorai/research-plugins.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/domains/physics/astrophysics-data-guide .opencode/skills/astrophysics-data-guide && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "astrophysics-data-guide" agent skill from https://github.com/wentorai/research-plugins/tree/main/skills/domains/physics/astrophysics-data-guide into .opencode/skills/astrophysics-data-guide/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "astrophysics-data-guide", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
astrophysics-data-guideAstronomical data processing with Astropy, FITS files, and sky surveys
Astrophysics Data Guide is an agent skill from wentorai/research-plugins. Astronomical data processing with Astropy, FITS files, and sky surveys
Its SKILL.md is about 2.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Research & Science, covering Physical and earth sciences. The repository describes itself as: 350+ academic research skills, MCP configs, and plugins for Research-Claw and AI agents. The licence is MIT.
Read from SKILL.md and the folder at commit bf44b3c. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are python).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Astrophysics Data Guide loads about 2.6k tokens when it runs. Until then it costs about 24 tokens; SKILL.md has 194 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from wentorai/research-plugins at commit bf44b3c, republished under its MIT licence (© wentorai). 194 words, ~2,552 tokens.
.claude/skills/astrophysics-data-guide/SKILL.md (or your agent's skills folder).A skill for processing and analyzing astronomical data using standard astrophysics tools. Covers FITS file handling, coordinate transformations, photometric analysis, spectral analysis, catalog cross-matching, and accessing major sky survey archives.
FITS (Flexible Image Transport System) is the standard data format in astronomy:
from astropy.io import fits
import numpy as np
def inspect_fits(filepath: str) -> dict:
"""
Inspect the structure of a FITS file.
Returns information about each HDU (Header/Data Unit).
"""
with fits.open(filepath) as hdul:
info = []
for i, hdu in enumerate(hdul):
entry = {
"index": i,
"name": hdu.name,
"type": type(hdu).__name__,
}
if hdu.data is not None:
entry["shape"] = hdu.data.shape
entry["dtype"] = str(hdu.data.dtype)
if hasattr(hdu, "columns") and hdu.columns is not None:
entry["columns"] = [c.name for c in hdu.columns]
info.append(entry)
return {"filename": filepath, "n_hdus": len(hdul), "hdus": info}
def read_fits_image(filepath: str, hdu_index: int = 0) -> tuple:
"""Read a FITS image and its WCS (World Coordinate System)."""
from astropy.wcs import WCS
with fits.open(filepath) as hdul:
data = hdul[hdu_index].data
header = hdul[hdu_index].header
wcs = WCS(header)
return data, wcs, headerfrom astropy.table import Table
def read_fits_catalog(filepath: str, hdu: int = 1) -> Table:
"""Read a FITS binary table extension as an Astropy Table."""
catalog = Table.read(filepath, hdu=hdu)
print(f"Catalog: {len(catalog)} objects, {len(catalog.columns)} columns")
print(f"Columns: {catalog.colnames}")
return catalogfrom astropy.coordinates import SkyCoord, EarthLocation, AltAz
from astropy.time import Time
import astropy.units as u
def coordinate_transforms(ra_deg: float, dec_deg: float) -> dict:
"""
Transform between astronomical coordinate systems.
ra_deg, dec_deg: right ascension and declination in degrees (ICRS/J2000)
"""
coord = SkyCoord(ra=ra_deg * u.degree, dec=dec_deg * u.degree, frame="icrs")
return {
"icrs": {
"ra": coord.ra.to_string(unit=u.hourangle, precision=2),
"dec": coord.dec.to_string(unit=u.degree, precision=2),
},
"galactic": {
"l": round(coord.galactic.l.degree, 4),
"b": round(coord.galactic.b.degree, 4),
},
"ecliptic": {
"lon": round(coord.geocentricmeanecliptic.lon.degree, 4),
"lat": round(coord.geocentricmeanecliptic.lat.degree, 4),
},
}
def compute_altaz(ra_deg: float, dec_deg: float,
obs_time: str, location: tuple) -> dict:
"""
Compute altitude and azimuth for a target from a given location and time.
location: (latitude_deg, longitude_deg, elevation_m)
"""
target = SkyCoord(ra=ra_deg * u.degree, dec=dec_deg * u.degree)
time = Time(obs_time)
loc = EarthLocation(
lat=location[0] * u.degree,
lon=location[1] * u.degree,
height=location[2] * u.m,
)
altaz_frame = AltAz(obstime=time, location=loc)
altaz = target.transform_to(altaz_frame)
return {
"altitude_deg": round(altaz.alt.degree, 2),
"azimuth_deg": round(altaz.az.degree, 2),
"airmass": round(altaz.secz.value, 3) if altaz.alt.degree > 0 else None,
"is_observable": altaz.alt.degree > 10,
}from photutils.aperture import CircularAperture, CircularAnnulus
from photutils.aperture import aperture_photometry
def perform_aperture_photometry(image: np.ndarray,
positions: list[tuple],
aperture_radius: float = 5.0,
annulus_inner: float = 10.0,
annulus_outer: float = 15.0) -> list[dict]:
"""
Perform aperture photometry with local background subtraction.
image: 2D numpy array (flux/counts)
positions: list of (x, y) pixel coordinates of sources
"""
apertures = CircularAperture(positions, r=aperture_radius)
annuli = CircularAnnulus(positions, r_in=annulus_inner, r_out=annulus_outer)
# Measure flux in aperture and annulus
phot_table = aperture_photometry(image, [apertures, annuli])
results = []
for row in phot_table:
# Background per pixel from annulus
annulus_area = np.pi * (annulus_outer**2 - annulus_inner**2)
bkg_per_pixel = row["aperture_sum_1"] / annulus_area
# Background-subtracted flux
aperture_area = np.pi * aperture_radius**2
net_flux = row["aperture_sum_0"] - bkg_per_pixel * aperture_area
# Instrumental magnitude
if net_flux > 0:
inst_mag = -2.5 * np.log10(net_flux)
else:
inst_mag = float("nan")
results.append({
"x": float(row["xcenter"]),
"y": float(row["ycenter"]),
"raw_flux": float(row["aperture_sum_0"]),
"net_flux": round(float(net_flux), 2),
"bkg_per_pixel": round(float(bkg_per_pixel), 2),
"inst_mag": round(inst_mag, 4),
})
return resultsfrom photutils.detection import DAOStarFinder
from astropy.stats import sigma_clipped_stats
def detect_sources(image: np.ndarray, fwhm: float = 3.0,
threshold_sigma: float = 5.0) -> Table:
"""
Detect point sources in an astronomical image using DAOFind algorithm.
"""
mean, median, std = sigma_clipped_stats(image, sigma=3.0)
daofind = DAOStarFinder(fwhm=fwhm, threshold=threshold_sigma * std)
sources = daofind(image - median)
if sources is not None:
sources.sort("flux", reverse=True)
print(f"Detected {len(sources)} sources")
return sourcesfrom specutils import Spectrum1D, SpectralRegion
from specutils.analysis import line_flux, equivalent_width, centroid
import astropy.units as u
def analyze_spectrum(wavelength: np.ndarray,
flux: np.ndarray,
line_center: float,
line_width: float = 10.0) -> dict:
"""
Analyze an emission or absorption line in a 1D spectrum.
wavelength: array in Angstroms
flux: array in erg/s/cm2/Angstrom
line_center: expected line center in Angstroms
line_width: width of spectral region to analyze
"""
spectrum = Spectrum1D(
spectral_axis=wavelength * u.Angstrom,
flux=flux * u.Unit("erg / (s cm2 Angstrom)"),
)
region = SpectralRegion(
(line_center - line_width) * u.Angstrom,
(line_center + line_width) * u.Angstrom,
)
measured_flux = line_flux(spectrum, regions=region)
ew = equivalent_width(spectrum, regions=region)
center = centroid(spectrum, region)
# Redshift from line center offset
rest_wavelength = line_center # assumed rest frame
z = (center.value - rest_wavelength) / rest_wavelength
return {
"line_flux": f"{measured_flux:.4e}",
"equivalent_width": f"{ew:.2f}",
"measured_center_A": round(center.value, 2),
"redshift": round(z, 6),
"velocity_km_s": round(z * 299792.458, 1),
}from astroquery.vizier import Vizier
from astroquery.simbad import Simbad
from astroquery.sdss import SDSS
def query_simbad(object_name: str) -> dict:
"""Query SIMBAD for basic object information."""
result = Simbad.query_object(object_name)
if result is None:
return {"found": False}
return {
"found": True,
"name": object_name,
"ra": str(result["RA"][0]),
"dec": str(result["DEC"][0]),
"object_type": str(result["OTYPE"][0]),
}
def cone_search_vizier(ra_deg: float, dec_deg: float,
radius_arcmin: float = 1.0,
catalog: str = "II/246") -> Table:
"""
Cone search in a VizieR catalog.
Default catalog II/246 = 2MASS Point Source Catalog.
"""
coord = SkyCoord(ra=ra_deg * u.degree, dec=dec_deg * u.degree)
result = Vizier.query_region(
coord, radius=radius_arcmin * u.arcmin, catalog=catalog
)
return result[0] if result else None| Survey | Band | Coverage | Resolution | Key Science |
|---|---|---|---|---|
| SDSS | ugriz | 14,555 sq deg | 1.3" | Galaxy evolution, QSOs |
| 2MASS | JHK | All-sky | 2" | Stellar populations, MW structure |
| WISE | 3.4-22 um | All-sky | 6-12" | Brown dwarfs, AGN, dusty galaxies |
| Gaia DR3 | G, BP, RP | All-sky | 0.1 mas | Astrometry, stellar parameters |
| DESI | Spectroscopic | 14,000 sq deg | Fiber | Dark energy, BAO |
| JWST | 0.6-28 um | Pointed | 0.03-0.1" | Early universe, exoplanets |
© wentorai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/domains/physics/astrophysics-data-guide of wentorai/research-plugins.
Open the folder on GitHubat commit bf44b3c
We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in wentorai/research-plugins, which our catalogue first saw on October 7, 2026.
Astrophysics Data Guide next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Astrophysics Data Guide this skillwentorai/research-plugins | 298 | 1 repos | ~2.6k | Automated safety check: Pass | MIT | |
| AstropyzLanqing/codex-claude-academic-skills | 4.7k | 13 repos | ~2.9k | Automated safety check: Pass | BSD-3-Clause | |
| PymatgenzLanqing/codex-claude-academic-skills | 4.7k | 11 repos | ~5k | Automated safety check: Pass | MIT | |
| Cantera Ignition DelayK-Dense-AI/scientific-agent-skills | 48k | 1 repos | ~2.2k | Automated safety check: Pass | MIT | |
| Weathertrpc-group/trpc-agent-go | 1.9k | 8 repos | ~591 | Automated safety check: Pass | Apache-2.0 | |
| Pymol VisualizationChatMol/ChatMol | 373 | — | ~1.2k | Automated safety check: Pass | MIT |
zLanqing/codex-claude-academic-skills
Comprehensive Python library for astronomy and astrophysics.
zLanqing/codex-claude-academic-skills
Materials science toolkit. An agent skill from zLanqing/codex-claude-academic-skills.
K-Dense-AI/scientific-agent-skills
Runs Cantera constant-volume or constant-pressure ignition simulations and reports temperature-based ignition delay with mechanism provenance and checks.
trpc-group/trpc-agent-go
Get current weather and forecasts via wttr.in or Open-Meteo.
ChatMol/ChatMol
Generate publication-quality molecular visualization images using PyMOL.
Muuuun/luxas
Write domain-authentic review articles that synthesize rather than stack.
wentorai/research-plugins
Craft structured research abstracts that maximize clarity and journal acceptance
wentorai/research-plugins
Manage academic citations across BibTeX, APA, MLA, and Chicago formats
wentorai/research-plugins
Summarize academic papers with structured extraction of key elements
wentorai/research-plugins
Evidence-based study techniques for academic learning and retention
wentorai/research-plugins
Adjust writing tone and register for academic audiences and venues
wentorai/research-plugins
Academic translation, post-editing, and Chinglish correction guide
Categories
Astronomical data processing with Astropy, FITS files, and sky surveys. Astrophysics Data Guide is an agent skill from wentorai/research-plugins.
Astrophysics Data Guide fits situations like: tasks that involve Physical and earth sciences.
Run `npx skills add wentorai/research-plugins --skill astrophysics-data-guide -a claude-code`. Or copy the skill folder (skills/domains/physics/astrophysics-data-guide in wentorai/research-plugins) into .claude/skills/astrophysics-data-guide in your project. Claude Code loads it when a task matches its description.
Run `npx skills add wentorai/research-plugins --skill astrophysics-data-guide -a codex`. Or copy the skill folder (skills/domains/physics/astrophysics-data-guide in wentorai/research-plugins) into .agents/skills/astrophysics-data-guide in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add wentorai/research-plugins --skill astrophysics-data-guide -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/astrophysics-data-guide, .gemini/skills/astrophysics-data-guide, .github/skills/astrophysics-data-guide and .opencode/skills/astrophysics-data-guide in your project.
SKILL.md names no scripts, command-line tools or credentials: Astrophysics Data Guide is instructions for the agent only. Our summary lists: Python 3.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Astrophysics Data Guide is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.6k tokens (SKILL.md is roughly 10k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Astrophysics Data Guide: Astropy (zLanqing/codex-claude-academic-skills, 4.7k stars), Pymatgen (zLanqing/codex-claude-academic-skills, 4.7k stars), Cantera Ignition Delay (K-Dense-AI/scientific-agent-skills, 48k stars) and Weather (trpc-group/trpc-agent-go, 1.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
wentorai (a GitHub user) maintains it in wentorai/research-plugins, which has 298 GitHub stars. The repository holds 405 skills in this directory. The repository was last updated on June 19, 2026.
Source: wentorai/research-plugins on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.