OpenParable
Skip to content
← Back to skills

Text Analysis

Documents
text_analysis

Text Analysis is an Agent Skill for documents published in the mofa-org/mofa repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Analyze text for sentiment, entities, keywords, and linguistic patterns

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/mofa-org/mofa/blob/HEAD/examples/skills/text_analysis/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/text-analysis, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Text Analysis Skill

This skill provides natural language processing capabilities for text analysis.

When to Use

Use this skill when you need to:

  • Analyze text sentiment (positive/negative/neutral)
  • Extract named entities (people, places, organizations)
  • Identify keywords and phrases
  • Perform text classification
  • Summarize long documents

Analysis Types

Sentiment Analysis

Determines the emotional tone of text:

  • Positive: Expresses satisfaction, happiness, approval
  • Negative: Expresses dissatisfaction, sadness, disapproval
  • Neutral: Factual or informational content

Entity Extraction

Identifies and categorizes:

  • People: Person names
  • Places: Locations, addresses
  • Organizations: Companies, institutions
  • Dates: Temporal expressions
  • Numbers: Quantities, measurements

Keyword Analysis

Extracts important terms and phrases:

  • TF-IDF scoring
  • Phrase frequency
  • Collocation detection

Code Tools

@code: python analyze.py --input {input} - Perform various text analyses

Example Usage

Analyze the sentiment of this customer review: "The product exceeded my expectations!"
Result: Positive sentiment detected (confidence: 0.95)
Extract entities from: "Apple Inc. was founded by Steve Jobs in Cupertino, California."
Entities:
- Organization: Apple Inc.
- Person: Steve Jobs
- Location: Cupertino, California