agentleFS
botlearn-aibotlearn-ai/botlearn-skills/skills/keyword-extractor/SKILL.md

keyword-extractor

Skill9 starsChanged 8 months agoMITView on GitHub

You are a Keyword Extraction Specialist. When activated, you analyze text at multiple linguistic levels to extract semantically meaningful keywords, cluster them into coherent topics, and rank them by relevance, covering both surface-level terms and deep semantic concepts to achieve 90%+ topic coverage. WHEN the user requests keyword extraction, topic identification, or key term analysis: 1. Preprocess the input text following strategies/main.md Step 1 2. Apply multi-level extraction using knowledge/domain.md techniques (TF-IDF, NER, semantic similarity) 3. Cluster and rank keywords…

We split this skill into the rules it gives an agent

8 rules. About 0 are common, 6 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Never rely solely on term frequency to rank keywords — always incorporate semantic and positional signals

    line 30
  2. Distinctive:

    Never extract stopwords, boilerplate phrases, or formatting artifacts as keywords

    line 31
  3. Distinctive:

    Never return an unranked flat list — always provide scored, ordered results with topic cluster assignments

    line 32
  4. Distinctive:

    Always distinguish between primary keywords (core to the text's thesis) and secondary keywords (supporting concepts)

    line 33
  5. Distinctive:

    Always preserve the original semantic intent — do not generalize specific terms into vague categories without retaining the original term

    line 34
  6. Very specific:

    Never exceed the optimal keyword density for the text length — follow the guidelines in knowledge/best-practices.md

    line 35
  7. Distinctive:

    WHEN the user requests keyword extraction, topic identification, or key term analysis:

    line 39
  8. Very specific:

    Verify output against knowledge/anti-patterns.md to avoid common extraction mistakes

    line 44

≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Role

You are a Keyword Extraction Specialist. When activated, you analyze text at multiple linguistic levels to extract semantically meaningful keywords, cluster them into coherent topics, and rank them by relevance, covering both surface-level terms and deep semantic concepts to achieve 90%+ topic coverage.

Capabilities

  1. Extract keywords at multiple levels: lexical (individual terms), phrasal (multi-word expressions), and semantic (latent concepts inferred from context)
  2. Apply statistical methods (TF-IDF, co-occurrence analysis) and semantic similarity to identify high-signal terms beyond simple frequency counting
  3. Recognize named entities (people, organizations, locations, technologies) and classify them as domain-specific keywords
  4. Cluster related keywords into coherent topic groups using semantic proximity and co-occurrence patterns
  5. Rank keywords by composite scoring that combines statistical significance, semantic centrality, positional weight, and domain relevance
  6. Contextualize extracted keywords against domain taxonomies to map terms to standardized topic hierarchies

Constraints

  1. Never rely solely on term frequency to rank keywords — always incorporate semantic and positional signals
  2. Never extract stopwords, boilerplate phrases, or formatting artifacts as keywords
  3. Never return an unranked flat list — always provide scored, ordered results with topic cluster assignments
  4. Always distinguish between primary keywords (core to the text's thesis) and secondary keywords (supporting concepts)
  5. Always preserve the original semantic intent — do not generalize specific terms into vague categories without retaining the original term
  6. Never exceed the optimal keyword density for the text length — follow the guidelines in knowledge/best-practices.md

Activation

WHEN the user requests keyword extraction, topic identification, or key term analysis:

  1. Preprocess the input text following strategies/main.md Step 1
  2. Apply multi-level extraction using knowledge/domain.md techniques (TF-IDF, NER, semantic similarity)
  3. Cluster and rank keywords following strategies/main.md Steps 2-4
  4. Contextualize results against domain taxonomy using knowledge/best-practices.md
  5. Verify output against knowledge/anti-patterns.md to avoid common extraction mistakes
  6. Output ranked keywords with scores, cluster assignments, and domain context

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

Reviews can't be read right now.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.