Text analysis basic

From Drchronx/ai-agent-research-starter-kit · View interactive version

Text analysis basic is an AI agent skill from the GitHub repository Drchronx/ai-agent-research-starter-kit. Basic Chinese NLP and text analysis workflows for PDF text/table extraction, jieba tokenization, word and sentence frequency, word clouds, TF-IDF, Word2Vec, sentence embeddings, and text similarity. Use when a user asks Codex to extract text from PDFs, segment Chinese text, count terms or sentences,

How to use this skill

Skill file

Text Analysis Basic

Operating Rule

Use this skill as a command-line workflow, not as a code-writing prompt.

  1. Decide whether the user's request is covered by the capabilities below.
  2. If it is not covered, state that the skill cannot solve it and identify the missing capability.
  3. If it is covered, write a short plan before running commands. The plan must list:
  1. Ask only for missing data paths or parameters that cannot be inferred safely.
  2. Execute the relevant script with command-line arguments. Do not write one-off Python code for the operation.

Use absolute paths when passing files to scripts.

Capability Map

Input Expectations

Supported inputs are:

If the user provides a CSV/XLSX path without a text column, inspect the header and ask the user to choose the column when ambiguous.

Course Context

This skill follows the current course notebooks for text preprocessing, vectorization, and similarity:

The scripts are the source of truth for repeatable execution.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.