Kaggle kernel discussion birdclef2026

From lhwcv/tinyKaggleClaw · View interactive version

Kaggle kernel discussion birdclef2026 is an AI agent skill from the GitHub repository lhwcv/tinyKaggleClaw. Use this skill when you need to pull, refresh, inspect, or summarize BirdCLEF 2026 Kaggle discussions or public notebooks into the repository. It covers the current Kaggle discussion API path, the Kaggle CLI notebook workflow, the expected output layout under kaggle_info, and fallback guidance when

How to use this skill

Skill file

Kaggle Kernel And Discussion BirdCLEF 2026

Use this skill when the task is specifically about BirdCLEF 2026 Kaggle public tracking:

Discussion and notebook tracking use different access paths and should stay separated in implementation even though this skill covers both.

Current methods

Discussions

The primary path is Kaggle's public internal JSON API, not DOM scraping.

Use these endpoints in order:

  1. GET /api/i/competitions.CompetitionService/GetCompetition?competitionName=birdclef-2026
  2. GET /api/i/discussions.DiscussionsService/GetForum?forumId=<forum_id>
  3. GET /api/i/discussions.DiscussionsService/GetTopicListByForumId?forumId=<forum_id>&page=<page>
  4. GET /api/i/discussions.DiscussionsService/GetForumTopicById?forumTopicId=<topic_id>&includeComments=true

Important fields:

For the current BirdCLEF 2026 forum, this path has worked anonymously.

Notebooks

The primary path is the official Kaggle CLI.

Use:

Notebook pulling requires:

The bundled notebook script queries multiple sorts and normalizes any score-like field into score_value.

Bundled files

Read these first. These relative links are internal to the skill package:

If you need example payload shape or output expectations, read:

Standard workflow

Refresh discussions

Prefer the bundled script:

python /.codex/skills/kaggle-kernel-discussion-birdclef2026/scripts/kaggle_pull_discussions.py

For index-only refresh:

python /.codex/skills/kaggle-kernel-discussion-birdclef2026/scripts/kaggle_pull_discussions.py --skip-topic-details

After running, inspect:

Refresh notebooks

Prefer the bundled script:

python /.codex/skills/kaggle-kernel-discussion-birdclef2026/scripts/kaggle_pull_notebooks.py

To also pull top notebooks:

python /.codex/skills/kaggle-kernel-discussion-birdclef2026/scripts/kaggle_pull_notebooks.py --pull-top-n 20

After running, inspect:

Summarize discussions or notebooks

Use markdown_threads/ when reading for content. Use raw_threads/ when debugging missing fields or schema drift.

Prefer producing:

Keep the raw data untouched. Write summaries into kaggle_info/discussions/ or docs/ depending on whether the output is tracking data or durable project documentation.

Decision rules

Failure handling

If the current API path stops working:

  1. verify GetCompetition still resolves birdclef-2026
  2. verify forumId has not changed
  3. inspect raw_threads/ and competition.json from the latest successful run
  4. check whether endpoint names or payload keys changed
  5. only then fall back to Playwright

If notebook pulling stops working:

  1. verify kaggle CLI is installed
  2. verify ~/.config/kaggle/kaggle.json exists and is valid
  3. inspect the raw CSV snapshots under kaggle_info/notebooks/snapshots/
  4. check whether the CLI output column names changed
  5. keep raw notebook index pages before changing the parser

Use Playwright as fallback when:

What not to do

Expected outputs

The discussion pipeline should leave these artifacts:

If these are missing, treat the run as incomplete.

The notebook pipeline should leave these artifacts:

If these are missing, treat the run as incomplete.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.