LaunchKit · 2026
Back to Skills

arknights-operator-gacha

Generate an Arknights operator agent based on gacha probabilities.

2
274 downloads
by @hg-hg

Setup & Installation

openclaw skills install @hg-hg/arknights-operator-gacha

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install arknights-operator-gacha

Version History

v2.0.0Feb 25, 2026 - Version note by skill developer:

Improved security and deterministic by replacing LLM workflow with Python script.

What This Skill Does

Runs a gacha roll to select a random Arknights operator, then builds a full AI agent for that operator by fetching lore from English and Chinese wikis. The agent gets a generated personality file (SOUL.md) and launches in a roleplay scene where the operator reports to the Doctor in-character. Supports both English and Chinese interaction modes.

Combines deterministic gacha mechanics with LLM-generated personality sourced from both English Fandom and Chinese PRTS lore, producing a ready-to-use roleplay agent in a single command.

When to use it

  • Rolling a random Arknights operator to interact with as an AI agent
  • Building a personal operator roster over multiple gacha pulls
  • Reading bilingual lore summaries for an operator you just pulled
  • Roleplaying as the Doctor with a newly recruited operator
  • Exploring operator personality and voice lines through conversation

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: Pull a random Arknights operator for me

AGENT
  1. 1Executes gacha_worker.py to roll star rating and randomly select an operator with avatar and wiki URLs
  2. 2Checks for duplicate operators and re-rolls if the operator already exists as an agent
  3. 3Fetches English lore from Fandom wiki File, Story, and Trivia pages, and Chinese lore from PRTS wiki
  4. 4Generates SOUL.md covering personality, speech patterns, relationships, and key voice line quotes
  5. 5Spawns the operator agent with a roleplay prompt to greet the Doctor in-character
OUTPUT

The operator introduces themselves in-character, followed by a summary of their name in English and Chinese, star rarity, and workspace path