Logo van Sillytavern Card Components

Sillytavern Card Components

Community
yukk4159-bit
sillytavern-card-components

Safely disassemble SillyTavern character cards from JSON or PNG into sandboxed, reviewable components, and design or maintain registry-driven component libraries and recipes. Use when extracting a card, modularizing worldbook, MVU, regex, helper-script, message, or embedded UI content, tracing a coupled variable-field chain, declaring embedded/host/remote/regional runtime dependencies, resolving component dependencies or conflicts, validating a source-to-artifact round trip, or promoting a proven version back into a shared component library. Do not use for routine packaging of an already-defined release; use sillytavern-card-pipeline instead.

Overzicht

Uitgeveryukk4159-bit
Repositorycharcard-workshop
Skillnaamsillytavern-card-components
Sterren
37
Forks
3
Meegeleverde bestanden
3
LicentieMIT
Links
  • Instructies in Markdown

    Het model laadt het bestand SKILL.md alleen als dat nodig is. Dat kost dus alleen tokens als een verzoek daadwerkelijk bij de skill past.

  • Werkt met elk LLM

    AI-skills bestaan uit instructies in gewone Markdown, niet uit aanbiederspecifieke code. Daardoor werken ze met GPT, Claude, Gemini, Grok of een lokaal model.

  • Meegeleverde bestanden: 3

    Scripts, sjablonen en referentiemateriaal die het model tijdens het werken kan lezen. De bestanden kunnen alleen worden gelezen en worden nooit uitgevoerd.

  • Open source

    Gepubliceerd door yukk4159-bit op GitHub. Bekijk de bronbestanden voordat je de skill installeert.

Installatie

Installeer de AI-skill Sillytavern Card Components in TypingMind om deze met elk LLM te gebruiken, of voeg de skill toe aan een andere agent die SKILL.md kan lezen.

1

Installeren in TypingMind

TypingMind installeert een skill rechtstreeks vanuit de GitHub-map. De app leest SKILL.md, bundelt de bijbehorende bestanden en slaat het resultaat lokaal op.

  1. Open de app en ga naar Plug-ins → Skills.
  2. Kies "Installeren via GitHub".
  3. Plak de onderstaande URL van de skillmap en bevestig.
    https://github.com/yukk4159-bit/charcard-workshop/tree/main/skills/sillytavern-card-components
  4. Schakel de skill in voor elke chat waarin je de skill wilt kunnen gebruiken.
Plug-ins → Skills → Skill toevoegen → Via GitHub-URL. Plak vervolgens de map-URL en druk op Doorgaan.
2

Installeren in een andere agent

Elke agent die het Agent Skills-formaat kan lezen, kan deze skill gebruiken — kopieer de map naar de skillmap van die agent.

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-card-components .claude/skills/sillytavern-card-components
Start Claude Code na het kopiëren opnieuw op, zodat de nieuwe skill wordt herkend.

Gebruik deze skill in TypingMind

Schakel Sillytavern Card Components in voor een chat naar keuze in TypingMind en het model doet de rest. De naam en beschrijving staan in de systeemprompt. Zodra een verzoek bij de skill past, laadt het model zelf de volledige instructies. Je hoeft de skill nooit handmatig aan te roepen. Pas als het model de skill daadwerkelijk gebruikt, kost dat tokens.

Het model laadt Sillytavern Card Components automatisch zodra een verzoek erbij past.

Werkt met elk AI-model

AI-skills zijn gewone Markdown-instructies in plaats van aanbiederspecifieke code. Daardoor is Sillytavern Card Components niet gebonden aan het model waarvoor de skill is geschreven. Installeer de skill één keer in TypingMind en gebruik deze met GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama of een lokaal model dat je zelf draait — allemaal met je eigen API-sleutels.

  • Alleen geladen wanneer nodig

    De systeemprompt bevat alleen de naam en beschrijving. De instructies worden bij het eerste bijpassende verzoek opgehaald, dus een ongebruikte skill kost niets.

  • Wissel van model tijdens een chat

    Omdat de skill uit instructies bestaat en niet uit code, blijft deze werken als je van model wisselt — het volgende model leest hetzelfde SKILL.md-bestand.

Skillinstructies

Dit is de inhoud van SKILL.md die het model laadt. Lees deze vóór de installatie — een skill bestaat uit instructies die je model zal volgen.

SillyTavern Card Components

Before decomposition or registry writes, use $consult-tavernweave-library with the sillytavern-card-components route, read A0 and the returned card-format/regex guidance, and record the receipt in the roundtrip plan.

Treat reusable component sources and packed card artifacts as different layers. Keep the shared library stable, make exploratory work disposable, and move changes across that boundary only after evidence supports promotion.

Establish the boundary

  1. Read repository instructions before inspecting or changing card files.
  2. Classify the task as one of:
    • disassemble an input card into a new sandbox;
    • edit a version-local component snapshot;
    • compose an existing recipe;
    • explicitly promote mature work into the shared library.
  3. Identify the current source of truth. Treat a version-local components/ tree, packed JSON, and packed PNG as artifacts unless the repository explicitly says otherwise.
  4. Preserve prior releases. Never migrate, rewrite, or normalize archived artifacts as a side effect of component work.
  5. Prefer the smallest change that reuses the existing registry, recipe, and build conventions.

Disassemble cards safely

Read safe-disassembly.md before extracting JSON or PNG input.

  • Never extract into the input directory, an active version tree, or the shared component library.
  • Copy the input to a fresh sandbox, record its hash and size, and treat that snapshot as read-only evidence.
  • Require an extraction tool to accept explicit input and output locations. If it writes through an implicit manifest path, run it only against a disposable copy of that configuration inside the sandbox or choose another method.
  • Decode a PNG payload to normalized card JSON before splitting logical components.
  • Record where every extracted file came from using a stable logical identifier, card JSON pointer or selector, source hash, and output hash.
  • Keep unknown fields, entry identifiers, array order, and extension metadata unless an explicit contract authorizes a transformation.

Do not interpret successful extraction as permission to update the shared library.

Model the component library

Read component-model.md when creating or changing a registry, module declaration, output declaration, recipe, dependency, variable root, or replacement relationship.

Use the registry as the machine-readable source of truth. Generate human-facing catalogs from it; never make CSV or spreadsheet exports into build inputs.

For every module, declare at least:

  • a stable ID and category;
  • source files and emitted outputs;
  • explicit dependencies and conflicts;
  • runtime dependency declarations and delivery class;
  • whether the content is model-visible;
  • build or merge behavior;
  • affected runtime or variable layers;
  • applicability and maturity metadata when the library supports them.

Fail composition on missing dependencies, cycles, conflicts, undeclared output collisions, missing sources, or paths that escape the intended roots. At component_assembly and release, also fail on unresolved required embedded runtime assets or invalid regional-alternative selection. Keep worldbook, MVU, regex, helper-script, and embedded-UI APIs isolated; a dependency declaration does not make another runtime layer globally available.

Define recipes as selections

Keep component bodies in modules. Let a recipe select modules and declare the output boundary; do not copy build logic or content into the recipe.

Use repository-defined stages. When the repository has equivalent stages, keep these semantics:

  • variable_core: emit only the complete variable chain;
  • component_assembly: add card-specific adapters and presentation components;
  • release: require the complete declared output set and release checks.

Default recipe output to a sandbox. Point at a version snapshot only for an explicit rebuild or promotion operation whose write scope has already been approved. Allow a variable_core recipe to defer later embedded adapters only when the registry names the deferred owner and required stage. Do not carry that deferral into component_assembly or release.

Keep coupled fields synchronized

Treat a variable field as one cross-file contract. Trace and update every applicable consumer in this order:

initial data -> schema -> update rules -> output format -> context -> variable groups -> runtime readers -> rendered examples

Record intentionally absent layers. Do not call a field migration complete because one writer or one screen changed successfully.

Validate source and artifact parity

  1. Validate registry and recipe structure.
  2. Resolve the dependency graph and output ownership.
  3. Resolve runtime dependency classes, owned embedded outputs, and regional alternative groups.
  4. Compose into a clean sandbox.
  5. Validate syntax, encoding, required and forbidden content, and runtime-layer contracts.
  6. Build sandbox JSON and, when in scope, sandbox PNG.
  7. Re-extract the built artifact into a second clean sandbox.
  8. Compare canonical card semantics and the component mapping. Use byte equality only where the contract requires it; JSON formatting and PNG container bytes may differ.
  9. Run regression checks for every previously working consumer touched by the change.
  10. Leave host-dependent UI, regex, bridge, remote-loader execution, and interaction behavior pending until it passes real SillyTavern acceptance.

Promote only mature components

Require an explicit request to update the shared library and a predeclared maturity gate. Promote one independently testable feature at a time only after composition, round-trip, regression, and applicable runtime checks pass.

When replacing a shared module, register both directions of the relationship, retain the old version artifacts, and regenerate derived catalogs from the registry. Keep experimental or validation-only modules labeled outside production recipes. If the feature remains unstable after repeated debugging, stop and reassess the core design instead of layering compatibility patches into the library.

Report the result

State:

  • the input snapshot hash and sandbox location;
  • files created or changed;
  • registry, recipe, and dependency decisions;
  • detected card capabilities plus the runtime dependency ledger, including embedded assets, host requirements, remote loaders, and regional selection;
  • round-trip and regression checks with results;
  • whether shared-library promotion occurred;
  • any real-SillyTavern checks still required.

Meegeleverde bestanden

Zolang de skill geladen is, leest het model deze bestanden als dat nodig is. Het model kan ze alleen lezen; ze worden nooit uitgevoerd.

Veelgestelde vragen

Wat doet de AI-skill Sillytavern Card Components?

Safely disassemble SillyTavern character cards from JSON or PNG into sandboxed, reviewable components, and design or maintain registry-driven component libraries and recipes. Use when extracting a card, modularizing worldbook, MVU, regex, helper-script, message, or embedded UI content, tracing a coupled variable-field chain, declaring embedded/host/remote/regional runtime dependencies, resolving component dependencies or conflicts, validating a source-to-artifact round trip, or promoting a proven version back into a shared component library. Do not use for routine packaging of an already-de...

Waarom Sillytavern Card Components gebruiken in TypingMind?

Omdat je deze skill één keer installeert en met elk model kunt gebruiken. Sillytavern Card Components bestaat uit gewone Markdown in plaats van aanbiederspecifieke code. Dezelfde skill werkt dus met GPT-5, Claude, Gemini, Grok of een lokaal model. Ook als je midden in een chat van model wisselt, blijft de skill werken. TypingMind werkt met je eigen API-sleutels, dus je betaalt aanbieders rechtstreeks in plaats van een abonnement per gebruikersplek af te sluiten. Je skills en chats blijven in je eigen opslag.

Hoe installeer ik Sillytavern Card Components in TypingMind?

Open Plug-ins → Skills → Installeren vanaf GitHub in TypingMind en plak https://github.com/yukk4159-bit/charcard-workshop/tree/main/skills/sillytavern-card-components. TypingMind leest het bestand SKILL.md, bundelt de bijbehorende bestanden en installeert het geheel als een skill die je per chat kunt inschakelen.

Welke AI-modellen kunnen Sillytavern Card Components gebruiken?

Elk model dat je in TypingMind koppelt. AI-skills bestaan uit gewone Markdown-instructies in plaats van aanbiederspecifieke code. GPT, Claude, Gemini, Grok en lokale modellen kunnen deze skill dus allemaal laden wanneer een verzoek erbij past.

Hoeveel AI-modellen kan ik met Sillytavern Card Components gebruiken?

Zoveel als je wilt. Je kunt Sillytavern Card Components gebruiken met elk model dat skills ondersteunt, zoals GPT, Claude, Gemini, Grok, DeepSeek, Mistral of Llama. Allemaal in TypingMind met je eigen API-sleutels.

Is de AI-skill Sillytavern Card Components gratis?

Ja. Deze skill is door yukk4159-bit op GitHub gepubliceerd onder de licentie MIT. Je betaalt alleen je eigen AI-aanbieder voor de tokens die je gebruikt.

Wat zijn AI-skills?

Een AI-skill is een herbruikbare bundel instructies die een AI-model leert hoe het één specifieke taak moet uitvoeren. De skill volgt het open Agent Skills-formaat: het bestand SKILL.md bevat de naam en beschrijving van de skill. Daarnaast kan de skill scripts, sjablonen of referentiebestanden bevatten die het model nodig heeft. Het model leest de instructies alleen als je verzoek bij de skill past. Een geïnstalleerde skill kost dus niets zolang deze niet wordt gebruikt.

Waarin verschillen AI-skills van plug-ins of MCP-servers?

Een plug-in of MCP-server geeft een model nieuwe tools om aan te roepen: code die ergens wordt uitgevoerd en een resultaat teruggeeft. Een AI-skill geeft het model juist kennis en een werkwijze: hoe het een taak moet aanpakken, welke stappen het moet volgen en hoe goede uitvoer eruitziet. Skills bestaan uit gewone Markdown en hebben dus geen server, API-sleutel of runtime nodig. Ze werken met elk model.

Bekijk alles

Maak nu je eigen AI-werkruimte

Schrijf je in voor onze nieuwsbrief en blijf op de hoogte van nieuwe functies en toekomstige weggeefacties 👇