fastapi-deps

fastapi-deps is a skill for Claude Code from steph-dove/klaussy-agents. It costs 61 tokens per session (1,973 once invoked), scanned A, original, MIT.

A guided procedure for safely upgrading a project's software dependencies. Dependencies are external packages that the project relies on.

In plain words
What is it for?
Use it to inspect outdated packages, update low-risk versions together, handle major versions separately, read breaking-change notes, and run the test suite.
Why use it?
It reduces the risk of breaking the build by checking the current state, upgrading in small groups, and testing after each change.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md; installed under .agents/ (shared by several agents).

Part of the klaussy plugin — 79 skills, 3 hooks, 1 MCP server shipped together

Good fit Use it to inspect outdated packages, update low-risk versions together, handle major versions separately, read breaking-change notes, and run the test suite.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/steph-dove/klaussy-agents/fastapi-deps
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.

Any agent
npx skills add steph-dove/klaussy-agents --skill fastapi-deps
Clone the repo
git clone --depth 1 https://github.com/steph-dove/klaussy-agents

Made for: Claude Code.

Or install klaussy, the plugin that ships this one along with the rest of its 79 skills, 3 hooks, 1 MCP server.

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 fastapi-deps

README.md
[![agentmods](https://agentmods.dev/badge/skills/steph-dove/klaussy-agents/fastapi-deps/github.svg)](https://agentmods.dev/skills/steph-dove/klaussy-agents/fastapi-deps)
Your own site
<a href="https://agentmods.dev/skills/steph-dove/klaussy-agents/fastapi-deps"><img src="https://agentmods.dev/badge/skills/steph-dove/klaussy-agents/fastapi-deps/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for fastapi-deps

Your own site · 80×15
<a href="https://agentmods.dev/skills/steph-dove/klaussy-agents/fastapi-deps"><img src="https://agentmods.dev/badge/skills/steph-dove/klaussy-agents/fastapi-deps.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,973 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00061 $0.01973
Opus 5 $0.00030 $0.00986
Sonnet 5 $0.00012 $0.00395
Haiku 4.5 $0.00006 $0.00197

Measured 11d ago against content hash 55a32e9c946b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

fastapi-deps 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 11d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

examples/fastapi/.agents/skills/fastapi-deps/SKILL.md · 73 lines

How it starts

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

Upgrade dependencies without breaking the build. Move in small, verifiable steps — one batch at a time, tests green after each — rather than bumping everything at once and debugging the pile.

Phase 1: Survey

  1. Read CLAUDE.md for the package manager, the install command, and the test command.
  2. Read the manifest (pyproject.toml, package.json, go.mod, Cargo.toml, …) and the lockfile. Note which versions are pinned exactly vs. ranged, and which deps are runtime vs. dev.
  3. List what's outdated. Use the ecosystem's own tool (pip list --outdated, npm outdated, go list -m -u all, cargo outdated). Separate the upgrades into:
    • patch/minor — low risk, batchable.
    • major — has breaking changes; handle one at a time.
  4. Confirm a green baseline first. Run the test suite before changing anything. If it's already red, stop — you can't attribute a later failure to an upgrade.

Phase 2: Upgrade in order of risk

  1. Patch/minor first, as one batch. Bump them, reinstall, run the full suite. If green, keep going. If red, narrow to the culprit (bisect the batch) before proceeding.
  2. Then majors, one at a time. For each major bump:
    • Read its changelog / migration notes for the version range you're crossing — grep the codebase for the APIs it says changed, and check whether you use them.
    • Apply the bump and any required code changes together.
    • Run the suite. Only move to the next major once green.
  3. Respect the pinning style. If the repo pins exact versions, pin the new exact version; if it uses ranges, keep the range form. Update the lockfile with the manager's own command — never hand-edit a lockfile.

Phase 3: Verify and summarize

  1. Run the full suite, lint, and build one final time on the fully-upgraded tree.
  2. Summarize what moved: package, old → new version, and for any major bump, the one-line reason it was safe (or the code change it required). Flag anything you couldn't fully verify.

Read the full file on GitHub · 73 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. 11d ago First seen · 73 lines · 61 tokens per session scan A 55a32e9c946b

Subscribe to this mod's changes

fastapi-deps is a skill published in the GitHub repository steph-dove/klaussy-agents (16 stars, last pushed 14d ago), licensed MIT. It adds 61 tokens to every session and 1,973 once invoked, about $0.0003 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.