Understanding and Mastering the Compose Prompt Tool

The Compose Prompt tool is one of Chibi AI's most powerful features, providing a dedicated space to craft sophisticated AI prompts directly within your document editor. This guide will help you understand how to leverage its capabilities effectively.

What is Compose Prompt?

Compose Prompt is a specialized prompting interface that appears when you place your cursor at the beginning of a new line in your document and click its button. Unlike simple inline prompts (triggered by typing '/'), Compose Prompt provides a full-featured environment for creating more complex and context-aware prompts.


Key Features and Benefits

1. Automatic Context Awareness

One of the most powerful aspects of Compose Prompt is its automatic context awareness. When you open the tool, it automatically includes the content above your cursor in the document as context for the AI. This intelligent feature means you don't need to manually copy text or use special variables to reference previous content – it's handled automatically.

If you want to limit how much previous content is included as context, you can insert \\\ anywhere in your document. This creates a "context cut-off point" – content above this marker won't be included in the automatic context gathering. This gives you precise control over what context influences your prompts.

2. Document Memory Integration

When document memory is active, those fields are automatically included in the context as well. This means any important background information, guidelines, or reference material you've stored in document memory will be available to the AI when processing your prompt.

3. Enhanced Resources

You can access and incorporate:

  • Global memory fields for organization-wide context

  • Blueprints for structured content generation

  • Snippets for commonly used prompt patterns

  • Content from other documents within the same workspace

4. The Fire Button

The "fire button" is a powerful feature that automatically enhances your prompt. When clicked, Chibi analyzes your prompt and adds additional context or clarification to make it more effective. This is particularly useful when:

  • You're learning how to structure complex prompts

  • You want to improve the clarity of your instructions

  • You need help making your prompt more specific or detailed

5. Blueprint Integration

The "use blueprints" button allows you to select and incorporate pre-defined content structures using Chibi Blueprint Language (CBL). This ensures consistent formatting and organization in your generated content.

6. Prompt History

The "restore last prompt" button lets you quickly retrieve and reuse your previous prompt, saving time when you need to make minor adjustments or run similar prompts multiple times.


Working with Roles in Compose Prompt

A powerful aspect of Compose Prompt is its integration with Chibi's role system. When you run a prompt, it uses the currently active role on your document. This means you can:

  • Switch roles before running your prompt to get different perspectives or styles

  • Use specialized roles for specific types of content

  • Compare outputs from different roles using the same prompt

  • Fine-tune your results by adjusting both the prompt and the role

For example, you might switch from a "Technical Writer" role to a "Creative Storyteller" role before running the same prompt to see how the writing style and approach change. Each role brings its own instructions, writing style, and personality to the content generation process.


Best Practices

1. Structuring Your Prompts

  • Start with clear, specific instructions

  • Break complex requests into distinct parts

  • Consider the automatic context being provided

  • Use blueprints when you need structured output

2. Leveraging Context

  • Position your cursor strategically to control what content is automatically included

  • Use the \\\ marker when you need to limit context

  • Use document memory for important reference information

  • Consider switching roles to change how the context is interpreted

3. Role Selection

  • Choose roles that match your content needs

  • Experiment with different roles to find the best fit

  • Create specialized roles for specific types of content

  • Use role instructions to maintain consistent style and tone

4. Iterative Improvement

  • Use the fire button to learn better prompting techniques

  • Save successful prompts as snippets for future use

  • Pay attention to how different roles interpret your prompts


Advanced Tips

1. Context Control

Think carefully about where you place your cursor and whether you need to use the \\\ marker. The automatic context inclusion is powerful, but sometimes you may want to limit what the AI "sees" to get more focused results.

2. Combined Approaches

Mix different features for more powerful results:

  • Use blueprints with role-specific prompts

  • Combine global memory with document-specific context

  • Layer document memory with automatic context

3. Experimentation

  • Try the same prompt with different roles to understand their impact

  • Test how different cursor positions affect the context

  • Use the fire button to learn from Chibi's prompt enhancements


Common Use Cases

1. Content Expansion

  • Let the automatic context guide natural content flow

  • Use document memory for key reference information

  • Switch roles to get different perspectives

2. Research and Analysis

  • Use web-connected models like Perplexity for current information

  • Structure output using blueprints

  • Choose roles with analytical expertise

3. Content Generation

  • Position your cursor strategically for relevant context

  • Select roles that match your desired writing style

  • Use blueprints for consistent structure

Remember that Compose Prompt is a sophisticated tool that becomes more powerful as you understand its features. Take time to experiment with different roles and observe how they interpret your prompts differently.

The automatic context awareness, combined with the ability to switch roles and use blueprints, gives you incredible flexibility in generating exactly the content you need - all right in a familiar document editor.

Was this helpful?