Skip to content

About

Prompt Library for SillyTavern: keep your reusable roleplay prompts in one place and inject them like Author's Note. Toggle each prompt, set depth, position and role, enable per chat. Works with any preset, API or model.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

6 Commits

Folders and files

Repository files navigation

English · Русский

Prompt Library for SillyTavern. Your prompts, close at hand.

Version 0.1.0 Tested on SillyTavern 1.19.0 MIT license Interface: EN / RU / UK / ZH Telegram @deadsum

I got tired of digging through notes for my prompts, so I made Prompt Library to keep them close at hand. Save a prompt as a note, or switch it on to inject it into the conversation. Everything you need is in SillyTavern, ready when you need it.

Your library stays in the extension settings when you switch chats, characters, presets, APIs, or models.

Install · Quick start · Screenshots · How it works

Library overview with enabled prompts and per-chat status badges

What you can do

Prompt settings Library tools
Choose where each prompt goes. Insert it at a specific chat depth, before the main prompt, or after it. Set a role for entries placed in chat. Organize your library. Add, duplicate, delete with confirmation, drag to reorder, and search by name or prompt text.
Control which chats use it. Apply an entry to all chats, exclude individual chats, or enable it only in selected chats. Export and import JSON. Transfer your library without its per-chat settings.
Use SillyTavern macros. Entries support {{char}}, {{user}}, and other macros. Use it on desktop or mobile. The interface follows your SillyTavern theme and opens full screen on phones.

Install

Tested on SillyTavern 1.19.0.

Open Extensions → Install extension and paste:

https://github.com/Sumo1433/SillyTavern-Prompt-Library

Quick start

  1. Open 🪄 → Prompt Library.
  2. Expand Your Prompt, or select New prompt.
  3. Enter a name and prompt text.
  4. Choose the injection position, depth, and role.
  5. Switch the entry on.

The entry will be included in requests for chats where it is active. Entries that are switched off or contain no text are not sent. To keep a prompt as a note, leave it switched off.

New entries use your Author’s Note defaults. If you have not changed those defaults, the position is In chat @ depth 4, with the System role.

Choose your chats

Entries apply to All chats by default.

To exclude the current chat, turn off Active in this chat in the entry editor.

To use an entry in just a few chats, select Only selected chats. Open each chat you want to include and turn on Active in this chat.

Card badges show chat-specific status. Per-chat settings are tied to SillyTavern’s internal chat ID, not the file name: they survive renaming, and same-named chats of different characters stay independent. A new branch inherits the settings of the chat it was created from; after that, it keeps its own.

Screenshots

The screenshots show example prompts. On first launch, the library contains one empty, disabled entry named Your Prompt.

Prompt editor Per-chat settings
Prompt editor Per-chat settings
Search and wand menu

Search by name or text

Prompt Library in the wand menu

Mobile library and editor

Mobile library Mobile prompt editor

How prompts are inserted

Prompt Library uses SillyTavern’s built-in setExtensionPrompt mechanism, also used by Author’s Note. It works with Chat Completion and Text Completion, including presets with Main Prompt disabled.

Position Placement Role
In chat @ depth At the chosen depth. Depth 0 places the entry after the last message. System, User, or Assistant
Before main prompt / story string Before the main prompt or story string. Always System
After main prompt / story string After the main prompt or story string. Always System

Ordering and storage

  • Entries at the same chat depth with the same role are combined into one block in library order. Entries before or after the main prompt are grouped by position.
  • This grouping keeps entry order consistent between Chat Completion and Text Completion.
  • At the same chat depth, SillyTavern places roles in the order System → User → Assistant, regardless of library order.
  • The library is stored in your user’s settings.json on the SillyTavern server.
  • JSON exports do not include per-chat settings.

Interface languages

English · Русский · Українська · 简体中文

The extension follows your SillyTavern interface language. Traditional Chinese uses the Simplified Chinese translation; other unsupported languages fall back to English.

Author and license

Created by SumoNoir. Telegram: @deadsum.

Licensed under MIT.

About

Prompt Library for SillyTavern: keep your reusable roleplay prompts in one place and inject them like Author's Note. Toggle each prompt, set depth, position and role, enable per chat. Works with any preset, API or model.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages