Agent skill

Ok Config Migration

by AliceJump in AliceJump/ok-gf2

Rename persisted config keys in ok-gf2 tasks without losing user data.

No licenceAuto-check passed

Install Ok Config Migration

skills CLI
$ npx skills add AliceJump/ok-gf2 --skill ok-config-migration -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install AliceJump/ok-gf2 ok-config-migration --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/AliceJump/ok-gf2.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/ok-config-migration .claude/skills/ok-config-migration && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
ok-config-migration
GitHub stars
274
Token cost
~534 tokens
SKILL.md length
99 words
Files
1
Skills in repo
9
Repo updated
First seen
Licence
None found

At a glance

Rename persisted config keys in ok-gf2 tasks without losing user data.

  • Works in 7 steps: 先备份:把要改的 configs/<任务名>.json 复制一份到… → 确认影响面:搜索代码里该键名的所有引用——default_config、confi… → 同一次提交里完成三件事,不要分步部署 → …
  • Modifying defaultconfig key names
  • SKILL.md covers Why this skill exists, Workflow(严格顺序), 数据已丢失时的恢复 and Guardrails
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Ok Config Migration is an agent skill from AliceJump/ok-gf2. Rename persisted config keys in ok-gf2 tasks without losing user data. Use when modifying defaultconfig key names, config group keys, or option value strings in a task class — configs/.json holds user runtime data and ok-script 2.0.5 has no built-in key migration, so a rename needs a manual, ordered procedure.

Its SKILL.md is about 530 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: 少女前线2 追放 PC版 后台一键收菜 自动化脚本 Girls' Frontline 2: Exilium Automation Tool.

When your agent uses it

  • Modifying defaultconfig key names
  • Config group keys
  • Option value strings in a task class — configs/.json holds user runtime data and ok-script 2.0.5 has no built-in key migration
  • So a rename needs a manual

Example prompts

  • “/ok-config-migration”

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. 先备份:把要改的 configs/<任务名>.json 复制一份到 tmp/,改名失败时可回滚。
  2. 确认影响面:搜索代码里该键名的所有引用——default_config、config_description、
  3. 同一次提交里完成三件事,不要分步部署
  4. 迁移用户数据:用脚本把 configs/<任务名>.json 里的旧键改名为新键并保留取值;
  5. 同步 i18n:i18n/*/LC_MESSAGES/ok.po 的 msgid 必须与代码里的键名完全一致,改键名就要改 msgid
  6. 同步文档:搜索 docs/(日常任务.md、周常任务.md 等)里的旧键名并更新。
  7. 验证:导入模块确认无语法/引用错误,再检查 GUI 里新键能正常读写。

What it can do on your machine

Read from SKILL.md and the folder at commit 90b7b45. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are powershell).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Ok Config Migration loads about 534 tokens when it runs. Until then it costs about 83 tokens; SKILL.md has 99 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~83
When it runs · the whole SKILL.md, loaded when a task matches
~534

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 99 words (~534 tokens).

“configs/ 下的 JSON 是用户运行时数据(例如 configs/DailyTask.json 存着账号、体力本选择、各项开关)。 default_config 的键名一旦改动,旧键对应的用户值会被静默丢弃——用户表现为「设置莫名其妙被重置」。”

— opening of SKILL.md by AliceJump
name
ok-config-migration

Read the full SKILL.md on GitHub

Files

Just SKILL.md in .agents/skills/ok-config-migration of AliceJump/ok-gf2.

Open the folder on GitHubat commit 90b7b45

Compare with similar skills

Ok Config Migration next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Ok Config Migration compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Ok Config Migration this skillAliceJump/ok-gf2274—~534Automated safety check: PassNone
Hunting For Registry Run Key Persistencemukul975/Anthropic-Cybersecurity-Skills34k—~846Automated safety check: PassApache-2.0
Database Migrationsaffaan-m/ECC276k4 repos~3kAutomated safety check: PassMIT
Reversible MigrationJuliusBrussee/caveman111k1 repos~196Automated safety check: PassApache-2.0
Database Migrationsaffaan-m/ECC276k1 repos~2.4kAutomated safety check: PassMIT
Safe Database Migration Patternsaffaan-m/ECC276k—~3.3kAutomated safety check: PassMIT

Similar skills

  • Hunting For Registry Run Key Persistence

    mukul975/Anthropic-Cybersecurity-Skills

    Detect MITRE ATT&CK T1547.001 registry Run key persistence by analyzing Sysmon Event ID 13 logs and registry queries to identify malicious auto-start entries.

    34k GitHub stars~846 tokensUpdated 1 mo ago
    SecurityAuto-check passed
  • Safe, reversible database migration patterns: forward-only production changes, expand-contract zero-downtime renames, concurrent indexes, batched backfills, and per-tool workflows for PostgreSQL…

    276k GitHub starsUsed in 4 repos~3k tokens
    DatabasesAuto-check passed
  • Reversible Migration

    JuliusBrussee/caveman

    Implement reversible compatibility-safe transitions. Use for schema, data, API, protocol, configuration, or dependency migrations requiring rollback and…

    111k GitHub starsUsed in 1 repo~196 tokens
    DevelopmentAuto-check passed
  • Şema değişiklikleri, veri migration'ları, rollback'ler ve PostgreSQL, MySQL ve yaygın ORM'ler (Prisma, Drizzle, Django, TypeORM, golang-migrate) arasında sıfır kesinti deployment'ları için…

    276k GitHub starsUsed in 1 repo~2.4k tokens
    DatabasesAuto-check passed
  • Rules and examples for safe, reversible schema changes in production: zero-downtime column and index changes, large data backfills and ORM migration workflows.

    276k GitHub stars~3.3k tokensUpdated today
    DatabasesAuto-check passed
  • Migrate Create

    ruvnet/ruflo

    Create a new sequentially numbered database migration with up/down SQL files

    74k GitHub stars~583 tokensUpdated today
    DatabasesAuto-check: notes

More from AliceJump/ok-gf2

All 9 skills in this repo
  • Deploy

    AliceJump/ok-gf2

    Commit completed ok-gf2 changes, create the next annotated version tag, and push the commit and tag to origin.

    274 GitHub stars~737 tokensUpdated today
    Auto-check passed
  • Ok Script I18n

    AliceJump/ok-gf2

    Add, sync, repair, and compile gettext translations for ok-gf2 task classes and task metadata.

    274 GitHub stars~914 tokensUpdated today
    Auto-check passed
  • Ok Script Tasks

    AliceJump/ok-gf2

    Create and modify automation task classes for the ok-script Python library in ok-gf2, including BaseTask one-time tasks, TriggerTask background tasks, task config UI metadata, registration in…

    274 GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Daily Task Orchestration

    AliceJump/ok-gf2

    Orchestrate multi-step daily (每日) task plans in ok-gf2 with DailyTaskRunner.

    274 GitHub stars~1.7k tokensUpdated today
    Auto-check passed
  • GitHub Workflows

    AliceJump/ok-gf2

    Configure and troubleshoot GitHub Actions workflow files in ok-gf2 — YAML syntax traps (single-line run with :word:), diagnosing "Invalid workflow file" / jobs:0 runs that never start, and…

    274 GitHub stars~731 tokensUpdated today
    Auto-check passed
  • Ok Script Multi Account

    AliceJump/ok-gf2

    Multi-account execution and per-account configuration overrides in ok-gf2 — account list, stable account IDs, per-account task config overrides, and the 账号配置 GUI page.

    274 GitHub stars~848 tokensUpdated today
    Auto-check passed

Questions about Ok Config Migration

What does Ok Config Migration do?

Rename persisted config keys in ok-gf2 tasks without losing user data. Ok Config Migration is an agent skill from AliceJump/ok-gf2. Rename persisted config keys in ok-gf2 tasks without losing user data.

When should I use Ok Config Migration?

Ok Config Migration fits situations like: modifying defaultconfig key names; config group keys; option value strings in a task class — configs/.json holds user runtime data and ok-script 2.0.5 has no built-in key migration; so a rename needs a manual.

How do I install Ok Config Migration in Claude Code?

Run `npx skills add AliceJump/ok-gf2 --skill ok-config-migration -a claude-code`. Or copy the skill folder (.agents/skills/ok-config-migration in AliceJump/ok-gf2) into .claude/skills/ok-config-migration in your project. Claude Code loads it when a task matches its description.

How do I install Ok Config Migration in Codex?

Run `npx skills add AliceJump/ok-gf2 --skill ok-config-migration -a codex`. Or copy the skill folder (.agents/skills/ok-config-migration in AliceJump/ok-gf2) into .agents/skills/ok-config-migration in your project. Codex loads it when a task matches its description.

Can I use Ok Config Migration in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add AliceJump/ok-gf2 --skill ok-config-migration -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ok-config-migration, .gemini/skills/ok-config-migration, .github/skills/ok-config-migration and .opencode/skills/ok-config-migration in your project.

What does Ok Config Migration need to run?

SKILL.md names no scripts, command-line tools or credentials: Ok Config Migration is instructions for the agent only.

Does Ok Config Migration access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Ok Config Migration safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Ok Config Migration use?

No licence was found for Ok Config Migration or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Ok Config Migration use?

About 534 tokens (SKILL.md is roughly 2.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Ok Config Migration?

Skills that share tags, products or a category with Ok Config Migration: Hunting For Registry Run Key Persistence (mukul975/Anthropic-Cybersecurity-Skills, 34k stars), Database Migrations (affaan-m/ECC, 276k stars), Reversible Migration (JuliusBrussee/caveman, 111k stars) and Database Migrations (affaan-m/ECC, 276k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Ok Config Migration?

AliceJump (a GitHub user) maintains it in AliceJump/ok-gf2, which has 274 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on October 10, 2026.

Source: AliceJump/ok-gf2 on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.