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.
git clone --depth 1 https://github.com/cty12356541/galideWrote 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.
[](https://agentmods.dev/rules/cty12356541/galide/dsl-conventions)<a href="https://agentmods.dev/rules/cty12356541/galide/dsl-conventions"><img src="https://agentmods.dev/badge/rules/cty12356541/galide/dsl-conventions/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.
<a href="https://agentmods.dev/rules/cty12356541/galide/dsl-conventions"><img src="https://agentmods.dev/badge/rules/cty12356541/galide/dsl-conventions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00000 | $0.00435 |
| Opus 5.5 | $0.00000 | $0.00174 |
| Sonnet 5.5 | $0.00000 | $0.00087 |
| Haiku 4.5 | $0.00000 | $0.00044 |
Grade A, and why
dsl-conventions 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 2mo 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.
What it actually says
gal DSL 语言规范
设计约束
- 纯文本行级语义:每行要么是元数据、要么是对白、要么是控制流
- 禁止多行块语法:JSON/YAML 的多行字符串会破坏
git diff线性 - 显式符号标记层级:不需要缩进来表达嵌套
- 资产引用必须使用相对于项目根的相对路径
行类型速查
# 章节标题
## 场景元数据
背景: assets/backgrounds/xxx.png
BGM: assets/bgm/xxx.mp3
[角色:名字 | 立绘:asset.png | 位置:左]
角色名: "对白内容"
* "选项文本" -> 目标节点
=== 节点名 ===
[跳转:目标节点]
// 注释
AST 节点类型
解析器必须输出以下 AST 节点类型:
ScriptNode:{ type: 'script', children: Node[] }SceneNode:{ type: 'scene', id, background?, bgm?, children }DialogueNode:{ type: 'dialogue', character, sprite?, position?, lines }ChoiceNode:{ type: 'choice', options: { text, target }[] }GotoNode:{ type: 'goto', target }
解析器约定
- 词法分析器输出
Token[],包含type + value + line + column - 解析失败返回结构化
ParseError(含line/column),不抛异常 - 必须包含
errors: ParseError[]字段
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.
- 2mo ago First seen · 47 lines · 435 tokens per session scan A 5d9ee3cd2d82
dsl-conventions is a cursor rule published in the GitHub repository cty12356541/galide (2 stars, last pushed 5d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 435 tokens. 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.
Other cursor rules, from other repositories
meta-quest-agentic-tools
Use Meta Quest Agentic Tools for Meta Quest and Horizon OS samples.
narrative-writing
A set of rules for writing and editing video-game narratives, connected to a narrative project. It requires the agent to load the project's writing context and story canon, which is the established set of story facts, before making changes.
meta-quest-agentic-tools
Use Meta Quest Agentic Tools for Meta Quest and Horizon OS samples.
visual-and-observational-rules
Defines the visual aspects of the game and how the player observes the world. This includes map color-coding, screen effects, and the overall simulation style.
00-project-overview
Base project rule — purpose, constraints, and defaults for mcp-5etools.
ponytail
Ponytail, lazy senior dev mode. Always pick the simplest solution that works.