- Home
- Skills
- Productivity
- Text Toolkit
Works with the AI Agents you already use
Text Toolkit
Summarize text, extract keywords, check readability, and remove duplicate lines with Python. Use when the user or agent wants to shorten, measure, or clean up a text file.
Free
Text Toolkit
Example session with this skill installed
Summarize this article in 3 sentences
- Read your context and instructions
- Compiled the text toolkit
Here is an extractive summary of article.txt — 3 of its 24 sentences, in their original order and quoted exactly as written:
- Good writing is clear writing.
- Short sentences carry more weight than long ones.
- Revise by cutting, not by adding.
This is an extractive summary: it quotes the article's own sentences rather than rewriting them. If you expected a rewritten summary, say so — this skill does not write new sentences.
Your original file was not changed.
Other things I can do with plain text files:
- Extract keywords: the most frequent words, with stopwords removed — for example 'Top 5 keywords: writing: 9 (4.2%)'.
- Check readability: the Flesch reading ease score and level, so you know whether your text is easy to read.
- Remove duplicate lines: keep the first occurrence and write the rest to a new file — for example 'Deduped: removed 6 duplicate line(s). Saved: clean.txt'.
All work is local — no cloud AI, no upload.
Connects securely to your tools. The creator never sees your data.
About this skill
Manually processing large text files for summaries or cleanup is slow and prone to human error. This skill provides a suite of Python-based utilities to analyze and organize plain text files locally without relying on external cloud APIs.
What it does
- Extractive summarization selects the most representative sentences from a document while maintaining their original order.
- Keyword extraction identifies the most frequent terms in a text file after filtering out common stopwords.
- Readability scoring calculates the Flesch reading ease score and provides a grade-level estimate.
- Line deduplication scans files for redundant content and removes duplicate lines while preserving the first occurrence.
How it works
- Validate format by confirming the target file is plain text before beginning any operations.
- Run analysis using the
texttool.pyscript with specific flags for summarization, keywords, or readability. - Clean data by executing the dedupe command to output a unique-line version of the file.
- Report findings by quoting extracted sentences exactly or listing word frequency percentages.
Frameworks & tools
This skill utilizes a Python-based CLI tool named texttool.py. It operates entirely on local text files and does not require internet connectivity or third-party LLM credits for its core processing logic.
Why this beats prompting it yourself
Prompting an LLM for these tasks often results in rewritten summaries that lose the original phrasing or hallucinations in keyword counts. This tool ensures 100% accuracy in extraction and line-by-line deduplication that generative models frequently fail to execute perfectly on long files.
Use cases
- Generate 3-sentence extractive summaries for long technical articles.
- Extract top 10 keywords and their frequencies from documentation.
- Audit the reading level of user manuals using Flesch scores.
- Remove duplicate entries from log files or raw list exports.
Known limitations
Works only with plain text files. Summaries are strictly extractive and will not paraphrase. Keyword extraction is frequency-based and does not account for semantic importance.
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 8 days ago
- Free with an Agensi account
- Software
Python 3.10+
Permissions
What's inside
Frequently Asked Questions
New in Productivity
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Productivity.