text-processing SKILL.md skillA
text-processing from bug-ops/zeph is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add bug-ops/zeph/text-processing@v1.0Pins v1.0 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- A, 17 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- bug-ops/zeph
- Path
.zeph/skills/text-processing/SKILL.md- Versions recorded
- 3
- Latest version
- v1.0, committed Mar 30, 2026
- First version recorded
- Mar 21, 2026
- Size
- 8,641 bytes
- Repository stars
- 66
- License
- MIT
Transform, filter, sort, and analyze text using sed, awk, sort, uniq, cut, tr, wc, and other text processing tools. Use when the user asks to find and replace text in files, extract columns from data, count lines or words, sort and deduplicate output, reformat delimited data, perform field-based calculations, or build text transformation pipelines.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# Text Processing
Before running commands, detect the OS and load the matching reference for
platform-specific syntax and gotchas:
- **Linux** — `references/linux.md` (GNU sed/awk/sort with extended flags)
- **macOS** — `references/macos.md` (BSD sed/awk/sort, Homebrew GNU alternatives)
- **Windows** — `references/windows.md` (PowerShell: Select-String, Import-Csv, ForEach-Object)
OS detection:
```bash
uname -s 2>/dev/null || echo Windows
```
**Key platform difference:** `sed -i` syntax varies — check the OS reference before in-place edits.
## Quick Reference
| Task | Portable command |
|------|-----------------|
| Find and replace (stdout) | `sed 's/old/new/g' file` |
| Extract column | `awk '{print $2}' file` |
| Cut field (delimited) | `cut -d',' -f2 file` |
| Sort lines | `sort file` |
| Unique lines | `sort file \| uniq` |
| Count lines/words/chars | `wc -lwc file` |
| Translate characters | `tr 'a-z' 'A-Z' < file` |
| First N lines | `head -n 10 file` |
| Last N lines | `tail -n 10 file` |
## sed — Stream Editor
### Substitution (portable)
```bash
# Replace first occurrence per line
sed 's/foo/bar/' file.txt
# Replace all occurrences per line
…Read the whole file at its exact version.
How to install
mdr add bug-ops/zeph/text-processing@sha256:a8a6442740901918The line at the top of this page pins the label v1.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_kucgxm4nfutdsbrh)
3 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 3 versions of this file, between Mar 21, 2026 and Mar 30, 2026, about one every 4 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v1.0 latest | 2026-03-30 | c68c5de | 8,641 B | A | view · diff |
| v1.0 | 2026-03-21 | f1a698c | 8,626 B | A | view · diff |
| v1.0 | 2026-03-21 | a3fbaa5 | 8,627 B | A | view |
Audit of the latest version
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (8641 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No link to a raw IP address
- pass: No script tag
Source
bug-ops/zeph · 66 stars · license MIT · pushed 2026-11-03 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_kucgxm4nfutdsbrh GET https://markdownregistry.com/api/v1/resolve?ref=bug-ops/zeph/text-processing GET https://markdownregistry.com/api/v1/blob/a8a6442740901918fa7d629f43082b49e68276d3b373e345082f2e3496bed98d
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.