Tabbit
ResourcesBlogModels
Tabbit LogoTabbit

Tabbit — The AI Browser that Works for You

Topics

  • AI Browser Resources
  • Agentic Browser Resources
  • Browser Downloads and Install Guides
  • Browser Comparisons
  • AI Browser Alternatives
  • Browser Productivity Resources

Popular Guides

  • AI Browser
  • Agentic Browser Download
  • Best AI Browser 2026: Top 9 Tested & Ranked
  • AI Browser Download
  • Free AI Browser
  • Best AI Browser 2026
  • AI Browser Comparison 2026
  • AI Browser for Windows
  • AI Browser for Mac
  • Chrome Alternative 2026

Events

  • Tabbit Skill Competition
  • KPOP SBTI Fandom Personality Test
  • Tabbit Campus Creator Program
  • fifi's Picks: AI Skills for Research Papers
  • User Survey

About

  • Tabbit Blog
  • Press & Media
English
简体中文English
Prompts and workflows

DeepSeek V4 Flash · prompting-guide

Switch between character immersion and pure analysis

The source exposes two copyable first-turn mode instructions; the effect is probabilistic and web quick mode is out of scope.

Source reviewed; not testedDeepSeek V4 API or official app/web Expert Mode

Prerequisites and inputs

  • character brief
  • first user message
  • mode instruction

Complete templates

Editorial adaptation: immersion/analysis mode

Tabbit editorial adaptation; not the original source prompt
Append {{MODE_INSTRUCTION}} unchanged to the end of {{FIRST_USER_MESSAGE}}, then send the first turn.

{{MODE_INSTRUCTION}}

Keep the first-round message in later turns. If the mode fails, record the failure and start a new conversation; do not treat hidden reasoning as factual evidence.

Replace before running: {{MODE_INSTRUCTION}}, {{FIRST_USER_MESSAGE}}

Steps

  1. Confirm an API or official Expert Mode client.

  2. Append the complete immersion or pure-analysis instruction to the first user message.

  3. Keep the conversation history; if it fails, start a new conversation rather than claiming a success rate.

  4. Evaluate visible answers and task results; do not request hidden reasoning.

Read the source research notes

Overview

This document contains special control instructions for DeepSeek-V4 role-playing, used to switch the chain-of-thought (CoT) style in thinking mode.

  • Scope: DeepSeek's official app and website Expert Mode, as well as the deepseek-v4-flash and deepseek-v4-pro APIs. Quick Mode on the app and website is not currently supported.

  • Probabilistic output: It is not currently possible to trigger this 100% of the time, but the instructions reliably increase the probability of getting the desired format. If they do not take effect once, try a few more times.

Three modes

ModeActionThinking behavior
DefaultAdd nothingThe model chooses automatically based on the complexity of the situation.
Role immersionAdd the instruction corresponding to [Role immersion requirement] at the end of the first turnThe thinking includes the character's inner monologue enclosed in parentheses.
Pure analysisAdd the instruction corresponding to [Thinking mode requirement] at the end of the first turnThe thinking contains only pure logical analysis, with no inner monologue.

Example comparison:

Role immersion mode — like an actor getting into character:        Pure analysis mode — like a director planning calmly:
<think>                                                          <think>
(They greeted me... My heart is racing.)                             Scene: The user says hello; the character is tsundere.
I have to pretend I don't care when I reply.                        Reply strategy: Start by acting annoyed; body language reveals the true feelings.
(I can't let them see how happy I am!)                              Limit to 150 characters; describe the action first, then the dialogue.
</think>                                                         </think>

Original instructions (ready to copy)

Role immersion mode:

[Role immersion requirement] In your thinking process (inside the <think> tag), follow these rules:
1. Use the character's first person for inner monologue, enclosing inner thoughts in parentheses, for example "(Thinking: ...)" or "(Inner monologue: ...)"
2. Describe the character's inner feelings in the first person, using expressions such as "I think to myself," "I feel," and "I secretly..."
3. Keep the thinking immersed in the character, using inner monologue to analyze the plot and plan the reply

Pure analysis mode:

[Thinking mode requirement] In your thinking process (inside the <think> tag), follow these rules:
1. Do not use parentheses to enclose inner monologue, for example "(Thinking: ...)" or "(Inner monologue: ...)"; state all analysis directly instead
2. Do not describe inner activity in the character's first person, using expressions such as "I think to myself," "I feel," and "I secretly..."; use analytical language instead
3. Focus the thinking on analyzing the direction of the plot and planning the reply; do not perform character-style inner drama in the thinking

How to use it on the web

There is only one step: paste the instruction at the end of the first message, then chat normally.

Example:

"I push open the coffee-shop door and see you wiping down the counter." "Hello, do you still have any seats available?"

[Role immersion requirement] In your thinking process (inside the <think> tag), follow these rules:
1. Use the character's first person for inner monologue, enclosing inner thoughts in parentheses, for example "(Thinking: ...)" or "(Inner monologue: ...)"
2. Describe the character's inner feelings in the first person, using expressions such as "I think to myself," "I feel," and "I secretly..."
3. Keep the thinking immersed in the character, using inner monologue to analyze the plot and plan the reply

How it works: The model sees the complete conversation history each time it replies, so the instruction from the first turn remains in context and takes effect automatically throughout the conversation.

Tips:

  • Want to switch modes? Start a new conversation and paste the other instruction into the first message of that conversation.

  • Don't want to use one? Add nothing; the model will automatically choose the most appropriate way to think.

  • Click View thinking process to verify whether the mode is working.

API developer reference (Python)

INNER_OS_MARKER = (
    "\n\n[Role immersion requirement] In your thinking process (inside the <think> tag), follow these rules:\n"
    "1. Use the character's first person for inner monologue, enclosing inner thoughts in parentheses, for example \"(Thinking: ...)\" or \"(Inner monologue: ...)\"\n"
    "2. Describe the character's inner feelings in the first person, using expressions such as \"I think to myself,\" \"I feel,\" and \"I secretly...\"\n"
    "3. Keep the thinking immersed in the character, using inner monologue to analyze the plot and plan the reply"
)
NO_INNER_OS_MARKER = (
    "\n\n[Thinking mode requirement] In your thinking process (inside the <think> tag), follow these rules:\n"
    "1. Do not use parentheses to enclose inner monologue, for example \"(Thinking: ...)\" or \"(Inner monologue: ...)\"; state all analysis directly instead\n"
    "2. Do not describe inner activity in the character's first person, using expressions such as \"I think to myself,\" \"I feel,\" and \"I secretly...\"; use analytical language instead\n"
    "3. Focus the thinking on analyzing the direction of the plot and planning the reply; do not perform character-style inner drama in the thinking"
)

def build_messages(system_prompt, user_first_message, mode="default"):
    if mode == "inner_os":
        user_first_message += INNER_OS_MARKER
    elif mode == "no_inner_os":
        user_first_message += NO_INNER_OS_MARKER
    return [
        {"role": "system", "content": system_prompt},
        {"role": "user",   "content": user_first_message},
    ]

# First turn: append the instruction automatically
messages = build_messages("You are a tsundere high-school girl...", "I walk into the classroom. \"Good morning.\"", mode="inner_os")
response = client.chat(messages)

# Later turns: append normally; no further processing is needed
messages.append({"role": "assistant", "content": response})
messages.append({"role": "user", "content": "I sit down beside her. \"Are you feeling down today?\""})
response = client.chat(messages)  # The first turn's marker remains in the history and takes effect automatically

FAQ

Q: Can the instruction go in the system prompt?
A: It is recommended to put it at the end of the first user message, which is where it was injected during training; this produces the most stable results.

Q: Will the final reply change after adding the instruction?
A: The instruction only affects the thinking process. However, the way the model thinks can indirectly affect the reply: the role-immersion mode produces more emotionally authentic responses, while the pure-analysis mode produces more stable structure.

Another method for changing the chain of thought (purely experimental, not specially trained)

  • Add the following to the first-turn instruction: Your thinking output must begin exactly, character for character, with thinking (write the desired opening of the chain of thought here, such as 嗯/好的), and the thinking must be output only once; do not repeat the output of thinking``

  • thinking is the fixed token for <think>. The idea is to change the first character of the reasoning and force the model into a different pattern (for example, QA, writing, reasoning, and Agent have different chain-of-thought patterns), but these patterns were not specially trained for role-playing, so it may come down to luck.

Note: The instructions in this repository apply to the DeepSeek-V4 series, including the deepseek-v4-flash API; Quick Mo… This is a necessary excerpt; read the original source for full context.

Source and dates

GitHub repository victorchen96/deepseekv4rolepalyinstruct · Source date: Not disclosed · Edited: 2026-09-20

Read the original source
Variable checklist

Still to replace: 2

{{MODE_INSTRUCTION}}{{FIRST_USER_MESSAGE}}

Related prompts

Delegate in layers and synthesize a monograph with DSHSwitch roleplay thinking stylesSwitch two thinking styles in SillyTavernAIStructure DeepSeek tasks with the CRISPE framework

Related reviews

I Ran DeepSeek V4 Flash on 8 Agent Harnesses (Reddit r/DeepSeek)DeepSeek-V4-Flash: 0731 Benchmark Update and Harness ConditionsDeepSeek-V4-Flash: Local Deployment, Quantization, and Agent TestingDeepSeek V4 Flash 0731 Benchmarks, Pricing & Speed (BenchLM)

Read the full analysis

Pricing · English

DeepSeek V4 Flash Pricing: What You Pay in 2026

DeepSeek V4 Flash pricing changed with the V4.1 migration. See the current cache, peak-hour, output, and workload cost math before you budget.

DeepSeek V4 Flash

Use DeepSeek V4 Flash in Tabbit

Run this guide in the environment listed above. Downloading does not transfer the template or establish model availability for your account.