Agent skill

Affinity Proteomics

by ClawBio in ClawBio/ClawBio

Unified analysis pipeline for affinity-based proteomics platforms — Olink (PEA, NPX) and SomaLogic SomaScan (SOMAmer, RFU).

MITAuto-check passedResearch & Science

Install Affinity Proteomics

skills CLI
$ npx skills add ClawBio/ClawBio --skill affinity-proteomics -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install ClawBio/ClawBio affinity-proteomics --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/ClawBio/ClawBio.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/affinity-proteomics .claude/skills/affinity-proteomics && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
affinity-proteomics
GitHub stars
1.2k
Used in
1 other repo
Token cost
~1.8k tokens
SKILL.md length
518 words
Files
7
Skills in repo
104
Repo updated
First seen
Licence
MIT

At a glance

Unified analysis pipeline for affinity-based proteomics platforms — Olink (PEA, NPX) and SomaLogic SomaScan (SOMAmer, RFU).

  • Works in 6 steps: Dual-platform support: Olink NPX… → Platform-specific QC: Olink (QC_Warning,… → Differential abundance: t-test or… → …
  • Tasks that involve Bioinformatics
  • SKILL.md covers Why This Exists, Core Capabilities, Input Formats and CLI Reference, plus 7 more sections
  • Runs Python scripts from its folder; calls python

What it does

Affinity Proteomics is an agent skill from ClawBio/ClawBio. Unified analysis pipeline for affinity-based proteomics platforms — Olink (PEA, NPX) and SomaLogic SomaScan (SOMAmer, RFU). Platform-aware QC, normalisation, differential abundance, volcano plots, heatmaps, and PCA.

Its SKILL.md is about 1.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 8 other files (for example `affinity_proteomics.py`, `tests/__init__.py` and `tests/test_affinity_proteomics.py`).

It sits in Research & Science, covering Bioinformatics. The repository describes itself as: 🦖 ClawBio - The first bioinformatics-native AI agent skill library. Local-first. Reproducible. Open. Free. The licence is MIT.

When your agent uses it

  • Tasks that involve Bioinformatics

Example prompts

  • “/affinity-proteomics”

Requirements

  • Python 3
  • Node.js

Workflow steps

6 steps, taken from the first numbered list in SKILL.md.

  1. Dual-platform support: Olink NPX (CSV/Parquet) and SomaLogic ADAT under one interface
  2. Platform-specific QC: Olink (QC_Warning, LOD, sample median) / SomaLogic (RowCheck, ColCheck, normalisation scale factors, MAD outlier…
  3. Differential abundance: t-test or Mann-Whitney U with Benjamini-Hochberg FDR correction
  4. Visualisation: Volcano plot, heatmap (top N proteins), PCA plot
  5. Structured reporting: Markdown report, result.json, per-protein TSV, reproducibility bundle
  6. Skill Action Menu: result.json includes a workflow state plus read-only follow-up actions for compact report cards

What it can do on your machine

Read from SKILL.md and the folder at commit 5e045e3. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Links to these hosts (documentation or services it may open):

    • pubmed.ncbi.nlm.nih.gov
    • cran.r-project.org
    • pypi.org

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Affinity Proteomics loads about 1.8k tokens when it runs. Until then it costs about 59 tokens; SKILL.md has 518 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~59
When it runs · the whole SKILL.md, loaded when a task matches
~1.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from ClawBio/ClawBio at commit 5e045e3, republished under its MIT licence (© ClawBio). 518 words, ~1,801 tokens.

Download SKILL.mdSave it as .claude/skills/affinity-proteomics/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.
name
affinity-proteomics
description
Unified analysis pipeline for affinity-based proteomics platforms — Olink (PEA, NPX) and SomaLogic SomaScan (SOMAmer, RFU). Platform-aware QC, normalisation, differential abundance, volcano plots, heatmaps, and PCA.
license
MIT
metadata.version
0.1.0
metadata.author
Reza
metadata.tags
proteomics, olink, somalogic, somascan, npx, affinity, differential-abundance, biomarker

🧪 Affinity Proteomics Pipeline

You are Affinity Proteomics, a specialised ClawBio agent for Olink and SomaLogic SomaScan data analysis. Your role is to run platform-aware QC, differential abundance testing, and visualisation from affinity-based proteomics data.

Why This Exists

  • Without it: Researchers must write bespoke scripts for each platform — Olink NPX and SomaLogic ADAT have completely different file formats, normalisation methods, and QC conventions
  • With it: A single command handles both platforms with correct QC, normalisation, and analysis under a unified interface
  • Why ClawBio: The existing proteomics-de skill handles mass-spectrometry LFQ data (MaxQuant/DIA-NN) and does not cover affinity-based platforms. This skill fills that gap

Core Capabilities

  1. Dual-platform support: Olink NPX (CSV/Parquet) and SomaLogic ADAT under one interface
  2. Platform-specific QC: Olink (QC_Warning, LOD, sample median) / SomaLogic (RowCheck, ColCheck, normalisation scale factors, MAD outlier filtering)
  3. Differential abundance: t-test or Mann-Whitney U with Benjamini-Hochberg FDR correction
  4. Visualisation: Volcano plot, heatmap (top N proteins), PCA plot
  5. Structured reporting: Markdown report, result.json, per-protein TSV, reproducibility bundle
  6. Skill Action Menu: result.json includes a workflow state plus read-only follow-up actions for compact report cards

Input Formats

FormatExtensionPlatformExample
Olink NPX.csvOlink Explore / Target 96olink_demo_npx.csv
SomaLogic ADAT.adatSomaScan v4.0/v4.1example_data.adat (via somadata)
Sample metadata.csvBoth (Olink requires separate file)olink_demo_meta.csv

CLI Reference

bash
# Olink demo
python skills/affinity-proteomics/affinity_proteomics.py \
  --demo --platform olink --output /tmp/olink_demo

# SomaLogic demo
python skills/affinity-proteomics/affinity_proteomics.py \
  --demo --platform somascan --output /tmp/soma_demo

# Real Olink data
python skills/affinity-proteomics/affinity_proteomics.py \
  --platform olink --input data.csv --meta samples.csv \
  --group-col Group --contrast "Case,Control" --output results/

# Via ClawBio runner
python clawbio.py run affprot --demo --platform olink

Demo

bash
python clawbio.py run affprot --demo --platform olink

Expected output: Differential abundance report for 80 samples (40 Case / 40 Control) across 40 proteins, with 5 truly differentially expressed proteins recovered, volcano plot, heatmap, PCA, and reproducibility bundle.

Output Structure

  • report.md — markdown report with QC, differential abundance, and top-protein sections
  • result.json — structured summary with chat_summary_lines, preferred_artifacts, workflow_state, and suggested_actions
  • tables/diff_abundance.tsv — per-protein differential abundance table
  • figures/volcano.png, figures/heatmap.png, figures/pca.png — standard demo figures
  • reproducibility/ — command and software-version metadata
Show full SKILL.md (237 more words)Show less

Suggested Actions

The demo result emits workflow_state.lifecycle: "ready" and offers two read-only actions: Top Proteins and Volcano Summary. In chat, the user sees those labels as numbered options; selecting one runs the stored structured request.

state_id is derived as a SHA-256 hash over a compact deterministic state payload: platform, contrast, protein counts, significant-protein direction counts, and the top protein rows carried in each action request. If a stored request's state_id no longer matches that payload, the skill returns a structured expired result instead of rendering a stale follow-up.

json
{
  "workflow_state": {
    "state_schema": "affinity_proteomics.workflow_state.v1",
    "state_id": "sha256:...",
    "lifecycle": "ready",
    "state_label": "differential-abundance-ready",
    "description": "OLINK differential abundance results for Case vs Control are available."
  },
  "suggested_actions": [
    {
      "action_id": "show-top-proteins",
      "label": "Top Proteins",
      "estimate": "~5s",
      "request": {
        "schema": "affinity_proteomics.action_request.v1",
        "action": "top-proteins",
        "state_schema": "affinity_proteomics.workflow_state.v1",
        "state_id": "sha256:...",
        "n": 5,
        "platform": "olink",
        "contrast": ["Case", "Control"],
        "total_proteins_tested": 40,
        "significant_proteins": 5,
        "proteins": [
          {"protein_id": "OID00001", "gene": "GENE1", "log2fc": 0.0, "padj": "0.00e+00"}
        ]
      }
    }
  ]
}

Dependencies

Required:

  • somadata >= 1.2 — SomaLogic ADAT parsing
  • scipy >= 1.10 — statistical tests
  • statsmodels >= 0.14 — multiple testing correction
  • matplotlib >= 3.7 — plotting
  • seaborn >= 0.13 — heatmaps
  • numpy >= 1.24 — numerical operations
  • pandas >= 2.0 — data manipulation
  • scikit-learn >= 1.3 — PCA dimensionality reduction for sample-level QC plots

Safety

  • Local-first: All computation runs locally; no data uploaded
  • Disclaimer: Every report includes the ClawBio medical disclaimer
  • Platform-aware: Applies correct QC and normalisation per platform
  • No hallucinated science: All thresholds trace to platform vendor documentation

Integration with Bio Orchestrator

Trigger conditions — the orchestrator routes here when:

  • User mentions Olink, SomaLogic, SomaScan, NPX, ADAT, or affinity proteomics
  • User provides an Olink NPX CSV or SomaLogic ADAT file

Chaining partners:

  • proteomics-de: Complementary — handles mass-spec LFQ; this skill handles affinity platforms
  • diff-visualizer: Downstream — enhanced visualisation of differential abundance results

Citations

© ClawBio, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 6 other files in skills/affinity-proteomics of ClawBio/ClawBio.

  • SKILL.md
  • affinity_proteomics.py
  • example_data/olink_demo_meta.csv
  • example_data/olink_demo_npx.csv
  • requirements.txt
  • tests/__init__.py
  • tests/test_affinity_proteomics.py

Open the folder on GitHubat commit 5e045e3

Used in 1 other repository

We found 1 copy of this SKILL.md (exact, near-identical or edited) in other folders, from 1 other GitHub owner. This page covers the copy in ClawBio/ClawBio, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Affinity Proteomics next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Affinity Proteomics compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Affinity Proteomics this skillClawBio/ClawBio1.2k1 repos~1.8kAutomated safety check: PassMIT
Dbsnp Databasegoogle-deepmind/science-skills3.2k3 repos~3.4kAutomated safety check: NotesApache-2.0
Metabolic Study Planneraiming-lab/AutoResearchClaw15k—~1.9kAutomated safety check: PassMIT
13C Metabolic Flux AnalysisK-Dense-AI/scientific-agent-skills48k1 repos~3.2kAutomated safety check: PassMIT
Alphagenome Single Variant Analysisgoogle-deepmind/science-skills3.2k2 repos~3kAutomated safety check: NotesApache-2.0
MFA Pipeline Orchestratoraiming-lab/AutoResearchClaw15k—~923Automated safety check: PassMIT

Similar skills

  • Dbsnp Database

    google-deepmind/science-skills

    A skill your agent uses when you want to look up, map, and search for short genetic variants (SNPs, indels) in NCBI's dbSNP database.

    3.2k GitHub starsUsed in 3 repos~3.4k tokens
    Research & ScienceAuto-check: notes
  • Metabolic Study Planner

    aiming-lab/AutoResearchClaw

    Turns a broad metabolic modelling topic into a concrete, paper-shaped plan with organism, model, perturbations, metrics and figures before any FBA code is written.

    15k GitHub stars~1.9k tokensUpdated 1 mo ago
    Research & ScienceAuto-check passed
  • 13C Metabolic Flux Analysis

    K-Dense-AI/scientific-agent-skills

    Estimates reaction fluxes inside cells from steady-state carbon-13 labeling data with a bundled mfapy-based solver, and reports which fluxes the data pin down.

    48k GitHub starsUsed in 1 repo~3.2k tokens
    Research & ScienceAuto-check passed
  • Alphagenome Single Variant Analysis

    google-deepmind/science-skills

    Analyzes genetic variant effects on gene expression (RNA-seq), chromatin accessibility (DNASE), histone marks (ChIP), and transcription factors using the AlphaGenome API.

    3.2k GitHub starsUsed in 2 repos~3k tokens
    Research & ScienceAuto-check: notes
  • MFA Pipeline Orchestrator

    aiming-lab/AutoResearchClaw

    Runs a metabolic flux analysis from model loading to phenotype prediction and figures by handing work to four sub-agents in sequence.

    15k GitHub stars~923 tokensUpdated 1 mo ago
    Research & ScienceAuto-check passed
  • Singlecell Qc

    xuzhougeng/wisp-science

    A skill your agent uses when designing, reviewing, or implementing single-cell RNA-seq QC in Python or R with a human-in-the-loop, data-driven approach.

    1k GitHub stars~1.6k tokensUpdated today
    Research & ScienceAuto-check passed

More from ClawBio/ClawBio

All 104 skills in this repo
  • Fetch a region of cis-eQTL summary statistics from EBI eQTL Catalogue v7+ via tabix-on-FTP.

    1.2k GitHub starsUsed in 1 repo~4.3k tokens
    Auto-check passed
  • Xena Tcga Gene Query

    ClawBio/ClawBio

    Query TCGA tumor biology through the ucscxenatoolspy API. An agent skill from ClawBio/ClawBio.

    1.2k GitHub stars~4.7k tokensUpdated today
    Auto-check passed
  • Fetch a region of GWAS summary statistics from the NHGRI-EBI GWAS Catalog harmonised collection via tabix-on-FTP.

    1.2k GitHub starsUsed in 1 repo~3.5k tokens
    Auto-check passed
  • Dnasp

    ClawBio/ClawBio

    Population genetics of pre-aligned DNA sequences or multi-sample VCFs using selected DnaSP 6 methods.

    1.2k GitHub stars~5.1k tokensUpdated today
    Auto-check passed
  • Compute pairwise r² between a lead variant and every variant in a window using the 1000 Genomes Phase 3 GRCh38 reference panel, ancestry-stratified.

    1.2k GitHub stars~3.9k tokensUpdated today
    Auto-check passed
  • Ncbi Datasets

    ClawBio/ClawBio

    Download genomes, genes, virus sequences, and taxonomy data from NCBI using the datasets and dataformat CLI tools.

    1.2k GitHub starsUsed in 1 repo~2.8k tokens
    Auto-check passed

Questions about Affinity Proteomics

What does Affinity Proteomics do?

Unified analysis pipeline for affinity-based proteomics platforms — Olink (PEA, NPX) and SomaLogic SomaScan (SOMAmer, RFU). Affinity Proteomics is an agent skill from ClawBio/ClawBio. Unified analysis pipeline for affinity-based proteomics platforms — Olink (PEA, NPX) and SomaLogic SomaScan (SOMAmer, RFU).

When should I use Affinity Proteomics?

Affinity Proteomics fits situations like: tasks that involve Bioinformatics.

How do I install Affinity Proteomics in Claude Code?

Run `npx skills add ClawBio/ClawBio --skill affinity-proteomics -a claude-code`. Or copy the skill folder (skills/affinity-proteomics in ClawBio/ClawBio) into .claude/skills/affinity-proteomics in your project. Claude Code loads it when a task matches its description.

How do I install Affinity Proteomics in Codex?

Run `npx skills add ClawBio/ClawBio --skill affinity-proteomics -a codex`. Or copy the skill folder (skills/affinity-proteomics in ClawBio/ClawBio) into .agents/skills/affinity-proteomics in your project. Codex loads it when a task matches its description.

Can I use Affinity Proteomics in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add ClawBio/ClawBio --skill affinity-proteomics -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/affinity-proteomics, .gemini/skills/affinity-proteomics, .github/skills/affinity-proteomics and .opencode/skills/affinity-proteomics in your project.

What does Affinity Proteomics need to run?

Going by SKILL.md and its folder, Affinity Proteomics needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3; Node.js.

Does Affinity Proteomics access the network?

SKILL.md names 3 domains. As links in the text: pubmed.ncbi.nlm.nih.gov, cran.r-project.org and pypi.org. This is read from the text; nothing was executed.

Is Affinity Proteomics safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Affinity Proteomics use?

Affinity Proteomics is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Affinity Proteomics use?

About 1.8k tokens (SKILL.md is roughly 7.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Affinity Proteomics?

Skills that share tags, products or a category with Affinity Proteomics: Dbsnp Database (google-deepmind/science-skills, 3.2k stars), Metabolic Study Planner (aiming-lab/AutoResearchClaw, 15k stars), 13C Metabolic Flux Analysis (K-Dense-AI/scientific-agent-skills, 48k stars) and Alphagenome Single Variant Analysis (google-deepmind/science-skills, 3.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Affinity Proteomics?

ClawBio (a GitHub organization) maintains it in ClawBio/ClawBio, which has 1,154 GitHub stars. The repository holds 104 skills in this directory. The repository was last updated on October 7, 2026.

Source: ClawBio/ClawBio on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.