tooluniverse-immune-repertoire-analysis

tooluniverse-immune-repertoire-analysis is a skill for Claude Code, Codex from AndyZhuang/Opentest. It costs 103 tokens per session (8,262 once invoked), scanned A, original, MIT.

An analysis workflow for T-cell and B-cell receptor sequencing data, which measures immune-cell diversity, expansion, and receptor patterns.

In plain words
What is it for?
Use it to identify and track clonotypes, measure repertoire diversity and clonality, study V(D)J and CDR3 patterns, predict epitope specificity, and connect receptor clones with single-cell traits.
Why use it?
It helps researchers turn large receptor-sequencing datasets into evidence about immune responses and possible antigen recognition.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to identify and track clonotypes, measure repertoire diversity and clonality, study V(D)J and CDR3 patterns, predict epitope specificity, and connect receptor clones with single-cell traits.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/andyzhuang/opentest/tooluniverse-immune-repertoire-analysis
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.

Any agent
npx skills add AndyZhuang/Opentest --skill tooluniverse-immune-repertoire-analysis
Clone the repo
git clone --depth 1 https://github.com/AndyZhuang/Opentest

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 tooluniverse-immune-repertoire-analysis

README.md
[![agentmods](https://agentmods.dev/badge/skills/andyzhuang/opentest/tooluniverse-immune-repertoire-analysis/github.svg)](https://agentmods.dev/skills/andyzhuang/opentest/tooluniverse-immune-repertoire-analysis)
Your own site
<a href="https://agentmods.dev/skills/andyzhuang/opentest/tooluniverse-immune-repertoire-analysis"><img src="https://agentmods.dev/badge/skills/andyzhuang/opentest/tooluniverse-immune-repertoire-analysis/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 tooluniverse-immune-repertoire-analysis

Your own site · 80×15
<a href="https://agentmods.dev/skills/andyzhuang/opentest/tooluniverse-immune-repertoire-analysis"><img src="https://agentmods.dev/badge/skills/andyzhuang/opentest/tooluniverse-immune-repertoire-analysis.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 103 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,262 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.
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.00103 $0.08262
Opus 5.5 $0.00041 $0.03305
Sonnet 5.5 $0.00021 $0.01652
Haiku 4.5 $0.00010 $0.00826

Measured 3mo ago against content hash 4a531f1b921b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tooluniverse-immune-repertoire-analysis 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 3mo 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.

skills/labclaw/bio/tooluniverse-immune-repertoire-analysis/SKILL.md · 950 lines

How it starts

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

ToolUniverse Immune Repertoire Analysis

Comprehensive skill for analyzing T-cell receptor (TCR) and B-cell receptor (BCR) repertoire sequencing data to characterize adaptive immune responses, clonal expansion, and antigen specificity.

Overview

Adaptive immune receptor repertoire sequencing (AIRR-seq) enables comprehensive profiling of T-cell and B-cell populations through high-throughput sequencing of TCR and BCR variable regions. This skill provides an 8-phase workflow for:

  • Clonotype identification and tracking
  • Diversity and clonality assessment
  • V(D)J gene usage analysis
  • CDR3 sequence characterization
  • Clonal expansion and convergence detection
  • Epitope specificity prediction
  • Integration with single-cell phenotyping
  • Longitudinal repertoire tracking

Core Workflow

Phase 1: Data Import & Clonotype Definition

Load AIRR-seq Data

import pandas as pd
import numpy as np
from collections import Counter

def load_airr_data(file_path, format='mixcr'):
    """
    Load immune repertoire data from common formats.

    Supported formats:
    - 'mixcr': MiXCR output
    - 'immunoseq': Adaptive Biotechnologies ImmunoSEQ
    - 'airr': AIRR Community Standard
    - '10x': 10x Genomics VDJ output
    """
    if format == 'mixcr':
        # MiXCR clonotypes.txt format
        df = pd.read_csv(file_path, sep='\t')
        
        # Standardize column names
        clonotype_df = pd.DataFrame({
            'cloneId': df.get('cloneId', range(len(df))),
            'count': df.get('cloneCount', df.get('count', 0)),
            'frequency': df.get('cloneFraction', df.get('frequency', 0)),
            'cdr3aa': df.get('aaSeqCDR3', df.get('cdr3', '')),
            'cdr3nt': df.get('nSeqCDR3', ''),
            'v_gene': df.get('allVHitsWithScore', df.get('v_call', '')),
            'j_gene': df.get('allJHitsWithScore', df.get('j_call', '')),
            'chain': df.get('chain', 'TRB')  # Default to TRB
        })

    elif format == '10x':
        # 10x Genomics filtered_contig_annotations.csv
        df = pd.read_csv(file_path)
        
        # Group by barcode to get clonotypes
        clonotype_df = df.groupby('barcode').agg({
            'cdr3': lambda x: ','.join(x.dropna()),
            'cdr3_nt': lambda x: ','.join(x.dropna()),
            'v_gene': lambda x: ','.join(x.dropna()),
            'j_gene': lambda x: ','.join(x.dropna()),
            'chain': lambda x: ','.join(x.dropna()),
            'umis': 'sum'
        }).reset_index()
        
        clonotype_df = clonotype_df.rename(columns={
            'barcode': 'cloneId',
            'cdr3': 'cdr3aa',
            'cdr3_nt': 'cdr3nt',
            'umis': 'count'
        })
        
        clonotype_df['frequency'] = clonotype_df['count'] / clonotype_df['count'].sum()

    elif format == 'airr':
        # AIRR Community Standard
        df = pd.read_csv(file_path, sep='\t')
        
        clonotype_df = pd.DataFrame({
            'cloneId': df.get('clone_id', range(len(df))),
            'count': df.get('duplicate_count', 1),
            'frequency': df.get('clone_frequency', df.get('duplicate_count', 1) / df.get('duplicate_count', 1).sum()),
            'cdr3aa': df.get('junction_aa', ''),
            'cdr3nt': df.get('junction', ''),
            'v_gene': df.get('v_call', ''),
            'j_gene': df.get('j_call', ''),
            'chain': df.get('locus', 'TRB')
        })

    # Calculate additional metrics
    clonotype_df['cdr3_length'] = clonotype_df['cdr3aa'].str.len()
    
    return clonotype_df

# Load TCR repertoire
tcr_data = load_airr_data("clonotypes.txt", format='mixcr')
print(f"Loaded {len(tcr_data)} unique clonotypes")
print(f"Total reads: {tcr_data['count'].sum()}")

Read the full file on GitHub · 950 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. 3mo ago First seen · 950 lines · 103 tokens per session scan A 4a531f1b921b

Subscribe to this mod's changes

tooluniverse-immune-repertoire-analysis is a skill published in the GitHub repository AndyZhuang/Opentest (22 stars, last pushed 8mo ago), licensed MIT. It adds 103 tokens to every session and 8,262 once invoked, about $0.0004 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-09-03.

Related

tooluniverse-immune-repertoire-analysis compared with skills from other repositories

tooluniverse-immune-repertoire-analysis next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tooluniverse-immune-repertoire-analysisAndyZhuang/OpentestSkill228mo agoMITA103Claude Code, Codex
arboretoK-Dense-AI/scientific-agent-skillsSkill59k4d agoMITA55Claude Code, Codex
torchdrugK-Dense-AI/scientific-agent-skillsSkill59k4d agoMITA64Claude Code
deepspot-mK-Dense-AI/scientific-agent-skillsSkill59k4d agoMITA70Claude Code
pyhealthK-Dense-AI/scientific-agent-skillsSkill59k4d agoMITA84Claude Code, Codex
nemo-mbridge-perf-expert-parallel-overlapNVIDIA/skillsSkill4.3kyesterdayApache-2.0A56Claude Code
tao-validate-recipe-transferNVIDIA/skillsSkill4.3kyesterdayApache-2.0A179Claude Code