applying-code-standards

applying-code-standards is a skill for Claude Code, Codex from MannLabs/proteomics-agent-skills. It costs 41 tokens per session (1,143 once invoked), scanned A, original, Apache-2.0.

A set of standards for writing and reviewing scientific data-analysis code. It focuses on readable structure, documented settings, checked inputs, reproducible results and separate raw data.

In plain words
What is it for?
Use it when creating or reviewing analysis pipelines, including their configuration file, pinned dependencies and setup documentation.
Why use it?
It reduces the risk that analysis code is hard to maintain, cannot be rerun, or produces results that are difficult to verify.

Skill for Claude CodeCodex

Part of the proteomics plugin — 11 skills shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/mannlabs/proteomics-agent-skills/applying_code_standards
Any agent
npx skills add MannLabs/proteomics-agent-skills --skill applying_code_standards
Clone the repo
git clone --depth 1 https://github.com/MannLabs/proteomics-agent-skills

Made for: Claude Code, Codex.

Or install proteomics, the plugin that ships this one along with the rest of its 11 skills.

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 applying-code-standards

README.md
[![agentmods](https://agentmods.dev/badge/skills/mannlabs/proteomics-agent-skills/applying_code_standards.svg)](https://agentmods.dev/skills/mannlabs/proteomics-agent-skills/applying_code_standards)
Your own site
<a href="https://agentmods.dev/skills/mannlabs/proteomics-agent-skills/applying_code_standards"><img src="https://agentmods.dev/badge/skills/mannlabs/proteomics-agent-skills/applying_code_standards.svg" alt="Measured on agentmods" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,143 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00041 $0.01143
Opus 5 $0.00020 $0.00571
Sonnet 5 $0.00008 $0.00229
Haiku 4.5 $0.00004 $0.00114

Measured 4d ago against content hash 133e574397e8, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

applying-code-standards 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 4d 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.

plugins/proteomics/skills/applying_code_standards/SKILL.md · 165 lines

How it starts

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

Applying Code Standards

Review checklist for ensuring analysis code meets quality standards for maintainability and reproducibility. Covers project structure, readability, reproducibility, and documentation.


Required Output Files (MANDATORY)

Your analysis MUST include these files. Do not consider the analysis complete without them:

  1. config.py - All parameters with rationale comments explaining each threshold
  2. requirements.txt - Pinned dependency versions (e.g., pandas==2.0.3)
  3. README.md - Setup and usage instructions

Checklist

Copy this checklist and track progress:

Code Quality Review:
- [ ] Project structure
- [ ] Readability
- [ ] No unnecessary duplication
- [ ] Configuration is explicit
- [ ] Inputs are validated
- [ ] Reproducibility
- [ ] Documentation
- [ ] Housekeeping

Guidelines

1. Project Structure

  • ALWAYS maintain a clean, consistent directory layout
  • Separate exploratory work (notebooks, helper scripts) from production code (modules)
  • Treat raw data as immutable — never overwrite originals
  • ALWAYS create requirements.txt with the python version (echo "# "$(python --version) >> requirements.txt) and pinned versions (pip freeze >> requirements.txt) to capture the software environment for reproducibility.

Required: requirements.txt example:

# Python 3.13.2
pandas==2.0.3
numpy==1.24.0

2. Readability

  • A program should not require readers to hold more than a handful of facts in memory at once
  • Make names consistent, distinctive, and meaningful (functions, variables, files)
  • Make code style and formatting consistent
  • Keep functions small and focused — each should do one thing well
  • Do not comment and uncomment sections of code to control behavior; use configuration instead
  • Avoid hardcoded paths: use pathlib and relative paths or environment variables
  • Keep data loading, processing, analysis, and visualization in distinct stages

3. No Unnecessary Duplication

Read the full file on GitHub · 165 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. 4d ago First seen · 165 lines · 41 tokens per session scan A 133e574397e8

Subscribe to this mod's changes

applying-code-standards is a skill published in the GitHub repository MannLabs/proteomics-agent-skills (14 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 41 tokens to every session and 1,143 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.

Related

Other skills, from other repositories

proteomics-de

Load when computing two-group differential protein abundance (group2 vs group1, log2FC + p-value + BH-adjusted FDR) via Welch t-test, equal-variance t-test, or Mann-Whitney on a wide protein × sample CSV. Skip when you need multi-condition DE (run pairwise contrasts manually); label-based TMT linear-mixed models.

TianGzlab/OmicsClaw · 79 tokens

proteomics-ptm

Load when summarising PTM sites (phosphorylation, acetylation, ubiquitination, etc.) from a per-site CSV — site-class assignment (Olsen et al. Class I/II/III by localizationprobability), per-PTM-type counts, amino-acid distribution, sites-per-protein. Skip when raw spectra are the input; you only need protein-level…

TianGzlab/OmicsClaw · 95 tokens

proteomics-quantification

Load when computing per-protein abundance from a peptide / PSM table via LFQ (intensity summation), iBAQ (intensity / tryptic peptide count), or spectral counting (PSMs per protein). Skip when the input is already protein-level (use proteomics-ms-qc); label-based TMT / iTRAQ workflows (search upstream first).

TianGzlab/OmicsClaw · 80 tokens

proteomics-structural

Load when summarising cross-linking MS (XL-MS) results — intra/inter-protein link split, optional FDR filtering, distance-constraint validation against a per-crosslinker (DSS / BS3 / EDC / DSSO / DSBU) max distance. Skip when raw spectra are the input (run XlinkX / pLink / xiSEARCH first); no XL-MS experiment was…

TianGzlab/OmicsClaw · 88 tokens

proteomics-data-import

Load when ingesting a MaxQuant proteinGroups.txt, FragPipe combinedprotein.tsv, DIA-NN report, or generic CSV / TSV protein-quantification table — normalises columns to a standard schema, emits tables/proteins.csv. Skip when raw spectra are the input (run the search engine first); the file is already OmicsClaw schema.

TianGzlab/OmicsClaw · 81 tokens

proteomics-enrichment

Load when running over-representation analysis (ORA) on a list of proteins via Fisher's exact test against a built-in 8-pathway DEMO dictionary, with BH-FDR correction. Skip when needing a real pathway database (this skill is demo-only) (use bulkrna-enrichment); rank-based GSEA.

TianGzlab/OmicsClaw · 70 tokens