marin: Skill for Claude Code

.agents/skills/refresh-fork/SKILL.md

refresh-fork is a skill for Claude Code, Codex from marin-community/marin. It costs 27 tokens per session (3,792 once invoked), scanned A, original, Apache-2.0.

A procedure for updating a configured external code fork onto a newer upstream version, where upstream means the original project it follows.

In plain words
What is it for?
It helps refresh fork overlays, update related fork groups together, run end-to-end tests, and prepare a draft pull request for promotion.
Why use it?
It coordinates rebasing, version pinning, and required testing so the fork is updated without moving its stable branch directly.

Skill for Claude CodeCodex

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

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/refresh-fork/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 refresh-fork

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/marin-community/marin/refresh-fork"><img src="https://agentmods.dev/badge/skills/marin-community/marin/refresh-fork.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,792 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Agent Snooping · line 52
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 278
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
  • medium Agent Snooping · line 273
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
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.00027 $0.03792
Opus 5.5 $0.00011 $0.01517
Sonnet 5.5 $0.00005 $0.00758
Haiku 4.5 $0.00003 $0.00379

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

Security

Grade A, and why

refresh-fork 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 14d 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/refresh-fork/SKILL.md · 276 lines

How it starts

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

Refresh a fork

Read AGENTS.md and the target descriptor. Select a source and replay the fork's patches onto main-next when a rebase is needed. A fork_main selector uses an existing stable source SHA.

For vllm-gpu, follow the GPU guide: review and land source on main, build and test the wheels, then test and open a Marin adoption PR. Other rebased forks test their staged sources before an admin moves main. The refresh agent never force-moves a protected branch.

Refresh a group as one unit and one PR. Per-fork guidance lives beside this file: docs/vllm.md covers the vllm/tpu-inference group and the GPU release pipeline, and docs/xla.md covers the XLA PJRT fork, which is pinned outside migration.toml entirely.

In local mode, ask before pushing fork branches, opening the PR, or filing an issue. The required end-to-end test needs no extra confirmation.

Read the Descriptor

Read the target fork's section in config/external/migration.toml. It gives:

  • upstream — the repo we rebase onto. Every fork has one.
  • group — if present, refresh every section in the group together in one PR (read them all now); if absent, this pin refreshes alone.
  • base_select — how to choose the new upstream base or existing fork source.
  • pin — where the resolved pin is recorded (isolated_project uv.lock, descriptor:<path>#<section> SHA, or release:<path> prebuilt wheel); drives the re-pin step.
  • branch — the maintained fork branch this pin tracks. All current forks use main. Rebase refreshes stage on main-next; fork_main selectors do not.
  • e2e — the Marin end-to-end that validates the refresh.
  • blocker_assignee — who owns the "can't migrate" issue.
  • nuances — constraints a human must respect (torch pins, known-good ceilings).

The descriptor records how to migrate; the pin source it names holds the actual revision.

Outcome

  • If no newer base is selected and no pin metadata needs repair, exit successfully with a no-op summary.
  • On success for a descriptor or isolated-project rebase, create the rollback and date tags described in docs/promotion-protocol.md for each rebased fork, then open exactly one draft PR in marin-community/marin for the fork or group after the e2e passes. A grouped refresh re-pins every group section at its staged tip in that single PR. State the exact main-next to main admin promotion still required, request the descriptor's blocker_assignee as reviewer, and monitor the PR per .agents/skills/manage-pr/SKILL.md.
  • For vllm-gpu, use docs/vllm.md for the source-review handoff and the later Marin adoption PR.
  • On an unresolved blocker, do not open a PR. Create or update one marin-community/marin issue assigned to blocker_assignee, titled Fork refresh blocked: <fork> — <short reason>, with current pins, the selected base, branch names/SHAs if created, attempted fixes, the remaining failure, and artifacts.

Read the full file on GitHub · 276 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 14d ago Changed · +1 lines 269c7daffcd6
  2. 15d ago Changed a5021e770c2e
  3. 17d ago Changed · -26 lines c35695f4289e
  4. 25d ago Changed · +9 lines b8471e61cfb7
  5. 1mo ago Changed · +7 lines 6bff64bfe3d9
  6. 2mo ago Changed · -50 lines 2404546fefe5
  7. 2mo ago First seen · 335 lines · 27 tokens per session scan A 650f9f6996b4

Subscribe to this mod's changes

refresh-fork is a skill published in the GitHub repository marin-community/marin (4,074 stars, last pushed today), licensed Apache-2.0. It adds 27 tokens to every session and 3,792 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-08-30.

Related

refresh-fork compared with skills from other repositories

refresh-fork next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
refresh-forkmarin-community/marinSkill4.1ktodayApache-2.0A27Claude Code, Codex
merge-batchdiegosouzapw/OmniRouteSkill83k5d agoMITA46Claude Code
prowler-commitprowler-cloud/prowlerSkill15kyesterdayApache-2.0A44Claude Code, Codex
gh-auth-isolationgithub/gh-awSkill5.6ktodayMITA20Claude Code, Codex
github-skillzeenie-ai/OpenCompanySkill1.1kyesterdayMITA51Claude Code
comet-githubrpamis/cometSkill3.3ktodayMITA72Claude Code, Codex
re0-mergeLilMGenius/paperthinSkill1.4k4d agoMITA70Claude Code