Turn any AI agent into an AI Scientist. The #1 Agent Skills library for science, used by 250,000+ scientists worldwide. 177 ready-to-use validated skills plus 100+ scientific databases covering biology, chemistry, medicine, and drug discovery. Compatible with Cursor, Claude Code, Codex, Pi, Antigravity, and the open Agent Skills standard.
Python agent-skillsai-scientistbioinformaticschemoinformaticsclaudeclaude-skillsclaudecodeclinical-researchcomputational-biologydata-analysisdrug-discoverygenomicsmaterials-sciencemetabolomicsproteomicsscientific-computingscientific-visualization
Update astropy skill documentation and version; enhance compatibility notes and clarify deprecated features in preparation for Astropy 8.0. Bump astropy version to 1.2 and update dependencies in uv.lock.
Timothy Kassis048156723883
diff --git a/skills/astropy/SKILL.md b/skills/astropy/SKILL.mdindex a6984a96..467fb853 100644--- a/skills/astropy/SKILL.md+++ b/skills/astropy/SKILL.md@@ -2,8 +2,9 @@name: astropydescription: Core Python library for astronomy and astrophysics workflows that need Astropy APIs, including units/quantities, coordinates, FITS I/O, tables, time systems, WCS, and cosmology. Use when implementing or debugging astronomical data analysis code with Astropy.license: BSD-3-Clause license+compatibility: Requires Python 3.11+ with astropy installed (uv for package installation). Some features (object name resolution, site lookups, remote FITS reads, IERS updates) need network access.metadata:- version: "1.1"+ version: "1.2"skill-author: K-Dense Inc.---@@ -200,6 +201,8 @@ uv pip install "astropy[all]==7.2.0"Astropy 7.2.0 requires Python 3.11+ and depends on NumPy, PyERFA, PyYAML, and packaging. Use an isolated virtual environment; do not install Astropy with elevated privileges.+Note that the `[recommended]` and `[all]` extras pull in transitive dependencies (matplotlib, scipy, etc.) at unpinned versions. For reproducible production environments, pin the full dependency tree with a lockfile (`uv lock` in a project, or `uv pip compile` for requirements files) and review the resolved versions before deploying.+## Common Workflows### Converting Coordinates Between Systems@@ -315,14 +318,20 @@ print(f"Found {len(cat1_matched)} matches")8. **Use QTable for unit-aware tables**: When table columns have units9. **Check WCS validity**: Verify WCS before using transformations10. **Cache frequently used values**: Expensive calculations (e.g., cosmological distances) can be cached-11. **Be explicit about network access**: `SkyCoord.from_name()`, `EarthLocation.of_site(refresh_cache=True)`, `EarthLocation.of_address()`, `download_file()`, remote FITS reads, and some IERS time/coordinate transforms can contact external services or update local caches. Avoid sending sensitive target names, addresses, URLs, or proprietary file locations to third-party services.+11. **Be explicit about network access**: `SkyCoord.from_name()`, `EarthLocation.of_site(refresh_cache=True)`, `EarthLocation.of_address()`, `download_file()`, remote FITS reads, and some IERS time/coordinate transforms can contact external services or update local caches. Avoid sending sensitive target names, addresses, URLs, or proprietary file locations to third-party services. When working with potentially sensitive targets or data locations, confirm with the user before making these network calls.12. **Pin for reproducibility**: Use pinned versions such as `astropy==7.2.0` for shared environments; update pins intentionally after reviewing release notes.## Current-Version Notes-- Current stable release researched: Astropy 7.2.0 (released 2025-11-25)+- Current stable release researched: Astropy 7.2.0 (released 2025-11-25; verified current as of 2026-06-10)- Python requirement: 3.11+-- Recent 7.x changes to watch for: Astropy 7.0 removed older deprecated FITS APIs such as `(Bin)Table.update`, `_ExtensionHDU`, `_NonstandardExtHDU`, and the `tile_size` argument for `CompImageHDU`; `CompImageHeader` is deprecated. Avoid those legacy patterns in new examples.+- **Astropy 8.0 is at release-candidate stage** (8.0.0rc1, 2026-05-26). Key changes to anticipate:+ - The deprecated `astropy.cosmology` submodule shims (`astropy.cosmology.flrw`, `.core`, `.funcs`, `.connect`, `.parameter`) are removed — import everything directly from `astropy.cosmology` (e.g., `from astropy.cosmology import FlatLambdaCDM, z_at_value`)+ - `astropy.constants` defaults change from CODATA 2018 to CODATA 2022; pin a constants version via the `astropyconst` science states if reproducibility matters+ - NumPy 2.0 becomes the minimum supported version; the 7.2.x LTS branch retains NumPy 1.x support for six months after the 8.0 release+ - The built-in test runner (`astropy.test()`, `TestRunner`) is formally deprecated — invoke `pytest` directly+- Recent 7.x deprecations to avoid in new code: passing a table index identifier as the first `.loc` element (`t.loc["b", 2]`) — use `t.loc.with_index("b")[2]` instead (removal planned for 9.0); `astropy.utils.isiterable()` — use `numpy.iterable()`+- Recent 7.0 removals: older deprecated FITS APIs such as `(Bin)Table.update`, `_ExtensionHDU`, `_NonstandardExtHDU`, and the `tile_size` argument for `CompImageHDU`; `CompImageHeader` is deprecated. Avoid those legacy patterns in new examples.- The recommended optional extras are `recommended` for common plotting/scientific dependencies and `all` only when a broad optional feature set is needed.## Documentation and Resourcesdiff --git a/skills/astropy/references/cosmology.md b/skills/astropy/references/cosmology.mdindex c742b89f..cade2c7f 100644--- a/skills/astropy/references/cosmology.md+++ b/skills/astropy/references/cosmology.md@@ -2,6 +2,8 @@The `astropy.cosmology` subpackage provides tools for cosmological calculations based on various cosmological models.+> **Import paths:** Always import classes and functions directly from `astropy.cosmology` (as shown in all examples below). The old submodule import paths (`astropy.cosmology.flrw`, `.core`, `.funcs`, `.connect`, `.parameter`) were deprecated in v7.1 and removed in Astropy 8.0.+## Using Built-in CosmologiesPreloaded cosmologies based on WMAP and Planck observations:diff --git a/skills/astropy/references/tables.md b/skills/astropy/references/tables.mdindex 32a15010..e99dce3f 100644--- a/skills/astropy/references/tables.md+++ b/skills/astropy/references/tables.md@@ -373,6 +373,12 @@ row = t.loc[12345] # Find row where id=12345# Range queriessubset = t.loc[100:200]++# With multiple indices, select which index to use explicitly.+# t.loc["b", 2] (index name as first element) is deprecated since 7.2+# and slated for removal in 9.0.+t.add_index('name')+row = t.loc.with_index('name')['M31']```## Table Metadatadiff --git a/skills/astropy/references/wcs_and_other_modules.md b/skills/astropy/references/wcs_and_other_modules.mdindex 6623e7a1..3fc1809f 100644--- a/skills/astropy/references/wcs_and_other_modules.md+++ b/skills/astropy/references/wcs_and_other_modules.md@@ -242,6 +242,8 @@ plt.imshow(data, vmin=vmin, vmax=vmax, cmap='gray', origin='lower')Physical and astronomical constants with units.+Note: through Astropy 7.x the default constants are CODATA 2018 + IAU 2015; Astropy 8.0 switches the default to CODATA 2022. For reproducible results across versions, select an explicit constants version via the science state (e.g., `astropy.physical_constants.set('codata2018')` before other astropy imports).+```pythonfrom astropy import constants as constdiff --git a/skills/networkx/SKILL.md b/skills/networkx/SKILL.mdindex c060a1db..af6b5eb5 100644--- a/skills/networkx/SKILL.md+++ b/skills/networkx/SKILL.md@@ -1,9 +1,9 @@---name: networkx-description: Comprehensive toolkit for creating, analyzing, and visualizing complex networks and graphs in Python. Use when working with network/graph data structures, analyzing relationships between entities, computing graph algorithms (shortest paths, centrality, clustering), detecting communities, generating synthetic networks, or visualizing network topologies. Applicable to social networks, biological networks, transportation systems, citation networks, and any domain involving pairwise relationships.+description: Create, analyze, and visualize complex networks and graphs in Python with NetworkX. Use when working with network/graph data structures, computing graph algorithms (shortest paths, centrality, clustering), detecting communities, generating synthetic networks (random, scale-free, small-world), reading/writing graph file formats, or drawing network topologies. Common applications include social, biological, transportation, and citation networks.license: 3-clause BSD licensemetadata:- version: "1.0"+ version: "1.1"skill-author: K-Dense Inc.---diff --git a/uv.lock b/uv.lockindex bcbeefeb..9fc3bf6c 100644--- a/uv.lock+++ b/uv.lock@@ -1680,7 +1680,7 @@ wheels = [[[package]]name = "scientific-agent-skills"-version = "2.45.0"+version = "2.47.0"source = { virtual = "." }dependencies = [{ name = "cisco-ai-skill-scanner" },