since-cutoff
Skill này làm gì
Công cụ này kiểm tra xem các phần của thư viện Python mà dự án của bạn dùng có thay đổi sau khi mô hình AI được huấn luyện hay không. Nó cho biết phần nào đã thay đổi và chúng nằm ở đâu trong code của bạn.
Khi nào nên dùng
- ✓Khi bạn muốn biết các thư viện Python của dự án có thay đổi kể từ khi AI được huấn luyện không.
- ✓Khi code của bạn ngừng chạy sau khi cập nhật một thư viện.
- ✓Khi bạn vừa nâng cấp một thư viện và muốn kiểm tra trước khi tiếp tục viết code.
Liên kết skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/since-cutoff/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Kiểm tra xem các thư viện Python của dự án tôi có thay đổi gì kể từ thời điểm cắt dữ liệu huấn luyện của mô hình không.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Công cụ so sánh phiên bản cũ và mới của các thư viện mà dự án bạn dùng. Nó tìm các thay đổi trong hàm hoặc tham số và báo cho bạn biết những thay đổi đó xuất hiện ở đâu trong code.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
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
- Work from the project root, the directory that has
pyproject.toml,requirements*.txtor a lockfile (uv.lock,poetry.lock,pdm.lock,pylock.toml,Pipfile.lock). - Check the runner with
since-cutoff --version. If it is missing or does not report 0.4.1, ask the user before runninguvx 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. - Run the read-only scan and name the model you are:
uvx since-cutoff@0.4.1 scan --model <provider>:<model>(for exampleanthropic:claude-sonnet-4-5oropenai: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. - 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.
- Write notes only if the user asks for them. Run
uvx since-cutoff@0.4.1 sync --dry-runand show the user the diff it prints. Runuvx since-cutoff@0.4.1 sync --yesonly 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--forceonly if they say so.uvx since-cutoff@0.4.1 unapplyremoves the block. - Treat the notes as reference facts about the versions the project pins, and check them when you write code that uses those libraries.
- Optional:
since-cutoff runmeasures 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;
runmeasures that.
…
Câu hỏi thường gặp
“Training cutoff” (thời điểm cắt dữ liệu huấn luyện) là gì?
Đó là mốc thời gian mà đến đó mô hình AI đã học được thông tin. Các thay đổi của thư viện sau mốc này có thể mô hình không biết.
Công cụ này có chạy code của dự án tôi không?
Không, công cụ chỉ phân tích tên và cấu trúc của các hàm và tham số trong thư viện mà không thực thi code dự án của bạn.
Công cụ có dùng được cho dự án không viết bằng Python không?
Không, công cụ này chỉ dành cho dự án viết bằng Python.
Chi tiết
Mô tả gốc của tác giả
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.
Độ phổ biến
- Sao GitHub
- 48k
- Vị trí xếp hạng
- #5785
- Giấy phép
- MIT
- Cập nhật
- 15/10/2026
Bình luận
- …
Thêm skill từ kho mã này
00-andruia-consultant
48kGiúp agent của bạn bắt đầu hoặc cải thiện các dự án AI. Phân tích mã, gợi ý công cụ và lập kế hoạch hành động bằng tiếng Tây Ban Nha.
007
48kCho phép agent của bạn thực hiện kiểm toán bảo mật và mô hình hóa mối đe dọa. Hữu ích để bảo vệ dự án khỏi các cuộc tấn công và lỗ hổng.
10-andruia-skill-smith
48kGiúp agent của bạn tạo hoặc cải thiện các công cụ AI. Xác định cách công cụ hoạt động, viết tài liệu và kiểm tra cấu trúc.
20-andruia-niche-intelligence
48kGiúp agent của bạn tạo bản tóm tắt về một ngành cụ thể. Hữu ích để hiểu bối cảnh, quy tắc, cách người dùng tương tác và rủi ro của dự án.
Skill tương tự
diffs
394kGiúp agent của bạn tạo một diff có thể chia sẻ về các chỉnh sửa, dưới dạng liên kết xem hoặc file ảnh, thay vì một bản tóm tắt viết tay.
coding-agent
394kGiúp agent của bạn giao một việc lập trình lớn cho Codex, Claude Code hoặc OpenCode chạy nền, rồi theo dõi tiến độ của nó.
gh-issues
394kGiúp agent của bạn tìm issue trên GitHub, chọn những issue cần xử lý và mở pull request với bản sửa, kể cả theo dõi nhận xét đánh giá.