ai4science-studio CLAUDE.md

ai4science-studio CLAUDE.md is an instructions file for coding agents from AMDResearch/ai4science-studio. It costs 1,388 tokens per session, scanned A, original, MIT.

A set of instructions for AI4Science Studio, a collection of recipes for running open artificial-intelligence models used in scientific work. The repository mainly contains Markdown, YAML configuration files, scripts, and notebooks rather than a compiled application.

In plain words
What is it for?
Use it to discover models, read their manifests, configure environments, and follow the repository's instructions for running model recipes.
Why use it?
It tells a coding agent where to find the model index, each model's configuration, and the correct entry points. This avoids guessing how models, licenses, hardware, and external repositories are organized.

Instructions file

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add instructions/amdresearch/ai4science-studio/claude-md
Clone the repo
git clone --depth 1 https://github.com/AMDResearch/ai4science-studio

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ai4science-studio CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/amdresearch/ai4science-studio/claude-md.svg)](https://agentmods.dev/instructions/amdresearch/ai4science-studio/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/amdresearch/ai4science-studio/claude-md"><img src="https://agentmods.dev/badge/instructions/amdresearch/ai4science-studio/claude-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,388 This file is loaded in full into every session.
When invoked 1,388 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.01388 $0.01388
Opus 5 $0.00694 $0.00694
Sonnet 5 $0.00278 $0.00278
Haiku 4.5 $0.00139 $0.00139

Measured 5d ago against content hash 2aca7d542b06, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ai4science-studio CLAUDE.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

CLAUDE.md · 71 lines

How it starts

The opening of the file, as written. The whole thing — 71 lines — stays where its author put it; the contents beside it link to each section on GitHub.

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

Repository purpose

AI4Science Studio is an agent-first recipe collection for open AI-for-science models. The primary interface is an AI coding agent (Cursor, Claude Code, etc.) that reads machine-readable metadata to discover, configure, and run models. There is no build system, compiled code, or test suite—the repo is Markdown files, YAML manifests, and (optionally) scripts and notebooks in recipe folders. Upstream code lives in external GitHub repos; upstream model weights live on Hugging Face.

Agent entry points (read these first)

  • models.yaml (repo root) — index of all models; read this to discover what's available.
  • <model>/model.yaml — per-model manifest with HF id, license, recipes, env vars, and hardware.
  • .cursor/skills/ — agent skills for Cursor; .claude/commands/ — slash commands for Claude Code.

Directory layout

models.yaml                                 # repo-wide model index (agent entry point)
<domain>/models/<model-slug>/model.yaml     # machine-readable model manifest
<domain>/models/<model-slug>/README.md      # HF id, license, upstream links
<domain>/models/<model-slug>/recipes/       # how-to docs, one subfolder per task
<domain>/models/<model-slug>/examples/      # ready-to-run scripts

Domains: earth_science/, material_science/, protein_folding/, healthcare/, physics_simulation/

Model slug rule

Hugging Face id org/model → directory name org__model (replace / with __). Some models use a public name on disk instead; in that case, document the canonical HF id in the model's README.md. Example: earth_science/models/ORBIT-2/ maps to HF id jychoi-hpc/ORBIT-2.

Adding a new model

  1. Pick the correct domain folder.
  2. Copy _template/ to <domain>/models/<model-slug>/.
  3. Fill in README.md: Hugging Face model id (or N/A with alternate source), task, license (SPDX id or link), upstream code/paper.
  4. Place how-to docs under <model-slug>/recipes/. Prefer one subfolder per task (recipes/inference/, recipes/finetune/, etc.), each with its own README.md.
  5. Place ready-to-run scripts under <model-slug>/examples/: docker_run.sh, run_<task>.sh/.py, preflight_<slug>.py, and sbatch_<task>_amd.sh. All scripts must be chmod +x. For HPC models with heavy pip deps, also add build_overlay_amd.sh.
  6. Create a model.yaml in the model folder with structured metadata (name, hf_id, license, task, recipes, env_vars).
  7. Add the model to the root models.yaml index.
  8. Do not commit large checkpoints or datasets—document how to obtain them instead.

Read the full file on GitHub · 71 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 71 lines · 1,388 tokens per session scan A 2aca7d542b06

Subscribe to this mod's changes

ai4science-studio CLAUDE.md is an instructions file published in the GitHub repository AMDResearch/ai4science-studio (4 stars, last pushed 1mo ago), licensed MIT. It adds 1,388 tokens to every session, about $0.0069 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories