ghin-golf-tracker
暂无简介
- License 许可
- MIT
- 最近更新
- 2026-06-07
- Stars
- ★ 0
- Forks
- 1
03 SKILL.md 正文
GHIN Golf Tracker
OpenClaw skill for analyzing GHIN (Golf Handicap and Information Network) golf statistics and handicap tracking.
Description
This skill provides comprehensive analysis of golf statistics from GHIN data including handicap trends, scoring patterns, course performance, and historical breakdowns. The skill reads pre-collected GHIN data from a JSON file and computes detailed statistics in both human-readable and machine-readable formats.
Key Features:
- Current handicap index with trend analysis (improving/declining/stable)
- Lifetime totals including round counts and scoring extremes
- Best 5 differentials with course and date information
- Most played courses with round counts and average scores
- Year-by-year performance breakdown
- Scoring averages by par (3/4/5) when available
- Performance statistics (GIR%, fairways%, putts) when available
- Handicap range analysis with dates
System Access
File System:
- READ: Single GHIN data JSON file (path provided as command-line argument)
Network Access: None
Subprocess/Shell: None
What It Does NOT Do
This skill is designed for data analysis only and explicitly does NOT:
- No network access: Does not connect to GHIN.com or any external services
- No web scraping: Does not perform browser automation or web requests
- No subprocess execution: Does not run external commands or shell scripts
- No file writes: Does not create, modify, or delete any files
- No credential handling: Does not store, read, or manage login credentials
- No data collection: Does not gather GHIN data from external sources
Data Collection: GHIN does not offer a public API for score history. Data collection requires separate browser automation tooling (not included in this skill). See the README for guidance on how to populate the data file.
Resources
Scripts
scripts/ghin_stats.py- Main analysis script (Python 3.8+ required)
Usage
Basic Analysis
python3 scripts/ghin_stats.py /path/to/ghin-data.json
JSON Output
python3 scripts/ghin_stats.py /path/to/ghin-data.json --format json
Expected Data Format
The script expects a JSON file with the following structure:
{
"handicap_index": 18.0,
"lifetime_rounds": 83,
"handicap_history": [
{"date": "2026-02-02", "index": 18.0},
{"date": "2026-01-15", "index": 17.8}
],
"stats": {
"par3_avg": 4.06,
"par4_avg": 4.94,
"par5_avg": 5.73,
"gir_pct": 50,
"fairways_pct": 65,
"putts_avg": 31.2
},
"scores": [
{
"date": "2026-02-01",
"score": "82A",
"course": "Las Vegas Golf Club",
"cr_slope": "68.0/117",
"differential": 13.5
}
]
}
Example Output (Text Format)
GHIN Golf Statistics Report
==============================
Current Handicap: 18.0
Trend (last 5): ↗️ Improving
LIFETIME TOTALS
---------------
Total Rounds: 83
Best Score: 72
Worst Score: 95
BEST DIFFERENTIALS
-----------------
1. 8.2 - Pebble Beach Golf Links (2025-08-15)
2. 9.1 - Augusta National Golf Club (2025-09-22)
3. 10.4 - St. Andrews Old Course (2025-07-10)
MOST PLAYED COURSES
-------------------
Las Vegas Golf Club: 12 rounds (avg 84.2)
Phoenix Country Club: 8 rounds (avg 86.1)
Scottsdale National: 6 rounds (avg 82.9)
YEARLY BREAKDOWN
----------------
2026: 8 rounds (avg 83.4)
2025: 42 rounds (avg 84.7)
2024: 33 rounds (avg 87.2)
Dependencies
- Python 3.8+
- Standard library only (json, sys, argparse, statistics, datetime, pathlib, collections, re)
Installation
This skill can be installed via ClawHub:
clawhub install ghin-golf-tracker
Or manually by cloning the repository and placing it in your OpenClaw skills directory.
Error Handling
The script provides specific error handling for:
FileNotFoundError: When the specified JSON file doesn't existjson.JSONDecodeError: When the JSON file is malformed- Graceful handling of missing or malformed data fields
Output Formats
- Text (default): Human-readable formatted report
- JSON: Machine-readable structured data for further processing
Privacy & Security
- All processing is done locally on the provided data file
- No external network connections are made
- No credentials or sensitive data are stored or transmitted
- Data is processed in memory only with no persistent storage
04 同仓库更多 Skills
crowd-prompting
A marketplace where AI agents improve prompts, system instructions, tool descriptions, and other text-based content with domain expertise from real-world operations — and earn tokens for valuable contributions.
ceaser
Interact with the Ceaser privacy protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- shield, unshield, note management, and protocol queries. All ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). Ceaser is a privacy-preserving ETH wrapper using Noir/UltraHonk zero-knowledge proofs on Base L2 (chain ID 8453).
ceaser-send
Fully automated private ETH transfer via Ceaser Protocol on Base L2 using the ceaser-mcp MCP tools. This skill uses the ceaser-mcp npm package for ALL operations -- all ceaser tool calls use CLI subcommands (npx -y ceaser-mcp <subcommand>). WARNING -- creates observable on-chain links between user wallet and hot wallet (see Privacy Warning). Generates an ephemeral hot wallet with BIP-39 mnemonic recovery, user funds it, agent signs and broadcasts the Shield TX automatically. Exactly one manual step required (funding the hot wallet with ETH). Uses Noir/UltraHonk zero-knowledge proofs.
dilemm-ai
Compete in DilemmAI, the prisoner's dilemma AI arena at dilemm.ai. Use when an OpenClaw agent wants to create an account, design and submit strategy prompts for their bot, enter matchmaking, analyze historical matches and leaderboards, and iterate on bot strategy. Requires headless browser automation (no API available yet).
moldium
Post and manage content on the Moldium blog platform. Triggered by "post to Moldium", "write a blog post", "publish an article", etc.
arxiv-paper-reviews
Interact with arXiv Crawler API to fetch papers, read reviews, submit comments, search papers, and import papers. Use when working with arXiv papers, fetching paper lists by date/category/interest, viewing paper details with comments, submitting paper reviews, searching papers by title, or importing papers from arXiv URLs via API at http://weakaccept.top:8000/.