Install
openclaw skills install arknights-skillAnswer Arknights questions about operator roles, skill mechanics, investment planning, story context, terminology, and stage strategy; read and maintain a local structured Doctor profile so advice can adapt to the user's roster and progress; clearly separate fresh version checks from non-current judgment.
openclaw skills install arknights-skillA dedicated skill for Arknights questions. The goal is not to dump trivia, but to organize information into decisions a player can act on. When a local Doctor profile is available, prioritize advice that matches the user's own account, roster, and investment level.
Use this skill when the user asks about:
If the current client allows local file access, read the structured profile next to the installed skill first. Do not assume the current working directory is the skill directory. Resolve the script path with this fallback:
SKILL_DIR="${CLAUDE_SKILL_DIR:-${SKILL_DIR:-$(dirname "$(find ~/.hermes ~/.config -name memory.py -print -quit 2>/dev/null)")}}"
python3 "$SKILL_DIR/scripts/memory.py" read
The default profile path is:
~/.config/arknights-skill/doctor-profile.json
The user can also set ARKNIGHTS_MEMORY_DIR to use a different local directory. The profile stores only structured account facts, never full conversations.
If neither $CLAUDE_SKILL_DIR nor $SKILL_DIR is set, search ~/.hermes/skills or ~/.config/arknights-skill for the directory containing memory.py.
When answering:
After answering, extract only explicitly provided facts from the user's current turn and update the profile:
python3 "$CLAUDE_SKILL_DIR/scripts/memory.py" update --patch-json '{"operators":{"SilverAsh":{"owned":true,"elite":2,"level":60,"masteries":{"3":3}}}}'
Only write these facts:
Do not write:
When a downgrade or conflicting fact appears, the script writes to pending_confirmations. Do not manually overwrite those fields. If useful, ask the user briefly at the end to confirm.
Pending confirmations can be resolved manually:
# Apply a pending downgrade / conflict
python3 "$SKILL_DIR/scripts/memory.py" confirm --field "SilverAsh.elite" --apply
# Dismiss (discard) a pending entry
python3 "$SKILL_DIR/scripts/memory.py" dismiss --field "SilverAsh.elite"
Additional profile management commands:
# List recorded operators (filter with --owned or --has-pending)
python3 "$SKILL_DIR/scripts/memory.py" list --owned
# Search operators by name or notes
python3 "$SKILL_DIR/scripts/memory.py" search silver
# Delete a recorded operator
python3 "$SKILL_DIR/scripts/memory.py" delete-operator SilverAsh
# Remove stale pending confirmations (older than 30 days)
python3 "$SKILL_DIR/scripts/memory.py" gc --days 30
# Preview merged result without saving
python3 "$SKILL_DIR/scripts/memory.py" update --patch-json '...' --dry-run
When the user asks whether to build an operator, which skill to prioritize, or how to clear a stage, lead with the answer before the explanation.
Preferred order:
The following can be stated as facts:
The following require qualifiers:
Phrase these as "under current mainstream evaluation", "from an early-game utility perspective", or "in high-pressure content, this is usually considered".
Treat these questions as freshness-critical by default:
Rules:
明日方舟 {operator_name} 强度 {current_version}, NGA 明日方舟版, PRTS WikiArknights {operator_name} guide {current_version}, Gamepress, Arknights WikiWhen the user did not ask for spoilers, default to Level 0-1:
When the user explicitly asks for the full story, start with:
Full spoilers below.
Stage strategy answers should cover as many of these as useful:
If the user did not say they have a high-end roster, include a lower-rarity or lower-investment approach.
Use official or widely accepted names. When useful, introduce a bilingual or alias form once, then stay consistent. Do not rotate between multiple nicknames for the same concept.
Default structure:
Default structure:
Default structure:
Default structure:
Default structure:
Default structure:
agents/openai.yaml defines the Agent prompt configuration specific to this skill:
display_name / short_description — Display name and summary shown in the Agent skill list.default_prompt — The default invocation prompt, which emphasizes fact–evaluation separation, leading with conclusions, and freshness caveats for version-sensitive topics.policy.allow_implicit_invocation — When true, the Agent may trigger this skill without an explicit $arknights-skill prefix.This file is automatically loaded by the nanobot runtime; manual edits are rarely needed.
Read these only when needed; do not load all of them by default:
Read these files only when you need a fuller template, want to align with the example rhythm, need the profile schema reference, or need to confirm the local memory script interface.
Do not:
Every answer should help the user do at least one of these: