Agent skill
text-summarizer-zhenxiay-langgraph-dev-server
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/productivity/text-summarizer-zhenxiay-langgraph-dev-server
SKILL.md
Text Summarizer
Intelligent text processing service that automatically determines whether to summarize or translate content based on configurable length thresholds, with async batch processing capabilities.
Core Functionality
Use scripts/text_summarizer.py for bulk text processing operations:
- Smart routing: Texts above length threshold ? summarization; texts below ? translation
- Async processing: Efficient batch operations with concurrent API calls
- Flexible input: Process pandas DataFrames or CSV files
- Configurable: Adjustable length thresholds, model selection, temperature settings
Quick Start
Process a DataFrame with default settings:
uv run scripts/text_summarizer.py --input data.csv --text-column content --output results.csv
Advanced Configuration
Custom length threshold (default: 500 words):
uv run scripts/text_summarizer.py --input data.csv --length 1000 --text-column review
Model selection (default: gpt-4.1):
uv run scripts/text_summarizer.py --input data.csv --model gpt-4o-mini --temperature 0.3
API Reference
For programmatic usage and advanced customization, see API_REFERENCE.md for complete NotesSummarizer class documentation.
Error Handling
- Missing dependencies: Ensure LangChain, pandas, and OpenAI libraries are installed
- API limits: Script handles retries automatically with exponential backoff
- File access: Verify input file paths and write permissions for output files
- Column names: Specify correct text column name with
--text-columnparameter
Environment Requirements
- Python 3.11+
- OpenAI API key configured
- Required packages:
langchain,pandas,tqdm,numpy
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?