marin: Skill for Claude Code

.agents/skills/lint-review/SKILL.md

lint-review is a skill for Claude Code, Codex from marin-community/marin. It costs 36 tokens per session (1,323 once invoked), scanned A, original, Apache-2.0.

A read-only review process that checks a pull request, a proposed code change, for infrastructure and linting problems and reports findings as comments.

In plain words
What is it for?
Use it in CI or when explicitly asked to review a pull request with the repository’s lint review command.
Why use it?
It surfaces issues without changing the branch, while keeping each reported finding tied to the relevant file and line when possible.

Skill for Claude CodeCodex

Written for Claude Code and Codex: allowed-tools in frontmatter, but also runs codex exec. Also seen: installed under .agents/ (shared by several agents); 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 →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is Bash(./infra/pre-commit.py:*), Bash(gh pr comment:*), Bash(gh pr view:*), Bash(gh pr diff:*), Bash(gh api:*), Bash(git diff:*), Bash(git log:*), Bash(git show:*.

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 · 3,607 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/lint-review/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 lint-review

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/marin-community/marin/lint-review"><img src="https://agentmods.dev/badge/skills/marin-community/marin/lint-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 36 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,323 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: 1 finding, up to high

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 →

  • high Prompt Injection · line 30
    Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.
    Fix: Audit all comments and invisible characters. Remove any instructions that direct the agent to perform unauthorized actions. Use plain, reviewable content.
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.00036 $0.01323
Opus 5 $0.00018 $0.00661
Sonnet 5 $0.00007 $0.00265
Haiku 4.5 $0.00004 $0.00132

Measured 13d ago against content hash 19b8f82bfb7f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

lint-review 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 13d 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/lint-review/SKILL.md · 121 lines

How it starts

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

Skill: Lint-catalog review on a PR

Run the infra/lint/ catalog review (./infra/pre-commit.py --review) over a pull request's branch diff and surface every finding — as file:line inline review comments where the finding's line is available, and as a single fallback comment for the rest.

Your contract

You are running the review and reporting its output. You are read-only except for posting comments: never edit, stage, commit, push, or "fix" anything, and never run a state-changing git/gh command. The review's own lane agents are already locked read-only.

Report the findings faithfully. The --review run (its lanes + composer) is the authority on what is a finding: post each surviving finding verbatim — one comment per finding. Do not drop, merge, reword the substance of, soften, re-judge, or invent findings. Silently losing a real finding is the one unforgivable error; so is fabricating one.

Steps

  1. Idempotency guard (only with --comment). Check whether this skill has already posted on the PR: look for the marker <!-- marin-lint-review --> in both issue comments (gh pr view <PR> --json comments) and inline review comments (gh api repos/{owner}/{repo}/pulls/<PR>/comments --paginate). If the marker is present, stop now — the PR already has a lint pass and we do not want duplicate comments. Otherwise continue.

  2. Run the review. From the repo root:

    head_sha="$(git rev-parse HEAD)"
    MARIN_REVIEW_TRIGGER=ci \
      MARIN_REVIEW_PR_NUMBER=<PR> \
      MARIN_REVIEW_HEAD_SHA="$head_sha" \
      ./infra/pre-commit.py --review --agent-command='codex exec'
    

    The command writes its raw per-arm prompts/outputs and the combined findings under /tmp/marin-linter/<branch>/<timestamp>-<uniq>/ (path printed at the end); read it if a run looks wrong.

  3. Collect the findings. Each finding the command emits on stdout is one line in the canonical catalog format:

    <path>:<line>: ml-<code> (<confidence>) <message>
    

Read the full file on GitHub · 121 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. 13d ago First seen · 121 lines · 36 tokens per session scan A 19b8f82bfb7f

Subscribe to this mod's changes

lint-review is a skill published in the GitHub repository marin-community/marin (3,607 stars, last pushed today), licensed Apache-2.0. It adds 36 tokens to every session and 1,323 once invoked, about $0.0002 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-30.