OpenParable
Skip to content
← Back to skills

Pp Running Race Results

Research
pp-running-race-results

Pp Running Race Results is an Agent Skill for research published in the mvanhorn/printing-press-library repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Look up running race results across NYRR, Mika Timing, Athlinks, and RaceResult by fuzzy race name, bib, runner name, or athlete history.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/mvanhorn/printing-press-library/blob/HEAD/cli-skills/pp-running-race-results/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/pp-running-race-results, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Running Race Results — Printing Press CLI

Prerequisites: Install the CLI

This skill drives the running-race-results-pp-cli binary. You must verify the CLI is installed before invoking any command from this skill. If it is missing, install it first:

  1. Install via the Printing Press installer. It defaults binaries to $HOME/.local/bin on macOS/Linux and %LOCALAPPDATA%\Programs\PrintingPress\bin on Windows:
    npx -y @mvanhorn/printing-press-library install running-race-results --cli-only
    
  2. Verify: running-race-results-pp-cli --version
  3. Ensure the reported install directory is on $PATH for the agent/runtime that will invoke this skill.

If the npx install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.5 or newer). This installs into $GOPATH/bin (default $HOME/go/bin), so add that directory to $PATH instead:

go install github.com/mvanhorn/printing-press-library/library/other/running-race-results/cmd/running-race-results-pp-cli@latest

If --version reports "command not found" after install, the runtime cannot see the binary directory on $PATH. Do not proceed with skill commands until verification succeeds.

Use this CLI when a user wants to look up a runner's published race result, search for a runner inside a known race, or inspect a runner's cross-event history from supported race-results providers.

When Not to Use This CLI

Do not use this CLI for live race tracking, private training analytics, registration, purchases, or changing remote state. It is read-only and reports publicly published race results.

Unique Capabilities

  • lookup — Resolve a fuzzy race name to the right provider and edition, then return a unified result by bib or runner name.
  • athlete — Show cross-event race history from Athlinks or NYRR by name, racer id, or the optional Athlinks current-user token.

Command Reference

  • running-race-results-pp-cli lookup "<race name>" <bib> — Look up one runner in a known race by bib.
  • running-race-results-pp-cli lookup "<race name>" --name "<runner name>" — Search for runners by name inside the resolved race.
  • running-race-results-pp-cli athlete "<runner name>" — Search Athlinks for a runner and show cross-event race history.
  • running-race-results-pp-cli athlete --provider nyrr "<runner name>" — Search NYRR for a runner and show NYRR race history.

Recipes

Look Up a Bib

running-race-results-pp-cli lookup "mini 10k" 19 --year 2026

Return JSON for Automation

running-race-results-pp-cli lookup "berlin marathon" 73664 --year 2025 --json

Search by Runner Name

running-race-results-pp-cli lookup "berlin marathon" --name "Runner" --year 2025

Show Athlete History

running-race-results-pp-cli athlete "Sample Athlete"

Auth Setup

Most commands do not require credentials. ATHLINKS_TOKEN is optional and is only needed for athlete --me or if an Athlinks endpoint starts returning 401/403 for anonymous requests.