boundary-detection-thresholding

boundary-detection-thresholding is a skill for Claude Code, Codex from HolobiomicsLab/asb-skill-collections. It costs 41 tokens per session (1,475 once invoked), scanned A, original, Apache-2.0.

A bioinformatics skill that turns Hi-C insulation scores into genomic boundary annotations. Hi-C is a method for measuring which parts of DNA come close together, and TADs are regions of the genome that interact more within themselves.

In plain words
What is it for?
Use it after calculating insulation scores with cooltools to call TAD boundaries with Li or Otsu statistical thresholding for analysis or visualization.
Why use it?
It helps convert a continuous signal into clear boundaries between genomic regions, while identifying data conditions where the result may be unreliable.

Skill for Claude CodeCodex

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

Good fit Use it after calculating insulation scores with cooltools to call TAD boundaries with Li or Otsu statistical thresholding for analysis or visualization.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/holobiomicslab/asb-skill-collections/boundary-detection-thresholding
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 HolobiomicsLab/asb-skill-collections --skill boundary-detection-thresholding
Clone the repo
git clone --depth 1 https://github.com/HolobiomicsLab/asb-skill-collections

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 boundary-detection-thresholding

README.md
[![agentmods](https://agentmods.dev/badge/skills/holobiomicslab/asb-skill-collections/boundary-detection-thresholding/github.svg)](https://agentmods.dev/skills/holobiomicslab/asb-skill-collections/boundary-detection-thresholding)
Your own site
<a href="https://agentmods.dev/skills/holobiomicslab/asb-skill-collections/boundary-detection-thresholding"><img src="https://agentmods.dev/badge/skills/holobiomicslab/asb-skill-collections/boundary-detection-thresholding/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 boundary-detection-thresholding

Your own site · 80×15
<a href="https://agentmods.dev/skills/holobiomicslab/asb-skill-collections/boundary-detection-thresholding"><img src="https://agentmods.dev/badge/skills/holobiomicslab/asb-skill-collections/boundary-detection-thresholding.svg" alt="Reviewed on agentmods" width="80" 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,475 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00041 $0.01475
Opus 5 $0.00020 $0.00737
Sonnet 5 $0.00008 $0.00295
Haiku 4.5 $0.00004 $0.00147

Measured 10d ago against content hash 537ff52aa2bc, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

boundary-detection-thresholding 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 10d 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.

collections/epigenomics/v1/skills/boundary-detection-thresholding/SKILL.md · 98 lines

How it starts

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

boundary-detection-thresholding

Summary

Automated detection of topologically associating domain (TAD) boundaries from Hi-C insulation scores using statistical thresholding (Li or Otsu methods). This skill converts continuous insulation profiles into discrete boundary annotations for characterizing genome compartmentalization.

When to use

When you have computed per-bin insulation scores from a Hi-C cooler file using cooltools.insulation and need to identify discrete genomic boundaries that separate topological domains. Use this skill when insulation scores are available as a numeric array with values corresponding to window-specific measures of local domain insulation, and you need boolean boundary annotations for downstream visualization or structural analysis.

When NOT to use

  • Input contact matrix is low-resolution (<10 kb bins) or sparse; insulation scores become unreliable below ~5 kb resolution.
  • Hi-C data lacks sufficient sequencing depth or has extreme bias artifacts; thresholding will fail to separate signal from noise.
  • Boundaries have already been called by another method and you need only to intersect or validate them; use boundary comparison/overlap tools instead.

Inputs

  • cooler file (.cool or .mcool) containing Hi-C contact matrix and bin table
  • window size parameter (integer, in base pairs or as number of bins)
  • genomic region coordinates (optional, for subsetting analysis)

Outputs

  • pandas DataFrame with columns: region1, region2, insulation_score (numeric), is_boundary_{window} (boolean)
  • BED format file of detected boundaries (chrom, start, end, is_boundary flag)
  • insulation score table exportable as TSV or CSV

How to apply

Apply cooltools.insulation with a specified window size parameter (e.g., 50 kb or 100 kb) to compute insulation scores for each genomic bin. The function simultaneously performs thresholding to detect insulating boundaries using either Li or Otsu automated threshold selection. Li thresholding assumes a bimodal distribution of insulation scores (signal vs. background), while Otsu maximizes between-class variance. The output includes per-bin insulation score values and boolean is_boundary_{window} columns indicating which bins cross the computed threshold. Choose the thresholding method based on your domain's expected boundary prominence: Otsu is more conservative and works well for clear TAD structure, while Li may be more sensitive to subtle boundaries. Validate that output scores fall within expected numeric ranges and boundary annotations are strictly boolean; verify row count matches input bin count.

Read the full file on GitHub · 98 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. 10d ago First seen · 98 lines · 41 tokens per session scan A 537ff52aa2bc

Subscribe to this mod's changes

boundary-detection-thresholding is a skill published in the GitHub repository HolobiomicsLab/asb-skill-collections (15 stars, last pushed 4d ago), licensed Apache-2.0. It adds 41 tokens to every session and 1,475 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

gsva-analysis-and-visualization

Use this skill to run GSVA or ssGSEA pathway-level differential analysis from a bulk expression matrix and a sample group file, then generate a heatmap from the saved GSVA result object. Trigger keywords: GSVA, ssGSEA, pathway enrichment, KEGG pathway analysis, MSigDB. NOT for: gene-level differential expression…

aipoch/medical-research-skills · 88 tokens

medical-research-literature-reader-pro

A medical-research-native literature reading skill for users with clinical, bioinformatics, translational, and basic experimental backgrounds. Use this skill whenever a user wants to read, analyze, critique, or interpret a medical or scientific paper — whether they provide a PDF, abstract, DOI, PMID, or just a title.…

aipoch/medical-research-skills · 199 tokens

anatomy-quiz-master

Generate interactive anatomy quizzes for medical education with multiple.

aipoch/medical-research-skills · 17 tokens

decision-curve-analysis

Use when evaluating the clinical utility of a binary prediction model from a single clinical CSV file by fitting a logistic decision-curve model, plotting decision and clinical-impact curves, and exporting summary outputs. NOT for: survival calibration, ROC-only discrimination analysis, nomogram construction, or…

aipoch/medical-research-skills · 64 tokens

elastic-net-feature-selection

Use when selecting predictive genes or other molecular features from bulk expression matrices for binary case-vs-control classification with elastic net logistic regression, including coefficient path and cross-validation plots. Trigger keywords: elastic net, glmnet, feature selection, binary classification…

aipoch/medical-research-skills · 83 tokens

roc-diagnostic-performance

Use when evaluating diagnostic biomarker performance from case-control expression data with logistic regression and ROC curves, exporting coefficient and AUC tables together with a ROC PDF. NOT for: survival analysis, time-to-event outcomes, multiclass classification, calibration curves, decision-curve analysis, or…

aipoch/medical-research-skills · 64 tokens