Agent skill

Topic Modeling

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

Topic modeling workflows for Chinese corpora using LDA, Dynamic Topic Model/DTM, and BERTopic.

Custom licenceAuto-check passed

Install Topic Modeling

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

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

GitHub CLI
$ gh skill install Drchronx/ai-agent-research-starter-kit topic-modeling --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/topic-modeling' .claude/skills/topic-modeling && 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
topic-modeling
GitHub stars
134
Token cost
~561 tokens
SKILL.md length
250 words
Files
9 (incl. scripts, references)
Skills in repo
53
Repo updated
First seen
Licence
Custom licence

At a glance

Topic modeling workflows for Chinese corpora using LDA, Dynamic Topic Model/DTM, and BERTopic.

  • Works in 6 steps: Decide whether the request is LDA, DTM,… → If unsupported, state that this skill… → If supported, write a plan before… → …
  • A user asks Codex to discover topics
  • SKILL.md covers Operating Rule, Capability Map, Input Expectations and Course Context
  • Runs Python scripts from its folder

What it does

Topic Modeling is an agent skill from Drchronx/ai-agent-research-starter-kit. Topic modeling workflows for Chinese corpora using LDA, Dynamic Topic Model/DTM, and BERTopic. Use when a user asks Codex to discover topics, train LDA models, compute topic keywords, model topic evolution over time, train DTM, run BERTopic, export document-topic assignments, or create topic visualization outputs from text files or tabular corpora.

Its SKILL.md is about 560 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/bertopic.md`).

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 discover topics
  • Train LDA models
  • Compute topic keywords
  • Model topic evolution over time

Example prompts

  • “/topic-modeling”

Requirements

  • Python 3

Workflow steps

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

  1. Decide whether the request is LDA, DTM, or BERTopic.
  2. If unsupported, state that this skill cannot solve it and identify the missing capability.
  3. If supported, write a plan before running commands. Include the model type, reference file, script, input data path, required columns, key…
  4. For LDA topic-count selection, run diagnostics first when the user has not explicitly chosen a final topic count. Show the diagnostic…
  5. Ask for missing text column, time column, topic count, model path, or output directory.
  6. Execute the relevant script with command-line arguments and report generated files.

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

Topic Modeling loads about 561 tokens when it runs, and up to ~3.1k if it reads all its reference files. Until then it costs about 91 tokens; SKILL.md has 250 words of instructions outside code blocks.

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

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 250 words (~561 tokens).

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

— opening of SKILL.md by Drchronx, Custom licence
name
topic-modeling

Read the full SKILL.md on GitHub

Files

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

  • SKILL.md
  • agents/openai.yaml
  • readme.md
  • references/bertopic.md
  • references/dtm.md
  • references/lda.md
  • scripts/bertopic_model.py
  • scripts/dtm_model.py
  • scripts/lda_model.py

Open the folder on GitHubat commit aab1133

Compare with similar skills

Topic Modeling 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.

Topic Modeling compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Topic Modeling this skillDrchronx/ai-agent-research-starter-kit134—~561Automated safety check: PassCustom licence
Compromise NLP Libraryspencermountain/compromise12k—~2kAutomated safety check: PassMIT
Blog GoogleAgriciDaniel/claude-blog2.3k1 repos~3.3kAutomated safety check: NotesMIT
Compromise NLP for JavaScriptspencermountain/compromise12k—~1.8kAutomated safety check: PassMIT
PaperjurySpark-To-Paper-Skills/paperjury1.2k—~5.3kAutomated safety check: PassMIT
Hugging Face TokenizersOrchestra-Research/AI-Research-SKILLs13k7 repos~3.4kAutomated safety check: PassMIT

Similar skills

  • Compromise NLP Library

    spencermountain/compromise

    Helps write and debug JavaScript or TypeScript that uses the compromise English NLP library for matching, entity extraction, tagging and sentence transforms.

    12k GitHub stars~2k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • Blog Google

    AgriciDaniel/claude-blog

    Google API integration for blog performance: PageSpeed Insights, CrUX Core Web Vitals with 25-week history, Search Console performance, URL Inspection, Indexing API, GA4 organic traffic, NLP entity…

    2.3k GitHub starsUsed in 1 repo~3.3k tokens
    Marketing & SEOAuto-check: notes
  • Compromise NLP for JavaScript

    spencermountain/compromise

    Guide for writing correct code with the compromise rule-based NLP library: tagging, match syntax, in-place transforms and common tasks like tense changes and redaction.

    12k GitHub stars~1.8k tokensUpdated yesterday
    AI & LLM EngineeringAuto-check passed
  • Paperjury

    Spark-To-Paper-Skills/paperjury

    Three modes for CS-conference papers (CVPR/ICCV/ECCV vision, ACL/EMNLP/NAACL NLP, ICLR/NeurIPS/ICML/AAAI ML).

    1.2k GitHub stars~5.3k tokensUpdated 1 mo ago
    Documents & OfficeAuto-check passed
  • Hugging Face Tokenizers

    Orchestra-Research/AI-Research-SKILLs

    Shows how to load, train and use fast Hugging Face tokenizers, with BPE, WordPiece and Unigram models, padding, truncation and alignment tracking.

    13k GitHub starsUsed in 7 repos~3.4k tokens
    AI & LLM EngineeringAuto-check passed
  • OpenMed Model Card Writer

    maziyarpanahi/openmed

    Fills in a model card for an OpenMed clinical NER or de-identification model from its evaluation reports: intended use, metrics, subgroups and limitations.

    5.5k GitHub stars~1.8k tokensUpdated yesterday
    AI & LLM EngineeringAuto-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 Topic Modeling

What does Topic Modeling do?

Topic modeling workflows for Chinese corpora using LDA, Dynamic Topic Model/DTM, and BERTopic. Topic Modeling is an agent skill from Drchronx/ai-agent-research-starter-kit. Topic modeling workflows for Chinese corpora using LDA, Dynamic Topic Model/DTM, and BERTopic.

When should I use Topic Modeling?

Topic Modeling fits situations like: A user asks Codex to discover topics; train LDA models; compute topic keywords; model topic evolution over time.

How do I install Topic Modeling in Claude Code?

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

How do I install Topic Modeling in Codex?

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

Can I use Topic Modeling 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 topic-modeling -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/topic-modeling, .gemini/skills/topic-modeling, .github/skills/topic-modeling and .opencode/skills/topic-modeling in your project.

What does Topic Modeling need to run?

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

Does Topic Modeling 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 Topic Modeling 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 Topic Modeling use?

Topic Modeling 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 Topic Modeling use?

About 561 tokens (SKILL.md is roughly 2.2k 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 2.5k tokens, read only when the agent opens those files.

What are the alternatives to Topic Modeling?

Skills that share tags, products or a category with Topic Modeling: Compromise NLP Library (spencermountain/compromise, 12k stars), Blog Google (AgriciDaniel/claude-blog, 2.3k stars), Compromise NLP for JavaScript (spencermountain/compromise, 12k stars) and Paperjury (Spark-To-Paper-Skills/paperjury, 1.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Topic Modeling?

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.