Given a date, return every Nippon Professional Baseball (NPB) game on that day with final score, both teams + team IDs, venue, winning / losing / save pitchers, game status, and the canonical Yahoo game_id — parsed from baseball.yahoo.co.jp's weekly schedule page.
Works with
AI-first code editor with Composer
Before installing skills in Cursor, ensure your development environment meets these requirements:
node --versionget-npb-game-resultsExecute the skills CLI command in your project's root directory to begin installation:
Fetches get-npb-game-results from baseball.yahoo.co.jp/get-npb-game-results-oa66vq and configures it for Cursor.
The CLI shows a list of agents. Use arrow keys and space to select Cursor:
Confirm successful installation by checking the skill directory location:
Restart Cursor to activate get-npb-game-results. Access via /get-npb-game-results in your agent's command palette.
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your environment. Always review source, verify the publisher, and test in isolation before production.
Submit your Claude Code skill and start earning
Automate repetitive workflows and reduce manual effort
Example
Generate reports, summarize documents, draft communications
Save 3-5 hours per week on routine tasks
Learn new skills, understand complex topics, get expert guidance
Example
Explain concepts, provide examples, suggest learning resources
Accelerate learning and skill development by 2x
Enhance output quality through reviews, suggestions, and refinements
Example
Review drafts, suggest improvements, catch errors
Improve work quality by 30-40% with less effort
0
total installs
0
this week
0
upvotes
Run in your terminal
0
installs
0
this week
—
stars
| name | get-npb-game-results |
| title | NPB Game Results by Date |
| description | >- Given a date, return every Nippon Professional Baseball (NPB) game on that day with final score, both teams + team IDs, venue, winning / losing / save pitchers, game status, and the canonical Yahoo game_id — parsed from baseball.yahoo.co.jp's weekly schedule page. |
| website | baseball.yahoo.co.jp |
| category | sports |
| tags | - sports - baseball - npb - japan - schedule - read-only |
| source | 'browserbase: agent-runtime 2026-05-20' |
| updated | '2026-05-20' |
| recommended_method | fetch |
| alternative_methods | - method: browser rationale: >- Functionally equivalent — the page is server-rendered and every field lives in the initial HTML. Use only if the fetch path is ever blocked (it isn't today: 200 OK with no anti-bot, no auth, no proxies needed). Browser pays ~50× the cost for zero added information. |
| verified | false |
| proxies | false |
Given a calendar date, return every NPB (Nippon Professional Baseball / 日本プロ野球) regular-season and pre-season game on that date — final score, both teams (with team IDs), venue, winning / losing / save pitchers, game status, and the canonical game_id that links to Yahoo's game-detail page. Source is Yahoo Japan's Sportsnavi weekly schedule (baseball.yahoo.co.jp/npb/schedule/). Read-only — never posts, comments, or interacts with users.
game_id for downstream skills that scrape box scores, play-by-play, or stats (e.g. /npb/game/{game_id}/score, /npb/game/{game_id}/stats).(予)).The site is a server-rendered Vue page with no anti-bot, no auth, no cookies, no rate-limit gate. Every game-row data point (teams, score, pitcher tags, venue, game-id) is in the initial HTML — browse cloud fetch returns 200 with the full markup in ~400 ms. Lead with the fetch path; the rendered browser path is a strict-equivalent fallback that pays a ~50× cost premium for zero added information.
GET https://baseball.yahoo.co.jp/npb/schedule/?date=YYYY-MM-DD
date= query param positions the page to the week containing that date (Mon–Sun, e.g. ?date=2026-05-19 returns the row block 5月18日(月) 〜 5月24日(日)). Confirm via the <li class="bb-scheduleNavi__item"> element.https://baseball.yahoo.co.jp/npb/schedule/first/all?date=YYYY-MM-DD. The og:url canonicalizes both to /npb/schedule/?date=…./npb/schedule/farm/all?date=… — same HTML shape, different teams.--proxies, no --verified, no special headers required. Plain curl works; browse cloud fetch <url> is the cleanest entry point inside the agent.Each game is one <tr class="bb-scheduleTable__row"> (the row also gets bb-scheduleTable__row--today for the day that matches the server's current date — informational only, do not key on it). Capture these per row:
| Field | Selector / regex | Notes |
|---|---|---|
| Date | <th class="bb-scheduleTable__head" … rowspan="N">5月19日(火)</th> | Only present on the first row of each date; subsequent rows in that date inherit it via the rowspan. Carry forward as you iterate top-to-bottom. |
| Home team name + id | bb-scheduleTable__homeName → <a href="/npb/teams/{id}/index">{name}</a> | id is the integer in the team URL. |
| Away team name + id | bb-scheduleTable__awayName → same pattern | — |
| Home pitchers | <ul class="bb-scheduleTable__homePlayer"> → <li class="bb-scheduleTable__player">(TAG)NAME</li> | Multiple <li> per side. TAG is in parens. See pitcher-tag table below. |
| Away pitchers | <ul class="bb-scheduleTable__awayPlayer"> → same | — |
| Score | <p class="bb-scheduleTable__score"> HOME <span class="bb-scheduleTable__center">-</span> AWAY </p> | Whitespace-padded numbers; empty for un-played / cancelled games. Score order is home–away (matches the surrounding home / away DOM blocks). |
| Start time (pre-game) | <div class="bb-scheduleTable__info"><span>HH:MM</span> | Only present for un-started games. Absent on 試合終了 and 試合中止 rows. |
| Game status + game_id + game URL | <p class="bb-scheduleTable__status"><a href="/npb/game/{game_id}/index">{status}</a></p> | See status enum below. The link target is always /npb/game/{game_id}/index; the live game page may redirect to /top, /score, /live, /stats etc. — {game_id} itself is the stable handle. |
| Venue | <td class="bb-scheduleTable__data bb-scheduleTable__data--stadium">神宮</td> | Last cell of each row. |
| No-game days | <td class="bb-scheduleTable__data bb-scheduleTable__data--nogame" colspan="8">試合はありません</td> | Whole row, no game data. Skip and continue. |
Pitcher tag enum (the character inside the leading parens of each <li class="bb-scheduleTable__player">):
| Tag | Meaning | Encoding note |
|---|---|---|
勝 | Winning pitcher | half-width kanji |
敗 | Losing pitcher | half-width kanji |
S | Save | full-width Latin S (U+FF33) — === 'S'.charCodeAt(0) === 65 will NOT match. Use S or check for both. |
予 | Probable / announced starter (pre-game only) | becomes irrelevant once the game finishes. |
H | Hold (rare, mostly minor leagues) | half-width Latin H. |
Tags only appear on rows with status 試合終了. Pre-game rows show (予)山野 style placeholders; cancelled rows show neither score nor pitchers.
Status enum (text inside the bb-scheduleTable__status link):
| Status (ja) | Romaji | Meaning |
|---|---|---|
試合終了 | shiai shūryō | Final — score + W/L/S pitchers populated. |
試合中止 | shiai chūshi | Cancelled (rain-out, etc.). Score is empty; no pitchers. Often re-scheduled — the same game_id may resurface later in the season. |
見どころ | midokoro | "Highlights / Preview" — same-day game that hasn't started yet. The page shows projected starters tagged (予). |
試合前 | shiai-mae | Future game (later this week). Same shape as 見どころ. |
試合中 | shiai-chū | In-progress (live). Score reflects current inning. (Not seen in our sample but documented in the page's JS bundle.) |
The HTTP response is week-scoped, not day-scoped, even when ?date= names a specific day. Carry the inherited <th class="bb-scheduleTable__head"> value forward through subsequent rows in that date block, then filter the parsed games[] array to entries whose date matches the requested day (format: M月D日(曜), e.g. 5月19日(火)). The page also has a <h2 class="bb-head01__title">5月19日(火)</h2> showing the focused day in Japanese — useful for sanity-checking your filter key.
For each game_id, the canonical detail entry point is:
https://baseball.yahoo.co.jp/npb/game/{game_id}/index
which auto-redirects to /top once the game has started. Sibling paths under the same id: /score (box score), /stats (player stats), /live (play-by-play), /preview (lineups + probables), /text (text-cast log). These are out of scope for this skill — fetch them only when downstream callers explicitly need more than the schedule-page row.
If the fetch path is ever blocked (it isn't today), open the same URL in a browse cloud sessions create session — no --verified / --proxies needed — then browse get html body and apply the same regex set. browse snapshot / browse get text body also work but are noisier than the raw HTML because the table renders inside layout chrome.
(S) = Save uses full-width S (U+FF33), not ASCII S. A naïve tag === 'S' check silently drops every save pitcher. Match /[SS]/ or compare codepoints. Verified across iter-1 (2026-05-19, 5 games with saves: 大勢, 岩崎, ハーン, etc.).?date= is week-scoped. The response always contains the full Mon–Sun block surrounding the requested date — never just that single day. Always filter the parsed rows by the date header before returning. Cross-week ranges require multiple fetches stepping by 7 days.rowspan inheritance. The <th class="bb-scheduleTable__head"> appears once per date and rowspans over the day's game rows. Subsequent rows in the same date block omit the <th> entirely — you must carry forward the most recently-seen date label as you iterate. Filtering by date requires the Japanese key (5月19日(火)), not an ISO string; build a Japanese-formatter helper or regex-extract (\d+)月(\d+)日 and compare numerically.?date=2025-06-15 (a past-but-not-current-season date in our 2026-server-time world) returns the closest in-range week (2月2日 〜 2月8日) with statusCode=200. Always verify the returned week header matches the requested date before parsing.376, not in the 1–12 sequence. All other NPB clubs map cleanly to ids 1–12 (1=巨人, 2=ヤクルト, 3=DeNA, 4=中日, 5=阪神, 6=広島, 7=西武, 8=日本ハム, 9=ロッテ, 11=オリックス, 12=ソフトバンク), but Rakuten Eagles is 376. Don't validate-with-a-range-check; trust the /npb/teams/{id}/index URL as the source of truth.試合中止 rows use bb-scheduleTable__home--preGame / bb-scheduleTable__away--preGame classes (with the --preGame suffix) instead of the plain bb-scheduleTable__home / bb-scheduleTable__away, omit the pitcher <ul>s entirely, and have an empty <p class="bb-scheduleTable__score">. A regex that requires bb-scheduleTable__homeName (substring, not exact-class) still catches them because the team-name child div retains its non-suffixed class. Match on homeName / awayName, not on the parent's exact class string.bb-scheduleTable__row--today is a UI hint, not a filter. It marks the day the server considers "today" (which may differ from your ?date= target). Do not use it to filter — use the date header text. (Observed during 2026-05-20 fetch: today-row was 5/21, not 5/20; the page rolls over before midnight JST.)/npb/schedule/, /npb/schedule/first/all, and /npb/schedule/? all serve identical first-team (1軍) data. The canonical form (per og:url) is /npb/schedule/?date=…. Use that to dedup if you cache./npb/schedule/farm/all?date=… with the same HTML shape but Eastern + Western League teams. Out of scope for the default first-team skill unless the caller explicitly asks.(予)NAME pitcher entries are projections, not facts. Once the game's status flips to 試合終了, the (予) rows are replaced by actual (勝)/(敗)/(S)/(H) tags. Do not emit (予) pitchers in the final-results payload — they are pre-game noise.sportsnavi-app-category Vary header) is gated by Yahoo Japan app credentials and not callable from a browser session. The HTML page is the canonical public source.{
"requested_date": "2026-05-19",
"week_range_ja": "5月18日(月) 〜 5月24日(日)",
"league": "first",
"games": [
{
"date_ja": "5月19日(火)",
"date_iso": "2026-05-19",
"game_id": "2021038878",
"game_url": "https://baseball.yahoo.co.jp/npb/game/2021038878/index",
"status": "試合終了",
"status_en": "final",
"start_time_local": null,
"venue": "いわき",
"home": {
"team_id": "2",
"name": "ヤクルト",
"score": 0,
"pitchers": [{ "tag": "敗", "name": "高橋" }]
},
"away": {
"team_id": "1",
"name": "巨人",
"score": 2,
"pitchers": [
{ "tag": "勝", "name": "戸郷" },
{ "tag": "S", "name": "大勢" }
]
},
"winning_pitcher": "戸郷",
"losing_pitcher": "高橋",
"save_pitcher": "大勢",
"hold_pitchers": []
}
]
}
Additional outcome shapes the parser must handle without throwing:
// Cancelled / rained-out game — both scores null, no pitchers.
{
"date_ja": "4月15日(水)", "game_id": "2021038717",
"status": "試合中止", "status_en": "cancelled", "venue": "甲子園",
"home": { "team_id": "5", "name": "阪神", "score": null, "pitchers": [] },
"away": { "team_id": "1", "name": "巨人", "score": null, "pitchers": [] },
"winning_pitcher": null, "losing_pitcher": null, "save_pitcher": null
}
// Pre-game (今日 or future date) — score null, start_time set, pitchers are projections.
{
"date_ja": "5月21日(木)", "game_id": "2021038889",
"status": "見どころ", "status_en": "preview",
"start_time_local": "18:00", "venue": "神宮",
"home": { "team_id": "2", "name": "ヤクルト", "score": null, "pitchers": [{ "tag": "予", "name": "山野" }] },
"away": { "team_id": "1", "name": "巨人", "score": null, "pitchers": [{ "tag": "予", "name": "田中将" }] },
"winning_pitcher": null, "losing_pitcher": null, "save_pitcher": null
}
// No-game day (e.g. Monday off-day) — game array filtered to []; week_range_ja still populated.
{
"requested_date": "2026-05-18",
"week_range_ja": "5月18日(月) 〜 5月24日(日)",
"games": []
}
Prerequisites
Time Estimate
15-45 minutes depending on use case complexity
Steps
Common Pitfalls
✓ Do
✗ Don't
💡 Pro Tips
✓ Use when
Use when skill capabilities match your task, clear ROI on time saved, and you can validate outputs. Best for repetitive tasks, learning, and quality improvement.
✗ Avoid when
Avoid when task requires deep expertise you can't validate, involves sensitive decisions, or when learning process is more valuable than speed of completion.
onewave-ai/claude-skills
booking.com/search-hotels-asq6cc
nav.com/get-smb-funding-2s1rpm
aliexpress.com/search-product-p0h8a7
google.com/search-flights-ts4g1f
shopee.com.my/search-products-5epzg0
Keeps context tight: get-npb-game-results is the kind of skill you can hand to a new teammate without a long onboarding doc.
Registry listing for get-npb-game-results matched our evaluation — installs cleanly and behaves as described in the markdown.
Useful defaults in get-npb-game-results — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
I recommend get-npb-game-results for anyone iterating fast on agent tooling; clear intent and a small, reviewable surface area.
Registry listing for get-npb-game-results matched our evaluation — installs cleanly and behaves as described in the markdown.
Keeps context tight: get-npb-game-results is the kind of skill you can hand to a new teammate without a long onboarding doc.
get-npb-game-results fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
We added get-npb-game-results from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
get-npb-game-results reduced setup friction for our internal harness; good balance of opinion and flexibility.
get-npb-game-results is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
showing 1-10 of 25