File Classification by Subject
SkillFiles & storageClassify academic papers and documents into subject categories using keyword-based text analysis.
Available today. Use it from your connected AI after setup.
No other account needed.
Connect ahel once, and every AI you use reads what you have installed.
Then ask your AI: use the File Classification by Subject skill
What this skill tells your AI
The instructions your AI receives, as published by cxcscmu/skilllearnbench in skills/b1-one-shot-claude-opus-4-6/organize-messy-files/file-classification/SKILL.md and read by ahel’s review.
Approach: Keyword Scoring
For classifying documents into known categories, a keyword scoring approach is effective:
- Define keyword sets for each category
- Extract text from each document
- Score text against each keyword set (count occurrences)
- Assign document to highest-scoring category
Keyword Sets for This Task
- LLM: language model, transformer, attention mechanism, GPT, BERT, token, prompt, fine-tuning, NLP, neural network, deep learning, text generation, embedding, LLM, large language, reinforcement learning from human feedback, RLHF, instruction tuning, pretraining, machine learning
- Trapped ion / Quantum computing: trapped ion, quantum computing, qubit, quantum gate, entanglement, quantum error, ion trap, quantum circuit, quantum algorithm, quantum processor, quantum information, Coulomb, motional mode, laser cooling, quantum simulation
- Black hole: black hole, event horizon, Hawking radiation, singularity, gravitational, spacetime, general relativity, accretion, Schwarzschild, Kerr, entropy, holographic, AdS/CFT, cosmological, dark energy, dark matter
- DNA: DNA, genome, gene expression, nucleotide, protein, sequencing, CRISPR, mutation, chromosome, transcription, RNA, epigenetic, genetic, molecular biology, bioinformatics, cell, amino acid
- Music history: music, composer, symphony, opera, baroque, classical period, jazz, rhythm, harmony, melody, instrument, musicology, sonata, concert, orchestra, musical
Implementation Pattern
def classify(text, keyword_sets):
text_lower = text.lower()
scores = {}
for category, keywords in keyword_sets.items():
scores[category] = sum(text_lower.count(kw.lower()) for kw in keywords)
return max(scores, key=scores.get)
Signals
- GitHub stars
- 83
- Forks
- 5
- Last commit
- Jul 2026
Advanced
- Catalog kind
- skill
- Gateway key
file-classification- Source
- github.com/cxcscmu/skilllearnbench