Astropy
Astropy provides a user-friendly interface for visualizing and manipulating astronomical data, simplifying complex analysis workflows.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add lifangda-astropy npx -- -y @trustedskills/lifangda-astropy
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"lifangda-astropy": {
"command": "npx",
"args": [
"-y",
"@trustedskills/lifangda-astropy"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill provides access to Astropy, a Python package for astronomy. It allows AI agents to perform tasks such as reading and writing FITS files (a common astronomical data format), performing coordinate transformations between different celestial reference frames, and accessing cosmological constants. The agent can leverage this to analyze astronomical datasets or generate simulations.
When to use it
- Analyzing telescope observation data: Extracting information from FITS files produced by telescopes.
- Calculating distances to stars and galaxies: Using Astropy's cosmological functions.
- Converting between equatorial and galactic coordinates: Performing coordinate transformations for celestial objects.
- Simulating astronomical events: Generating synthetic datasets based on physical models.
Key capabilities
- FITS file I/O (reading and writing)
- Coordinate transformations
- Cosmological calculations
- Access to astronomical constants
Example prompts
- "Can you read the FITS file 'image.fits' and tell me the exposure time?"
- "Convert the coordinates of this star from J2000 equatorial to Galactic."
- "What is the Hubble constant according to the latest Astropy data?"
Tips & gotchas
- Requires a Python environment with Astropy installed. Ensure that the agent has access to this environment.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.