- Home
- Skills
- Writing & Content
- Text All Done - 7 Offline Text Tools
Works with the AI Agents you already use
Text All Done - 7 Offline Text Tools
Seven offline text utilities in one pack: encoding conversion, normalisation, dedupe, regex replace, unified diff, statistics and splitting. Pure Python standard library, no network, never overwrites the input.
Free
Text All Done - 7 Offline Text Tools
Example session with this skill installed
I have a messy log file called 'server.log'. I need to remove duplicate lines (ignoring case), normalize the newlines to LF, and get a report on the top 10 duplicates.
- Read your context and instructions
- Compiled the text all done
I have processed 'server.log' using the deduplication and normalization utilities. The duplicate lines were removed regardless of case, and all newlines have been standardized to LF. A new file server_cleaned.log has been created to ensure your original data remains untouched.
Text Processing Results
| Metric | Value |
|---|---|
| Original File | server.log |
| Processed File | server_cleaned.log |
| Total Lines Processed | 1,250 |
| Unique Lines Kept | 842 |
| Duplicates Removed | 408 |
| Newline Format | LF (\n) |
| Similarity Score | 67.4% |
Top 10 Duplicate Occurrences
ERROR: Connection timed out(84 times)INFO: Heartbeat signal sent(62 times)WARNING: High memory usage detected(45 times)DEBUG: Cache cleared successfully(38 times)ERROR: Database connection lost(31 times)INFO: User login successful(29 times)WARNING: Disk space below 10%(24 times)INFO: Daily backup started(22 times)DEBUG: Session invalidated(18 times)ERROR: Authentication failed(15 times)
Next steps
- Verify the cleaned content in
server_cleaned.log. - Run
txt-statson the new file if you need character-level metrics or reading time estimates. - Use
txt-splitif the cleaned log is still too large for your analysis tools.
Connects securely to your tools. The creator never sees your data.
About this skill
Managing inconsistent text data across legacy encodings and messy formats wastes development time. This skill provides seven standalone Python utilities to clean, convert, and analyze local text files without external dependencies or network calls.
What it does
- Encoding conversion Detects source encodings like GB18030 or Latin-1 and converts to UTF-8 or GBK.
- Text normalization Standardizes newlines, removes BOMs, and trims whitespace or blank lines.
- Smart deduplication Removes duplicate lines with options for case sensitivity and whitespace ignoring.
- Regex replacement Executes bulk regex tasks with group references and lookbehind support.
- Unified diffing Compares two files with independent encoding detection and similarity scores.
- Detailed statistics Calculates reading time, character counts, and language distribution.
- Safe splitting Breaks files by lines or bytes at line boundaries with an automatic manifest.
How it works
- Selection Choose the specific utility script for your task from the
scripts/directory. - Execution Run the script using Python 3 with the desired flags like
--dry-runor--literal. - Review Check the console for match counts, statistics, or similarity reports.
- Output Retrieve the newly created output file; the skill never overwrites your original source data.
Frameworks & tools
Built entirely on the Python 3 standard library. It requires zero third-party packages, making it compatible with any environment running a basic Python interpreter.
Why this beats prompting it yourself
Prompting an LLM to clean text often results in truncated data or hallucinated regex patterns. These scripts provide deterministic, local execution that handles large files an LLM context window cannot support while ensuring data privacy.
Use cases
- Legacy migration Convert old GBK or Big5 files to modern UTF-8 for database imports.
- Log cleaning Deduplicate and normalize server logs for easier analysis.
- Content auditing Analyze language mix and reading time for large document sets.
- Dataset preparation Split massive text files into manageable chunks for training.
Known limitations
Standard library only, so it cannot process PDF or .docx formats directly. Encoding detection is heuristic and may misjudge rare character sets.
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Writing & Content.
Requires Python 3 environment. No support for binary formats like PDF or Word. Encoding detection relies on heuristics and may require manual override for complex files.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Free to use
No account required to browse
Trust & safety
Security scan
Security scan passed today
- Free with an Agensi account
- Software
Python
Python 3.9 or newer must be installed locally. No third-party packages needed.
Permissions
Reads only the input files you select; writes new output files via -o and refuses to overwrite the input. No network calls, no secrets, no environment variables, no external services.