Skip to content

SillyTavern Support

TomoriBot can import assets from SillyTavern: Prompt Manager presets (which control prompt structure), character cards (the character definition), and lorebooks (embedded Character Books or standalone world info files). If you have never used SillyTavern, you can safely skip this page.

Bring an existing SillyTavern character into Discord with /persona import. It accepts:

  • PNG cards with embedded chara or char metadata.
  • v2-style JSON cards with root-level properties (name, description, first_mes).
  • v3 JSON cards (spec: "chara_card_v3" with a nested data object).
  • .charx archives (Character Card V3 packages).

A .charx file is a ZIP archive containing a card.json definition. TomoriBot imports the character text from card.json and skips bundled asset files (icons, sprites, audio, video). You can set an avatar in /config > Persona > Identity & Personality and add sprites in /config > Persona > Sprites.

If an uploaded file is a valid SillyTavern card without TomoriBot metadata, the import converts it automatically. You can also pass a card to /persona generate to create a fresh persona inspired by the character.

Imports are validated before saving (default limits: 5,000 characters per text field, 200 attributes, 100 sample dialogues per side, 100 trigger words). For field mapping and conversion mechanics, see the card-support architecture.

Use /persona export with output_format set to SillyTavern-compatible PNG to take a persona into SillyTavern. The card includes the avatar, personality, sample dialogues, persona prompt, and persona lorebook. It has no opening greeting; add one in SillyTavern before starting a chat.

TomoriBot-specific settings, such as triggers, nudges, voice settings, and lorebook channel limits, are excluded. Choose TomoriBot Card or Raw JSON to preserve TomoriBot persona settings. TomoriBot Bundle also carries sprites and character reference media, plus voice reference audio when requested. This ZIP is a TomoriBot format; use the SillyTavern-compatible PNG for SillyTavern.

A SillyTavern Prompt Manager preset controls the order and layout of the prompt sent to the model. Open /config > Plugins > SillyTavern Presets to import presets, toggle individual nodes, switch active presets, or restore default formatting.

  • Prompt ordering and marker placement
  • Custom prompt nodes
  • Post-history and depth-injection nodes
  • Initial enabled state for imported nodes

A preset structures prompt layout; it does not replace the text sources that fill it:

  • System instructions and persona fields: /config > Behavior > General Behavior, /config > Persona > Advanced, and /config > Persona > Identity & Personality.
  • Live chat history, retrieved document context, and activated lorebook entries.
  • Automatic context: server memories, emoji and sticker data, participant lists, and short-term memories.

Native blocks map directly to TomoriBot prompt components:

  • main: the channel prompt override, when configured
  • charDescription: /config > Persona > Advanced
  • charPersonality: /config > Persona > Identity & Personality
  • dialogueExamples: /config > Persona > Identity & Personality
  • chatHistory: live channel message history
  • worldInfoBefore and worldInfoAfter: lorebook entries for that placement, then retrieved document context

When an imported preset is active, it fully controls the system prompt. TomoriBot’s built-in prompt and any custom prompt from /config > Behavior > General Behavior are not sent, and the system prompt buttons there are locked. Your custom prompt is kept, and it comes back when you turn the preset off in /config > Plugins > SillyTavern Presets.

Use preset macros to insert persona details, the latest user message, or server time into a preset node.

Use preset conditionals to choose instructions based on a value, such as whether the persona has a description.

  • Nodes disabled in prompt_order remain inactive until enabled in /config > Plugins > SillyTavern Presets. Empty and comment-only nodes are never sent.
  • Marker order is literal: placing chatHistory ahead of dialogueExamples places chat history first. World info markers position Always On lore; activated lore, retrieved documents, presence, and the clock stay near the latest four speaker turns. Fresh or cross-channel short-term memory also stays near those messages, or closer if configured.
  • Post-history injections merge into existing conversation history rather than sending as standalone messages.
  • Regex post-processing, preset-defined sampling parameters (temperature, top-p), and layered presets are not supported. Legacy text-completion presets import with ST-only blocks dropped.

In /help, choose Plugins, then SillyTavern Presets, for the Discord guide. For internal preset processing, see the preset-system architecture.