Skip to main content
Custom instructions allow you to set persistent preferences and behaviors that automatically apply to all your conversations in ZeroTwo. Instead of repeating the same context or requirements in every chat, you can define them once and have them consistently applied.

What are custom instructions?

Custom instructions are persistent prompts that augment every conversation you have with AI models in ZeroTwo. They’re added to the system prompt automatically, ensuring your preferences, context, and requirements are always considered.
Think of custom instructions as your personal preferences file that travels with every conversation—like having a configuration file for how the AI should interact with you.

Setting custom instructions

Custom instructions are configured in your ZeroTwo settings and apply across all your conversations unless overridden by specific assistants.
1

Access settings

Navigate to your ZeroTwo settings panel or use the keyboard shortcut to access preferences.
2

Locate custom instructions

Find the custom instructions section where you can define your persistent preferences.
3

Write your instructions

Add instructions that should apply to all your conversations. Be specific and clear.
4

Save and test

Save your instructions and start a new conversation to see them in effect.
Custom instructions work best when they’re specific enough to be useful but general enough to apply across different conversation types.

Effective custom instruction patterns

Context about you

Help the AI understand your background and expertise level:

Response preferences

Define how you want responses structured:

Code style preferences

Specify your coding conventions:

Framework and tool preferences

Indicate your technology stack:

Communication style

Set expectations for tone and detail:

Pattern categories

Developer-specific patterns

Domain-specific patterns

Project-specific patterns

For ongoing projects, include project context:

Workflow-specific patterns

Optimize for your typical workflow:

Advanced instruction patterns

Conditional instructions

Provide guidance for different scenarios:

Question-based instructions

Guide the AI to ask clarifying questions:

Meta-instructions

Provide instructions about how to interpret your prompts:

Combining custom instructions with assistants

Custom instructions serve as your base preferences, while assistants provide specialized behaviors for specific tasks.
Hierarchy of instructions:
  1. Base system prompt (set by ZeroTwo)
  2. Your custom instructions (apply to all conversations)
  3. Assistant-specific instructions (override for specific assistants)
  4. Your current message (immediate request)
Example workflow:

Testing and refining instructions

1

Start simple

Begin with basic preferences and add complexity as needed. Don’t over-specify initially.
2

Test across use cases

Try your instructions with different types of requests to ensure they work broadly.
3

Iterate based on results

Refine instructions when you notice the AI isn’t meeting your expectations.
4

Remove redundancy

If you find yourself repeating certain requests despite custom instructions, adjust the instructions to be clearer.
Common pitfalls:
  • Too many instructions can dilute their effectiveness
  • Conflicting instructions may cause confusion
  • Overly specific instructions may not generalize well
  • Very long instructions consume significant tokens

Token considerations

Custom instructions are included in every conversation, consuming tokens from your context window.
Optimize token usage:
  • Keep instructions concise but clear
  • Focus on high-impact preferences
  • Remove instructions that don’t significantly improve responses
  • See tokens and limits for more optimization strategies

Example complete instruction sets

Full-stack developer example

Data analyst example

Sharing instruction patterns

Effective instruction patterns can be shared with your team for consistency:
  1. Team guidelines: Establish team-wide instruction patterns
  2. Project templates: Create project-specific instruction templates
  3. Onboarding: Share instruction patterns with new team members
  4. Best practices: Document effective patterns that work well

Next steps

Create assistants

Build specialized assistants with custom instructions

Assistant examples

See pre-built instruction patterns

Token limits

Optimize instruction token usage

Few-shot prompting

Enhance instructions with examples