๐ŸŽ™๏ธ Dictation Prompt Generator

May 5, 2026 ยท View on GitHub

For an overview of all available workflows, see the main README.

Generate and maintain a project-specific dictation instruction file for speech-to-text workflows

The Dictation Prompt Generator workflow runs weekly on Sundays. It scans your documentation for technical vocabulary, builds an NLP word-frequency histogram, and creates or updates DICTATION.md โ€” a concise dictation instruction file that teaches your speech-to-text engine your project's terminology.

Pairs naturally with dictationmd, a tool that reads DICTATION.md and configures speech recognition profiles accordingly.

Installation

# Install the 'gh aw' extension
gh extension install github/gh-aw

# Add the workflow to your repository
gh aw add-wizard githubnext/agentics/dictation-prompt

This walks you through adding the workflow to your repository.

How It Works

graph LR
    A[Run NLP Histogram Step] --> B[Scan Documentation]
    B --> C[Extract 256 Terms]
    C --> D[Build DICTATION.md]
    D --> E[Create PR]
  1. Setup step: A shell script scans common documentation locations (docs/, documentation/, wiki/, pages/, content/, site/, and root-level markdown files) and prints a word-frequency histogram of backtick-quoted tokens and technical identifiers.
  2. Agent: Uses the histogram output and targeted semantic searches to extract the 256 most relevant project-specific terms, then creates or updates DICTATION.md with:
    • A 256-term project glossary (alphabetically sorted)
    • Speech-to-text error correction guidance (ambiguous terms, spacing, hyphenation)
    • Text "agentification" rules: removing filler words and improving clarity

Usage

The workflow runs every Sunday around 06:00 UTC. You can also trigger it manually.

Configuration

This workflow works out of the box. You can customize the glossary size, documentation paths, and PR settings in the workflow file.

After editing run gh aw compile to update the workflow and commit all changes to the default branch.

Commands

You can start a run immediately:

gh aw run dictation-prompt

Triggering CI on Pull Requests

To automatically trigger CI checks on PRs created by this workflow, configure an additional repository secret GH_AW_CI_TRIGGER_TOKEN. See the triggering CI documentation for setup instructions.

Learn More

  • dictationmd โ€” companion tool that reads DICTATION.md and configures speech recognition profiles