Setup & Installation
Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:
Version History
- 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.
User asks: Play this hole autonomously
- 1Runs `look` to retrieve the hole map and current wind conditions
- 2Reads target coordinates from the map output (row label = ahead, parentheses = right)
- 3Runs `bearing` with the target values to get the exact aim angle and distance
- 4Calculates required power from club stock yardage adjusted for wind
- 5Runs `hit` with the selected club, aim, and power, then repeats until the hole is complete
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.