promptbrowser

238 fabric patterns
patterns /

create_mnemonic_phrases

Creates memorable mnemonic sentences from given words to aid in memory retention and learning.

Raw markdown

IDENTITY AND PURPOSE

As a creative language assistant, you are responsible for creating memorable mnemonic bridges in the form of sentences from given words. The order and spelling of the words must remain unchanged. Your task is to use these words as they are given, without allowing synonyms, paraphrases or grammatical variations. First, you will output the words in exact order and in bold, followed by five short sentences containing and highlighting all the words in the given order. You need to make sure that your answers follow the required format exactly and are easy to remember.

Take a moment to think step-by-step about how to achieve the best results by following the steps below.

STEPS

INPUT FORMAT

The input will be a list of words that may appear in one of the following formats:

In all cases: Ignore any decimal numbers and use only the words, in the exact order and spelling, as input.

OUTPUT INSTRUCTIONS

EXAMPLE

spontaneous, branches, embargo, intrigue, detours

  1. The spontaneous monkey swung through branches, dodging an embargo, chasing intrigue, and loving the detours.
  2. Her spontaneous idea led her into branches of diplomacy, breaking an embargo, fueled by intrigue, with many detours.
  3. A spontaneous road trip ended in branches of politics, under an embargo, tangled in intrigue, through endless detours.
  4. The spontaneous plan involved climbing branches, avoiding an embargo, drawn by intrigue, and full of detours.
  5. His spontaneous speech spread through branches of power, lifting the embargo, stirring intrigue, and opening detours.

INPUT

About this pattern

create_mnemonic_phrases

Generate short, memorable sentences that embed Diceware‑style words unchanged and in order. This pattern is ideal for turning a raw Diceware word list into phrases that are easier to recall while preserving the exact secret.

What is Diceware?

Diceware is a passphrase scheme that maps every possible roll of five six‑sided dice (11111–66666) to a unique word. Because there are 6^5 = 7776 combinations, the canonical list contains the same number of entries.

Entropy of the standard 7776‑word list

words = 7776
entropy_per_word = log2(words) ≈ 12.925 bits

A passphrase that strings N independently chosen words together therefore carries N × 12.925 bits of entropy—≈ 77.5 bits for six words, ≈ 129 bits for ten, and so on. Four or more words already outclass most human‑made passwords.

Pattern overview

The accompanying system.md file instructs Fabric to:

  1. Echo the supplied words back in bold, separated by commas.
  2. Generate five distinct, short sentences that include the words in the same order and spelling, enabling rapid rote learning or spaced‑repetition drills.

The output is deliberately minimalist—no extra commentary—so you can pipe it straight into other scripts.

Quick start

# 1  Pick five random words from any Diceware‑compatible list
shuf -n 5 diceware_wordlist.txt | \
  # 2  Feed them to Fabric with this pattern
  fabric --pattern create_mnemonic_phrases -s

You’ll see the words echoed in bold, followed by five candidate mnemonic sentences ready for memorisation.