Borrowing it
Nothing to install: this file belongs to AMDResearch/ai4science-studio. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/AMDResearch/ai4science-studio/main/.cursor/skills/ai4science-huggingface-recipes/SKILL.mdgit clone --depth 1 https://github.com/AMDResearch/ai4science-studioWrote 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.
[](https://agentmods.dev/skills/amdresearch/ai4science-studio/ai4science-huggingface-recipes)<a href="https://agentmods.dev/skills/amdresearch/ai4science-studio/ai4science-huggingface-recipes"><img src="https://agentmods.dev/badge/skills/amdresearch/ai4science-studio/ai4science-huggingface-recipes/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/amdresearch/ai4science-studio/ai4science-huggingface-recipes"><img src="https://agentmods.dev/badge/skills/amdresearch/ai4science-studio/ai4science-huggingface-recipes.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00041 | $0.00802 |
| Opus 5.5 | $0.00016 | $0.00321 |
| Sonnet 5.5 | $0.00008 | $0.00160 |
| Haiku 4.5 | $0.00004 | $0.00080 |
Grade A, and why
ai4science-huggingface-recipes 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 51 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Hugging Face recipes workflow
Use this skill when adding or refactoring train / fine-tune / inference / eval material for models hosted on Hugging Face inside this repo.
Steps
- Identify the model on Hugging Face (model card, license, intended use, dependencies). Record the full id
org/modelin the model folderREADME.md. - Map to a folder name under the correct domain’s
models/directory. Default: replace/with__in the Hub id (org__model). Alternative: a public model name on disk (e.g.HydraGNN,ORBIT-2) is acceptable when that domain’smodels/README.mdallows it and the modelREADME.mdstates the fullorg/modelid at the top—do not rename those folders toorg__modelunless the user asks. - Align the task with what the model card and upstream code support (inference-only vs fine-tuning vs training from scratch).
- Reuse upstream scripts or minimal wrappers: prefer calling official examples with pinned versions rather than reimplementing full training stacks unless necessary.
- Document Python/PyTorch (or other) versions, ROCm builds and versions for AMD Instinct when validated, and how to run from the repo root or from
recipes/subfolders. - Attribute authors, papers, and license in the model
README.mdand in recipe comments where helpful.
Recipe folder tips
- Use subfolders under
recipes/for distinct tasks, e.g.recipes/inference/,recipes/finetune/. - Keep entrypoints small and documented; link to Hugging Face Spaces or Colab only as supplements, not replacements for reproducible commands.
Avoid
- Committing
tokenvalues or private Hub tokens. - Checking in large
*.bin,*.safetensors, or full datasets when.gitignorealready excludes them—point users to Hub or documented download steps instead. - Hardcoding HF repo filenames without verifying: model repos ship different names than recipes assume (e.g.
walrus.ptnotmodel.pt). Uselist_repo_files()to discover actual names, filter by extension, pick smallest or first match. - Assuming a
_mi300x.shSLURM script name — use_amd.sh(covers MI250X, MI300X, MI350X with the samerocm7.2.ximage). Overlay/--no-depsdetails: ai4science-studio/reference/rocm.md.
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.
- 1mo ago Changed f79990305ffe
- 2mo ago First seen · 51 lines · 41 tokens per session scan A 847a2d492122
ai4science-huggingface-recipes is a skill published in the GitHub repository AMDResearch/ai4science-studio (4 stars, last pushed yesterday), licensed MIT. It adds 41 tokens to every session and 802 once invoked, about $0.0002 per session on Opus 5.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.
ai4science-huggingface-recipes compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| ai4science-huggingface-recipesAMDResearch/ai4science-studio | Skill | 4 | yesterday | MIT | A | 41 | Cursor |
| batch-processing-clinical-textmaziyarpanahi/openmed | Skill | 5.8k | yesterday | Apache-2.0 | A | 161 | Claude Code |
| exporting-to-fhirmaziyarpanahi/openmed | Skill | 5.8k | yesterday | Apache-2.0 | A | 163 | Claude Code |
| choosing-openmed-modelsmaziyarpanahi/openmed | Skill | 5.8k | yesterday | Apache-2.0 | A | 134 | Claude Code |
| extracting-clinical-entitiesmaziyarpanahi/openmed | Skill | 5.8k | yesterday | Apache-2.0 | A | 118 | Claude Code |
| loading-openmed-modelsmaziyarpanahi/openmed | Skill | 5.8k | yesterday | Apache-2.0 | A | 118 | Claude Code |
| normalizing-rxnormmaziyarpanahi/openmed | Skill | 5.8k | yesterday | Apache-2.0 | A | 187 | Claude Code |