Skip to content
Agent Memory
Command

/update

Check for and install updates to the OpenTrace CLI (opentraceai). Use when: "update opentraceai", "update cli", "check for updates", "upgrade opentraceai", "new version"

BOOST
From plugin
opentrace
10916 skills6 agents16 commands1 MCP
Install
> /plugin marketplace add opentrace/opentrace
> /plugin install opentrace-oss@opentrace-oss

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/update

Context preview

What this command does when you run it.

Check for and install updates to the OpenTrace CLI (opentraceai). Use when: "update opentraceai", "update cli", "check for updates", "upgrade opentraceai", "new version"

Command definition

update.md
name: update
description: |
  Check for and install updates to the OpenTrace CLI (opentraceai).
  Use when: "update opentraceai", "update cli", "check for updates", "upgrade opentraceai", "new version"
allowed-tools: Bash

Check for updates to the OpenTrace CLI (`opentraceai`) and optionally install them.

Arguments

$ARGUMENTS

Instructions

1. **Get the installed version**:

   uvx opentraceai --version 2>/dev/null

2. **Get the latest version from PyPI**:

   curl -sS https://pypi.org/pypi/opentraceai/json | python3 -c "import sys,json; print(json.load(sys.stdin)['info']['version'])"

3. **Compare versions**:

  • If the installed version matches the latest, tell the user they're up to date.
  • If a newer version is available, show both versions and ask the user if they'd like to upgrade.

4. **Upgrade** (if the user confirms, or if they passed `--yes` or `yes` as an argument):

   uv tool upgrade opentraceai

If `opentraceai` is not installed as a uv tool (i.e. the user relies on `uvx`), the cache will refresh automatically on next `uvx` run. In that case, clear the uvx cache to force a fresh install:

   uv cache clean opentraceai

5. **Verify**: Run `uvx opentraceai --version` to confirm the new version is active.

Ships withopentrace

A knowledge graph that maps your codebase structure, service architecture, and system relationships — then exposes it all through MCP so AI tools can understand your systems. Index any repo, any size, in seconds.

Get the whole plugin

Other commands on opentrace.

build
Command

build

Build a knowledge graph over the current folder (or a path / GitHub URL). Runs the native OpenTrace pipeline: index → cluster →…