Skip to content
Back to skills

Tables And Expressions

ASecurity

"Build Hail Table and expression pipelines for imports, keys,

  • 247 stars
  • 0 votes
  • 0 copies
  • 4 views
  • Added September 8, 2026
businessjavaexpressapibackend

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill tables-and-expressions --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Tables And Expressions?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Tables And Expressions
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-tables-and-expressions/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-tables-and-expressions)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: tables-and-expressions
description: "Build Hail Table and expression pipelines for imports, keys,
  joins, aggregations, schema inspection, previews, exports, and
  expression-scope troubleshooting."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# Hail Tables and Expressions

Use this sub-skill for Hail `Table` pipelines and row-indexed expression work: `hl.import_table`, `hl.read_table`, `Table.write`, `Table.export`, `annotate`, `filter`, `select`, `key_by`, keyed joins, `group_by`, `hl.agg`, schema inspection, small local previews, missing values, `Struct` fields, interval lookups, and expression source/index errors.

Before executing Hail queries, use `../setup-and-backends/SKILL.md` to choose and initialize the backend. This sub-skill assumes backend setup is already handled.

## Start Here

- For end-to-end import, schema, key, join, aggregation, and export recipes, read `references/table-workflows.md`.
- For compact signatures and method behavior, read `references/api-reference.md`.
- For expression-scope, missingness, import, join, preview, and write failures, read `references/troubleshooting.md`.
- For a safe dry-run-first starting point, adapt `scripts/table_pipeline_template.py`.

## Route Elsewhere

- MatrixTable rows, columns, entries, VCF/PLINK/BGEN, genotype fields, and genomic QC belong in `../genomics-analysis/SKILL.md`.
- Variant Dataset, sparse GVCF, combiner, and VDS dense/sparse conversion workflows belong in `../variant-datasets/SKILL.md`.
- Hail install/import, `hl.init`, Spark/local/Batch backend choice, Java/JAR/package asset failures, and root import troubleshooting belong in `../setup-and-backends/SKILL.md`.
- `hailtop.batch` DAGs, local/service Batch jobs, `hailctl`, Dataproc, HDInsight, and cloud CLI operations belong in `../batch-and-cli/SKILL.md`.

## Working Rules

- Rebind each table-returning transformation before using fields again: `ht = ht.filter(...)`, then reference `ht.field` from the rebound table.
- Use bracket access for imported names that are not valid identifiers or that collide with methods: `ht["sample id"]`, `ht["case.status"]`, `ht["select"]`.
- Key both sides before joins or bracket-index lookup; key count, order, and Hail types must match even when key field names differ.
- Keep `hl.agg` inside supported aggregation contexts such as `ht.aggregate(...)` and `ht.group_by(...).aggregate(...)`.
- Prefer explicit `types={...}` for stable text imports; use `impute=True` only for exploration and review inferred identifier types.
- Inspect with `describe()`, `row.dtype`, `globals.dtype`, `key`, `head(n).show()`, and small `take(n)` calls before large writes, exports, or joins.

Files in this skill

  • SKILL.md2.7 KB
  • references/api-reference.md8.3 KB
  • references/table-workflows.md9.2 KB
  • references/troubleshooting.md9.1 KB
  • scripts/table_pipeline_template.py10.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.