Sillytavern Database Rolecards logo

Sillytavern Database Rolecards

Community
yukk4159-bit
sillytavern-database-rolecards

Design and validate structured in-card data models for SillyTavern rolecards, including table schemas, stable record keys, MVU message-floor storage, field bindings, deterministic migrations, and status-bar or control-center consumers. Use when a rolecard behaves like a small database application or needs schema and migration fixtures across normal multi-floor conversations. Do not introduce an external SQL service or claim same-floor compatibility without real-host evidence.

Overview

Publisheryukk4159-bit
Repositorycharcard-workshop
Skill namesillytavern-database-rolecards
Stars
37
Forks
3
Bundled files
7
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 7 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by yukk4159-bit on GitHub. Read the source before you install it.

Installation

Install the Sillytavern Database Rolecards AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/yukk4159-bit/charcard-workshop/tree/main/skills/sillytavern-database-rolecards
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/yukk4159-bit/charcard-workshop.git /tmp/charcard-workshop
mkdir -p .claude/skills
cp -r /tmp/charcard-workshop/skills/sillytavern-database-rolecards .claude/skills/sillytavern-database-rolecards
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Sillytavern Database Rolecards in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Sillytavern Database Rolecards on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Sillytavern Database Rolecards is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

SillyTavern Database Rolecards

Before schema or migration writes, use $consult-tavernweave-library with the sillytavern-database-rolecards route and load A0, C4, and C7. C8 is returned only with explicit experimental opt-in and remains blocked from mature claims until real-host acceptance.

Treat structured rolecard state as versioned application data. Keep schema, migration, storage scope, writers, and UI bindings machine-checkable.

Fix the supported storage route

First-batch support is limited to normal multi-floor state using message-floor or MVU data. Mark same-floor compatibility as DBR-C8-UNVERIFIED; do not add a fallback that silently changes scope.

Read rolecard-data-model.md before defining tables or migrations. Read floor-and-ui-binding.md before connecting a field to a script, prompt, status bar, or control center.

When exact runtime calls matter, verify getVariables, updateVariablesWith, Mvu.getMvuData, MVU events, and message events with $sillytavern-api-reference. Prefer updater functions and event-driven refresh over replacing an entire variable object.

Validate the model

text
node scripts/validate-rolecard-schema.mjs model.json

Require a stable model ID and version, a stat_data storage root, multi-floor strategy, explicit tables, primary keys, typed fields, valid defaults, and unique identifiers. Reject same-floor strategy in this release.

Run migration fixtures

text
node scripts/run-database-migrations.mjs --migration migration.json --input before.json --expected after.json

Require deterministic output and idempotence. Preserve unknown records and fields. Reject destructive operations unless the migration declares data loss and the caller passes --allow-data-loss. Do not write migrated data without --write and --out.

Check every consumer

text
node scripts/check-field-bindings.mjs --schema model.json --bindings bindings.json

Every binding must reference a declared table and field, name its reader or writer, identify the UI or prompt surface, and state refresh events. Route UI implementation to $sillytavern-embedded-ui and packaging to $sillytavern-card-pipeline.

Keep runtime acceptance open

Static checks cannot prove new-chat initialization, edit, swipe, chat switch, reload, or persistence behavior. Require a real-SillyTavern matrix for those cases before claiming runtime compatibility. Keep C8 excluded until that matrix passes.

Report

State the model version, storage route, table and binding counts, migration result, preserved unknown data, destructive-operation decision, and pending host cases.

Resources

  • scripts/validate-rolecard-schema.mjs: validate the model contract.
  • scripts/run-database-migrations.mjs: apply deterministic migration fixtures.
  • scripts/check-field-bindings.mjs: verify table/field consumers.
  • references/rolecard-data-model.md: schema and migration format.
  • references/floor-and-ui-binding.md: MVU/message-floor and UI lifecycle contract.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Sillytavern Database Rolecards AI skill do?

Design and validate structured in-card data models for SillyTavern rolecards, including table schemas, stable record keys, MVU message-floor storage, field bindings, deterministic migrations, and status-bar or control-center consumers. Use when a rolecard behaves like a small database application or needs schema and migration fixtures across normal multi-floor conversations. Do not introduce an external SQL service or claim same-floor compatibility without real-host evidence.

Why use Sillytavern Database Rolecards on TypingMind?

Because you install it once and use it with any model. Sillytavern Database Rolecards is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Sillytavern Database Rolecards in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/yukk4159-bit/charcard-workshop/tree/main/skills/sillytavern-database-rolecards. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Sillytavern Database Rolecards?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Sillytavern Database Rolecards?

As many as you like. As long as a model supports skills, you can use Sillytavern Database Rolecards with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Sillytavern Database Rolecards AI skill free?

Yes. It is published on GitHub by yukk4159-bit under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇