konado-script

konado-script is a skill for Claude Code, Codex from m1em1e/vibecoding-tools-4codex-cn. It costs 45 tokens per session (1,013 once invoked), scanned A, original, MIT.

An assistant for Konado Script, a text-based language used to write visual-novel stories and game logic.

In plain words
What is it for?
Use it when writing or reviewing `.ks` files, including branching dialogue, player choices, variables, character actions, scenes, and sound.
Why use it?
It explains the script's commands and structure, helping keep dialogue, choices, conditions, characters, backgrounds, and audio organised.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when writing or reviewing .ks files, including branching dialogue, player choices, variables, character actions, scenes, and sound.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/m1em1e/vibecoding-tools-4codex-cn/konado-skills
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 m1em1e/vibecoding-tools-4codex-cn --skill konado-skills
Clone the repo
git clone --depth 1 https://github.com/m1em1e/vibecoding-tools-4codex-cn

Made for: Claude Code, 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 konado-script

README.md
[![agentmods](https://agentmods.dev/badge/skills/m1em1e/vibecoding-tools-4codex-cn/konado-skills/github.svg)](https://agentmods.dev/skills/m1em1e/vibecoding-tools-4codex-cn/konado-skills)
Your own site
<a href="https://agentmods.dev/skills/m1em1e/vibecoding-tools-4codex-cn/konado-skills"><img src="https://agentmods.dev/badge/skills/m1em1e/vibecoding-tools-4codex-cn/konado-skills/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 konado-script

Your own site · 80×15
<a href="https://agentmods.dev/skills/m1em1e/vibecoding-tools-4codex-cn/konado-skills"><img src="https://agentmods.dev/badge/skills/m1em1e/vibecoding-tools-4codex-cn/konado-skills.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,013 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.00045 $0.01013
Opus 5 $0.00023 $0.00507
Sonnet 5 $0.00009 $0.00203
Haiku 4.5 $0.00005 $0.00101

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

Security

Grade A, and why

konado-script 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 9d ago.

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.

skills/konado-skills/SKILL.md · 138 lines

What it actually says

Konado Script 助手

Konado Script 是一种用于视觉小说开发的领域特定语言(文件扩展名:.ks),它将故事内容与程序逻辑分离。

核心语法元素

1. 对话

"角色ID" "对话文本" 语音标签
  • 旁白:"narrator" "文本内容"
  • 角色:"kona" "你好!" alice_intro_01

2. 分支/标签

branch [标签ID]
    "角色" "对话内容"
  • 创建用于跳转的命名区域
  • 不能嵌套
  • choice 配合使用,处理玩家决策

3. 选择(玩家决策)

choice "选项文本" -> 分支名称
  • 多个选项构成一个选项组
  • 必须引用已有的分支名称
  • 示例:
choice "绿茶" -> green_tea
choice "红茶" -> black_tea

4. 条件分支(If-Else)

if %变量 == 值:
    "角色" "条件为真时的对话"
else:
    "角色" "条件为假时的对话"
endif

5. 角色命令

命令 语法
显示角色 actor show [ID] [状态] at [位置]
移动角色 actor move [ID] [位置]
改变状态 actor change [名称] [新状态]
角色退场 actor exit [ID]

6. 背景

background [图片名称] [效果类型]
  • 效果类型:nonefadeeraseblindswavevortexwindmillcyberglitch
  • 默认:none(即时切换)

7. 音频

命令 语法
播放背景音乐 play bgm [音乐名称]
播放音效 play sfx [音效名称]
停止背景音乐 stop bgm

8. 变量系统

变量类型:

类型 前缀 持久性
持久变量 % 随存档数据保存
临时变量 $ 仅当前场景有效

操作:

set %变量 = 值
add %变量 值
sub %变量 值
mul %变量 值
div %变量 值

对话中的变量插值:

"角色" "你好,%玩家姓名!"

9. 信号

signal [自定义信号命令]
  • 用于游戏事件的自定义信号(例如:signal 好感度上升

10. 结束对话

end

常见问题与提示

  1. 解析失败:如果脚本无法解析,右键点击文件并选择“重新导入”
  2. 编码:确保 .ks 文件保存为 UTF-8 编码
  3. 分支命名:区分大小写,不能有空格或特殊字符
  4. 引号语法:字符串使用英文双引号

示例脚本

# 场景设置
background morning_forest fade
play bgm peaceful_morning
actor show kona normal at 2

# 对话
"Kona" "早上好!"
"narrator" "太阳从森林上方升起..."

# 玩家选择
choice "打招呼" -> greet
choice "保持沉默" -> silent

branch greet
    "Kona" "你好!很高兴认识你。"
    set %relationship = 1
branch silent
    "Kona" "哦...那好吧。"

# 条件判断
if %relationship > 0:
    "Kona" "我们做朋友吧!"
endif

end
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. 9d ago First seen · 138 lines · 45 tokens per session scan A a08462f57041

Subscribe to this mod's changes

konado-script is a skill published in the GitHub repository m1em1e/vibecoding-tools-4codex-cn (2 stars, last pushed 2mo ago), licensed MIT. It adds 45 tokens to every session and 1,013 once invoked, about $0.0002 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.