text

Official

Analyze and transform text with bash tools.

Authorvercel-labs
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill provides a set of Bash-based text processing tools to analyze and transform plain text files, helping you extract insights directly in the terminal.

Core Features & Use Cases

  • Statistics: Compute lines, words, and characters; display first/last lines.
  • Pattern Search: Find patterns with optional context and simple counts.
  • Extraction: Extract specific line ranges or sections using line numbers or pattern boundaries.
  • Word Frequency: Count and rank word frequencies in a file for quick content analysis.

Quick Start

Use the following commands to quickly analyze a file:

  • Get file statistics: bash /skills/text/scripts/stats.sh document.txt
  • Search for a pattern with line context: bash /skills/text/scripts/search.sh log.txt "ERROR" --context 2
  • Extract lines 10-20: bash /skills/text/scripts/extract.sh file.txt --lines 10-20
  • Show word frequencies: bash /skills/text/scripts/wordfreq.sh article.txt --top 10

Dependency Matrix

Required Modules

None required

Components

scripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: text
Download link: https://github.com/vercel-labs/bash-tool/archive/main.zip#text

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.