Skip to content

Model targeting

One pack, many models

Reuse common instructions across providers, and create a separate variant when a model needs different guidance. This lets you compare models without maintaining an entirely separate pack for each one.

Who this is for: Pack authors running agents with different models who need to keep instructions and provider settings aligned.

How it works

Choose the model in an agent preset. Choose the instructions by assigning prompts and capabilities to the agent. Changing the model does not automatically change the agent’s instructions.

Choose instructions

Share common instructions

Start with the same capabilities for every model: task expectations, project conventions, review criteria, and tool-use guidance. Shared capabilities let you improve those instructions once and reuse them across agents.

Create a model-specific variant

When a model needs different instructions:

  1. Create a prompt or capability with a distinct key, such as review.concise.
  2. Assign it to the intended agent alongside the shared capabilities.
  3. Remove any conflicting variant from that agent’s assignments.
  4. Select the intended agent and model preset when launching a session.

Keep variants focused on observed differences, such as response format or the amount of task context needed.

A model="..." attribute or a nested <model> block does not select instructions automatically. Use separate variants instead of putting conflicting model-specific instructions in one prompt. The tag reference explains the headers used to define prompts and capabilities.

Check the resulting prompt

Before launching, inspect System Prompt Preview and confirm that the agent receives the intended variant. Use Prompt ordering if you need to control the order of its instructions.

Why this matters

Cost optimization

Run the same representative task with different models, then compare quality, reported usage, and cost. Choose the model that meets your requirements with an acceptable cost and completion time.

Capability differences

Write instructions for tools the session can actually use. Check the preset’s tool permissions and the provider’s supported options before running the agent.

Migration paths

Keep shared instructions stable while testing a new provider. Add a variant only when the results show a need for different guidance.

Testing and validation

  • Validate the pack and check System Prompt Preview.
  • Run a representative task with each intended provider and model.
  • Review tool use, output format, and task completion in the session.
  • Record which model, preset, and prompt variant produced each result.

Pack validation checks structure and references. Representative runs help you check behavior.

Choose a supported model

Use a model identifier supported by your configured provider. See provider settings before copying model names or options between presets.

Best practices

  1. Keep common instructions in shared capabilities.
  2. Give each variant a distinct, descriptive key.
  3. Assign the intended variant explicitly.
  4. Test each provider and model combination you plan to use.

Build your pack with shared capabilities and the variants you need.