solitaire-play

solitaire-play is a skill for Codex from pockebot/openpocket. It costs 58 tokens per session (892 once invoked), scanned A, original, MIT.

An automation guide for Klondike Solitaire, the card game where cards are arranged into four suit piles from ace to king. It provides rules and move guidance for mobile solitaire apps.

In plain words
What is it for?
It is for solving games step by step, identifying Draw-1 or Draw-3 play, moving cards between tableau columns, and building the four foundations.
Why use it?
It helps choose legal moves and operate the app correctly, including card dragging, stock draws, and foundation moves.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit It is for solving games step by step, identifying Draw-1 or Draw-3 play, moving cards between tableau columns, and building the four foundations.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/pockebot/openpocket/solitaire-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 solitaire-play
Clone the repo
git clone --depth 1 https://github.com/pockebot/openpocket

Made for: 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 solitaire-play

README.md
[![agentmods](https://agentmods.dev/badge/skills/pockebot/openpocket/solitaire-play/github.svg)](https://agentmods.dev/skills/pockebot/openpocket/solitaire-play)
Your own site
<a href="https://agentmods.dev/skills/pockebot/openpocket/solitaire-play"><img src="https://agentmods.dev/badge/skills/pockebot/openpocket/solitaire-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 solitaire-play

Your own site · 80×15
<a href="https://agentmods.dev/skills/pockebot/openpocket/solitaire-play"><img src="https://agentmods.dev/badge/skills/pockebot/openpocket/solitaire-play.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 892 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.00058 $0.00892
Opus 5.5 $0.00023 $0.00357
Sonnet 5.5 $0.00012 $0.00178
Haiku 4.5 $0.00006 $0.00089

Measured 3mo ago against content hash ccad80556d19, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

solitaire-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 3mo 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/solitaire-play/SKILL.md · 91 lines

How it starts

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

Solitaire Play

Use this skill to play standard Klondike Solitaire in mobile apps with deterministic and low-risk moves.

Preconditions

  • Confirm the game screen is visible (tableau columns, stock/waste, foundations).
  • Dismiss popups, ads, tutorials, and rate dialogs first.
  • Detect whether the app is Draw-1 or Draw-3 by tapping stock once and observing waste behavior.

Rules Primer (Klondike)

  • Goal: move all cards to 4 foundations (A -> K by suit).
  • Tableau build rule: descending rank with alternating colors (e.g., red 9 on black 10).
  • Only Kings (or King-led stacks) can move to empty tableau columns.
  • Face-down cards in tableau are revealed when the covering face-up card(s) are moved away.
  • Stock/Waste:
    • Draw-1: one card enters waste per stock tap.
    • Draw-3: three cards cycle per stock tap; only top waste card is playable.

Operation Mapping on Phone

Use available phone actions to emulate card interactions:

  • Single-card quick move:
    • Prefer tap on card if app supports auto-move to foundation/tableau.
  • Precise move (card/stack relocation):
    • Prefer drag(x1, y1, x2, y2, durationMs).
    • Recommended durationMs: 250-450.
  • Long press (if app requires hold before drag):
    • Use long_press_drag(x1, y1, x2, y2, holdMs, durationMs).
    • Recommended holdMs: 400-700; durationMs: 220-380.
  • Scrolling within menus/history:
    • Use swipe with long vertical distance.
  • Never rely on random gestures. Keep start/end points centered on visible card bodies.

Move Priority (Default Heuristic)

Apply this priority order each turn:

  1. Safe foundation moves:
    • Move Aces and Twos to foundation immediately.
    • Move higher cards to foundation when it does not block revealing facedown tableau cards.
  2. Reveal facedown cards:
    • Prefer tableau moves that uncover hidden cards over cosmetic rearrangement.
  3. Build/merge tableau stacks:
    • Create longer alternating descending stacks only when it enables future reveals or king placement.
  4. Use empty columns correctly:
    • Move a King (or King-led stack) to empty tableau columns when it helps reveal cards.
  5. Play waste efficiently:
    • Try waste top card to tableau first, then to foundation.
  6. Draw from stock:
    • Draw only when no productive tableau/foundation move exists.

Read the full file on GitHub · 91 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 3mo ago First seen · 91 lines · 58 tokens per session scan A ccad80556d19

Subscribe to this mod's changes

solitaire-play is a skill published in the GitHub repository pockebot/openpocket (852 stars, last pushed 4mo ago), licensed MIT. It adds 58 tokens to every session and 892 once invoked, about $0.0002 per session on Opus 5.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

solitaire-play compared with skills from other repositories

solitaire-play next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
solitaire-playpockebot/openpocketSkill8524mo agoMITA58Codex
build-mobile-threejs-gamesMengTo/SkillsSkill9.1ktodayMITA57Codex
scenario-unity-mobilescenario-labs/skillsSkill4.5kyesterdayMITA127Claude Code
sceneviewsceneview/sceneviewSkill1.4ktodayApache-2.0A71Claude Code, Codex
sceneview-iossceneview/sceneviewSkill1.4ktodayApache-2.0A71Claude Code, Codex
mobile-developmentjame581/GodotPrompterSkill1.0k2d agoMITA33Claude Code
featuretoss/apps-in-toss-harnessSkill195todayBSD-3-ClauseA293Claude Code