Skip to content
Back to skills

Trim

ASecurity

Data trimming reference — whitespace trimming, string cleanup, data truncation, outlier trimming, and signal processing. Use when cleaning text data, removing noise, or preparing datasets by trimming unwanted elements.

  • 12 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 7, 2026
toolsgobashsqlgitdatabase

Works with

  • cli

Security analysis

A100/100

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

Scanned September 7, 2026

npx -y skills add bytesagain/ai-skills --skill trim --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Trim?

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

Security grade badge for Trim
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/bytesagain-trim/badge)](https://www.skillsdirectory.com/skills/bytesagain-trim)

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: "trim"
version: "1.0.0"
description: "Data trimming reference — whitespace trimming, string cleanup, data truncation, outlier trimming, and signal processing. Use when cleaning text data, removing noise, or preparing datasets by trimming unwanted elements."
author: "BytesAgain"
homepage: "https://bytesagain.com"
source: "https://github.com/bytesagain/ai-skills"
tags: [trim, clean, strip, whitespace, truncate, outlier, data-processing, atomic]
category: "atomic"
---

# Trim — Data Trimming Reference

Quick-reference skill for data trimming techniques across text, numeric, and signal data.

## When to Use

- Trimming whitespace from strings (leading, trailing, internal)
- Cleaning and normalizing text data
- Trimming outliers from statistical datasets
- Truncating data to fit constraints (columns, buffers)
- Signal trimming and noise removal
- Database column trimming and cleanup

## Commands

### `intro`

```bash
scripts/script.sh intro
```

Overview of trimming — concepts, types, and when to use each.

### `string`

```bash
scripts/script.sh string
```

String trimming — whitespace, characters, patterns, normalization.

### `numeric`

```bash
scripts/script.sh numeric
```

Numeric trimming — outliers, percentile clipping, winsorizing.

### `text`

```bash
scripts/script.sh text
```

Text data cleaning — encoding, invisible characters, BOM removal.

### `database`

```bash
scripts/script.sh database
```

Database trimming — SQL functions, column cleanup, data migration.

### `signal`

```bash
scripts/script.sh signal
```

Signal and time-series trimming — noise removal, smoothing, clipping.

### `examples`

```bash
scripts/script.sh examples
```

Practical trimming examples across languages and tools.

### `pitfalls`

```bash
scripts/script.sh pitfalls
```

Common trimming pitfalls and best practices.

### `help`

```bash
scripts/script.sh help
```

### `version`

```bash
scripts/script.sh version
```

## Configuration

| Variable | Description |
|----------|-------------|
| `TRIM_DIR` | Data directory (default: ~/.trim/) |

---

*Powered by BytesAgain | bytesagain.com | hello@bytesagain.com*

Files in this skill

  • SKILL.md2.1 KB
  • scripts/script.sh17.9 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.

View all in tools →

Comments

Loading comments…

Newsletter

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