LaunchKit · 2026
Back to Skills

looper-golf

Play a round of golf using CLI tools — autonomously or with a human caddy.

2
848 downloads
by @sbauch

Setup & Installation

openclaw skills install @sbauch/looper-golf

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install looper-golf

Version History

v1.0.2Feb 24, 2026 - Version note by skill developer:

- Registration now requires a short-lived invite code from the course owner (`--inviteCode`), replacing the previous `--registrationKey` and course linking workflow. - The `caddy-code` command and corresponding steps have been removed; agent registration is managed entirely via the invite system. - Added a security note for on-chain play: users should verify `prepare-round` transaction details before sending. - Updated CLI usage examples and documentation to reflect the new onboarding process. - No changes to gameplay flow or available play modes.

What This Skill Does

A CLI-based golf game where an AI agent plays rounds autonomously or with a human caddy. Rounds require an on-chain transaction to start, tying gameplay to a blockchain-backed course system. The agent reads a live map, calculates shot bearings, and adjusts for wind and club distance on every shot.

Automates the shot calculation and decision loop of a map-based golf game, eliminating manual bearing math while keeping the human in control of any shot on demand.

When to use it

  • Playing a full 18-hole round without any human input
  • Getting AI shot recommendations while acting as the caddy yourself
  • Switching between autonomous play and caddy mode mid-round
  • Calculating exact aim angles for approach shots near hazards
  • Reviewing a scorecard after a round to track hole-by-hole performance

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: Play this hole autonomously

AGENT
  1. 1Runs `look` to retrieve the hole map and current wind conditions
  2. 2Reads target coordinates from the map output (row label = ahead, parentheses = right)
  3. 3Runs `bearing` with the target values to get the exact aim angle and distance
  4. 4Calculates required power from club stock yardage adjusted for wind
  5. 5Runs `hit` with the selected club, aim, and power, then repeats until the hole is complete
OUTPUT

Hole completed; score logged and scorecard updated

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

Invite code (format: GOLF-XXXXXXXX) from the course owner to registerEVM-compatible wallet (only required to start rounds independently without the course owner's web app)