marin: Skill for Claude Code

.agents/skills/upload-hf-model/SKILL.md

upload-hf-model is a skill for Claude Code, Codex from marin-community/marin. It costs 29 tokens per session (384 once invoked), scanned A, original, Apache-2.0.

A guide for publishing machine-learning model weights to the Hugging Face Hub. The Hub is an online service for storing and sharing models, and this guide applies to model repositories rather than datasets or downloads.

In plain words
What is it for?
Use it when uploading or updating model weights in a Hugging Face repository, including adding the required README metadata, license text, and research-use warning.
Why use it?
It standardizes the destination, license files, repository warning, and post-upload checks. This reduces the chance of publishing a model without the required licensing and safety information.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is marin-community/marin's own configuration. It tells Claude Code and Codex how to work on marin itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything marin configures →

About the project

Marin is an open-source research program, software platform, and community for developing foundation models such as large language models. Researchers use it for data preparation, tokenization, pretraining, posttraining, evaluation, and related experiments, including work on audio-text, DNA, and protein models. The catalogue entries are add-ons that support workflows around Marin.

marin-community/marin · 4,074 stars · on GitHub · marin.community

Reuse

Borrowing it

Nothing to install: this file belongs to marin-community/marin. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/marin-community/marin/main/.agents/skills/upload-hf-model/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/marin-community/marin

Made for: Claude Code, Codex.

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 upload-hf-model

README.md
[![agentmods](https://agentmods.dev/badge/skills/marin-community/marin/upload-hf-model/github.svg)](https://agentmods.dev/skills/marin-community/marin/upload-hf-model)
Your own site
<a href="https://agentmods.dev/skills/marin-community/marin/upload-hf-model"><img src="https://agentmods.dev/badge/skills/marin-community/marin/upload-hf-model/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.

agentmods 80×15 button for upload-hf-model

Your own site · 80×15
<a href="https://agentmods.dev/skills/marin-community/marin/upload-hf-model"><img src="https://agentmods.dev/badge/skills/marin-community/marin/upload-hf-model.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 384 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00029 $0.00384
Opus 5.5 $0.00012 $0.00154
Sonnet 5.5 $0.00006 $0.00077
Haiku 4.5 $0.00003 $0.00038

Measured 17d ago against content hash be4b606da95c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

upload-hf-model 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 17d 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.

.agents/skills/upload-hf-model/SKILL.md · 20 lines

What it actually says

Upload a model to Hugging Face

  • Use the open-athena Hugging Face organization when the user has not specified a destination namespace. Honor an explicit destination from the user.

  • Upload models under the OpenMDW 1.1 license. Copy the official license text into the model repository's root LICENSE file and set license: openmdw-1.1 in the root README.md YAML metadata.

  • For every model upload, make sure the model repository's root README.md includes this exact text:

    Research artifact. This model has not been properly tested or evaluated and is not necessarily secure. Use at your own risk in production settings.

  • For every model upload or update, also include this exact responsible-use paragraph in the model repository's root README.md. Preserve the research-artifact warning above; do not add duplicate copies of either paragraph:

    We release our tools to the public with the intent that they are used safely, ethically, and responsibly. They are meant to contribute to the public's understanding of science, and aid in its advancement. By using this Marin model, you agree to comply with all applicable law.

  • Before publishing, check the local model card for both required paragraphs and the OpenMDW 1.1 license metadata. Do not upload a card that omits them.

  • Check the published README.md and LICENSE after uploading or updating the model to confirm that the research-artifact warning, responsible-use paragraph, OpenMDW 1.1 license metadata, and full license text are present.

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. 17d ago Changed · +5 lines be4b606da95c
  2. 1mo ago First seen · 15 lines · 29 tokens per session scan A 57e4bb3b2a84

Subscribe to this mod's changes

upload-hf-model is a skill published in the GitHub repository marin-community/marin (4,074 stars, last pushed today), licensed Apache-2.0. It adds 29 tokens to every session and 384 once invoked, about $0.0001 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-10-02.

Related

upload-hf-model compared with skills from other repositories

upload-hf-model next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
upload-hf-modelmarin-community/marinSkill4.1ktodayApache-2.0A29Claude Code, Codex
agent-platform-model-registrygoogle/skillsSkill22kyesterdayApache-2.0A60Claude Code, Codex
foundry-config-setupmicrosoft/agent-frameworkSkill15kyesterdayMITA65Claude Code, Codex
google-cloud-solution-agentic-analytics-spark-knowledge-cataloggoogle/skillsSkill22kyesterdayApache-2.0A132Claude Code, Codex
training-checkwanshuiyin/Auto-claude-code-research-in-sleepSkill19k3d agoMITA35Claude Code
nemo-automodel-launcher-configNVIDIA/skillsSkill3.9kyesterdayApache-2.0A30Claude Code
finetuningmicrosoft/skillsSkill3.2kyesterdayMITA132Claude Code