本文へスキップ
Skillpedia
一般的なプログラミング48k · #5785

since-cutoff

できること

このツールは、プロジェクトで使っているPythonライブラリの一部が、AIモデルの学習後に変わったかどうかを確認します。どの部分が変わったか、そしてコードのどこでそれらが使われているかを教えてくれます。

使う場面

  • ✓プロジェクトのPythonライブラリが、AIの学習時点以降に変わったかを知りたいとき。
  • ✓ライブラリを更新したあとにコードが動かなくなったとき。
  • ✓ライブラリをアップグレードした後、コーディングを続ける前。

スキルのリンク

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/since-cutoff/SKILL.md

コピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。

使い方

いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。

貼り付け用メッセージ

このスキルを使って手伝ってください:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/since-cutoff/SKILL.md このリンクのSKILL.mdファイルを読んで、私の作業でその指示に従ってください。
こういうスキルを、AIが自分で見つけてくれたら?無料のSkillpedia MCPをインストール。1行で、作業の前に15,000+のスキルから探してくれます。1分でインストール →

AIへの頼み方の例

“プロジェクトのPythonライブラリについて、モデルの学習カットオフ以降に変更があったか確認してください。”

毎週5つの新しいスキル。1分で読めます。

仕組み

このツールは、プロジェクトで使っているライブラリの古いバージョンと新しいバージョンを比較します。関数やパラメータの変更を探し、それがコードのどこで発生しているかを報告します。

技術的な内容(元のSKILL.md)

作者による元のテキスト(英語)をGitHubからそのまま表示しています。

since-cutoff: dependency API changes after the model's training cutoff

Overview

A coding model learns each library's API as it was at its training cutoff, but the project's lockfile keeps moving. This skill runs the since-cutoff CLI (MIT, PyPI since-cutoff, pinned here to release 0.4.1). For each pinned dependency, the CLI takes the latest release on or before the model's cutoff and compares that release's public API with the pinned release. The comparison is static (griffe), so no package code runs. It then reports the changed APIs that the project's code uses, with the files that use them. If the user agrees, it writes short notes into AGENTS.md or CLAUDE.md, each tagged with the evidence behind it (for example [diff]). scan makes no model calls and needs no API key. This adapts the upstream skill under its MIT license.

When to Use

  • Use when the user asks whether you know the versions of their Python dependencies, or what changed since your training data.
  • Use when code keeps failing on a renamed, moved or removed function, class or parameter of a pinned library.
  • Use after a dependency upgrade, before writing code against the upgraded library.
  • Do not use for projects that are not Python.

How It Works

  1. Work from the project root, the directory that has pyproject.toml, requirements*.txt or a lockfile (uv.lock, poetry.lock, pdm.lock, pylock.toml, Pipfile.lock).
  2. Check the runner with since-cutoff --version. If it is missing or does not report 0.4.1, ask the user before running uvx since-cutoff@0.4.1, which downloads that release from PyPI the first time. Do not install anything else or change the user's environment.
  3. Run the read-only scan and name the model you are: uvx since-cutoff@0.4.1 scan --model <provider>:<model> (for example anthropic:claude-sonnet-4-5 or openai:gpt-5.4). Without --model, it reads the model from the coding agent's settings and prints where it found it. The scan reads the project's files, PyPI and models.dev. It sends none of the project's code anywhere.
  4. Summarise the result for the user: the model and its cutoff, which dependencies changed, and which changed APIs the code uses, with the files that use them.
  5. Write notes only if the user asks for them. Run uvx since-cutoff@0.4.1 sync --dry-run and show the user the diff it prints. Run uvx since-cutoff@0.4.1 sync --yes only after they agree. It writes one marked block into AGENTS.md (or into CLAUDE.md if that is the file the project uses) and leaves the rest of the file unchanged. Run after later upgrades, it keeps the block in step with the lockfile. Exit code 4 means the block was edited by hand: tell the user, and pass --force only if they say so. uvx since-cutoff@0.4.1 unapply removes the block.
  6. Treat the notes as reference facts about the versions the project pins, and check them when you write code that uses those libraries.
  7. Optional: since-cutoff run measures which of the changes the model actually gets wrong. It sends prompts to the model provider the user picks (package names, versions, public API signatures and generated tasks, never the project's source code) and uses their credits or usage, so ask first.

Examples

uvx since-cutoff@0.4.1 scan --model anthropic:claude-sonnet-4-5

Output on the project's sample app, abridged to one package:

Your code uses 2 APIs that changed after claude-sonnet-4-5's training cutoff (2025-07-31)

anthropic 0.60.0 -> 1.8.0 (0.60.0 was the latest release at the cutoff; pyproject.toml pins 1.8.0)
  Messages.create: temperature, top_k and top_p were removed                          uses this API
    app/main.py   calls create
    Note: `Messages.create()` no longer accepts `temperature`, `top_k` or `top_p` as keyword
          arguments. If the API still needs them, pass them through its `extra_body` or
          `extra_query` argument. [diff]

Limitations

  • Python projects only.
  • It compares the shape of the public API: names, signatures, parameters and deprecation markers. A change in behaviour behind an unchanged signature is invisible to it.
  • The training cutoff only decides which changes to look at. It does not show what the model memorised; run measures that.

…

よくある質問

「学習カットオフ」とは何ですか?

AIモデルが情報を学習している期限の日付のことです。その日付以降にライブラリで行われた変更は、モデルが知らない可能性があります。

このツールはプロジェクトのコードを実行しますか?

いいえ。実行はせず、ライブラリの関数やパラメータの名前と構造だけを分析します。

Python以外のプロジェクトでも使えますか?

いいえ。このツールはPythonで書かれたプロジェクト専用です。

詳細

作者による元の説明

Find which APIs of a project's pinned Python dependencies changed after the model's training cutoff, where the code uses them, and write short AGENTS.md or CLAUDE.md notes.

repo: sickn33/agentic-awesome-skills

人気

GitHubのスター
48k
ランキング
#5785
ライセンス
MIT
更新日
2026/10/15

このスキルは役に立ちますか?

0

ログイン して投票しましょう。

コメント

  • …

このリポジトリの他のスキル

似ているスキル