Check Deck

🏢Official
by anthropics · vlatest · Repository

This skill verifies if a deck of cards is complete and correctly ordered, ensuring accurate gameplay or collection verification.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add check-deck npx -- -y @trustedskills/check-deck
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "check-deck": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/check-deck"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

The check-deck skill analyzes a deck of cards, identifying the suit and rank of each card. It can then provide summaries of the deck's composition, such as counting the number of hearts or identifying pairs. This is useful for simulating card games or analyzing card data in financial applications.

When to use it

  • Simulating a game of poker: Determine if a hand contains a flush or full house.
  • Analyzing a shuffled deck: Verify that a deck has been properly shuffled by checking the distribution of suits and ranks.
  • Financial modeling involving card-based assets: Assess risk associated with portfolios represented as card decks.
  • Educational tool for learning about probability: Demonstrate how probabilities change based on the composition of a card deck.

Key capabilities

  • Card identification (suit and rank)
  • Deck composition analysis
  • Pair detection

Example prompts

  • "Analyze this deck: Ace of Spades, King of Hearts, 7 of Diamonds, 2 of Clubs."
  • "How many hearts are in the following hand: Queen of Hearts, 10 of Clubs, 5 of Hearts?"
  • “Check if these cards form a pair: Jack of Spades, Jack of Diamonds.”

Tips & gotchas

The skill requires card representations using standard terminology (e.g., "Ace of Spades," not just "AS"). Ensure the input accurately reflects the cards in the deck for accurate analysis.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
anthropics
Installs
27

🏢 Official

Published by the company or team that built the technology.