llmops-demo-ts: Command for Claude Code

.cursor/commands/upgrade-dependencies.md

upgrade-dependencies is a command for Claude Code, Cursor from yu-iskw/llmops-demo-ts. It costs 0 tokens per session (612 once invoked), scanned A, original, Apache-2.0.

A command procedure for upgrading all workspace dependencies with pnpm. A workspace is a repository containing multiple related packages managed together.

In plain words
What is it for?
Use it to run the recursive upgrade, update the lockfile, build the project, and review upgrade warnings.
Why use it?
Updating dependencies also requires refreshing the lockfile and checking for build failures, deprecated packages, and incompatible peer dependencies.

Command for Claude CodeCursor

Written for Cursor and Claude Code: installed under .cursor/, but also a Claude Code command (commands/*.md).

This is yu-iskw/llmops-demo-ts's own configuration. It tells Claude Code and Cursor how to work on llmops-demo-ts itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything llmops-demo-ts configures →

Reuse

Borrowing it

Nothing to install: this file belongs to yu-iskw/llmops-demo-ts. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/yu-iskw/llmops-demo-ts/main/.cursor/commands/upgrade-dependencies.md
Clone the repo
git clone --depth 1 https://github.com/yu-iskw/llmops-demo-ts

Made for: Claude Code, Cursor.

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 upgrade-dependencies

README.md
[![agentmods](https://agentmods.dev/badge/commands/yu-iskw/llmops-demo-ts/upgrade-dependencies/github.svg)](https://agentmods.dev/commands/yu-iskw/llmops-demo-ts/upgrade-dependencies)
Your own site
<a href="https://agentmods.dev/commands/yu-iskw/llmops-demo-ts/upgrade-dependencies"><img src="https://agentmods.dev/badge/commands/yu-iskw/llmops-demo-ts/upgrade-dependencies/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 upgrade-dependencies

Your own site · 80×15
<a href="https://agentmods.dev/commands/yu-iskw/llmops-demo-ts/upgrade-dependencies"><img src="https://agentmods.dev/badge/commands/yu-iskw/llmops-demo-ts/upgrade-dependencies.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 612 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.00000 $0.00612
Opus 5 $0.00000 $0.00306
Sonnet 5 $0.00000 $0.00122
Haiku 4.5 $0.00000 $0.00061

Measured 5d ago against content hash 4e5a6b1bfaef, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

upgrade-dependencies 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 5d 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.

.cursor/commands/upgrade-dependencies.md · 85 lines

How it starts

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

Upgrade Dependencies

This command upgrades all dependencies in the workspace to their latest compatible versions using pnpm.

Steps

  1. Upgrade Dependencies: Run pnpm up -r to upgrade all dependencies recursively across workspace packages within their specified version ranges
  2. Update Lockfile: Run pnpm install to ensure the lockfile reflects the changes
  3. Verify Build: Run the full build process to ensure no breaking changes
  4. Check for Issues: Review any warnings about deprecated packages or peer dependency conflicts

Prerequisites

  • pnpm must be installed
  • All packages should be committed to git (for easy rollback if needed)
  • Tests should be passing before upgrading

Usage

Run this command from the project root directory. Execute these steps:

  1. Upgrade dependencies recursively across all workspace packages:

    pnpm up -r
    
  2. Update lockfile:

    pnpm install
    
  3. Verify build:

    pnpm build
    
  4. Check for issues:

    • Review any warnings about deprecated packages
    • Check for peer dependency conflicts
    • Verify build script warnings

What Gets Updated

The command updates:

  • Runtime dependencies: Packages listed in dependencies sections across all workspace packages
  • Development dependencies: Packages listed in devDependencies sections across all workspace packages
  • Lockfile: pnpm-lock.yaml is updated with new package versions and integrity hashes

Recursive Operations

The -r flag ensures the upgrade operation runs across all packages in the workspace simultaneously, respecting each package's individual version constraints.

Safety Considerations

  • Version Ranges: Only upgrades within the version ranges specified in package.json (respects ^ and ~ constraints)
  • Breaking Changes: Major version upgrades may introduce breaking changes - review changelogs
  • Testing: Always run full test suite after upgrading
  • Git: Commit before upgrading to enable easy rollback
  • Peer Dependencies: Check for any peer dependency warnings that may require manual resolution

Read the full file on GitHub · 85 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. 5d ago First seen · 85 lines · 0 tokens per session scan A 4e5a6b1bfaef

Subscribe to this mod's changes

upgrade-dependencies is a command published in the GitHub repository yu-iskw/llmops-demo-ts (6 stars, last pushed 9d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 612 tokens. 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-09-04.