marin: Skill for Claude Code

.agents/skills/write-pipeline/SKILL.md

write-pipeline is a skill for Claude Code, Codex from marin-community/marin. It costs 46 tokens per session (418 once invoked), scanned A, original, Apache-2.0.

A guide for designing Marin experiment pipelines, which connect reusable work into a graph of data-producing steps. It separates reusable library code from experiment-specific workflow wiring and explains where tests belong.

In plain words
What is it for?
For adding workflow entry points, connecting stages, choosing inputs and dependencies, and testing experiment-specific pipelines.
Why use it?
It prevents workflow details from leaking into reusable code and makes pipeline structure and ownership clearer.

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/write-pipeline/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 write-pipeline

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/marin-community/marin/write-pipeline"><img src="https://agentmods.dev/badge/skills/marin-community/marin/write-pipeline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 418 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.00046 $0.00418
Opus 5.5 $0.00018 $0.00167
Sonnet 5.5 $0.00009 $0.00084
Haiku 4.5 $0.00005 $0.00042

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

Security

Grade A, and why

write-pipeline 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 15d 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/write-pipeline/SKILL.md · 17 lines

What it actually says

Write a Marin pipeline

Keep the boundary between work and workflow explicit:

  • lib/** owns concrete implementations intended for reuse: functions, configurations, and produced data types. New library code must not compose a pipeline, construct an ArtifactStep or StepSpec, or reference a particular artifact handle, name, version, or output. The execution framework's Artifact and ArtifactStep definitions are infrastructure, not a model for new library workflow builders.
  • experiments/** owns artifact graph construction and one-off binding code: choosing inputs, names, versions, dependencies, resources, and which reusable functions to run. Keep a transformation here only when it is specific to that experiment. Move work intended for reuse into a concrete lib/** implementation, then bind it in experiments/**.
  • Put experiment-specific tests beside their experiment, including tests of its graph and one-off transformations; do not put them in root tests/** or lib/**. Keep tests of reusable library behavior in the library's normal test location. Follow root TESTING.md and the relevant module instructions.

Inspect nearby current pipelines before editing. Read layout and examples for placement decisions and artifact binding when working with ArtifactStep, apply, paths, or caching. Existing library builders that return steps are exceptions, not precedent for adding more pipeline composition to lib/**.

For a change, verify that the experiment builds the intended dependencies and that reusable work can run without importing experiments/**. Dry-run the graph where the entrypoint supports it; run focused behavior tests without submitting a live job unless requested. Update user-facing docs when the workflow or API changes. Use the manage-pr skill if asked to publish the result.

Files

What ships with it

2 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. 15d ago Changed 54330fe1eca8
  2. 1mo ago First seen · 17 lines · 46 tokens per session scan A ddc657a58926

Subscribe to this mod's changes

write-pipeline is a skill published in the GitHub repository marin-community/marin (4,074 stars, last pushed today), licensed Apache-2.0. It adds 46 tokens to every session and 418 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-09-25.

Related

write-pipeline compared with skills from other repositories

write-pipeline next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
write-pipelinemarin-community/marinSkill4.1ktodayApache-2.0A46Claude Code, Codex
imagegenopenai/codexSkill133kyesterdayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill99kyesterdayApache-2.0A19Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79k4d agoMITA200Claude Code, Codex
systematic-debuggingobra/superpowersSkill313k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143ktodayMITA95Claude Code
next-partial-prefetching-adoptionvercel/next.jsSkill143ktodayMITA103Claude Code