Prompts Directory
# Prompts Directory This directory contains configurable prompts for the Thaum optimization engine targeting lossless pseudocode golf embeddings. ## Available Prompts ### Optimization Prompts (Level 1) - **optimize_function.txt**: Standard function optimization to essential operational semantics - **optimize_class.txt**: Standard class optimization to core architectural abstraction - **optimize_key.txt**: Emergent pattern extraction via cross-embedding compression ### Compression Prompts (Level 2) - **compress_function.txt**: Lossless pseudocode golf compression with emergent grammars - **compress_class.txt**: Architectural compression to minimal state-behavior bindings - **compress_key.txt**: Lossless pattern compression via emergent cross-embedding analysis ### Golf Prompts (Level 3) - **golf_function.txt**: Maximal pseudocode golf with ultra-dense operational embeddings - **golf_class.txt**: Maximal architectural compression to absolute essence with zero overhead - **golf_key.txt**: Ultra-dense pattern compression via maximal architectural analysis ### Endgame Prompts (Level 4) - **endgame_function.txt**: Superposed vector retopologization with maximal information density - **endgame_class.txt**: Architectural retopologization through superposed compression vectors - **endgame_key.txt**: Emergent pattern retopologization through superposed extraction vectors ## Template Variables Prompts support the following template variables: ### Function/Method Prompts - `{sourceCode}`: The source code of the symbol - `{symbolName}`: Name of the function/method - `{availableKeys}`: Context from previous optimization phases ### Class Prompts - `{sourceCode}`: The source code of the class - `{symbolName}`: Name of the class - `{availableKeys}`: Context from previous optimization phases ### Key Extraction Prompts - `{summaries}`: Numbered list of optimizations to analyze - `{level}`: Current hierarchical level (1 for functions, 2 for classes) ## Technical Approach All prompts target: 1. **Lossless compression**: Complete behavioral preservation in minimal representation 2. **Emergent grammars**: Spontaneous technical encoding patterns 3. **Operational semantics**: Focus on algorithmic behavior and data transformation 4. **Maximal density**: Compressed abstractions with no conversational overhead 5. **Improvisational compression**: Dynamic technical language optimization
fill the variables
This prompt has 5 variables. Pro fills them into a ready-to-paste prompt for you — no manual find-and-replace.
{sourceCode}{symbolName}{availableKeys}{summaries}{level}
Unlock with Pro →when to use it
Community prompt sourced from the open-source GitHub repo holo-q/thaum (no explicit license). A "Prompts Directory" style prompt — adapt the placeholders and specifics to your task. Imported as-is and not independently retested here, so check the output before relying on it.
tags
roleplaycommunitygeneral
source
holo-q/thaum · no explicit license