Skip to content

vimalinx/bio-agent / .claude/skills/align-columns

align-columns

Verified

Use when pretty-printing tab-delimited output with left, center, right, or decimal-aware numeric alignment in EDirect text workflows.

FileKindSize
SKILL.mdskill md2.5 KB
references/help.mdmarkdown999 B
---
name: align-columns
description: Use when pretty-printing tab-delimited output with left, center, right, or decimal-aware numeric alignment in EDirect text workflows.
disable-model-invocation: true
user-invocable: true
---

# align-columns

## Quick Start

- **Command**: `printf 'a\t1.2\nlonger\t10.35\n' | PATH=/home/vimalinx/miniforge3/envs/bio/bin:$PATH /home/vimalinx/miniforge3/envs/bio/bin/align-columns -a ln`
- **Local executable**: `/home/vimalinx/miniforge3/envs/bio/bin/align-columns`
- **Full reference**: See [references/help.md](references/help.md) for complete options

## When To Use This Tool

- Make tab-delimited tables easier to read in the terminal or in generated reports.
- Align numeric columns on decimal points while leaving text columns left- or right-justified.
- Inspect width requirements or add extra spacing before sharing intermediate outputs with humans.

## Common Patterns

```bash
# 1) Left-align text and decimal-align numbers
printf 'a\t1.2\nlonger\t10.35\n' | \
  PATH=/home/vimalinx/miniforge3/envs/bio/bin:$PATH \
  /home/vimalinx/miniforge3/envs/bio/bin/align-columns -a ln
```

```bash
# 2) Use the built-in default layout shortcut
printf 'col1\tcol2\nx\ty\n' | \
  PATH=/home/vimalinx/miniforge3/envs/bio/bin:$PATH \
  /home/vimalinx/miniforge3/envs/bio/bin/align-columns -
```

```bash
# 3) Print only computed widths
printf 'a\t1.2\nlonger\t10.35\n' | \
  PATH=/home/vimalinx/miniforge3/envs/bio/bin:$PATH \
  /home/vimalinx/miniforge3/envs/bio/bin/align-columns -a w
```

## Recommended Workflow

1. Start from tab-delimited input with a consistent column count.
2. Choose an alignment string with `-a`, remembering that the last letter repeats for remaining columns.
3. Tune indentation and spacing with `-h` and `-g` only after the basic alignment mode looks right.
4. Use the aligned output for human inspection, not as the canonical machine-readable representation.

## Guardrails

- This wrapper relies on `transmute`; calling the absolute path without the bio / EDirect bin directory on `PATH` can fail with `transmute: command not found`.
- `-help`, `--help`, and `help` work, but `-version` is noisy in this environment because it delegates to `einfo -version`, which prints an error banner instead of a clean version string.
- The script expects tab-delimited input, despite many autogenerated summaries calling it a general whitespace aligner.
- Alignment letters are applied column-wise, with the last specified letter repeated for any remaining columns.
slack-gif-creatoranthropics/skillsKnowledge and utilities for creating animated GIFs optimized for Slack. Provides constraints, validation tools, and animation concepts. Use when users request animated GIFs for Slack like "make me a GIF of X doing Y for Slack."Stars: 198kUpdated Claude CodeCodexVerifiedInstall
ponytailDietrichGebert/ponytailLazy senior dev mode for any coding task: the smallest change that fully solves it, and a reply a busy human understands in one read.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailHarvest every shortcut: comment into one debt ledger, so deferrals get tracked instead of forgotten. One-shot report.Stars: 194kUpdated Claude CodeCodexVerifiedInstall
ponytail-debtDietrichGebert/ponytailList every `shortcut:` comment (and older `ponytail:` ones) as a debt ledger. One-shot report, changes nothing. Use for "ponytail debt", "what did ponytail defer", "list the shortcuts", /ponytail-debt.Stars: 194kUpdated Claude CodeCodexVerifiedInstall