clash-of-clans-play

clash-of-clans-play is a skill for Claude Code, Codex from pockebot/openpocket. It costs 54 tokens per session (1,364 once invoked), scanned A, original, MIT.

An instruction set for playing the mobile strategy game Clash of Clans with autonomous tactical decisions. It covers village attacks, resource farming, trophy pushing, Builder Base battles, rewards, and upgrades.

In plain words
What is it for?
It is for carrying out attacks, collecting rewards, farming resources, gaining trophies or rank, managing Builder Base battles, and handling daily upgrades.
Why use it?
It gives an agent rules for choosing legal moves while protecting important village resources from unwanted spending or actions.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit It is for carrying out attacks, collecting rewards, farming resources, gaining trophies or rank, managing Builder Base battles, and handling daily upgrades.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pockebot/openpocket/clash-of-clans-play
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add pockebot/openpocket --skill clash-of-clans-play
Clone the repo
git clone --depth 1 https://github.com/pockebot/openpocket

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for clash-of-clans-play

README.md
[![agentmods](https://agentmods.dev/badge/skills/pockebot/openpocket/clash-of-clans-play/github.svg)](https://agentmods.dev/skills/pockebot/openpocket/clash-of-clans-play)
Your own site
<a href="https://agentmods.dev/skills/pockebot/openpocket/clash-of-clans-play"><img src="https://agentmods.dev/badge/skills/pockebot/openpocket/clash-of-clans-play/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for clash-of-clans-play

Your own site · 80×15
<a href="https://agentmods.dev/skills/pockebot/openpocket/clash-of-clans-play"><img src="https://agentmods.dev/badge/skills/pockebot/openpocket/clash-of-clans-play.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 54 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,364 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00054 $0.01364
Opus 5 $0.00027 $0.00682
Sonnet 5 $0.00011 $0.00273
Haiku 4.5 $0.00005 $0.00136

Measured 13d ago against content hash 2bb14a54b4e3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

clash-of-clans-play scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/clash-of-clans-play/SKILL.md · 128 lines

How it starts

The opening of the file, as written. The whole thing — 128 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Clash of Clans Play

Use this skill to run Clash of Clans gameplay loops efficiently on phone with minimal risk.

Core Principle

  • Act autonomously: read the board, choose the best legal action, execute.
  • Optimize for user intent:
    • farm -> maximize safe loot per minute.
    • push -> maximize stars and trophy/rank gain.
    • builder-base -> maximize star reward efficiency.
  • Protect account assets: avoid irreversible spending/actions unless user explicitly asks.

Mode Primer

  • Home Village has two battle paths:
    • Regular Battles (TH2+): unlimited attacks and no trophy loss on defeat.
    • Ranked Battles (TH7+): up to 6 attacks/day in ranked seasons.
  • Builder Base (versus mode) grants rewards by Bronze/Silver star milestones and from both attack and defense results.

Rules Primer

Home Village Battle Win Conditions

  • Star rules (standard Home Village):
    • 1 star at 50% destruction.
    • 1 star for destroying Town Hall.
    • 1 star for 100% destruction.
  • Maximum is 3 stars.
  • End battle manually when further gains are unlikely and the target objective is already secured.

Builder Base Star Rewards

  • Each versus battle can earn up to 6 stars across Stage 1 and Stage 2.
  • Resource rewards are tied to Bronze and Silver star milestone progress.

Phone Operation Mapping

  • tap: select troop/spell/hero, deploy a unit, activate hero ability, claim reward, confirm dialogs.
  • drag: camera repositioning, panel browsing, and occasional precise gesture interactions.
  • long_press_drag: treat as a single continuous swipe-style gesture; do not assume it can reliably mass-deploy many troops.
  • swipe: pan map, open side panels, browse event/task lists.
  • Keep deployment taps inside legal deploy zones; do not spam random edge taps.

Deployment Control (Critical)

For troop bars like x20, default to select + repeated battlefield taps:

  1. Tap troop icon once to select the troop type.
  2. Tap legal deploy ground multiple times (or use short batch_actions groups) to place units.
  3. After each group, verify real progress from game semantics:
  • troop count decreases (for example x20 -> x18),
  • or visible spawned units / damage progression appears.
  1. If no semantic progress, adjust deploy points and retry (do not loop blindly on same coordinate).

Read the full file on GitHub · 128 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 13d ago First seen · 128 lines · 54 tokens per session scan A 2bb14a54b4e3

Subscribe to this mod's changes

clash-of-clans-play is a skill published in the GitHub repository pockebot/openpocket (841 stars, last pushed 2mo ago), licensed MIT. It adds 54 tokens to every session and 1,364 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

sceneview-ios

Build 3D and AR apps on Apple platforms (iOS, macOS, visionOS) with SceneViewSwift — the SwiftUI wrapper around RealityKit. Use whenever the user asks for "3D in SwiftUI", "AR with ARKit in SwiftUI", a model viewer for iOS, or any Apple-platform 3D/AR app where the dependency is the SceneViewSwift Swift Package from…

sceneview/sceneview · 148 tokens

sceneview

Build 3D and AR apps with the SceneView SDK in Jetpack Compose, SwiftUI (iOS/macOS/visionOS via SceneViewSwift), Web (Filament.js), Flutter and React Native. Use whenever the user asks for "3D in Compose", "AR with ARCore in Compose", a model viewer, or any cross-platform 3D/AR app where the dependency is…

sceneview/sceneview · 156 tokens

build-mobile-threejs-games

Build, tune, or test a Three.js game for mobile web. Use for touch movement, action controls, target selection, touch inventory, safe areas, portrait/landscape layouts, responsive HUD, battery/performance budgets, and real mobile browser QA.

MengTo/Skills · 57 tokens

building-mobile-game

Build mobile games and game-like interactive experiences in React Native and Expo. Use when Codex is creating or refactoring arcade, puzzle, casual, action, physics-based, or animation-heavy gameplay, including Expo game setup with the with-reanimated template, sprite-sheet generation and extraction, frame-based…

Intelligent-Internet/ii-agent · 91 tokens

mobile-development

Use when targeting Android/iOS — export and signing, permissions, plugins, in-app purchases, ads, app lifecycle, device features, and mobile performance.

jame581/GodotPrompter · 33 tokens

hz-android-2d-porting

Guides porting existing Android 2D apps to Meta Quest and Horizon OS — input adaptation, panel layout, and design requirements. Use when adapting a mobile Android app for Quest.

meta-quest/agentic-tools · 46 tokens