Prompt Compositions

Compositions allow you to create sequences of prompts and metadata that can be reused throughout your day or workflow. This guide explains how to work with compositions effectively.

Understanding Compositions

A composition is a reusable sequence that can include:

  • Metadata placeholders (like current date and time)
  • References to other prompts
  • Custom text and questions
  • Variables that get filled in at runtime

Creating Compositions

Basic Composition

  1. Click the "Create Composition" button in the Compositions view
  2. Enter a name for your composition
  3. Add your composition content in the editor
  4. Click "Update" to save your changes

Adding Content

  • Type regular text for static content
  • Use META: tags for dynamic values like:
    • Current Date
    • Current Time
    • Day of Week
  • Reference other prompts using the @ symbol
  • Add multiple prompts by continuing to use @ references

Daily Questions Example

You can create structured compositions like daily check-ins that include:

  • Obligations (calendar, todos, chores)
  • Health-related questions
  • Goal-setting prompts
  • Success metrics

Using Compositions

Managing Compositions

  • Edit existing compositions with the pencil icon
  • Delete compositions with the trash icon
  • Copy compositions to reuse their structure

Actions Available

  • Delete: Remove the composition
  • Copy: Duplicate the composition content
  • Update: Save any changes
  • Cancel: Discard changes

Best Practices

  1. Use clear, descriptive names for compositions
  2. Group related questions under sections (like "Health")
  3. Include a mix of:
    • Daily tasks and obligations
    • Personal development questions
    • Goal-oriented prompts
  4. Leverage metadata tags to make compositions dynamic
  5. Break down complex workflows into separate compositions

Want to see how compositions work in practice? Try creating a "Start my week" or "Continue my week" composition using the patterns shown in the examples.

Compositions allow you to combine multiple prompts into powerful sequences. This guide explains how to create and use compositions effectively.

Understanding Compositions

A composition is a sequence of prompts that work together to achieve a specific outcome. Think of it as a playlist of prompts that:

  • Build context progressively
  • Share variables across prompts
  • Can be used as a single unit

Creating Compositions

Basic Composition

  1. Navigate to the Compositions tab
  2. Click "New Composition"
  3. Give your composition a name and description
  4. Click "Add Prompt" to start building your sequence

Adding Prompts

  1. Search or browse your prompt library
  2. Select prompts to add to your composition
  3. Drag and drop to reorder prompts
  4. Set dependencies between prompts if needed

Parameter Management

  • Define parameters at the composition level
  • Map parameters to individual prompts
  • Set default values and validation rules
  • Preview how parameters flow through the sequence

Using Compositions

In Chat

  1. Start a new chat
  2. Type "@" to access your compositions
  3. Select the composition to inject
  4. Fill in any required parameters
  5. The composition will execute sequence by sequence

Copying Compositions

  1. Open the composition
  2. Configure any parameters
  3. Click "Copy All" to copy the entire sequence
  4. Paste into your preferred AI interface

Advanced Features

Context Building

  • Use early prompts to establish context
  • Reference previous responses in later prompts
  • Build complex interactions step by step

Variable Sharing

  • Define variables once at the composition level
  • Use variables across multiple prompts
  • Create dynamic compositions that adapt to input

Best Practices

  1. Start with simple compositions
  2. Test each prompt in the sequence
  3. Document the purpose of each step
  4. Use clear naming conventions
  5. Consider the order of operations

Looking to use your compositions in conversations? Check out our guide on using the chat interface.