Starcat: Skill for Claude Code

.claude/skills/starcat-localization-sync/SKILL.md

starcat-localization-sync is a skill for Claude Code, Codex from starcat-app/Starcat. It costs 105 tokens per session (1,998 once invoked), scanned A, original, MIT.

A process for managing Starcat’s app translations from draft text through review, import, and release across 18 languages. It keeps the app’s translation catalogue and the public translation repository aligned.

In plain words
What is it for?
Use it to create or repair translation drafts, review and import approved text, audit languages, change translation status, or verify Arabic and other right-to-left interfaces.
Why use it?
It separates machine-generated drafts from approved translations and checks for missing keys, broken placeholders, build problems, and right-to-left layout issues.

Skill for Claude CodeCodex

Written for Claude Code and Codex: installed under .claude/, but also agents/openai.yaml present.

This is starcat-app/Starcat's own configuration. It tells Claude Code and Codex how to work on Starcat itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything Starcat configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 supports/starcat-localization/scripts/validate_packages.py.

Reuse

Borrowing it

Nothing to install: this file belongs to starcat-app/Starcat. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/starcat-app/Starcat/main/.claude/skills/starcat-localization-sync/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/starcat-app/Starcat

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 starcat-localization-sync

README.md
[![agentmods](https://agentmods.dev/badge/skills/starcat-app/starcat/starcat-localization-sync.svg)](https://agentmods.dev/skills/starcat-app/starcat/starcat-localization-sync)
Your own site
<a href="https://agentmods.dev/skills/starcat-app/starcat/starcat-localization-sync"><img src="https://agentmods.dev/badge/skills/starcat-app/starcat/starcat-localization-sync.svg" alt="Measured on agentmods" height="20"></a>
Per session 105 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,998 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00105 $0.01998
Opus 5 $0.00053 $0.00999
Sonnet 5 $0.00021 $0.00400
Haiku 4.5 $0.00011 $0.00200

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

Security

Grade A, and why

starcat-localization-sync 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 8d 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.

.claude/skills/starcat-localization-sync/SKILL.md · 143 lines

How it starts

The opening of the file, as written. The whole thing — 143 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Starcat 本地化同步

处理 Starcat 运行时 String Catalog 与公开本地化仓库之间的完整生命周期。先读 references/localization-map.md,再按本文件选择执行路径。

硬闸(2026-08-18):日常功能开发往 Starcat/Resources/Localizable.xcstrings 加 key / 改文案,禁止走本 skill,禁止 scripts/xcstrings_patch.py --apply禁止 Python/jq 读入全文再写回。只允许按 docs/5-规范/i18n-军规.md 铁律 #6 做相邻 key 关键词局部匹配。本 skill 仅在 dong4j 明确要求本地化同步 / 导入导出 / 审计时使用。

核心模型

始终区分四个阶段,不得用后一个阶段的状态掩盖前一个阶段缺失的证据:

阶段 含义 允许结果
AI 初稿 机器翻译完成,尚未批准 needs-review-translation
翻译批准 人工审核,或维护者明确接受 AI 风险 translated / final / signed-off
导入 Catalog 已批准 target 写回 App locale 仍可保持 draft
正式发布 编译、AppLocale、UI 和 RTL 门禁通过 releaseStatus=released

“翻译批准”不等于“正式发布”。维护者跳过母语审核时,也不能自动跳过 UI、编译和 Arabic RTL 验收。

硬性规则

  • 所有说明使用中文;命令、路径、locale、key、JSON 字段保持原文。
  • 写入前先给出范围、状态变化和验证方案,等用户确认。
  • 运行时单一来源是 Starcat/Resources/Localizable.xcstrings;公开协作单一来源是 supports/starcat-localization/Translation Packages/
  • supports/starcat-localization 是独立 Git 仓库;分别检查、提交和回滚,不混入 Starcat 主仓库 commit。
  • 新增或修改用户可见文案时,同时维护 enzh-Hans
  • 新增 key 使用 {section}.{subsection}.{component},禁止 _
  • AI 生成只能写 needs-review-translation
  • 默认只导入 translatedfinalsigned-off;禁止普通流程使用 --allow-unreviewed
  • 可执行代码块、行内代码、URL 和占位符必须逐字保留。
  • .xcstrings 只做局部编辑;用 jq empty 校验,禁止用 formatter 重写全文。
  • 不使用 String(localized:)NSLocalizedString;Swift 代码任务先读 i18n 规范。
  • 未观察到的母语质量、UI 或 RTL 验收不得写成已完成。

任务路由

用户目标 入口
同步最新 key/source python3 supports/scripts/starcat-localization.py export
查看完成度 python3 supports/scripts/starcat-localization.py report --format json
审计包和发布门禁 python3 supports/scripts/starcat-localization.py audit
生成/续跑 AI 初稿 python3 supports/starcat-localization/scripts/translate_draft.py
定向重译 translate_draft.py --key <key> --apply
恢复技术字面量 translate_draft.py --repair-protected-literals --apply
人工审核后导入 starcat-localization.py import / import-all
维护者接受 AI 初稿 python3 supports/starcat-localization/scripts/promote_drafts.py
正式开放语言 先导入,再扩展 AppLocale,最后提升 releaseStatus
修补已有 .xcstrings scripts/xcstrings_patch.py show/set/set-batch

Read the full file on GitHub · 143 lines

Files

What ships with it

2 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. 8d ago First seen · 143 lines · 105 tokens per session scan A 8e875dfb33f1

Subscribe to this mod's changes

starcat-localization-sync is a skill published in the GitHub repository starcat-app/Starcat (146 stars, last pushed today), licensed MIT. It adds 105 tokens to every session and 1,998 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-30.

Related

Other skills, from other repositories

binder-app

Build a small HTTP app (dashboard, kanban board, admin panel, custom UI) on top of an existing Binder workspace. Use when asked to "create an app", "build a dashboard", "show records in a chart", "make a kanban/board", "build an admin panel", or "add a UI on top of binder".

mpazik/Binder · 74 tokens

memobase

A Russian-language skill for searching a local knowledge base built from documents and other sources such as web pages, YouTube, audio, and Obsidian notes.

maximskorohod/memobase · 25 tokens

saas-landing

Single-page SaaS landing with hero, features, social proof, pricing, and CTA. Respects the active DESIGN.md color/typography/layout tokens. Trigger keywords: "saas landing", "marketing page", "product landing".

nexu-io/open-design · 52 tokens

worker-visualizer

A real-time data/particle/simulation visualizer whose heavy compute runs in a Web Worker (off the main thread), optionally sharing memory with the UI via SharedArrayBuffer, and renders to a canvas at 60fps. Produced as a single self-contained index.html. Use when the brief asks for a "web worker", "simulation"…

nexu-io/open-design · 123 tokens

webgl-particle-galaxy

A real-time particle galaxy — tens of thousands of additive-blended GPU points spiraling around a bright core, their orbits solved entirely in the vertex shader (from glVertexID), so the whole cloud draws in one call. Rendered as a single self-contained index.html. Use when the brief asks for a "particle field"…

nexu-io/open-design · 126 tokens

webgl-liquid-metal

A real-time liquid-metal shader — a domain-warped noise field shaded as molten chrome, with a sweeping specular highlight over an iridescent thin-film (cosine-palette) sheen. No textures. Rendered as a single self-contained index.html. Use when the brief asks for "liquid metal", "molten chrome", "iridescent"…

nexu-io/open-design · 121 tokens