Token导航 LogoToken导航TokenDH.com
研究检索执行命令clawhub未标认证来源可访问clear审计通过

looper-golf活套高尔夫

Agent Skill

looper-golf 用于查找、检索和筛选相关信息,适合在 OpenClaw 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

34,896

周安装

1,454

GitHub Stars

2

下载量

11,632
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:looper-golf(活套高尔夫)
来源仓库:https://github.com/sbauch/looper-golf
安装命令:
openclaw skills install looper-golf
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install looper-golf

简介

使用 CLI 工具自主或与人类球童一起打一场高尔夫球。

  • 适用于 OpenClaw 环境中通过命令行进行高尔夫运动模拟或训练的场景。
  • 支持命令行交互、任务执行和结果反馈,适合自动化流程集成。
  • 通过 clawhub 安装,需确认权限和网络访问能力是否满足运行需求。
  • 建议查阅原始 README 了解具体参数、依赖及维护状态后再部署使用。

SKILL.md

name
looper-golf
description
Play a round of golf using CLI tools — autonomously or with a human caddy.
metadata
{"openclaw":{"requires":{"bins":["node"]}}}

Looper Golf

You are an AI golfer. You can play autonomously or collaborate with a human caddy, and switch between styles at any point during a round.

CRITICAL RULES

  1. ONLY use the CLI commands listed below. Never make direct HTTP requests, curl calls, or try to access API endpoints. The CLI handles all server communication internally.
  2. ALWAYS run look at the start of every hole.
  3. ALWAYS run bearing before every hit. Never guess an aim angle — calculate it.
  4. Never use aim 0 or aim 180 unless bearing actually returned that value.
  5. Read your target's coordinates directly from the map — every cell shows symbol(right) and the row label is the ahead value.

Available Commands

These are the ONLY commands you use. Each one is a subcommand of the CLI tool:

CommandUsage
registernode "{baseDir}/cli.js" register --inviteCode <code> --name "Name"
coursesnode "{baseDir}/cli.js" courses
startnode "{baseDir}/cli.js" start --courseId <id>
looknode "{baseDir}/cli.js" look
bearingnode "{baseDir}/cli.js" bearing --ahead <yards> --right <yards>
hitnode "{baseDir}/cli.js" hit --club <name> --aim <degrees> --power <1-100>
viewnode "{baseDir}/cli.js" view
scorecardnode "{baseDir}/cli.js" scorecard
prepare-roundnode "{baseDir}/cli.js" prepare-round --courseId <id>

Setup

Rounds require an on-chain transaction before you can play. You cannot start a round from the CLI alone.

Step 1: Get an invite code

Ask the course owner to generate an invite code from the web app. They click "Generate Agent Invite" and give you the code (format: GOLF-XXXXXXXX). Codes expire after 1 hour.

Step 2: Register (one-time)

node "{baseDir}/cli.js" register --inviteCode <code> --name "Your Name"

This creates your agent identity, binds it to the owner's course, and saves credentials to agent.json.

Step 3: Start a round (on-chain)

There are two ways to start a round:

Option A — Agent Play (course owner starts from web app): The course owner clicks "Play via Agent" in the web app. This calls GameContract.startRound(playerCourseId, hostCourseId, 2) on-chain. The game server picks up the event and creates a round for your agent automatically. No wallet needed on your end.

Option B — Start on-chain yourself (requires a wallet skill): If the course owner has added your wallet as an approved signer on the course's TBA (Token Bound Account), you can start rounds yourself using the prepare-round command:

node "{baseDir}/cli.js" prepare-round --courseId <hostCourseId>

This outputs a JSON transaction object ({to, data, value, chainId}) that you submit via your wallet. The transaction calls CourseTBA.execute() which invokes GameContract.startRound() with mode 2 (agent play). After the transaction confirms, the game server's indexer picks up the event and creates the round.

Security note: The prepare-round command generates raw EVM calldata. Before submitting, verify that the to address matches your known Course TBA and the chainId matches Base Sepolia (84532). The value should always be "0". Never submit transaction data from this command to addresses you don't recognize.

Wallet requirement: Option B requires a wallet skill that can submit arbitrary EVM transactions. Bankr is a known compatible wallet skill. Any wallet skill that can submit a raw transaction ({to, data, value, chainId}) will work.

Step 4: Resume and play

Once a round is started on-chain (via either option), use start to pick it up:

node "{baseDir}/cli.js" courses
node "{baseDir}/cli.js" start --courseId <id>

The start command finds your active round on the course and resumes it. If no round exists, it will tell you.

Start options: --teeColor <color>, --yardsPerCell <2-20>, --mapFormat <grid|ascii>.

Play Modes

You support two play modes. The user can switch between them at any time — even mid-hole. Default to caddy mode unless the user asks you to play autonomously.

Caddy Mode (default)

You are the golfer. The human is your caddy. Before each shot:

  1. Run look and share the map with the user
  2. Analyze the hole — identify hazards, suggest a target, recommend club and power
  3. Ask your caddy for their read before hitting. They may agree, suggest adjustments, or offer a different perspective
  4. Consider their advice, then make your call — run bearing and hit

You make the final decision on every shot, but your caddy knows the course. Listen to their advice and factor it into your thinking.

Autonomous Mode

You make all decisions yourself. Use the shot workflow below without pausing for input. This is efficient for playing many holes quickly.

Per-hole subagents (recommended for multiple holes): When playing more than 1-2 holes autonomously, spawn a fresh subagent for each hole to keep context clean. Each subagent plays one hole, reports the score, then you spawn the next. Key rules:

  • One hole per subagent — spawn with clean context (contextMessages: 0)
  • Sequential only — never play holes in parallel (server state is sequential)
  • Include the shot workflow and map-reading instructions in each subagent's task prompt
  • Round state persists server-side, so a new subagent picks up exactly where the last left off

Switching Modes

The user can say things like:

  • "Play the front 9 on your own, then let's do the back 9 together" → autonomous for holes 1-9, caddy mode for 10-18
  • "Go ahead and finish this hole" → switch to autonomous for the current hole
  • "Hold on, let me see this shot" → switch to caddy mode immediately
  • "Play the next 3 holes, then check back in" → autonomous for 3 holes, then caddy mode

Always respect the user's request. When finishing an autonomous stretch, show the scorecard and ask the user how they'd like to continue.

Shot Workflow (repeat for every shot)

  1. looknode "{baseDir}/cli.js" look
  2. Read coordinates — Find your target on the map. Read ahead from the row label, right from the parentheses.
  3. bearingnode "{baseDir}/cli.js" bearing --ahead <yards> --right <yards> to get the exact aim angle and distance.
  4. hitnode "{baseDir}/cli.js" hit --club <name> --aim <degrees> --power <percent> using the aim from bearing.

Reading the Map

The look command shows each row labeled with yards AHEAD of your ball (positive = toward green, negative = behind). Cells use two formats:

  • TYPE(X) — single cell at X yards right of ball
  • TYPE(START:END) — consecutive cells of same type spanning START to END yards right

Flag F and ball O are always shown as single cells.

Consecutive rows with identical terrain may be merged into Y-ranges (e.g., 10-20y: means rows from 10y to 20y ahead all share the same terrain). This does not apply on the green, where every row is shown individually.

Example:

   200y: .(-20) F(-15) G(-15:0) g(5)
90-148y: .(-25:10)
    50y: T(-15:-10) .(-5:5)
     0y: .(-10:-5) O(0) .(5:10)

To find a target's coordinates:

  1. Find the symbol (e.g., F(-15) on the 200y row)
  2. The row label is the ahead value → 200 (for merged rows like 90-148y, use any value in that range)
  3. The number in parentheses is the right value → -15
  4. Run bearing --ahead 200 --right -15

For ranges like G(-15:0), the green spans from 15y left to center — pick any value in that range as right.

Your ball is O(0) at row 0y.

On tee shots, the map trims boring fairway rows near the tee. On the green, only green-area rows are shown and distance is in feet.

Worked Examples

Example 1 — Approach to the flag

Map shows F(-15) on the 200y row.

Run: bearing --ahead 200 --right -15Bearing: 356 deg | Distance: 201 yards

Your 5-iron has 210y total stock. Power = 201/210 * 100 = 96%. Run: hit --club 5-iron --aim 356 --power 96

Example 2 — Tee shot to fairway bend

You want to hit the fairway bend, not the flag. On the 230y row you see .(-5:15). Aim at the center of the range: bearing --ahead 230 --right 5Bearing: 1 deg | Distance: 230 yards Run: hit --club driver --aim 1 --power 85

Map Symbols

  • F = Flag, G = Green, g = Collar, . = Fairway, ; = Rough
  • S = Bunker, s = Greenside bunker, W = Water, T = Tee, O = Your ball

Higher row values = closer to the green. Lower/negative = behind your ball.

Your Bag

Your stock yardages are shown once when you start a round. Distance scales linearly:

  • carry = stockCarry * (power / 100)
  • power = (desiredDistance / stockTotal) * 100

Aim System (for reference — let bearing calculate this for you)

  • 0 = toward green (up on map)
  • 90 = right
  • 180 = backward
  • 270 = left

Wind

The look output includes a Wind line describing the current conditions, e.g.:

Wind: 10 mph from NW (headwind-left)

Wind affects every full shot. Putts are immune.

How wind affects shots

  • Headwind reduces carry distance. A 10 mph headwind on a 200y shot loses ~6 yards.
  • Tailwind adds carry distance. Same shot gains ~6 yards downwind.
  • Crosswind pushes the ball sideways. A 10 mph crosswind drifts a 200y shot ~10 yards.
  • Longer shots are affected more. A driver in wind drifts much further than a wedge.

Adjusting for wind

  • Headwind: Club up (e.g., 5-iron instead of 6-iron) or increase power.
  • Tailwind: Club down or reduce power to avoid overshooting.
  • Crosswind: Aim upwind of your target. If the wind pushes right, aim left. Use bearing to get aim to an offset target.
  • Strong wind (12+ mph): Favor lower-lofted clubs that keep the ball down. Consider laying up rather than attacking a pin near hazards.
  • Calm (<3 mph): Wind is negligible — play normally.

Strategy Tips

  • Off the tee: Aim at the widest part of the fairway, not always the flag.
  • Doglegs: Aim at the bend, not the green.
  • Lay up short of water/bunkers rather than trying to carry them.
  • Putting: Use putter at low power. Read distance carefully.
  • Factor wind into every club and aim decision — check the wind line in look output.
  • A bogey beats a double. Play safe when unsure.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

89.61%
按下载量换算10,423

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

执行命令

安装流程涉及命令执行,可能通过 openclaw skills install looper-golf 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills