drift-dependency-update

drift-dependency-update is a skill for Claude Code from mick-gsk/drift. It costs 96 tokens per session (1,824 once invoked), scanned A, original, MIT.

A workflow for changing Python package dependencies in Drift, including the project file `pyproject.toml` and the locked-version file `uv.lock`. A lockfile records the exact dependency versions used for installation.

In plain words
What is it for?
Use it to add, upgrade, restrict, or remove a dependency, synchronize the lockfile, run type checks and tests, and prepare the appropriate `chore:` commit.
Why use it?
It keeps declared and locked dependencies synchronized, preventing pre-push or CI failures caused by an incomplete dependency change.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the drift plugin — 31 skills, 17 agents shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/mick-gsk/drift/drift-dependency-update
Any agent
npx skills add mick-gsk/drift --skill drift-dependency-update
Clone the repo
git clone --depth 1 https://github.com/mick-gsk/drift

Made for: Claude Code.

Or install drift, the plugin that ships this one along with the rest of its 31 skills, 17 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for drift-dependency-update

README.md
[![agentmods](https://agentmods.dev/badge/skills/mick-gsk/drift/drift-dependency-update.svg)](https://agentmods.dev/skills/mick-gsk/drift/drift-dependency-update)
Your own site
<a href="https://agentmods.dev/skills/mick-gsk/drift/drift-dependency-update"><img src="https://agentmods.dev/badge/skills/mick-gsk/drift/drift-dependency-update.svg" alt="Measured on agentmods" height="20"></a>
Per session 96 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,824 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00096 $0.01824
Opus 5 $0.00048 $0.00912
Sonnet 5 $0.00019 $0.00365
Haiku 4.5 $0.00010 $0.00182

Measured 6d ago against content hash 92d7ec101563, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

drift-dependency-update scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/skills/drift-dependency-update/SKILL.md · 176 lines

How it starts

The opening of the file, as written. The whole thing — 176 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Drift Dependency Update

Workflow für alle Änderungen an pyproject.toml-Abhängigkeiten im Drift-Repo. Deckt: neue Abhängigkeit hinzufügen, bestehende upgraden/einschränken, Abhängigkeit entfernen.

KRITISCH: pyproject.toml und uv.lock sind unlösbar gekoppelt. Beide Dateien müssen im selben Commit landen. Das Pre-Push-Gate 5 blockiert jeden Push, bei dem pyproject.toml geändert, uv.lock aber nicht committet wurde.


Wann verwenden

  • pyproject.toml-Abhängigkeit soll geändert, hinzugefügt oder entfernt werden
  • uv.lock soll mit aktuellen Constraints synchronisiert werden
  • Security-Patch für eine direkte oder transitive Abhängigkeit
  • CI schlägt fehl mit „Lockfile not synchronized" oder ähnlichem

Technischer Kontext

Dependency-Gruppen in [project.optional-dependencies]:

Gruppe Zweck
typescript tree-sitter, tree-sitter-typescript
embeddings sentence-transformers, faiss-cpu, numpy
markdown mistune
mcp mcp[cli]
watch watchfiles
dev Alle Test- / Lint- / Release-Werkzeuge
all Metagruppe, die alle einschließt

Lokale Venv-Aktivierung (Windows):

.\.venv\Scripts\Activate.ps1

Wichtige uv-Befehle:

Aufgabe Befehl
Neue Abhängigkeit hinzufügen (schreibt auch pyproject.toml) uv add <paket>
Abhängigkeit in optionale Gruppe hinzufügen uv add --optional <gruppe> <paket>
Abhängigkeit entfernen uv remove <paket>
Lockfile neu erzeugen (nach manuellem pyproject.toml-Edit) uv lock
Einzelnes Paket im Lock upgraden uv lock --upgrade-package <paket>
Alle Transitivs upgraden (innerhalb Constraints) uv lock --upgrade
Devenv installieren/aktualisieren uv sync --all-extras

Schritt-für-Schritt-Workflow

Schritt 0 — Policy Gate

### Drift Policy Gate
- Trivialtask: JA
- Zulässig: JA → rein mechanisch, ohne Verhaltens-, Policy-, Architektur- oder Signaleffekt

Read the full file on GitHub · 176 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 176 lines · 96 tokens per session scan A 92d7ec101563

Subscribe to this mod's changes

drift-dependency-update is a skill published in the GitHub repository mick-gsk/drift (15 stars, last pushed 1mo ago), licensed MIT. It adds 96 tokens to every session and 1,824 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.