Skip to content
Mastering Claude

Home / Choosing your model and your tool

Choosing your model and your tool7 minApplication

Composing a system prompt across several providers

When a prompt has to work across several providers, take each one's strongest rule, merge them without contradiction, and rules written by the prompt's owner generally outrank a provider's defaults, except when they would conflict with the safety limits that provider sets for itself.

A prompt meant to run on Claude and on another provider is never copied as it stands from one to the other. Each provider writes a different default system prompt, with its own priorities and its own safety reflexes, and a rule lifted word for word from one provider can conflict with what the other has already built in. The method that works is to take the strongest rule from each source, rewrite it for the real context of the task, then check that nothing contradicts itself before adopting the result.

Composing without copying

The lesson on composing a system prompt from several sources already sets the base rule: an imported rule is rewritten for its own context, it is never pasted as it stands. Between two providers, this rule counts double, because a default system prompt also carries the style and reflexes specific to its provider of origin, not just a neutral instruction. A role placed at the top of the prompt helps this merge, including on Claude: even a single sentence of role already changes the tone and behaviour obtained, according to the official documentation on prompt writing.

Who decides in case of conflict

What remains is the question of arbitration: when two merged rules contradict each other, which one wins. Anthropic's public constitution describes an order of priority among the people who give instructions to Claude, and rules written by the prompt's owner generally count more there than the provider's default settings. The same text notes, however, that this order is not a strict hierarchy: a rule from the owner that redefines the tone, format or vocabulary is entitled to win, but a rule that asked a provider to ignore its own safety limits does not have that right, whichever provider is concerned.

Testing before adopting

A merged prompt is tested on a real task before being adopted, exactly like a simple prompt. A short example sets the method.

You are a senior IT technician working for a cooperative.
Rule from provider A, kept: give the reason before the instruction.
Rule from provider B, kept: cite sources inline, never at the end of the answer.
Rule from the owner, placed last: never use undefined technical jargon.

This short prompt keeps one rule from each provider, reworded in a single style, and places the owner's rule last, which makes it visually take priority. The test consists of running it once on a real task from the job, then comparing the answer obtained against the two original prompts before considering it finished.

Figure 1

Merging two system prompts without copying

01
Take the strong rule from each provider
For each provider concerned, note the rule that really matters, style, format or safeguard, rather than copying an entire system prompt whole.
02
Rewrite for the real context
Reword each imported rule with the vocabulary and examples of the service that uses it, never word for word.
03
Place the owner's rules last
Put the rules written by the prompt's owner after the imported rules, so they settle any conflict left open.
04
Test on a real task
Run the merged prompt on a real task from the job and compare the result against the original prompts before adopting it.
The sequence starts from two system prompts of different origin and arrives at a single merged prompt, tested on a real task before being properly adopted.
Calibrate it yourself

A person writes a system prompt for Claude by copying a rule word for word from another provider's public documentation. She pastes this rule right after a rule she wrote herself for her own service, then runs a real task with this prompt and reads the answer obtained.

Write in one sentence what this situation establishes, and in one sentence what it does not establish.

What to remember
  • A rule borrowed from another provider is reworded in the vocabulary of the service that will use it rather than pasted as it stands.
  • A default system prompt also carries the style and safety reflexes specific to its provider of origin, not just a neutral instruction to copy.
  • Anthropic's public constitution places the prompt owner's rules above the provider's default settings in general, without making it a strict, automatic hierarchy.
  • A rule that asked a provider to ignore its own safety limits does not win, even when posed as the owner's rule.
  • A merged prompt is tested on a real task before being adopted, the same way a simple prompt is tested before being kept.
Do this now

Take a system prompt you use on Claude, add to it a rule reworded from another provider's public documentation, place your own rules last, then test this merged prompt on a real task before adopting it.

Check the source

Every datable claim in this lesson links here to the public text behind it. A source that does not open proves nothing.