bcftools-variant-filtering-starter

bcftools-variant-filtering-starter is a skill for Claude Code, Codex from ma-compbio-lab/SkillFoundry. It costs 0 tokens per session (311 once invoked), scanned A, original, Apache-2.0.

A small example workflow for filtering VCF files, which store DNA variants, with bcftools. It writes the passing variants to a compressed file and summarizes the results.

In plain words
What is it for?
Use it to test filter expressions, count input and retained variants, and record the IDs that passed.
Why use it?
It provides a repeatable example for checking variant-filtering logic before applying it to larger datasets.

Skill for Claude CodeCodex

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

Good fit Use it to test filter expressions, count input and retained variants, and record the IDs that passed.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ma-compbio-lab/skillfoundry/bcftools-variant-filtering-starter
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 ma-compbio-lab/SkillFoundry --skill bcftools-variant-filtering-starter
Clone the repo
git clone --depth 1 https://github.com/ma-compbio-lab/SkillFoundry

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 bcftools-variant-filtering-starter

README.md
[![agentmods](https://agentmods.dev/badge/skills/ma-compbio-lab/skillfoundry/bcftools-variant-filtering-starter.svg)](https://agentmods.dev/skills/ma-compbio-lab/skillfoundry/bcftools-variant-filtering-starter)
Your own site
<a href="https://agentmods.dev/skills/ma-compbio-lab/skillfoundry/bcftools-variant-filtering-starter"><img src="https://agentmods.dev/badge/skills/ma-compbio-lab/skillfoundry/bcftools-variant-filtering-starter.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 311 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.00000 $0.00311
Opus 5 $0.00000 $0.00156
Sonnet 5 $0.00000 $0.00062
Haiku 4.5 $0.00000 $0.00031

Measured 4d ago against content hash 57749c4de972, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

bcftools-variant-filtering-starter 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.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/run_bcftools_variant_filtering.py, tests/test_run_bcftools_variant_filtering.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/genomics/bcftools-variant-filtering-starter/SKILL.md · 30 lines

What it actually says

bcftools Variant Filtering Starter

Use this skill to run a deterministic bcftools view filtering example on a tiny VCF and capture the kept variants in a compact JSON summary.

What it does

  • Runs bcftools view with a configurable include expression against a local VCF.
  • Writes a compressed filtered VCF plus a tabix index.
  • Summarizes the input record count, passing record count, and kept IDs for testing and demos.

When to use it

  • You need a runnable starter for VCF filtering logic.
  • You want a tiny verified example before building cohort-scale post-calling workflows.
  • You need a smoke-testable wrapper around bcftools in the repo-managed genomics environment.

Example

python3 skills/genomics/bcftools-variant-filtering-starter/scripts/run_bcftools_variant_filtering.py \
  --input skills/genomics/bcftools-variant-filtering-starter/examples/toy_variants.vcf \
  --out scratch/genomics/bcftools_variant_filtering_summary.json \
  --filtered-vcf-out scratch/genomics/toy_variants.filtered.vcf.gz

Verification

  • Skill-local tests: python3 -m unittest discover -s skills/genomics/bcftools-variant-filtering-starter/tests -p 'test_*.py'
  • Expected summary: passing_record_count == 2 and kept_ids == ["varA", "varC"]
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 · 30 lines · 0 tokens per session scan A 57749c4de972

Subscribe to this mod's changes

bcftools-variant-filtering-starter is a skill published in the GitHub repository ma-compbio-lab/SkillFoundry (38 stars, last pushed 4mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 311 tokens. 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

Other skills, from other repositories

bim-validation-report

Generate comprehensive BIM model validation reports. Check data quality, completeness, and compliance with standards.

datadrivenconstruction/DDC_Skills_for_AI_Agents_in_Construction · 23 tokens

cluster-umap-layout-reproducibility-benchmarking

Use when you have executed an end-to-end SnapATAC2 pipeline on the pbmc10kmultiome dataset (or a similar single-cell ATAC-seq dataset with a published reference) and need to validate that spectral embedding, Leiden clustering, and UMAP layout have converged to expected cluster identities and.

HolobiomicsLab/asb-skill-collections · 76 tokens

computational-complexity-validation

Use when when an algorithm claims linear or sublinear time/space complexity (e.g., matrix-free spectral embedding) and you need to verify that claim holds for datasets at the scale intended (10 million+ cells).

HolobiomicsLab/asb-skill-collections · 50 tokens

checksum-verification-for-reproducibility

Use when you have executed a complex multi-step processing pipeline (e.g., ENCODE Hi-C uniform processing pipeline) and need to confirm that the generated output files match a known reference baseline.

HolobiomicsLab/asb-skill-collections · 47 tokens

end-to-end-bioinformatics-pipeline-testing

Use when after cloning or installing a peak-calling or genomic analysis tool from a repository, before using it on production data.

HolobiomicsLab/asb-skill-collections · 35 tokens

epic-array-simulation-benchmark

Use when when developing or validating a DNA methylation array analysis pipeline using ChAMP, you need an independent ground-truth dataset to confirm that DMR detection is working correctly.

HolobiomicsLab/asb-skill-collections · 43 tokens