Skip to content
Back to skills

Text Processor

ASecurity

Batch Chinese text processing — clean, normalize, translate, extract keywords, and format text for content production.

  • 3 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 9, 2026
toolsapi

Works with

  • api

Security analysis

A100/100

Scanned September 9, 2026

npx -y skills add Lord1Egypt/awesome-skill-forge --skill text-processor --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Text Processor?

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

Security grade badge for Text Processor
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/lord1egypt-text-processor/badge)](https://www.skillsdirectory.com/skills/lord1egypt-text-processor)

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: text-processor
description: Batch Chinese text processing — clean, normalize, translate, extract keywords, and format text for content production.
---

# Text Processor

A batch text processing utility for content workflows. Handles Chinese text normalization, cleaning, formatting, and structured extraction. Designed for content creators, editors, and automation pipelines.

## Features

- **Text cleaning**: Remove extra whitespace, fix punctuation, normalize quotes
- **Chinese normalization**: Convert full-width/half-width, simplify/traditional
- **Batch processing**: Process multiple text items in one call
- **Format conversion**: Markdown ↔ plain text, numbered lists, tables
- **Keyword extraction**: Extract key terms and phrases from Chinese text

## Usage

```js
const processor = require('./skills/text-processor');

// Clean and normalize
const cleaned = processor.clean("  Hello,世界!  This has ”bad” quotes.  ");
// → "Hello,世界!This has "bad" quotes."

// Extract keywords from Chinese text
const keywords = processor.extractKeywords("今天天气很好,适合出去郊游");
// → ["天气", "郊游", ...]

// Batch process
const results = processor.batch([
  "  文本1  ",
  "  文本2  "
], 'clean');
// → ["文本1", "文本2"]
```

## API

### `clean(text)`
Normalize and clean Chinese/English mixed text:
- Trim whitespace
- Collapse multiple spaces
- Normalize quotes («»「」"" → standard "")
- Normalize full-width/half-width punctuation

### `extractKeywords(text, maxCount?)`
Extract meaningful keywords from Chinese text using TF heuristics.

### `batch(items, operation, options?)`
Process an array of texts with the same operation.

## License

MIT

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.