Agent skill

Clash Of Clans Play

by pockebot in pockebot/openpocket

Play Clash of Clans on mobile with autonomous tactical decisions.

MITAuto-check passed

Install Clash Of Clans Play

skills CLI
$ npx skills add pockebot/openpocket --skill clash-of-clans-play -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install pockebot/openpocket clash-of-clans-play --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/pockebot/openpocket.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/clash-of-clans-play .claude/skills/clash-of-clans-play && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
clash-of-clans-play
GitHub stars
847
Token cost
~1.5k tokens
SKILL.md length
816 words
Files
1
Skills in repo
23
Repo updated
First seen
Licence
MIT

At a glance

Play Clash of Clans on mobile with autonomous tactical decisions.

  • Works in 3 steps: Tap troop icon once to select the troop… → Tap legal deploy ground multiple times… → After each group, verify real progress…
  • The user asks to attack
  • SKILL.md covers Core Principle, Mode Primer, Rules Primer and Phone Operation Mapping, plus 7 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Clash Of Clans Play is an agent skill from pockebot/openpocket. Play Clash of Clans on mobile with autonomous tactical decisions. Use when the user asks to attack, farm resources, push trophies/rank, run Builder Base attacks, collect rewards, or manage daily village upgrades in Clash of Clans.

Its SKILL.md is about 1.5k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: 🐹 An Intelligent Phone That Never Sleeps. The licence is MIT.

When your agent uses it

  • The user asks to attack
  • Push trophies/rank
  • Run Builder Base attacks
  • Collect rewards

Example prompts

  • “/clash-of-clans-play”

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  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

What it can do on your machine

Read from SKILL.md and the folder at commit d4dae3d. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Clash Of Clans Play loads about 1.5k tokens when it runs. Until then it costs about 63 tokens; SKILL.md has 816 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~63
When it runs · the whole SKILL.md, loaded when a task matches
~1.5k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from pockebot/openpocket at commit d4dae3d, republished under its MIT licence (© pockebot). 816 words, ~1,544 tokens.

Download SKILL.mdSave it as .claude/skills/clash-of-clans-play/SKILL.md (or your agent's skills folder).
name
clash-of-clans-play
description
Play Clash of Clans on mobile with autonomous tactical decisions. Use when the user asks to attack, farm resources, push trophies/rank, run Builder Base attacks, collect rewards, or manage daily village upgrades in Clash of Clans.

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).

Do not rely on one long_press_drag to deploy the full stack. In this runtime, it is a single gesture and may not map to game-specific "hold to stream deploy" behavior consistently.

Home Village Attack Workflow

  1. Scout before deploy
  • Identify Town Hall position, major splash defenses, and likely trap zones.
  • Decide objective: safe 1-2 star, or full 3-star attempt.
  1. Create funnel
  • Remove outer buildings on both sides of entry lane first.
  • Avoid dropping core troops before funnel exists.
  1. Main push
  • Deploy tank/frontline, then core DPS and support.
  • Use spells reactively on high-value defense clusters and choke points.
  1. Hero timing
  • Trigger hero abilities when entering core pressure, saving key troops, or finishing core defenses.
  1. Cleanup discipline
  • Preserve 1-2 cleanup units for edge buildings.
  • If objective is met and extra value is low, end battle to save time.
Show full SKILL.md (344 more words)Show less

Builder Base Workflow

  1. Scout Stage 1 and choose a side with best pathing value.
  2. Secure Stage 1 stars first; if Stage 2 unlocks, reassess remaining army before overcommitting.
  3. Prefer consistent 3-4 star style over high-variance all-in attempts unless user asks high risk.
  4. Continue until daily star reward objective is met, then stop unnecessary attacks.

Daily Management Workflow

  1. Collect resources and free rewards (chest/events/season UI if visible).
  2. Treat red notification dots/badges as actionable backlog:
  • Prioritize tapping red-dot entry points first (events, tasks, inbox, achievements, shop freebies, reward tracks).
  • Clear low-risk claim actions before starting long actions so progression is not blocked by pending prompts.
  • If multiple red-dot targets exist, prefer: time-limited rewards -> builder/lab idle fixes -> routine claims.
  1. Keep builders and laboratory busy (no idle builder/lab time unless user requests save strategy).
  2. Prioritize upgrades by user goal:
  • push: offense first (army camps, key troops/spells/heroes, key offensive buildings).
  • farm: economy plus efficient offense upgrades.
  1. Train/queue army only if the current game version still requires it for the chosen mode.

Hard Guardrails

  • Never spend gems, raid medals, league medals, or paid shop items without explicit user instruction.
  • Never start/opt-in/opt-out Clan War, CWL, or clan governance actions unless user asks.
  • Never permanently alter base layout strategy unless user asks for base editing.
  • If login/security/payment dialogs appear, use human-auth flow instead of guessing credentials.

Failure Handling

  • If deployment misses due to bad coordinate, re-center and retry with controlled tap cadence (120-260ms between taps).
  • If state_delta changed=true but troop count did not drop, treat it as unverified deployment and switch to explicit repeated taps.
  • If troop selection appears lost, re-select troop icon first, then continue battlefield taps.
  • If popup interrupts battle flow, close popup first and re-validate current mode/screen.
  • If battle outcome is clearly lost for the target objective, cut losses early and continue next cycle.

Completion Report

After a run, summarize:

  • Mode(s) played (regular, ranked, builder-base).
  • Number of attacks and average stars.
  • Resource gain and trophy/rank delta.
  • Upgrades started/queued.
  • Any consumables or premium currency spent (should be none unless explicitly requested).

© pockebot, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/clash-of-clans-play of pockebot/openpocket.

Open the folder on GitHubat commit d4dae3d

Compare with similar skills

Clash Of Clans Play next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Clash Of Clans Play compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Clash Of Clans Play this skillpockebot/openpocket847—~1.5kAutomated safety check: PassMIT
Video Template Frame Play Modenexu-io/open-design100k—~307Automated safety check: PassApache-2.0
HTML Ppt Zhangzara Playfulnexu-io/open-design100k—~1.2kAutomated safety check: PassMIT
Tactical Dddtech-leads-club/agent-skills7k—~981Automated safety check: PassCustom licence
InkOS Interactive World PlayNarcooo/inkos10k—~793Automated safety check: PassAGPL-3.0
Lifecycle Play Advisordeanpeters/Product-Manager-Skills7.2k—~4.4kAutomated safety check: PassCustom licence

Similar skills

  • Use this plugin when the user wants a "Play Mode" HyperFrames motion video — Playful elastic animations

    100k GitHub stars~307 tokensUpdated yesterday
    Media & CreativeAuto-check passed
  • HTML Ppt Zhangzara Playful

    nexu-io/open-design

    A retail sales-floor training on consultative selling — the flow, the role-plays, and the daily habit that lifts conversion.

    100k GitHub stars~1.2k tokensUpdated yesterday
    Documents & OfficeAuto-check passed
  • Tactical Ddd

    tech-leads-club/agent-skills

    Detects anemic domain models, validates and refactors them into rich domain models, and enforces tactical DDD patterns (Entities, Value Objects, Aggregates, Domain Services, Domain Events).

    7k GitHub stars~981 tokensUpdated 2 days ago
    DevelopmentAuto-check passed
  • Rules for advancing an interactive story or open world in an InkOS Play session: honor the world contract, finish actions, keep state and time consistent.

    10k GitHub stars~793 tokensUpdated yesterday
    Writing & ContentAuto-check passed
  • Lifecycle Play Advisor

    deanpeters/Product-Manager-Skills

    Diagnose where a product sits in its lifecycle and which play fits — extend, replace, or retire.

    7.2k GitHub stars~4.4k tokensUpdated 1 mo ago
    Auto-check passed
  • Product Lifecycle Plays

    deanpeters/Product-Manager-Skills

    Map a product's lifecycle stage and choose between extension, replacement, and retirement plays.

    7.2k GitHub stars~4.2k tokensUpdated 1 mo ago
    Auto-check passed

More from pockebot/openpocket

All 23 skills in this repo
  • Capcut Edit

    pockebot/openpocket

    Edit videos and beautify photos in CapCut on mobile. An agent skill from pockebot/openpocket.

    847 GitHub stars~1.3k tokensUpdated 3 mo ago
    Auto-check passed
  • Duolingo Play

    pockebot/openpocket

    Help users complete Duolingo language lessons. An agent skill from pockebot/openpocket.

    847 GitHub stars~1.1k tokensUpdated 3 mo ago
    Auto-check passed
  • Human Auth Biometric

    pockebot/openpocket

    Handle biometric authentication delegation (fingerprint, face recognition) when the Agent Phone lacks biometric hardware.

    847 GitHub stars~506 tokensUpdated 3 mo ago
    Auto-check passed
  • Human Auth Camera

    pockebot/openpocket

    Handle camera photo capture delegation from Human Phone. An agent skill from pockebot/openpocket.

    847 GitHub stars~569 tokensUpdated 3 mo ago
    Auto-check passed
  • Human Auth Contacts Data

    pockebot/openpocket

    Handle contacts, calendar, files, and notification data delegation from Human Phone.

    847 GitHub stars~669 tokensUpdated 3 mo ago
    Auto-check passed
  • Human Auth Location

    pockebot/openpocket

    Handle GPS location delegation from Human Phone. An agent skill from pockebot/openpocket.

    847 GitHub stars~491 tokensUpdated 3 mo ago
    Auto-check passed

Questions about Clash Of Clans Play

What does Clash Of Clans Play do?

Play Clash of Clans on mobile with autonomous tactical decisions. Clash Of Clans Play is an agent skill from pockebot/openpocket. Play Clash of Clans on mobile with autonomous tactical decisions.

When should I use Clash Of Clans Play?

Clash Of Clans Play fits situations like: the user asks to attack; push trophies/rank; run Builder Base attacks; collect rewards.

How do I install Clash Of Clans Play in Claude Code?

Run `npx skills add pockebot/openpocket --skill clash-of-clans-play -a claude-code`. Or copy the skill folder (skills/clash-of-clans-play in pockebot/openpocket) into .claude/skills/clash-of-clans-play in your project. Claude Code loads it when a task matches its description.

How do I install Clash Of Clans Play in Codex?

Run `npx skills add pockebot/openpocket --skill clash-of-clans-play -a codex`. Or copy the skill folder (skills/clash-of-clans-play in pockebot/openpocket) into .agents/skills/clash-of-clans-play in your project. Codex loads it when a task matches its description.

Can I use Clash Of Clans Play in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add pockebot/openpocket --skill clash-of-clans-play -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/clash-of-clans-play, .gemini/skills/clash-of-clans-play, .github/skills/clash-of-clans-play and .opencode/skills/clash-of-clans-play in your project.

What does Clash Of Clans Play need to run?

SKILL.md names no scripts, command-line tools or credentials: Clash Of Clans Play is instructions for the agent only.

Does Clash Of Clans Play access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Clash Of Clans Play safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Clash Of Clans Play use?

Clash Of Clans Play is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Clash Of Clans Play use?

About 1.5k tokens (SKILL.md is roughly 6.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Clash Of Clans Play?

Skills that share tags, products or a category with Clash Of Clans Play: Video Template Frame Play Mode (nexu-io/open-design, 100k stars), HTML Ppt Zhangzara Playful (nexu-io/open-design, 100k stars), Tactical Ddd (tech-leads-club/agent-skills, 7k stars) and InkOS Interactive World Play (Narcooo/inkos, 10k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Clash Of Clans Play?

pockebot (a GitHub organization) maintains it in pockebot/openpocket, which has 847 GitHub stars. The repository holds 23 skills in this directory. The repository was last updated on July 9, 2026.

Source: pockebot/openpocket on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.