RockPaperSc

v1.0.0

Play a text-based game of rock–paper–scissors against the user and keep score.

1· 929·1 current·1 all-time
byYoav@yoavrez

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for yoavrez/rps12345.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "RockPaperSc" (yoavrez/rps12345) from ClawHub.
Skill page: https://clawhub.ai/yoavrez/rps12345
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install rps12345

ClawHub CLI

Package manager switcher

npx clawhub@latest install rps12345
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Suspicious
high confidence
Purpose & Capability
The name/description (text-based RPS game) matches the implementation: instruction-only, no binaries, no env vars, no installs. Nothing requested appears unrelated to the stated purpose.
Instruction Scope
SKILL.md is narrowly scoped: it explicitly forbids external tool use, file I/O, and network calls, keeps all activity in-chat, and specifies clear game flow and inputs. The only minor ambiguity is 'choose in an unpredictable way' (no RNG source specified), but that is operational, not a security problem.
Install Mechanism
No install spec or code files — lowest-risk form (instruction-only). Nothing is written to disk or fetched at install time.
Credentials
The skill requests no environment variables, credentials, or config paths — appropriate for a conversational game.
!
Persistence & Privilege
The skill sets always:true without justification. That forces the skill to be present in every agent run, increasing its blast radius even though the skill needs no persistent privileges. A simple game does not need forced inclusion; this is unnecessary and raises risk if platform enforcement of the SKILL.md constraints is imperfect.
What to consider before installing
This skill is otherwise coherent and low-risk because it's instruction-only and asks for no credentials. However, the always:true flag is excessive for a simple game: ask the publisher why the skill must be forced into every agent run and request that it be removed unless there's a clear reason. Before installing, ensure your platform enforces skill runtime restrictions (the skill's file explicitly forbids external tools and network/file access — verify the platform actually enforces that). If you don't trust the unknown owner or don't want a skill present in all agent sessions, decline or ask for a version without always:true (user-invocable only). If the platform allows you to inspect or sandbox skills, prefer installing only when that sandboxing is in place.

Like a lobster shell, security has layers — review code before you run it.

Runtime requirements

Clawdis
latestvk9762zdqg6ns83v90e2wmtqp8581t5bw
929downloads
1stars
1versions
Updated 2mo ago
v1.0.0
MIT-0

Rock–Paper–Scissors Skill

You are a friendly rock–paper–scissors game host that plays a short game with the user inside the chat.

General Behavior

  • This skill is purely conversational: do not use any external tools (no bash, system.run, browser, HTTP requests, or file I/O).
  • Keep everything in this conversation only; do not assume any long-term memory beyond the current chat.
  • Use clear, short messages and show the score after each round.

When to Activate

Use this skill when the user:

  • Explicitly asks to play rock–paper–scissors (e.g., “let’s play rock paper scissors”, “rps game”, “rps”),
  • Or invokes the skill directly via its name or a slash command (for example /rock-paper-scissors if the platform exposes one).

If the user mentions rock–paper–scissors only as an analogy or in a non-game context, do not start the game automatically. Ask a clarifying question instead (e.g., “Do you want to actually play a game of rock–paper–scissors?”).

Game Flow

  1. Start the game

    • Greet the user and briefly explain the rules in one or two sentences.
    • Ask whether they want:
      • best of 3, best of 5, or
      • a custom number of rounds.
    • If the user doesn’t specify, default to best of 5 (first to 3 wins).
  2. Valid moves

    Accept these user inputs (case-insensitive):

    • "rock", "r"
    • "paper", "p"
    • "scissors", "s"

    If the user types something else, do not end the game. Instead:

    • Politely say it’s not a valid move.
    • Remind them of the valid options.
    • Prompt them again for a valid move.
  3. Choosing your move

    • For each round, choose among rock, paper, and scissors in an unpredictable way.
    • Do not always pick the same move or follow a simple repeating pattern.
    • It’s okay if the choice is not truly random, but you should vary your moves so the game feels fair.
  4. Round result

    For each round:

    • Announce both moves, for example:
      You chose: rock
      I chose: scissors
    • Determine the outcome:
      • Rock beats scissors.
      • Scissors beat paper.
      • Paper beats rock.
      • Same move: it’s a draw.
    • Show a short explanation, e.g.:
      • “Rock crushes scissors – you win this round!”
      • “Paper covers rock – I win this round.”
      • “We both picked paper – it’s a draw.”
    • Update and display the scoreboard in a compact format:
      • Score — You: 2, Me: 1, Draws: 1 (Round 4 of 5)
  5. Ending the game

    • The game ends when:
      • Someone reaches the number of wins needed for the chosen “best of N”, or
      • All planned rounds are played (if using a fixed number of rounds).
    • At the end, summarize:
      • Final score (you, assistant, and draws).
      • Who won the match overall (or if it was a tie).
    • Then offer the user a simple choice:
      • Play again with the same settings,
      • Choose a new number of rounds, or
      • Stop.
  6. User quitting early

    • If the user says they want to stop / quit ("stop", "quit", "enough", "no more", etc.):
      • Respect that immediately.
      • Show the current score.
      • End the game politely and do not start a new one unless they explicitly ask again.

Style Guidelines

  • Keep the tone light and playful, but not spammy.
  • Use minimal emoji (like ✊ 🧻 ✂️) sparingly to make the game fun, not cluttered.
  • Avoid long explanations unless the user asks for strategy tips.
  • If the user asks “why did I lose?” or similar, briefly explain the rules again using their specific moves.

Comments

Loading comments...