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.
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.
curl -O https://raw.githubusercontent.com/marin-community/marin/main/.agents/skills/simplify-code/SKILL.mdgit clone --depth 1 https://github.com/marin-community/marinWrote 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/marin-community/marin/simplify-code)<a href="https://agentmods.dev/skills/marin-community/marin/simplify-code"><img src="https://agentmods.dev/badge/skills/marin-community/marin/simplify-code/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/marin-community/marin/simplify-code"><img src="https://agentmods.dev/badge/skills/marin-community/marin/simplify-code.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.00033 | $0.01103 |
| Opus 5.5 | $0.00013 | $0.00441 |
| Sonnet 5.5 | $0.00007 | $0.00221 |
| Haiku 4.5 | $0.00003 | $0.00110 |
Grade A, and why
simplify-code 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.
How it starts
The opening of the file, as written. The whole thing — 129 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Simplify a branch or diff
Apply this workflow when cleanup of a branch or diff is explicitly requested.
Use review-pr for independent findings without code edits. manage-pr owns
publication and feedback after the cleanup is ready.
Load The Policies
Read these before reviewing:
- root
AGENTS.md - root
TESTING.md docs/dev-guide/writing-style/ai-writing-donts.md- the nearest module
AGENTS.mdand testing guide for each changed test
Read references/examples.md when the diff changes tests or prose.
Establish The Review Surface
Review the merge-base diff. Do not substitute commit history or the latest commit.
UPSTREAM=$(git rev-parse --verify origin/main 2>/dev/null || git rev-parse --verify main)
BASE=$(git merge-base HEAD "$UPSTREAM")
git status --short
git diff --stat "$BASE"
git diff --check "$BASE"
git diff "$BASE"
uv run python .agents/skills/simplify-code/scripts/scan_diff.py "$BASE"
List every changed test, comment, docstring, Markdown file, commit message, and draft PR title/body. Read the surrounding production code and existing tests. The scanner includes untracked files and returns candidates; inspect each one in context.
Gate Tests By Behavioral Value
For every changed test, finish this sentence:
This test fails when ___ user-visible or system behavior is wrong.
Delete or rewrite the test when the blank names an implementation detail, wording choice, supplied fixture value, or language guarantee.
Reject these patterns aggressively:
- config in, same config out: a constructed or lowered field equals the fixture
- constructor assignment, enum value, type, attribute, registration, or import exists
- exact log, help, error, command, or status prose that no machine consumes
- private state, helper call count, or
assert_called_once_with - production logic copied into the expected value
is not None,does not raise, empty smoke tests, or permanent skips- a large matrix whose rows exercise the same branch
- golden output produced by the implementation under test
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.
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.
- 14d ago Changed · +6 lines e3facd45f54f
- 15d ago First seen · 123 lines · 33 tokens per session scan A 605591236269
simplify-code is a skill published in the GitHub repository marin-community/marin (4,074 stars, last pushed today), licensed Apache-2.0. It adds 33 tokens to every session and 1,103 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-23.
simplify-code compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| simplify-codemarin-community/marin | Skill | 4.1k | today | Apache-2.0 | A | 33 | Claude Code, Codex |
| prYeachan-Heo/oh-my-claudecode | Skill | 41k | yesterday | MIT | A | 47 | Claude Code |
| merge-batchdiegosouzapw/OmniRoute | Skill | 83k | 5d ago | MIT | A | 46 | Claude Code |
| otto-pr-review-loopomnigent-ai/omnigent | Skill | 11k | today | Apache-2.0 | A | 17 | Claude Code, Codex |
| engram-branch-prGentleman-Programming/engram | Skill | 7.8k | today | MIT | A | 37 | Claude Code, Codex |
| github-contributordaymade/claude-code-skills | Skill | 1.5k | yesterday | MIT | A | 105 | Claude Code, Codex |
| revdiffumputun/revdiff | Skill | 945 | yesterday | MIT | A | 250 | Claude Code |