arm2arm/astroagentassistant/hdf5-on-s3-cached
Claude Code and agent skill by arm2arm/astroagentassistant
- community
Checking that the SKILL.md file is still in the repository.
Access HDF5 files stored on S3 by creating a reliable local cache first, extracting reusable subsets, and converting repeated tabular work products to local Parquet.
Install
npx vskill@latest install arm2arm/astroagentassistant/hdf5-on-s3-cachedSKILL.md
The same SKILL.md was published earlier as arm2arm/astroagentassistant/hdf5-on-s3-cached.
HDF5 on S3 Cached
When to Use
Use this skill when scientific data lives in HDF5 files on S3 or another object store and downstream analysis would be unreliable or inefficient if every access hit the remote object directly.
Procedure
1. Treat remote HDF5 as a cache-first format
For S3-hosted HDF5, do not assume efficient random remote access by default. Prefer downloading or materializing a stable local cached copy first.
2. Create a local cached file
Example pattern:
3. Inspect the structure locally
Use h5py after the file is local:
4. Extract only the needed subset
Avoid loading the entire file eagerly if you only need one group or dataset.
5. If the extracted result is tabular, convert it to local Parquet
For repeated analysis or plotting, prefer a local Parquet cache:
6. Use Dask when the extracted working set is large
If the extracted tabular subset is still large, switch to Dask for downstream processing and keep the effective working footprint near 32GB RAM.
7. Plot from the local cached derivative, not the remote HDF5
Prefer plotting from:
- local Parquet cache
- Dask DataFrame derived from local cache
hvplot/ Datashader for dense large results
Canonical Routing
This is a specialized or legacy example skill. For new work, start with astro-data-access-umbrella and route through:
s3-parquet-astro-access
Keep this skill for dataset-specific examples, but prefer the canonical skills for new implementations, live probes, REANA execution, and plotting/cache conventions.
Pitfalls
- Do not assume remote HDF5 behaves like cloud-native columnar parquet.
- Do not repeatedly reopen a large HDF5 object from S3 if a local cache can be made once.
- Do not skip conversion to Parquet when your repeated downstream work is tabular.
- Do not default to eager pandas if the extracted table is still large.
Verification
- A local cached HDF5 file exists.
- Reused downstream work reads from the local cache, not directly from S3.
- Repeated tabular work uses a local Parquet derivative when appropriate.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingpython/hdf5-on-s3-cached/SKILL.md
Popularity
- Repository stars
- 4
- Repository forks
- 1
- 7-day trend score
- 13
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/arm2arm/astroagentassistant/hdf5-on-s3-cached)