Token导航 LogoToken导航

Agent Skill · 效率

arknights-operator-gacha(明日方舟操作员扭蛋)

arknights-operator-gacha 用于辅助安全审计、权限检查和凭据风险排查,适合在 OpenClaw 中需要复核安全边界、认证流程或敏感配置时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

arknights-operator-gacha 是效率类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为执行命令;许可证为 MIT-0,第三方扫描已通过,按安装量在效率类的 21,003 个 Skill 里排第 3,718。

总安装 15,830周安装 625GitHub Stars 2下载 5,050核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
2.0.0

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:arknights-operator-gacha(明日方舟操作员扭蛋)
来源仓库:https://github.com/hg-hg/arknights-operator-gacha
安装命令:
openclaw skills install arknights-operator-gacha
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install arknights-operator-gacha

这个 Skill 是做什么的

效率类 Skill 把重复的整理、汇总、转换工作交给助手完成,减少手工复制粘贴。

根据扭蛋概率机制生成明日方舟角色代理数据。适用于游戏内容创作或角色模拟测试场景。arknights-operator-gacha 属于效率类 Skill,可作为该场景下的辅助能力补充。输出包含真实传说内容和随机属性的角色信息。

安装命令:openclaw skills install arknights-operator-gacha。注意区分虚构内容与真实人物,避免误导性使用。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install arknights-operator-gacha;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要执行命令,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

arknights-operator-gacha 怎么安装?

在终端执行 openclaw skills install arknights-operator-gacha。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

arknights-operator-gacha 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

arknights-operator-gacha 需要什么权限?

权限级别是执行命令。安装流程涉及命令执行,可能通过 openclaw skills install arknights-operator-gacha 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

arknights-operator-gacha 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

arknights-operator-gacha 用的人多吗?

公开数据是累计安装 15,830 次,近一周安装 625 次,下载 5,050 次,GitHub 2 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

arknights-operator-gacha 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要执行命令,装到常用环境前要先评估影响面。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理效率类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 不能接受 Skill 在你机器上执行命令的人。
  • 需要厂商级技术支持和 SLA 的生产系统。

效率类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
github

GitHub 代码协作 · OpenClaw

7,632,918545需要联网MIT-0通过
nano-pdf

Nano PDF 文档 · OpenClaw

4,249,476231需要联网MIT-0通过
auto-updater

自动更新程序 · OpenClaw

2,964,063386操作浏览器MIT-0通过
video-frames

视频帧 · OpenClaw

2,621,304112需要联网MIT-0通过
gemini

Gemini 助手 · OpenClaw

2,547,39648需要联网MIT-0有提醒
arknights-operator-gacha

明日方舟操作员扭蛋 · 本页

15,8302执行命令MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
arknights-operator-gacha
description
Generate an Arknights operator agent based on gacha probabilities. Use when user wants to create a random Arknights character agent with authentic lore and personality.

Arknights Operator Gacha

Generate a random Arknights operator agent with authentic lore-based personality.

Architecture

This skill uses a worker script + LLM generation architecture:

  1. Worker script (gacha_worker.py): Executes all deterministic tasks (roll, fetch, create, download)
  2. LLM (this agent): Generates creative content (SOUL.md) and spawns operator

Language Detection

CRITICAL: Detect user language from their gacha command:

  • If command is in Chinese (e.g., "抽卡", "召唤干员") → cn / zh
  • If command is in English (e.g., "gacha", "pull") → en

Store detected language and use it for ALL subsequent steps (SOUL.md writing, spawn task, etc.).

Workflow

Step 1: Execute Worker Script

Run the deterministic worker:

result = exec(
    "python3 ~/.openclaw/workspace/skills/arknights-operator-gacha/scripts/gacha_worker.py",
    timeout=120
)

Worker performs:

  1. Roll star rating (1-100)
  2. Fetch operator list from https://arknights.fandom.com/wiki/Operator/{N}-star

- Parses the mrfz-wtable table to extract operator info - Returns a dict: {operator_name: {"avatar_url": "...", "detail_url": "..."}}

  1. Randomly select operator (with avatar and detail URLs)
  2. Fetch Chinese name from Fandom page (data-source="cnname")
  3. Check for duplicates (auto re-roll if exists)
  4. Create agent via openclaw agents add
  5. Create template IDENTITY.md (bilingual)
  6. Download avatar (using URL from step 2, with domain whitelist and validation)
  7. Git commit initial files
  8. Output JSON to stdout

Worker output format:

{
  "success": true,
  "stars": 6,
  "operator": {
    "en_name": "Lin",
    "cn_name": "林",
    "avatar_url": "https://static.wikia.nocookie.net/.../Lin_icon.png",
    "en_detail_url": "https://arknights.fandom.com/wiki/Lin",
    "cn_detail_url": "https://prts.wiki/w/%E6%9E%97"
  },
  "agent_name": "lin",
  "workspace": "~/.openclaw/workspace-lin",
  "duplicate": false,
  "dialogue_url": "https://arknights.fandom.com/wiki/Lin/Dialogue"
}

Note: The worker provides both English and Chinese URLs:

  • en_detail_url: Fandom wiki page (English lore)
  • cn_detail_url: PRTS wiki page (Chinese lore)
  • dialogue_url: Fandom Dialogue page (voice lines, always English)
  • avatar_url: Operator icon from Fandom

Step 2: Handle Result

If duplicate: true:

  • Inform user: "检测到重复干员,正在重新抽取..." / "Duplicate operator detected, re-rolling..."
  • Return to Step 1 (worker will re-roll)

If success: false:

  • Show error message
  • Stop workflow

If success: true:

  • Announce: "恭喜你抽到了 [cn_name] ([stars]★)!" / "Congratulations! You've pulled [en_name] ([stars]★)!"
  • Continue to Step 3

Step 3: Generate SOUL.md

Fetch lore from URLs provided by worker:

# Fetch English lore from Fandom (multiple subpages)
en_file = web_fetch(f"{result['operator']['en_detail_url']}/File")      # Basic profile, stats, files
en_story = web_fetch(f"{result['operator']['en_detail_url']}/Story")    # Story appearances, plot involvement
en_trivia = web_fetch(f"{result['operator']['en_detail_url']}/Trivia")  # Trivia, relationships, misc info

# Fetch Chinese lore from PRTS
zh_lore = web_fetch(result["operator"]["cn_detail_url"])

# Fetch voice lines from Dialogue page
dialogue = web_fetch(result["operator"]["dialogue_url"])

Parse lore sections from both sources:

  • File/档案: Basic background, origin, personality
  • Story: Detailed story appearances across main chapters and side stories; shows character's actions, decisions, and development in actual plot contexts
  • Dialogue: Voice lines that reveal character personality
  • Trivia/模组: Additional character details, relationships, and module stories

Generate comprehensive SOUL.md:

CRITICAL - Write SOUL.md in detected language

Structure:

  1. Core Identity - Background, motivation, personality (blend EN+CN sources)
  2. Voice and Mannerisms - Speech patterns, catchphrases (from Dialogue)
  3. Relationships - Connections to other characters
  4. Themes - Internal conflicts, philosophy
  5. How to Embody - Acting guidance
  6. Reference: Original Voice Lines - Key quotes (EN with CN)

Write to: [workspace]/SOUL.md

Step 4: Update IDENTITY.md

Fill in the [TO_BE_FILLED_BY_LLM] fields with actual Class and Faction from fetched lore.

Step 5: Final Git Commit

cd ~/.openclaw/workspace-{agent_name}
git add -A
git commit -m "Add SOUL.md: {en_name} ({cn_name}) ({stars}★)"

Step 6: Roleplay Scene - Operator Arrival

Spawn the operator in a roleplay scenario consistent with Arknights game lore. In this universe, operators join Rhodes Island through standard recruitment channels and are unaware of the meta "gacha" system.

For Chinese users:

sessions_spawn(
    task="你现在是罗德岛的一名干员,刚刚完成入职手续,前来向博士报到。用你最自然的口吻打招呼,展示你的性格特点。参考你的语音记录中的'干员报到'或'交谈'部分的语气。\
\
⚠️ 重要:直接输出角色台词即可,不要包含任何元叙述、解释性文字或场景描述。只说你作为干员应该说的话。",
    agentId="{operator-name}",
    mode="run",
    timeoutSeconds=60
)

For English users:

sessions_spawn(
    task="You are an operator of Rhodes Island who has just completed onboarding, now reporting to the Doctor. Introduce yourself naturally, showcasing your personality. Reference your 'Introduction' or 'Talk' voice lines for tone.\
\
⚠️ IMPORTANT: Output ONLY the character's dialogue. Do NOT include meta-commentary, explanations, or scene descriptions. Just speak as the operator would.",
    agentId="{operator-name}",
    mode="run",
    timeoutSeconds=60
)

Step 7: Present Summary

Report to user:

  • Operator name (both EN and CN)
  • Rarity (Stars)
  • Key personality traits
  • Workspace path
  • Available via agentId="{agent_name}"

Worker Script Security

The worker script (gacha_worker.py) implements:

  • Input validation: Agent names sanitized (alphanumeric + hyphens only)
  • Path traversal prevention: Rejects .., /, \ in names
  • URL whitelist: Only static.wikia.nocookie.net and media.prts.wiki
  • HTTPS enforced: All downloads use HTTPS
  • Content validation: Only image/png, jpeg, webp accepted
  • Size limits: Max 5MB for avatars
  • Safe subprocess: All commands use argument lists, shell=False

Scripts

ScriptPurpose
gacha_worker.pyDeterministic tasks (roll, fetch, create, download, commit)

Data Flow

User Request
    ↓
Exec Worker Script
    ↓
Worker Output JSON (bilingual URLs)
    ↓
LLM Fetches EN+CN Lore → Generates SOUL.md
    ↓
Spawn Operator (报到)
    ↓
User sees operator greeting

Notes

  • Worker does: All deterministic operations (HTTP, filesystem, subprocess), provides bilingual URLs
  • LLM does: Creative generation (SOUL.md writing), fetches lore from provided URLs, interpretation, spawning
  • Progress visibility: Worker prints to stderr; user sees real-time updates
  • Security: All external inputs validated in worker before use
  • Bilingual: Both English and Chinese sources are always fetched; LLM can blend them creatively

平台分布

OpenClaw

71.48%
按下载量换算3,610

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

执行命令

安装流程涉及命令执行,可能通过 openclaw skills install arknights-operator-gacha 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills