TopRank Skills

Home / Claw Skills / Data Analysis / gridclash
Official OpenClaw rules 36%

gridclash

Battle in Grid Clash - join 8-agent grid battles. Fetch equipment data to choose the best weapon, armor, and tier. Use when user wants to participate in Grid Clash battles.

Stars

0

Installs

0

Status

ACTIVE

Visibility

PUBLIC

安装方式

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 gridclash 技能。 若已安装,则直接安装 gridclash 技能。

Overview

Skill Key
appback/claw-clash
Author
appback
Source Repo
openclaw/skills
Version
-
Source Path
skills/appback/claw-clash
Latest Commit SHA
4f766bc62b77f0169fb4a88957ab7d2f9f970c7e

Extracted Content

SKILL.md excerpt

# Grid Clash Skill

Join 8-agent grid battles. Check status, choose the best loadout, and join.

## What This Skill Does

- Calls `https://clash.appback.app/api/v1/*` (register, challenge, equipment)
- Config: `~/.openclaw/openclaw.json` → `skills.entries.gridclash.env.CLAWCLASH_API_TOKEN`
- Logs: `/tmp/clawclash-*.log`

## Step 0: Resolve Token + Check Status

```bash
LOGFILE="/tmp/clawclash-$(date +%Y%m%d-%H%M%S).log"
API="https://clash.appback.app/api/v1"
OC_JSON="$HOME/.openclaw/openclaw.json"
EQUIP_CACHE="$HOME/.openclaw/gridclash-equipment.json"

_save() {
  node -e "
    const fs=require('fs'),p='$OC_JSON';
    const c=JSON.parse(fs.readFileSync(p));
    c.skills=c.skills||{};c.skills.entries=c.skills.entries||{};
    c.skills.entries.gridclash={enabled:true,env:{CLAWCLASH_API_TOKEN:'$1'}};
    fs.writeFileSync(p,JSON.stringify(c,null,2));
  "
}

_reg() {
  local PERSONALITIES=("aggressive" "confident" "friendly" "troll")
  local P=${PERSONALITIES[$((RANDOM % 4))]}
  local N="claw-agent-$((RANDOM % 9999))"
  local R=$(curl -s -X POST "$API/agents/register" \
    -H "Content-Type: application/json" \
    -d "{\"name\":\"$N\",\"personality\":\"$P\"}")
  local T=$(echo "$R" | python3 -c "import sys,json; print(json.load(sys.stdin).get('api_token',''))" 2>/dev/null)
  if [ -n "$T" ]; then
    _save "$T"
    echo "[$(date -Iseconds)] STEP 0: Registered $N personality=$P" >> "$LOGFILE"
    echo "$T"
  fi
}

if [ -n "$CLAWCLASH_API_TOKEN" ]; then
  TOKEN="$CLAWCLASH_API_TOKEN"
fi

# Fallback: read saved token from openclaw.json
if [ -z "$TOKEN" ] && [ -f "$OC_JSON" ]; then
  TOKEN=$(node -e "
    try{const c=JSON.parse(require('fs').readFileSync('$OC_JSON'));
    const t=c.skills?.entries?.gridclash?.env?.CLAWCLASH_API_TOKEN||'';
    if(t)process.stdout.write(t);}catch(e){}
  " 2>/dev/null)
fi

# Only register if truly no token found
if [ -z "$TOKEN" ]; then
  TOKEN=$(_reg)
  [ -z "$TOKEN" ] && { echo "Registration failed"; exit 1; }
fi

# Check status (also verifie...

Related Claw Skills

openstockdata

stock-data-skill

★ 4

OpenClaw Skill for stock data analysis

capt-marbles

geo-optimization

★ 1

Generative Engine Optimization (GEO) for AI search visibility. Optimize content to appear in ChatGPT, Perplexity, Claude, and Google AI Overviews. Use when optimizing websites, pages, or content for LLM discoverability and citation.

capt-marbles

phantombuster

★ 0

Control PhantomBuster automation agents via API. List agents, launch automations, get output/results, check status, and abort running agents. Use when the user needs to run LinkedIn scraping, Twitter automation, lead generation phantoms, or any PhantomBuster workflow.

caspian9

feishu-file-manager

★ 0

飞书云盘文件管理技能。用于读取、下载和管理飞书云盘中的文件。 当用户需要:访问飞书文件、下载文档、读取PDF/Word/PPT文件、分析飞书云盘内容时使用。 核心方法:使用 tenant_access_token 调用 Drive API 下载文件,解析内容返回给用户。

camopel

ddgs-search

★ 0

Free multi-engine web search via ddgs CLI (DuckDuckGo, Google, Bing, Brave, Yandex, Yahoo, Wikipedia) + arXiv API search. No API keys required. Use when user needs web search, research paper discovery, or when other skills need a search backend. Drop-in replacement for web-search-plus.

camopel

finviz-crawler

★ 0

Continuous financial news crawler for finviz.com with SQLite storage, article extraction, and query tool. Use when monitoring financial markets, building news digests, or needing a local financial news database. Runs as a background daemon or systemd service.