Skip to content
| Marketplace
Sign in
Visual Studio Code>Visualization>Worldbook WorkbenchNew to Visual Studio Code? Get it now.
Worldbook Workbench

Worldbook Workbench

Preview

MeowMico

|
1 install
| (0) | Free
Edit SillyTavern worldbooks and preview ST-style prompt composition in VSCode or Cursor.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Worldbook Workbench

Edit SillyTavern worldbooks in VS Code or Cursor, then inspect where every activated entry lands in the final system/user/assistant message order.

Worldbook Workbench is a standalone companion to the SillyTavern extension. It works directly with exported worldbook JSON files and does not require a running SillyTavern instance.

Worldbook Workbench entry editor and prompt preview

Highlights

  • Browse worldbook entries in a compact, searchable list.
  • Edit title, strategy, position, order, probability, depth, role, keywords, selective logic, and content.
  • See constant, selective, vectorized, disabled, triggered, and not-triggered states at a glance.
  • Preview ST-style world-info placement as a system/user/assistant timeline.
  • See why each entry activated or did not activate.
  • Display token estimates for every entry, all entries, active world info, and the complete timeline.
  • Import character cards from JSON or PNG metadata, including embedded character books.
  • Save reusable chat and activation scenarios beside the worldbook.
  • Preserve unknown worldbook fields and the original object/array shape of entries.

Quick Start

  1. Open a folder containing an exported SillyTavern worldbook JSON file.
  2. Right-click the JSON file and select Worldbook Workbench: Open Worldbook Workbench.
  3. Select an entry to edit it, then choose Save to write changes back to the worldbook.
  4. Choose Preview to inspect activation results and prompt order.

The same commands are available from the Command Palette. This is useful when an editor or file explorer context menu is not visible.

Prompt Preview

The preview combines the selected worldbook, optional character card, and a local chat scenario. It shows the resulting message skeleton without pretending to reproduce a provider-specific API request wrapper.

Prompt timeline with triggered and not-triggered entries

Strategy indicators use familiar worldbook states:

  • Blue: selective entry
  • Green: constant entry
  • Purple: vectorized entry
  • Gray: normal or disabled entry

Token profiles identify whether their result is exact for the selected tokenizer or an estimate. Unknown and unavailable tokenizers fall back to a clearly labeled estimate.

Scenario Files

Preview settings are stored next to the worldbook as <worldbook>.wbh.json. A scenario can include:

  • chat messages
  • user and character names
  • generation mode
  • deterministic probability seed
  • recursion and scan settings
  • tokenizer profile
  • manually forced entry IDs
  • an optional character-card path

The sidecar file does not modify or add workbench metadata to the worldbook itself. Imported character cards are read-only.

Compatibility Notes

The prompt engine is a clean-room compatibility implementation of common SillyTavern world-info behavior. It supports world-info positions, order, depth and role, keyword logic, probability, groups, recursion, scan depth, and timed activation state.

Vector search, automation hooks, and external outlet runtimes require SillyTavern or another host. The workbench identifies those entries and lets you force them active for placement inspection, but it does not make external runtime calls.

Commands

  • Worldbook Workbench: Open Worldbook Workbench
  • Worldbook Workbench: Import Character Card
  • Worldbook Workbench: Open Prompt Preview
  • Worldbook Workbench: Save Scenario
  • Worldbook Workbench: Export Worldbook JSON

Privacy

Worldbooks, character cards, scenarios, and previews are processed locally. The extension does not upload their contents.

Support

Report problems or request features in the GitHub issue tracker.

Worldbook Workbench is released under the MIT License.

Development

npm install
npm run check
npx @vscode/vsce package
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft