Agent skill

Ok Script Tasks

by AliceJump in 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…

No licenceAuto-check passedDevelopment

Install Ok Script Tasks

skills CLI
$ npx skills add AliceJump/ok-gf2 --skill ok-script-tasks -a claude-code

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

GitHub CLI
$ gh skill install AliceJump/ok-gf2 ok-script-tasks --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-script-tasks .claude/skills/ok-script-tasks && 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-script-tasks
GitHub stars
274
Token cost
~1k tokens
SKILL.md length
238 words
Files
3 (incl. references)
Skills in repo
9
Repo updated
First seen
Licence
None found

At a glance

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…

  • Works in 7 steps: 先看 src/tasks/ 下既有任务与 src/config.py… → 决定任务类型 → 在 init… → …
  • Explaining ok-gf2 tasks
  • SKILL.md covers Overview, ok-gf2 的本地约定, Workflow and Bilingual Output, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Ok Script Tasks is an agent skill from 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 src/config.py, and bilingual English/Chinese task behavior. Use when creating, refactoring, reviewing, or explaining ok-gf2 tasks.

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/task-api.md` and `references/templates.md`).

It sits in Development, covering Translation and Refactoring. It works with Python. The repository describes itself as: 少女前线2 追放 PC版 后台一键收菜 自动化脚本 Girls' Frontline 2: Exilium Automation Tool.

When your agent uses it

  • Explaining ok-gf2 tasks
  • Tasks that involve Translation
  • Tasks that involve Refactoring

Example prompts

  • “/ok-script-tasks”

Requirements

  • Python 3

Workflow steps

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

  1. 先看 src/tasks/ 下既有任务与 src/config.py 注册方式,优先复用项目基类与既有 helper。
  2. 决定任务类型
  3. 在 init 里设置元数据:name、description、default_config、config_description、config_type、
  4. 实现 run(),拆成小步且可观测。优先用 self.log_info、self.log_warning、self.info_set、
  5. 在 src/config.py 注册。
  6. 若任务有用户可见文案,用 $ok-script-i18n 同步 i18n/*/LC_MESSAGES/ok.po 并编译 .mo。
  7. 验证:至少 & "..venv\Scripts\python.exe" -c "from src.tasks.XxxTask import XxxTask" 能导入;

What it can do on your machine

Read from SKILL.md and the folder at commit 377665d. 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 python).

    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 Script Tasks loads about 1k tokens when it runs, and up to ~3.7k if it reads all its reference files. Until then it costs about 85 tokens; SKILL.md has 238 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~85
When it runs · the whole SKILL.md, loaded when a task matches
~1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~3.7k

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 238 words (~1,018 tokens).

“在 ok-gf2 中创建或修改基于 PyPI ok-script==2.0.5 的任务类。先看本仓库的既有约定,再套用通用 ok-script 知识。”

— opening of SKILL.md by AliceJump
name
ok-script-tasks

Read the full SKILL.md on GitHub

Files

SKILL.md and 2 other files (references) in .agents/skills/ok-script-tasks of AliceJump/ok-gf2.

  • SKILL.md
  • references/task-api.md
  • references/templates.md

Open the folder on GitHubat commit 377665d

Compare with similar skills

Ok Script Tasks 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 Script Tasks compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Ok Script Tasks this skillAliceJump/ok-gf2274—~1kAutomated safety check: PassNone
Python Scala Oopbenchflow-ai/skillsbench1.8k—~1.9kAutomated safety check: PassApache-2.0
Python To Lean4 TranslatorArabelaTso/Skills-4-SE253—~2.2kAutomated safety check: PassApache-2.0
PonytailDavidObando/gsharp5658 repos~1.7kAutomated safety check: PassMIT
Dignified Python Standardsdocling-project/docling69k—~1.5kAutomated safety check: PassApache-2.0
Readable Pycrazyguitar/pysheeet8.2k—~2.4kAutomated safety check: PassMIT

Similar skills

  • Python Scala Oop

    benchflow-ai/skillsbench

    Guide for translating Python classes, inheritance, and object-oriented patterns to Scala.

    1.8k GitHub stars~1.9k tokensUpdated 2 mo ago
    DevelopmentAuto-check passed
  • Python To Lean4 Translator

    ArabelaTso/Skills-4-SE

    Translate Python programs to equivalent Lean4 code while preserving semantics and ensuring type safety.

    253 GitHub stars~2.2k tokensUpdated 1 mo ago
    DevelopmentAuto-check passed
  • Ponytail

    DavidObando/gsharp

    Forces the laziest solution that actually works, simplest, shortest, most minimal.

    565 GitHub starsUsed in 8 repos~1.7k tokens
    DevelopmentAuto-check passed
  • Dignified Python Standards

    docling-project/docling

    Applies opinionated production Python conventions chosen by the project's Python version: modern type syntax, pathlib, explicit checks and interface guidance.

    69k GitHub stars~1.5k tokensUpdated today
    DevelopmentAuto-check passed
  • Readable Py

    crazyguitar/pysheeet

    Readable Python code rules inspired by The Art of Readable Code.

    8.2k GitHub stars~2.4k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Nexus Mapper

    Haaaiawd/Nexus-skills

    Generate a persistent .nexus-map/ knowledge base that lets any AI session instantly understand a codebase's architecture, systems, dependencies, and change hotspots.

    166 GitHub starsUsed in 1 repo~2.5k tokens
    DevelopmentAuto-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
  • 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 Config Migration

    AliceJump/ok-gf2

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

    274 GitHub stars~534 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

Works with

Questions about Ok Script Tasks

What does Ok Script Tasks do?

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…. Ok Script Tasks is an agent skill from AliceJump/ok-gf2.py, and bilingual English/Chinese task behavior.

When should I use Ok Script Tasks?

Ok Script Tasks fits situations like: explaining ok-gf2 tasks; tasks that involve Translation; tasks that involve Refactoring.

How do I install Ok Script Tasks in Claude Code?

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

How do I install Ok Script Tasks in Codex?

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

Can I use Ok Script Tasks 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-script-tasks -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-script-tasks, .gemini/skills/ok-script-tasks, .github/skills/ok-script-tasks and .opencode/skills/ok-script-tasks in your project.

What does Ok Script Tasks need to run?

SKILL.md names no scripts, command-line tools or credentials: Ok Script Tasks is instructions for the agent only. Our summary lists: Python 3.

Does Ok Script Tasks 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 Script Tasks 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 Script Tasks use?

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

How many tokens does Ok Script Tasks use?

About 1k tokens (SKILL.md is roughly 4.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 2.7k tokens, read only when the agent opens those files.

What are the alternatives to Ok Script Tasks?

Skills that share tags, products or a category with Ok Script Tasks: Python Scala Oop (benchflow-ai/skillsbench, 1.8k stars), Python To Lean4 Translator (ArabelaTso/Skills-4-SE, 253 stars), Ponytail (DavidObando/gsharp, 565 stars) and Dignified Python Standards (docling-project/docling, 69k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Ok Script Tasks?

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 8, 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.