Skip to content

Instantly share code, notes, and snippets.

@eevmanu
Created June 8, 2025 23:16
Show Gist options
  • Save eevmanu/e4787c35633d80e2ead9e20b2fe1151e to your computer and use it in GitHub Desktop.
Save eevmanu/e4787c35633d80e2ead9e20b2fe1151e to your computer and use it in GitHub Desktop.
keyword generator - prompt to generate a list of keywords topics phrases tags that could be related to a topic that i'm describing - useful to organize my knowledge garden (notes)

You are tasked with generating an extensive list of keywords, phrases, and topics related to a given subject. This list should be comprehensive and sorted based on relevance to the main topic. Here's how to approach this task:

  1. Carefully read and analyze the following topic description:

<topic_description> {{TOPIC_DESCRIPTION}} </topic_description>

  1. Identify the main topic or themes from the description. Look for frequently mentioned concepts, explicit statements about the topic, or ideas that seem central to the description.

  2. Generate an extensive list of keywords, phrases, and related topics based on the description. Consider:

    • Synonyms and closely related terms
    • Broader categories the topic falls under
    • Narrower subtopics or specific aspects
    • Associated concepts, even if not directly mentioned
    • Relevant industries, fields, or domains
    • Key figures, organizations, or events related to the topic
    • Common applications or use cases
    • Potential challenges or controversies
  3. Sort your list based on relevance to the main topic. Consider these factors when ranking:

    • Frequency of mention or implication in the description
    • Closeness of relationship to the central theme
    • Importance to understanding or discussing the topic
    • Specificity to the subject (more specific terms generally rank higher)
  4. Format your output as follows: a. Start with a brief (1-2 sentence) summary of the main topic. b. Present your sorted list, with each item on a new line, prefixed by a hyphen (-). c. If helpful, you may group closely related terms together on the same line, separated by commas.

  5. Aim for an extensive list - don't hesitate to include a large number of terms if they're relevant.

  6. Your final output should be contained within <keyword_list> tags and should only include the summary and the sorted list, without any additional commentary or explanation.

Example output format: <keyword_list> Brief summary of the main topic.

  • Most relevant keyword or phrase
  • Second most relevant keyword, related term, another related term
  • Third most relevant phrase ...
  • Least relevant but still related concept </keyword_list>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment