character-tavern-zh-localize

character-tavern-zh-localize is a skill for Codex from yejiming/kitt-airp-skills. It costs 106 tokens per session (853 once invoked), scanned A, original, MIT.

A guide for translating and adapting English SillyTavern character cards into natural Chinese while keeping their importable format. SillyTavern is an app for chatting and role-playing with configured fictional characters.

In plain words
What is it for?
Localising character descriptions, scenarios, greetings, examples, notes, tags, and related fields. It also synchronises duplicate fields, keeps required V2 metadata, and validates the finished JSON.
Why use it?
It preserves the card's structure, placeholders, opening messages, world-book data, and character behaviour during localisation. This avoids breaking the card or changing what the character is meant to do.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Localising character descriptions, scenarios, greetings, examples, notes, tags, and related fields. It also synchronises duplicate fields, keeps required V2 metadata, and validates the finished JSON.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yejiming/kitt-airp-skills/character-tavern-zh-localize
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add yejiming/kitt-airp-skills --skill character-tavern-zh-localize
Clone the repo
git clone --depth 1 https://github.com/yejiming/kitt-airp-skills

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for character-tavern-zh-localize

README.md
[![agentmods](https://agentmods.dev/badge/skills/yejiming/kitt-airp-skills/character-tavern-zh-localize/github.svg)](https://agentmods.dev/skills/yejiming/kitt-airp-skills/character-tavern-zh-localize)
Your own site
<a href="https://agentmods.dev/skills/yejiming/kitt-airp-skills/character-tavern-zh-localize"><img src="https://agentmods.dev/badge/skills/yejiming/kitt-airp-skills/character-tavern-zh-localize/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for character-tavern-zh-localize

Your own site · 80×15
<a href="https://agentmods.dev/skills/yejiming/kitt-airp-skills/character-tavern-zh-localize"><img src="https://agentmods.dev/badge/skills/yejiming/kitt-airp-skills/character-tavern-zh-localize.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 106 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 853 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00106 $0.00853
Opus 5 $0.00053 $0.00426
Sonnet 5 $0.00021 $0.00171
Haiku 4.5 $0.00011 $0.00085

Measured 12d ago against content hash 8aaf3a2a46d6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

character-tavern-zh-localize scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/localize_card.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

character-tavern-zh-localize/SKILL.md · 55 lines

What it actually says

SillyTavern 角色卡中文化

把英文 chara_card_v2 JSON 改写成自然中文角色卡,同时保留 SillyTavern 可导入结构和玩法功能。

工作流程

  1. 完整读取源 JSON,确认 specspec_version、顶层字段和 data 镜像字段。
  2. 运行结构脚本生成草稿或校验目标:
python3 scripts/localize_card.py INPUT.json OUTPUT.json
python3 scripts/localize_card.py --validate-only OUTPUT.json
  1. 逐字段中文化并润色所有可玩内容:

    • 翻译 descriptionscenariofirst_mesmes_examplecreator_notespost_history_instructionsalternate_greetingscharacter_book.entries[].content 等文本载荷。
    • 保留 {{char}}{{user}}<START>、HTML 标签、CSS 样式、世界书结构、扩展字段和导入所需键名。
    • 将角色默认语言写清楚:叙述、心理、动作和对白均使用自然中文;只有专有名词、用户输入或剧情需要时才保留外语。
    • 译名要稳定;如果原名有辨识度,可以用中文名加括号原名,或保留英文名但中文化标题。
    • 不要逐词硬翻。末世、科幻、恋爱、恐怖、日常等类型词要按中文网文/跑团/角色扮演习惯改写。
    • 保持原角色事实、边界、身份、关系动态、开场局势和用户自由度一致;不要替 {{user}} 说话、思考、决定或行动。
    • 如果源卡的 mes_example 为空,可以保持为空;不要为了“完整”补写会改变原卡行为的示例。
    • 标签可中文化或保留常用英文标签,但要移除/替换表示语言的 English 标签,加入 中文
  2. 同步镜像字段。V2 卡中顶层和 data 同名字段必须完全一致。

  3. 校验最终 JSON:

python3 scripts/localize_card.py --validate-only OUTPUT.json
python3 -m json.tool OUTPUT.json >/dev/null
  1. 汇报输出路径、是否保留源文件、校验结果,以及任何有意保留英文的项目。

字段要求

必须保留:

  • spec: "chara_card_v2"
  • spec_version: "2.0"
  • 顶层 data
  • 顶层与 data 内的可镜像字段:namedescriptionpersonalityscenariofirst_mesmes_examplecreator_notessystem_promptpost_history_instructionsalternate_greetingstagscreatorcharacter_versionextensionscharacter_book

除非用户明确要求原地覆盖,否则输出到新文件。

参考资料

需要判断字段是否该翻译、保留、补写或同步时,读取 references/sillytavern-v2-localization.md

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 55 lines · 106 tokens per session scan A 8aaf3a2a46d6

Subscribe to this mod's changes

character-tavern-zh-localize is a skill published in the GitHub repository yejiming/kitt-airp-skills (5 stars, last pushed 2mo ago), licensed MIT. It adds 106 tokens to every session and 853 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

chinese-documentation

A Chinese technical-documentation style guide covering spacing, punctuation, numbers, terminology, and links when Chinese and English appear together.

jnMetaCode/superpowers-zh · 62 tokens

azure-ai-translation-text-py

Azure AI Text Translation SDK for real-time text translation, transliteration, language detection, and dictionary lookup. Use for translating text content in applications. Triggers: "text translation", "translator", "translate text", "transliterate", "TextTranslationClient".

microsoft/skills · 60 tokens

harden

Improve interface resilience through better error handling, i18n support, text overflow handling, and edge case management. Makes interfaces robust and production-ready. Use when the user asks to harden, make production-ready, handle edge cases, add error states, or fix overflow and i18n issues.

fengshao1227/ccg-workflow · 62 tokens

seedance-vocab-ja

This skill should be used when the user asks for Japanese Seedance 2.0 prompt wording, Japanese cinematic vocabulary, or translation of camera, lighting, action, VFX, audio, and production terms into Japanese.

Emily2040/seedance-2.0 · 50 tokens

asc-subscription-localization

Bulk-localize subscription, subscription-group, and in-app purchase display names across App Store locales using asc, including API 4.4.1 version-scoped v2 resources. Use when filling or updating subscription/IAP names and descriptions without App Store Connect UI work.

rorkai/app-store-connect-cli-skills · 60 tokens

i18n-helper

A helper for adding internationalization, which lets software show different languages and regional text. It finds user-visible text written directly in code and moves it into language files.

laolaoshiren/claude-code-skills-zh · 33 tokens