Agent skill

Sentiment Analysis

by Drchronx in Drchronx/ai-agent-research-starter-kit

Chinese sentiment analysis workflows using dictionary scoring, traditional machine learning classifiers, and LLM API calls.

Custom licenceAuto-check passedSales & Support

Install Sentiment Analysis

skills CLI
$ npx skills add Drchronx/ai-agent-research-starter-kit --skill sentiment-analysis -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Drchronx/ai-agent-research-starter-kit sentiment-analysis --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Drchronx/ai-agent-research-starter-kit.git skills-src && mkdir -p .claude/skills && cp -r skills-src/'综合学术部署包/05_文本挖掘与NLP Skills/sentiment-analysis' .claude/skills/sentiment-analysis && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
sentiment-analysis
GitHub stars
134
Token cost
~516 tokens
SKILL.md length
209 words
Files
9 (incl. scripts, references)
Skills in repo
53
Repo updated
First seen
Licence
Custom licence

At a glance

Chinese sentiment analysis workflows using dictionary scoring, traditional machine learning classifiers, and LLM API calls.

  • Works in 5 steps: Decide whether the task is covered by… → If unsupported, say the skill cannot… → If supported, write a plan before… → …
  • A user asks Codex to label sentiment
  • SKILL.md covers Operating Rule, Capability Map, Input Expectations and Course Context
  • Runs Python scripts from its folder

What it does

Sentiment Analysis is an agent skill from Drchronx/ai-agent-research-starter-kit. Chinese sentiment analysis workflows using dictionary scoring, traditional machine learning classifiers, and LLM API calls. Use when a user asks Codex to label sentiment, calculate dictionary sentiment scores, train a TF-IDF sentiment classifier, predict sentiment from a saved classifier, or call a large language model for sentiment classification on text files or short inputs.

Its SKILL.md is about 520 tokens, which your agent loads only when the skill is triggered. The skill folder holds 11 other files, including scripts and reference files (for example `agents/openai.yaml`, `readme.md` and `references/dictionary-method.md`).

It sits in Sales & Support, covering Customer feedback analysis, Machine learning and Natural language processing. The repository describes itself as: AI Agent 科研全流程教学包,能教学生从零部署 Codex、Claude Code、OpenClaw、Hermes 等 Agent,学会使用 Skills、飞书、AMiner、AI4Scholar、Zotero、Obsidian…

When your agent uses it

  • A user asks Codex to label sentiment
  • Calculate dictionary sentiment scores
  • Train a TF-IDF sentiment classifier
  • Predict sentiment from a saved classifier

Example prompts

  • “/sentiment-analysis”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Decide whether the task is covered by dictionary, machine-learning, or LLM sentiment analysis.
  2. If unsupported, say the skill cannot solve it and name the missing method or input.
  3. If supported, write a plan before running commands. Include the chosen method, reference file, script, required inputs, required columns…
  4. Ask for missing lexicon paths, label columns, model paths, or API key environment details when required.
  5. Execute the script by command line and report the produced files and key metrics.

What it can do on your machine

Read from SKILL.md and the folder at commit aab1133. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 3 files in scripts/ (Python), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Sentiment Analysis loads about 516 tokens when it runs, and up to ~1.4k if it reads all its reference files. Until then it costs about 100 tokens; SKILL.md has 209 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~100
When it runs · the whole SKILL.md, loaded when a task matches
~516
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 209 words (~516 tokens).

“Use this skill as a fixed command-line workflow. Do not write ad-hoc sentiment analysis code.”

— opening of SKILL.md by Drchronx, Custom licence
name
sentiment-analysis

Read the full SKILL.md on GitHub

Files

SKILL.md and 8 other files (scripts, references) in 综合学术部署包/05_文本挖掘与NLP Skills/sentiment-analysis of Drchronx/ai-agent-research-starter-kit.

  • SKILL.md
  • agents/openai.yaml
  • readme.md
  • references/dictionary-method.md
  • references/llm-method.md
  • references/machine-learning-method.md
  • scripts/dictionary_sentiment.py
  • scripts/llm_sentiment.py
  • scripts/ml_sentiment.py

Open the folder on GitHubat commit aab1133

Compare with similar skills

Sentiment Analysis next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Sentiment Analysis compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Sentiment Analysis this skillDrchronx/ai-agent-research-starter-kit134—~516Automated safety check: PassCustom licence
Text Analytics Methodsrevfactory/harness-1001.3k—~877Automated safety check: PassApache-2.0
Text Analytics Methodsrevfactory/harness-1001.3k—~518Automated safety check: PassApache-2.0
Christopher ManningK-Dense-AI/mimeo282—~1.8kAutomated safety check: PassMIT
Azure AI Textanalytics Pymicrosoft/skills3.1k6 repos~2.4kAutomated safety check: PassMIT
Sentiment Analyzerguia-matthieu/clawfu-skills150—~923Automated safety check: PassMIT

Similar skills

  • Text Analytics Methods

    revfactory/harness-100

    Text analytics methodology. An agent skill from revfactory/harness-100.

    1.3k GitHub stars~877 tokensUpdated 6 mo ago
    AI & LLM EngineeringAuto-check passed
  • Text Analytics Methods

    revfactory/harness-100

    텍스트 분석 방법론. An agent skill from revfactory/harness-100.

    1.3k GitHub stars~518 tokensUpdated 6 mo ago
    Sales & SupportAuto-check passed
  • Christopher Manning

    K-Dense-AI/mimeo

    Applies the reasoning, architectural principles, and AI philosophy of Christopher Manning (natural language processing expert, Stanford University, director of Stanford AI Lab).

    282 GitHub stars~1.8k tokensUpdated 1 mo ago
    AI & LLM EngineeringAuto-check passed
  • Official

    Azure AI Text Analytics SDK for sentiment analysis, entity recognition, key phrases, language detection, PII, and healthcare NLP.

    3.1k GitHub starsUsed in 6 repos~2.4k tokens
    Sales & SupportAuto-check passed
  • Sentiment Analyzer

    guia-matthieu/clawfu-skills

    Analyze sentiment in text using ML models. An agent skill from guia-matthieu/clawfu-skills.

    150 GitHub stars~923 tokensUpdated 6 days ago
    Sales & SupportAuto-check passed
  • Cs Analytics

    asgard-ai-platform/skills

    Measure and optimize customer service performance using CSAT, NPS, CES, First Contact Resolution, and text mining on support tickets.

    241 GitHub stars~1.4k tokensUpdated 4 mo ago
    Sales & SupportAuto-check passed

More from Drchronx/ai-agent-research-starter-kit

All 53 skills in this repo
  • Literature Reviewer Skill

    Drchronx/ai-agent-research-starter-kit

    Build high-quality literature reviews from a research topic using a 10-phase workflow.

    134 GitHub stars~2.5k tokensUpdated 4 mo ago
    Auto-check passed
  • Scenario Experiment Analysis

    Drchronx/ai-agent-research-starter-kit

    Analyze scenario/vignette experiment datasets for behavioral research.

    134 GitHub stars~1.1k tokensUpdated 4 mo ago
    Auto-check passed
  • Scenario Experiment Benchmark Mining

    Drchronx/ai-agent-research-starter-kit

    Mine and synthesize real top-journal scenario/vignette experiment patterns for behavioral research.

    134 GitHub stars~1.1k tokensUpdated 4 mo ago
    Auto-check passed
  • Web Browsing

    Drchronx/ai-agent-research-starter-kit

    Browse and summarize websites, extract content from URLs, search the web for information.

    134 GitHub stars~593 tokensUpdated 4 mo ago
    Auto-check passed
  • Multi Source Data Integration Extraction

    Drchronx/ai-agent-research-starter-kit

    Automatically merge scattered Excel and CSV files, normalize column names, and extract structured tables from PDF, HTML, TXT, or Markdown documents.

    134 GitHub stars~671 tokensUpdated 4 mo ago
    Auto-check passed
  • Scientific Slides

    Drchronx/ai-agent-research-starter-kit

    Build slide decks and presentations for research talks using Nano Banana Pro AI.

    134 GitHub stars~9.8k tokensUpdated 4 mo ago
    Auto-check: notes

Questions about Sentiment Analysis

What does Sentiment Analysis do?

Chinese sentiment analysis workflows using dictionary scoring, traditional machine learning classifiers, and LLM API calls. Sentiment Analysis is an agent skill from Drchronx/ai-agent-research-starter-kit. Chinese sentiment analysis workflows using dictionary scoring, traditional machine learning classifiers, and LLM API calls.

When should I use Sentiment Analysis?

Sentiment Analysis fits situations like: A user asks Codex to label sentiment; calculate dictionary sentiment scores; train a TF-IDF sentiment classifier; predict sentiment from a saved classifier.

How do I install Sentiment Analysis in Claude Code?

Run `npx skills add Drchronx/ai-agent-research-starter-kit --skill sentiment-analysis -a claude-code`. Or copy the skill folder (综合学术部署包/05_文本挖掘与NLP Skills/sentiment-analysis in Drchronx/ai-agent-research-starter-kit) into .claude/skills/sentiment-analysis in your project. Claude Code loads it when a task matches its description.

How do I install Sentiment Analysis in Codex?

Run `npx skills add Drchronx/ai-agent-research-starter-kit --skill sentiment-analysis -a codex`. Or copy the skill folder (综合学术部署包/05_文本挖掘与NLP Skills/sentiment-analysis in Drchronx/ai-agent-research-starter-kit) into .agents/skills/sentiment-analysis in your project. Codex loads it when a task matches its description.

Can I use Sentiment Analysis in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Drchronx/ai-agent-research-starter-kit --skill sentiment-analysis -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/sentiment-analysis, .gemini/skills/sentiment-analysis, .github/skills/sentiment-analysis and .opencode/skills/sentiment-analysis in your project.

What does Sentiment Analysis need to run?

Going by SKILL.md and its folder, Sentiment Analysis needs Python for the scripts in its folder. Our summary lists: Python 3.

Does Sentiment Analysis access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Sentiment Analysis safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Sentiment Analysis use?

Sentiment Analysis has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Sentiment Analysis use?

About 516 tokens (SKILL.md is roughly 2.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 895 tokens, read only when the agent opens those files.

What are the alternatives to Sentiment Analysis?

Skills that share tags, products or a category with Sentiment Analysis: Text Analytics Methods (revfactory/harness-100, 1.3k stars), Text Analytics Methods (revfactory/harness-100, 1.3k stars), Christopher Manning (K-Dense-AI/mimeo, 282 stars) and Azure AI Textanalytics Py (microsoft/skills, 3.1k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Sentiment Analysis?

Drchronx (a GitHub user) maintains it in Drchronx/ai-agent-research-starter-kit, which has 134 GitHub stars. The repository holds 53 skills in this directory. The repository was last updated on May 19, 2026.

Source: Drchronx/ai-agent-research-starter-kit on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.