AgentOps 3.1 ships three installable image paths. Pick the runtime the operator uses, then run the matching one-liner.
curl -fsSL https://raw.githubusercontent.com/boshu2/agentops/main/scripts/install-claude.sh | bashEquivalent marketplace commands:
claude plugin marketplace add boshu2/agentops
claude plugin install agentops@agentops-marketplacecurl -fsSL https://raw.githubusercontent.com/boshu2/agentops/main/scripts/install-codex.sh | bashThe Codex installer refreshes the native plugin cache, enables the plugin, and archives stale raw skill mirrors when they overlap the AgentOps-managed set.
curl -fsSL https://raw.githubusercontent.com/boshu2/agentops/main/scripts/install-agy.sh | bashThe Gemini/AGY installer downloads the AgentOps bundle, runs
images/gemini/verify.sh, runs agy plugin validate, installs the
agentops-core-gemini plugin, and enables it.
Re-run the same installer used for the original runtime:
curl -fsSL https://raw.githubusercontent.com/boshu2/agentops/main/scripts/install-claude.sh | bash -s -- --update
curl -fsSL https://raw.githubusercontent.com/boshu2/agentops/main/scripts/install-codex.sh | bash
curl -fsSL https://raw.githubusercontent.com/boshu2/agentops/main/scripts/install-agy.sh | bashFor a pinned release, set AGENTOPS_INSTALL_REF or pass --ref where the
runtime installer supports it.
- Claude Code: the marketplace plugin is reinstallable from source; preserve any local Claude settings before changing plugin configuration.
- Codex CLI: the installer writes
~/.codex/.agentops-codex-install.jsonand archives overlapping~/.codex/skillsor~/.agents/skillsentries into timestamped backup directories. - Gemini/AGY: use the AGY plugin manager to list the installed plugin before reinstalling, then keep any exported Antigravity workspace settings with the project backup.
All installers are user-space installers. They must not require sudo.
If a write fails:
- Confirm the target home directory is writable.
- Re-run the installer from a normal user shell.
- Avoid changing ownership recursively; repair only the reported file or directory.
Start every recovery with the CLI self-check when ao is installed. It reports
which pieces are healthy before you reinstall anything:
ao doctor # health check: prints what is wired and what is broken
ao version # confirm the installed CLI versionIf ao doctor reports a broken or missing plugin install, re-run the matching
runtime installer below — the installers are idempotent and safe to re-run.
claude plugin marketplace update agentops-marketplace
claude plugin update agentopsIf the marketplace state is corrupt, remove the stale marketplace/plugin through
Claude Code's plugin manager, then re-run scripts/install-claude.sh.
curl -fsSL https://raw.githubusercontent.com/boshu2/agentops/main/scripts/install-codex.sh | bash
codex --version
ao codex image-health --jsonao codex image-health is the read-only Codex image doctor. It aggregates
images/codex/verify.sh, Codex parity/override/generated-artifact gates, the
RPI contract, lifecycle guards, and headless-runtime checks without running
ao codex start, ao codex stop, ao codex ensure-start, or
ao codex ensure-stop.
If stale raw skills shadow the plugin, inspect the backup path recorded in
~/.codex/.agentops-codex-install.json, then re-run the installer.
curl -fsSL https://raw.githubusercontent.com/boshu2/agentops/main/scripts/install-agy.sh | bash -s -- --validate-only
curl -fsSL https://raw.githubusercontent.com/boshu2/agentops/main/scripts/install-agy.sh | bashIf agy plugin validate fails, run bash images/gemini/verify.sh from a source
checkout to distinguish AgentOps bundle drift from a local AGY runtime problem.
Escalate with the runtime, command, OS, and exact installer output. Include:
ao versionandao doctorif the CLI is installed.claude plugin listfor Claude Code issues.codex --versionand~/.codex/.agentops-codex-install.jsonfor Codex issues.agy plugin listandagy plugin validate <plugin-dir>for Gemini/AGY issues.