本文へ移動
cccskills
無料GitHub で公開

kaggle-solutions

Search and retrieve Kaggle competition top solutions (write-ups, code repos, notebooks) from the kaggle.farid.one archive covering 721 competitions and 4700+ ranked solution links, with an offline snapshot of metadata and top-3 solution texts. This skill should be used when the user asks to find Kaggle competition solutions or winning approaches, look up a specific competition's top placements, find similar past competitions for a data science task, or benchmark approaches by metric/competition type.

日本語の概要は準備中です。原文の説明を表示しています。

zhulei227/EasyMLOpsスター 23(GitHub 23 + cccskills 0)

実行スコア 未検証

インストール方法を見る

含まれるファイル(200)

  • SKILL.md8.6 KB
  • data/competitions.json815.2 KB
  • data/competitions.yml918.6 KB
  • data/pages/1/01.txt300 B
  • data/pages/10/01.txt261 B
  • data/pages/10/02.txt270 B
  • data/pages/10/03.txt290 B
  • data/pages/100/01.txt953 B
  • data/pages/104/01.txt244 B
  • data/pages/105/01.txt874 B
  • data/pages/107/02.txt4.9 KB
  • data/pages/11/01.txt293 B
  • data/pages/110/01.txt934 B
  • data/pages/110/03.txt878 B
  • data/pages/112/01.txt915 B
  • data/pages/112/03.txt6.0 KB
  • data/pages/113/01.txt174 B
  • data/pages/113/02.txt945 B
  • data/pages/113/03.txt5.1 KB
  • data/pages/114/01.txt947 B
  • data/pages/115/01.txt5.8 KB
  • data/pages/116/02.txt5.3 KB
  • data/pages/118/01.txt930 B
  • data/pages/119/01.txt936 B
  • data/pages/12/01.txt291 B
  • data/pages/12/02.txt291 B
  • data/pages/120/02.txt964 B
  • data/pages/121/01.txt869 B
  • data/pages/121/02.txt929 B
  • data/pages/121/03.txt871 B
  • data/pages/122/01.txt4.8 KB
  • data/pages/122/02.txt221 B
  • data/pages/122/03.txt1000 B
  • data/pages/123/01.txt927 B
  • data/pages/124/01.txt900 B
  • data/pages/125/03.txt938 B
  • data/pages/125/03a.txt239 B
  • data/pages/126/01.txt8.8 KB
  • data/pages/126/02.txt227 B
  • data/pages/127/01.txt915 B
  • data/pages/127/03.txt980 B
  • data/pages/128/01.txt899 B
  • data/pages/129/01.txt945 B
  • data/pages/129/02.txt6.1 KB
  • data/pages/129/03.txt943 B
  • data/pages/13/01.txt276 B
  • data/pages/13/02.txt277 B
  • data/pages/130/01.txt14.1 KB
  • data/pages/130/02.txt917 B
  • data/pages/131/01.txt4.4 KB
  • data/pages/132/01.txt936 B
  • data/pages/132/02.txt4.4 KB
  • data/pages/132/03.txt4.6 KB
  • data/pages/134/01.txt889 B
  • data/pages/135/01.txt870 B
  • data/pages/135/02.txt4.3 KB
  • data/pages/136/01.txt19.2 KB
  • data/pages/137/02.txt227 B
  • data/pages/138/02.txt241 B
  • data/pages/139/01.txt905 B
  • data/pages/14/01.txt293 B
  • data/pages/142/01.txt281 B
  • data/pages/143/01.txt3.8 KB
  • data/pages/143/02.txt957 B
  • data/pages/143/03.txt4.4 KB
  • data/pages/144/01.txt851 B
  • data/pages/144/02.txt909 B
  • data/pages/145/02.txt1004 B
  • data/pages/146/01.txt875 B
  • data/pages/148/01.txt4.4 KB
  • data/pages/148/02.txt943 B
  • data/pages/149/01.txt941 B
  • data/pages/149/02.txt297 B
  • data/pages/15/01.txt304 B
  • data/pages/150/01.txt974 B
  • data/pages/150/03.txt984 B
  • data/pages/154/01.txt946 B
  • data/pages/154/02.txt940 B
  • data/pages/155/02.txt237 B
  • data/pages/156/03.txt4.9 KB
  • data/pages/157/01.txt5.9 KB
  • data/pages/157/02.txt981 B
  • data/pages/158/01.txt8.1 KB
  • data/pages/158/03.txt974 B
  • data/pages/159/01.txt150 B
  • data/pages/159/02.txt232 B
  • data/pages/159/03.txt129 B
  • data/pages/16/01.txt929 B
  • data/pages/160/01.txt162 B
  • data/pages/160/01a.txt283 B
  • data/pages/160/02.txt925 B
  • data/pages/160/03.txt927 B
  • data/pages/161/01.txt4.9 KB
  • data/pages/161/01a.txt268 B
  • data/pages/161/02.txt161 B
  • data/pages/161/02a.txt233 B
  • data/pages/161/03.txt3.4 KB
  • data/pages/163/01.txt960 B
  • data/pages/163/03.txt12.2 KB
  • data/pages/164/01.txt290 B
  • data/pages/165/01.txt27.1 KB
  • data/pages/165/03.txt8.4 KB
  • data/pages/166/01.txt294 B
  • data/pages/166/03.txt282 B
  • data/pages/168/01.txt812 B
  • data/pages/168/02.txt286 B
  • data/pages/168/03.txt3.7 KB
  • data/pages/17/01.txt246 B
  • data/pages/17/02.txt250 B
  • data/pages/17/03.txt255 B
  • data/pages/170/01.txt4.1 KB
  • data/pages/170/01a.txt286 B
  • data/pages/170/02.txt901 B
  • data/pages/170/03.txt901 B
  • data/pages/170/03a.txt285 B
  • data/pages/171/01.txt271 B
  • data/pages/171/02.txt897 B
  • data/pages/171/02a.txt264 B
  • data/pages/174/01.txt7.9 KB
  • data/pages/174/02.txt229 B
  • data/pages/175/01.txt911 B
  • data/pages/175/01a.txt277 B
  • data/pages/175/02.txt286 B
  • data/pages/175/03.txt240 B
  • data/pages/175/03a.txt282 B
  • data/pages/178/01.txt908 B
  • data/pages/178/01a.txt293 B
  • data/pages/178/02.txt238 B
  • data/pages/178/02a.txt290 B
  • data/pages/179/01.txt931 B
  • data/pages/179/02.txt235 B
  • data/pages/179/02a.txt288 B
  • data/pages/179/03.txt285 B
  • data/pages/18/02.txt248 B
  • data/pages/18/03.txt254 B
  • data/pages/18/03a.txt251 B
  • data/pages/180/02.txt934 B
  • data/pages/180/03.txt300 B
  • data/pages/181/01.txt934 B
  • data/pages/181/01a.txt302 B
  • data/pages/182/01.txt3.9 KB
  • data/pages/182/01a.txt299 B
  • data/pages/182/02.txt315 B
  • data/pages/182/03.txt156 B
  • data/pages/182/03a.txt305 B
  • data/pages/183/02.txt256 B
  • data/pages/183/03.txt231 B
  • data/pages/184/01.txt12.0 KB
  • data/pages/184/03.txt301 B
  • data/pages/185/01.txt871 B
  • data/pages/185/02.txt232 B
  • data/pages/185/02a.txt308 B
  • data/pages/187/01.txt6.1 KB
  • data/pages/187/02.txt922 B
  • data/pages/187/02a.txt300 B
  • data/pages/187/03.txt162 B
  • data/pages/188/01.txt299 B
  • data/pages/189/01.txt4.9 KB
  • data/pages/189/01a.txt309 B
  • data/pages/19/01.txt254 B
  • data/pages/19/02.txt257 B
  • data/pages/19/03.txt274 B
  • data/pages/190/01.txt953 B
  • data/pages/190/02.txt187 B
  • data/pages/190/03.txt957 B
  • data/pages/191/01.txt948 B
  • data/pages/191/01a.txt307 B
  • data/pages/191/02.txt313 B
  • data/pages/191/03.txt238 B
  • data/pages/191/03a.txt326 B
  • data/pages/192/01.txt923 B
  • data/pages/192/03.txt161 B
  • data/pages/193/01.txt5.5 KB
  • data/pages/194/01.txt913 B
  • data/pages/196/01.txt880 B
  • data/pages/197/01.txt4.5 KB
  • data/pages/197/02.txt163 B
  • data/pages/198/01.txt261 B
  • data/pages/198/02.txt903 B
  • data/pages/198/02a.txt4.7 KB
  • data/pages/198/02b.txt322 B
  • data/pages/198/03.txt316 B
  • data/pages/20/02.txt302 B
  • data/pages/200/01.txt937 B
  • data/pages/200/03.txt937 B
  • data/pages/202/01.txt922 B
  • data/pages/202/02.txt292 B
  • data/pages/202/03.txt862 B
  • data/pages/203/01.txt1021 B
  • data/pages/203/03.txt228 B
  • data/pages/203/03a.txt925 B
  • data/pages/204/01.txt902 B
  • data/pages/204/01a.txt305 B
  • data/pages/204/02.txt902 B
  • data/pages/204/03.txt904 B
  • data/pages/206/01.txt14.2 KB
  • data/pages/207/01.txt901 B
  • data/pages/207/03.txt839 B
  • data/pages/207/03a.txt358 B
  • data/pages/209/01.txt976 B

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Kaggle Solutions

Overview

Query the community-maintained Kaggle solutions archive (https://kaggle.farid.one, source repo faridrashidi/kaggle-solutions), read top solutions fully offline, and automatically match the current business task to similar past competitions to derive optimization recommendations.

Primary Workflow: match current business → optimize

  1. Profile the task and match competitions — run scripts/match_task.py:
    • Explicit description: python scripts/match_task.py "churn prediction for telecom users" --metric auc --out report.md
    • Auto-profile a project directory (scans code/docs for task terms, metric hints and kaggle.com/c/ slugs): python scripts/match_task.py --dir path/to/project --out report.md The report contains: task profile, ranked similar competitions, techniques mined from offline winner pages (with original quotes), and an actionable optimization checklist (validation / models / features / ensembling / post-processing).
  2. Read the winning approaches — for the top matches use read <number> <rank> (offline) and distill concrete steps into the user's task; cite technique quotes from the report.
  3. Apply and iterate — turn the checklist into concrete changes for the user's pipeline (CV scheme, model choice, features, ensembling, post-processing), highest-frequency winner techniques first.
  4. If the best-matched competitions lack offline pages, run download_solutions.py (see below) and re-run match_task.py.

Semantic search: scripts/embedding_index.py (numpy TF-IDF vectors)

Local vector index over both corpora (721 competitions + ~1280 offline winner pages), stored at data/index/tfidf.npz. No model download; queries go through the CN→EN map so Chinese works.

python scripts/embedding_index.py build          # (re)build — run after downloads grow
python scripts/embedding_index.py "churn prediction" --corpus solutions --top 10
python scripts/embedding_index.py "欺诈检测" --corpus competitions --top 5
python scripts/embedding_index.py --status

match_task.py uses it automatically: competitions are ranked by keyword score + 20×cosine similarity, and the report includes a "语义检索的相关优胜方案" section with read hints. Rebuild the index after new pages are downloaded (or pass --rebuild); with --no-sem to fall back to keyword-only matching. numpy is required; without it the skill silently degrades to keyword matching.

Chinese input support

Descriptions, project docs and search keywords may be written in Chinese. A built-in CN→EN concept map (CN_EN_MAP in kaggle_solutions.py, ~60 business/domain terms: 客户流失/欺诈/销量预测/时间序列/图像分割/反欺诈...) translates them to English archive vocabulary before matching; metric hints also accept Chinese (AUC曲线下面积/均方根误差/ 准确率...). To extend coverage, add entries to CN_EN_MAP.

Data Layout (offline-first)

data/
├── competitions.yml        # full metadata snapshot: 721 competitions, 4768 solution links
├── competitions.json       # normalized metadata (auto-generated from the yml)
└── pages/<number>/<NN>.txt # offline solution texts, NN = rank (01 = 1st place);
                            # header line "url: ..." records the source link

All metadata queries run entirely from the local snapshot — no network needed. Solution texts are available only for pages already downloaded by download_solutions.py; check availability with the [offline] markers in show/search --solutions output or download_solutions.py --status.

Normalized record schema:

number: 721            # site index, newest = highest
title: "..."
desc: "..."            # one-line competition description
kind: Featured         # Featured | Playground | Research | Analytics | Recruitment | Getting Started | Masters
prize: "$60,000"       # or Swag / Knowledge / ...
team: "3575"           # team count (string, no commas)
metric: "Roc Auc Score"
link: "https://www.kaggle.com/c/<slug>"
year: 2026
hot: false             # site "Hot" flag
curated: true          # true = has solutions (Curated), false = Missing
solutions:             # ranked solution links
  - rank: 1            # placement number
    link: "https://www.kaggle.com/c/<slug>/writeups/..."   # or /discussion/... or external blog
    kind: description  # description = write-up, code = codebase, kernel = notebook

Data is cached in <tempdir>/kaggle_solutions_cache/competitions.json for 7 days.

Scripts

Task matching: scripts/match_task.py (stdlib-only)

See "Primary Workflow" above. Technique mining uses a curated lexicon (validation, gbdt, deep-learning, ensemble, features, training, data, post-process, llm) over offline winner pages; stemming handles singular/plural. Use --top 8 --deep 4 defaults; --out report.md saves the markdown report.

Query: scripts/kaggle_solutions.py (stdlib-only)

# Search by keywords (all terms must appear in title/desc/metric)
python scripts/kaggle_solutions.py search image segmentation --status curated --limit 5

# Filter by kind / year / metric; --solutions lists ranked links with [offline] markers
python scripts/kaggle_solutions.py search --kind Featured --year 2024 --metric auc --solutions

# Full detail of one competition (by site number or title substring)
python scripts/kaggle_solutions.py show 721

# Read OFFLINE solution text (omit rank to list every saved page)
python scripts/kaggle_solutions.py read 721 1 --max-chars 20000

# Full-text search across all downloaded solution pages
python scripts/kaggle_solutions.py grep "transformer ensemble"

# Find past competitions similar to a problem description
python scripts/kaggle_solutions.py similar "predict machine failure from sensor time series"

# stats [--json] / refresh (re-download metadata) / --json on any command

Downloader: scripts/download_solutions.py (needs playwright-cli + Edge/Chrome)

Fetches solution page texts with a real browser (kaggle.com blocks plain HTTP) into data/pages/. Resumable — re-running skips already-saved URLs. Default priority: rank 1 across all competitions first, then rank 2, then rank 3.

python scripts/download_solutions.py --status                # progress: wanted vs saved
python scripts/download_solutions.py --dry-run --limit 20    # preview queue
python scripts/download_solutions.py --max-rank 1            # only 1st places
python scripts/download_solutions.py --max-rank 3            # full medal set (~2-3h)
# options: --limit N (stop after N pages), --delay S (rate limit), --browser chrome

Long runs: launch in background, log to logs/download.log, and poll --status.

Workflow

  1. User asks for solutions to a known competition — show <title or number>; rank 1–3 are medal approaches. Links marked [offline] have full text stored: read with read <number> <rank> instead of fetching the web.
  2. User wants the actual approach/methodology — check offline coverage with --status. If the needed pages are saved, use read; otherwise run download_solutions.py for those competitions (or --max-rank 1), or fetch the URL with the web fetch tool as a fallback. Pages contain site navigation noise at the top — skip to the title line for the actual write-up.
  3. User is working on a task and wants proven approaches — similar "<task description>", then show/read the best matches. Filter with --kind/--metric to match the task type (tabular → Playground/Featured with AUC/RMSE; NLP → Research).
  4. Search inside downloaded solutions — grep "terms..." finds techniques across all saved pages (e.g. grep pseudo-labeling).
  5. Stale metadata — refresh re-downloads the yml snapshot; new competitions' solution texts still need a download_solutions.py run.

Output Guidance

  • Present competitions as: #number [Kind Year] Title — desc (metric, N solution links) followed by the competition URL.
  • Group solution links by medal tier (1st / 2nd / 3rd / other) and label each as write-up, code, or notebook based on kind.
  • Use --json output when downstream processing (tables, further filtering) is needed.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

コメント

ログインなしで書き込めます。使ってみた感想、質問、動かなかった環境などを気軽にどうぞ。

まだコメントはありません。最初のコメントを書いてみませんか。

送信するとすぐに公開されます。メールアドレスや電話番号などの個人情報は書かないでください。URL は 2 つまでです。

0 / 1000 文字

このフォームは reCAPTCHA で保護されており、Google のプライバシーポリシーと利用規約が適用されます。

同じリポジトリのスキル

easymlops

無料

This skill should be used when building machine learning modeling tasks with the EasyMLOps framework (pip install easymlops), including business task playbooks. Covers Pipeline-based table data modeling (cleaning, encoding, feature selection, decomposition, FM/DeepFM, classification/regression), NLP tasks, time series, YOLO vision, OCR, AutoML, model persistence, and FastAPI deployment. Business playbooks with iterative optimization workflows: 核保风控 underwriting, 理赔风控 claims risk/fraud, 反欺诈反洗钱 anti-fraud/AML, 易续保 renewal, 客户流失 churn, 推荐系统/交叉销售 recommendation/cross-sell CTR, 催收评分 collection, 营销响应 marketing uplift, 车险定价/赔付金额/医疗费用预测 pricing, 保费收入/赔付率/需求销量时序预测 forecasting. Triggers include EasyMLOps, TablePipeLine, FM, WOE, IV, 核保, 理赔, 续保, 流失, 反欺诈, 推荐系统, 特征工程, 模型部署.

日本語の概要は準備中です。原文の説明を表示しています。

zhulei227/EasyMLOps232026年10月28日 更新

zhulei227 のスキルをすべて見る

このスキルの問題を報告する