← 返回 Skills 市场
reditya

Padel Americano Game Scorer

作者 reditya · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
83
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install padel-americano
功能描述
Create and manage fair-shuffled Padel Americano sessions: register players, generate fixed or open-ended rounds, record game scores, add/remove/substitute pl...
使用说明 (SKILL.md)

Padel Americano

Use this skill when the user asks to create, run, score, update, or export a Padel Americano event.

Tool

Use the bundled CLI:

SKILL_DIR=/path/to/padel-americano
python3 "$SKILL_DIR/scripts/padel_americano.py" --help

The CLI stores each tournament as JSON and can export PDF via headless Chrome/Chromium when available. It uses a fair-shuffled Americano rotation that avoids repeated partners/opponents where possible; it is not a strict printed rotation-chart template. Player names are passed as a comma-separated --players string; do not pass a local file path as player input.

Core Workflow

  1. Ask the user for total points per game before creating a tournament or session. Recommend common short-game values such as 5 or 21 points when they are unsure.
  2. For fixed events, create a tournament with player names, number of courts, rounds, and the chosen points per game.
  3. For casual/open-ended events, create a session without a fixed round count and generate one round at a time.
  4. Share the generated schedule with the user or export it.
  5. Record scores as games finish.
  6. Check the standard Americano leaderboard by total points, or alternative leaderboards by wins, points percentage, or wins percentage.
  7. If a player needs to switch mid-session, replace that player from a specified round onward, then regenerate only unplayed future rounds.
  8. Treat mid-session joins, leaves, pauses, and removals as operational extensions for real events, not core Americano rules.
  9. If a new player joins mid-session, add that player from a specified round onward; do not force them to catch up to everyone else's total game count.
  10. If a player leaves without a replacement, remove that player from a specified round onward, then regenerate only unplayed future rounds.
  11. Export schedule, scores, and leaderboard to PDF when requested.

Common Commands

Create a new Americano:

python3 "$SKILL_DIR/scripts/padel_americano.py" new \
  --name "Padel Americano" \
  --players "Alex,Blake,Casey,Drew,Elliot,Finley,Gray,Hayden" \
  --courts 2 \
  --rounds 6 \
  --points 24 \
  --out ./padel/americano.json

Create an open-ended Americano session:

python3 "$SKILL_DIR/scripts/padel_americano.py" new-session \
  --name "Padel Americano" \
  --players "Alex,Blake,Casey,Drew,Elliot,Finley,Gray,Hayden" \
  --courts 2 \
  --points 24 \
  --out ./padel/americano.json

Generate the next open-ended round:

python3 "$SKILL_DIR/scripts/padel_americano.py" next-round \
  ./padel/americano.json

Show schedule:

python3 "$SKILL_DIR/scripts/padel_americano.py" schedule \
  ./padel/americano.json

Record a score:

python3 "$SKILL_DIR/scripts/padel_americano.py" score \
  ./padel/americano.json \
  --round 1 --court 1 --score 14-10

The two team scores must add up to the configured points_per_game. For example, a 21-point game accepts 12-9, 21-0, or 10-11, but rejects 12-8 and asks for the game score to be entered again.

Leaderboard:

python3 "$SKILL_DIR/scripts/padel_americano.py" leaderboard \
  ./padel/americano.json

The default leaderboard is points, matching standard Americano: total individual points, point difference, wins, points percentage, fewer games, then name.

Leaderboard variants:

python3 "$SKILL_DIR/scripts/padel_americano.py" leaderboard \
  ./padel/americano.json \
  --sort points

python3 "$SKILL_DIR/scripts/padel_americano.py" leaderboard \
  ./padel/americano.json \
  --sort wins

python3 "$SKILL_DIR/scripts/padel_americano.py" leaderboard \
  ./padel/americano.json \
  --sort points-pct

python3 "$SKILL_DIR/scripts/padel_americano.py" leaderboard \
  ./padel/americano.json \
  --sort wins-pct

python3 "$SKILL_DIR/scripts/padel_americano.py" leaderboard \
  ./padel/americano.json \
  --sort official

Switch a player from a round onward:

python3 "$SKILL_DIR/scripts/padel_americano.py" switch \
  ./padel/americano.json \
  --out-player "Alex" --in-player "Jordan" --from-round 4

Add a new player from a future round:

python3 "$SKILL_DIR/scripts/padel_americano.py" add-player \
  ./padel/americano.json \
  --player "Jordan" --from-round 5

Remove a player from a future round:

python3 "$SKILL_DIR/scripts/padel_americano.py" remove-player \
  ./padel/americano.json \
  --player "Alex" --from-round 4

Operational extension for open-ended player flow:

python3 "$SKILL_DIR/scripts/padel_americano.py" join-player \
  ./padel/americano.json \
  --player "Jordan"

python3 "$SKILL_DIR/scripts/padel_americano.py" leave-player \
  ./padel/americano.json \
  --player "Alex"

python3 "$SKILL_DIR/scripts/padel_americano.py" pause-player \
  ./padel/americano.json \
  --player "Blake"

python3 "$SKILL_DIR/scripts/padel_americano.py" resume-player \
  ./padel/americano.json \
  --player "Blake"

Export PDF:

python3 "$SKILL_DIR/scripts/padel_americano.py" export-pdf \
  ./padel/americano.json \
  --out ./padel/padel-americano.pdf

Notes

  • Americano scoring is individual: each player receives the points won by their team in each game.
  • Each completed game must total exactly points_per_game across both teams. Draws are allowed when the two scores add up to the configured points per game.
  • If a submitted score does not total the points-per-game value chosen at session creation, ask the user to enter the game score again.
  • The standard Americano leaderboard is points: total individual points, point difference, wins, points percentage, fewer games, then name.
  • Alternative leaderboard ranking supports official, wins, points-pct, and wins-pct.
  • Official/wins-based leaderboard tie-breakers: wins, win percentage, total points, point difference, fewer games, then name. Use this only when the organizer explicitly wants wins prioritized over total points.
  • Points percentage is points_for / (games * points_per_game). Wins percentage is wins / games.
  • Leaderboard columns put the primary ranking statistic immediately after the player name: Pts for points, Wins for official/wins, Pts% for points-pct, and Win% for wins-pct.
  • Tied players share competition ranks, for example 1, 2, 2, 4.
  • Points leaderboard tie-breakers: points, point difference, wins, points percentage, fewer games, then name.
  • Wins leaderboard tie-breakers: wins, wins percentage, points, point difference, fewer games, then name.
  • Percentage leaderboard tie-breakers prioritize the requested percentage, then stronger raw results and more completed games before name.
  • Completed games are never regenerated during a switch. Only future unscored rounds are adjusted.
  • Mid-session join, leave, pause, resume, add, and remove commands are operational extensions for real event management. They are not part of the core Americano format.
  • Removing a player is allowed only from a round that has no completed scores onward. Earlier scored rounds remain in the leaderboard.
  • Open-ended sessions generate one round at a time using the latest active roster. Joining, leaving, pausing, and resuming affect the next generated round, not already generated rounds.
  • In open-ended sessions, next-round normally requires the current round to be fully scored. Use --force only when intentionally running multiple unscored rounds in parallel.
  • If player count exceeds court capacity or is not divisible by 4, the CLI warns about byes or idle courts. Byes roll by roster order from the first generated/regenerated round.
  • A new mid-session player enters the rolling bye order normally; they are not forced to play every future round to match older players' game count.
安全使用建议
This skill is reasonable to use for local Padel Americano scheduling and scoring. Before installing or invoking it, be aware that it will create and modify local tournament JSON/PDF files, so choose output paths intentionally and review any score or roster changes before they are saved.
功能分析
Type: OpenClaw Skill Name: padel-americano Version: 1.0.0 The skill bundle provides a legitimate utility for managing Padel Americano tournaments, including player rotation scheduling, score tracking, and leaderboard generation. The core logic in 'scripts/padel_americano.py' uses standard Python libraries for file I/O and tournament mathematics, with no evidence of data exfiltration, backdoors, or malicious execution. The PDF export feature uses headless Chrome/Chromium with proper HTML escaping to mitigate injection risks, and the 'SKILL.md' instructions are strictly focused on the tool's stated purpose without any prompt-injection attacks against the agent.
能力评估
Purpose & Capability
The stated purpose, instructions, and visible code all align around creating Padel Americano schedules, recording scores, managing player changes, and producing leaderboards/PDF exports.
Instruction Scope
The skill instructs the agent to use a bundled Python CLI to create and modify local tournament files. This is purpose-aligned, but users should confirm scores, player changes, and output paths.
Install Mechanism
There is no install script or package download. The only required binary is python3; optional Chrome/Chromium use for PDF export is disclosed.
Credentials
The tool writes local JSON/PDF files and may invoke a local headless browser for PDF rendering. This is proportionate to the tournament-management purpose and no broad system, network, or credential access is shown.
Persistence & Privilege
Tournament state persists locally as JSON, including player names, scores, rounds, and event history. This is expected for the skill but should be stored in an appropriate user-chosen location.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install padel-americano
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /padel-americano 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of Padel Americano skill. - Create and manage Padel Americano tournament sessions with fair-shuffled rotations. - Register players, courts, set rounds and points per game; generate fixed or open-ended events. - Record scores, add/remove/switch/pause players mid-session, and regenerate future rounds as needed. - Compute official and alternative leaderboards (by points, wins, percentages). - Export schedules, scores, and statistics to PDF.
元数据
Slug padel-americano
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Padel Americano Game Scorer 是什么?

Create and manage fair-shuffled Padel Americano sessions: register players, generate fixed or open-ended rounds, record game scores, add/remove/substitute pl... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 83 次。

如何安装 Padel Americano Game Scorer?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install padel-americano」即可一键安装,无需额外配置。

Padel Americano Game Scorer 是免费的吗?

是的,Padel Americano Game Scorer 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Padel Americano Game Scorer 支持哪些平台?

Padel Americano Game Scorer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Padel Americano Game Scorer?

由 reditya(@reditya)开发并维护,当前版本 v1.0.0。

💬 留言讨论