sdrf-skills: Instructions file for Claude Code

CLAUDE.md

sdrf-skills CLAUDE.md is an instructions file for Claude Code from bigbio/sdrf-skills. It costs 5,941 tokens per session, scanned A, original, MIT.

Repository instructions for an AI assistant working on sdrf-skills, a project that teaches assistants to annotate proteomics sample-description files.

In plain words
What is it for?
Use them when developing or testing sdrf-skills, especially its Markdown workflows, Python tools, and specification submodule.
Why use it?
They explain the repository layout, available workflows, commands, and rules needed to make safe, consistent changes.

Instructions file for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: mentions .claude-plugin; mentions CLAUDE.md; mentions Claude Code.

This is bigbio/sdrf-skills's own configuration. It tells Claude Code how to work on sdrf-skills 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 sdrf-skills configures →

Runs only inside a plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else, and the catalogue could not identify which plugin ships it.

Reuse

Borrowing it

Nothing to install: this file belongs to bigbio/sdrf-skills. 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/bigbio/sdrf-skills/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/bigbio/sdrf-skills

Made for: Claude Code.

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 sdrf-skills CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/bigbio/sdrf-skills/claude-md/github.svg)](https://agentmods.dev/instructions/bigbio/sdrf-skills/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/bigbio/sdrf-skills/claude-md"><img src="https://agentmods.dev/badge/instructions/bigbio/sdrf-skills/claude-md/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 sdrf-skills CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/bigbio/sdrf-skills/claude-md"><img src="https://agentmods.dev/badge/instructions/bigbio/sdrf-skills/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 5,941 This file is loaded in full into every session.
When invoked 5,941 The same file — it is already loaded in full.
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.05941 $0.05941
Opus 5.5 $0.02376 $0.02376
Sonnet 5.5 $0.01188 $0.01188
Haiku 4.5 $0.00594 $0.00594

Measured yesterday against content hash 34cda8cfd2b9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sdrf-skills CLAUDE.md 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 yesterday.

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.

CLAUDE.md · 290 lines

How it starts

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

CLAUDE.md

This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.

What this repo is

A skills-first repo: the product is skills/*/SKILL.md — markdown workflows that teach an AI assistant to annotate proteomics SDRF files. Supporting Python lives in tools/. Specification data is not stored here; it is read at runtime from the spec/ git submodule.

Skills are auto-discovered — .claude-plugin/plugin.json carries no skills key, so Claude Code scans the skills/ directory automatically. Each SKILL.md declares its own name and routing description in frontmatter. Currently 4: sdrf-annotate, sdrf-contribute, sdrf-campaign (invoked as /sdrf-skills:sdrf-annotate etc. once installed as a marketplace plugin) plus sdrf-adversarial-review, which sdrf-annotate dispatches into a fresh context at Step 9.5 and which is never typed. sdrf-annotate is the one entry point for everything about one SDRF - create (review always included), review/validate/check/score/fix an existing file, look up cell lines and terms, verify technical metadata from raw files, plan, explain. Its references/ hold what used to be separate skills (setup, knowledge, templates, validate, fix, techrefine, cellline, review, design). Run ls skills/ for the current set — do not trust a hardcoded skill count anywhere in this repo; README.md alone carries three contradictory numbers, and commit d5c4c70 exists only to repair drift.

Commands

# Tests (126, ~2s, no network). CI runs: python -m pytest tests/ -v --tb=short
python -m pytest tests/ -q
python -m pytest tests/test_parser.py -q                                # single file
python -m pytest tests/test_services.py::TestPRIDEClient::test_get_project_mock -q  # single test (tests use classes)
python -m pytest tests/ -q -k unimod                                    # by keyword

# Lint — NOT in CI, and currently RED: 32 errors (28 F401, 4 F541), all auto-fixable.
# tools/review_gate.py is clean; the rest predates it. Run `ruff check --fix` before gating on it.
ruff check tools/ tests/

# Submodule: TWO levels deep (spec/ -> spec/sdrf-proteomics/sdrf-templates).
# `--recursive` is mandatory or templates.yaml is silently MISSING.
git submodule update --init --recursive     # restore pinned state (what you usually want)
git submodule update --remote --recursive   # advance to upstream tip; leaves a dirty gitlink

# tools CLI: `sdrf-tools` console script after `pip install -e .`; `python -m tools` also works from the repo root
sdrf-tools --help   # check, structure, contract, build, score, fix, benchmark, massive-files,
                         # verify, cellline, review-gate, reconcile, audit-existing, curated,
                         # bruker-dia, search-params

Read the full file on GitHub · 290 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. yesterday Changed · +2 lines · +55 tokens per session 34cda8cfd2b9
  2. 11d ago Changed · -2 lines · -80 tokens per session cbc19975d2f8
  3. 1mo ago Changed · +1 lines · +6 tokens per session ece546354ba0
  4. 1mo ago Changed · +250 tokens per session 2fac4da614b3
  5. 1mo ago Changed · +11 lines · +248 tokens per session 5ff25b46d05d
  6. 1mo ago Changed · +33 tokens per session dfdb759f871a
  7. 1mo ago First seen · 278 lines · 5,429 tokens per session scan A e06a7a3b5d04

Subscribe to this mod's changes

sdrf-skills CLAUDE.md is an instructions file published in the GitHub repository bigbio/sdrf-skills (19 stars, last pushed yesterday), licensed MIT. It adds 5,941 tokens to every session, about $0.0238 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

Other instructions, from other repositories