with one click
qros-update
// Update QROS to the latest published main and refresh the current repo-local runtime for the active Codex workspace
// Update QROS to the latest published main and refresh the current repo-local runtime for the active Codex workspace
[HINT] Download the complete skill directory including SKILL.md and all related files
| name | qros-update |
| description | Update QROS to the latest published main and refresh the current repo-local runtime for the active host workspace |
Use this skill when the user asks to update QROS, refresh to the latest released version, sync the latest main branch, or rebuild the current repo's ./.qros/ runtime.
Run this skill from the active research repo root. The current working directory determines which repo-local ./.qros/ runtime is refreshed.
For ordinary users, the update command is always:
qros-update
Do not ask users to choose Codex vs Claude Code for the normal path. qros-update auto-detects the active host and refreshes the matching global surface plus the current repo-local runtime. --host codex and --host claude-code are manual recovery/debug overrides.
Bring the user to the latest published origin/main version of QROS and leave the current working repo ready to use immediately.
This skill is host-aware. By default qros-update uses --host auto and resolves the host in this order:
--host codex or --host claude-code from the current wrapperQROS_HOSTCLAUDE_CODE / CLAUDECODE_* or CODEX_*)./.qros/install-manifest.json.hostCompatibility note: old repo-local qros-update wrappers always passed --host codex as their default. The latest updater treats that unmarked legacy default as auto, so a Claude Code repo with QROS_HOST=claude-code, Claude Code environment markers, or ./.qros/install-manifest.json.host = claude-code still refreshes the Claude Code surface once the source checkout is on the latest updater.
The update behavior differs by resolved host:
--host codex): Refreshes ~/.codex/skills/ and the current repo's ./.qros/ runtime.--host claude-code): Refreshes ~/.claude/skills/ and the current repo's ./.qros/ runtime.Note: if QROS skills were installed via /plugin install qros@quant-research-os, the plugin-managed skill copy takes precedence over ~/.claude/skills/. Run /plugin update qros@quant-research-os to refresh plugin-managed skills, then run this update for repo-local runtime refresh.
origin/main as the source of truth.~/.codex/skills/ and ~/.codex/qros/; Claude Code: ~/.claude/skills/ and ~/.claude/qros/)./.qros/Normal user path:
qros-update
Backend equivalent when calling the source checkout directly:
<source_repo>/runtime/bin/qros-update --cwd "$PWD"
Explicit Codex override for manual recovery/debug:
<source_repo>/runtime/bin/qros-update --host codex --cwd "$PWD"
Explicit Claude Code override for manual recovery/debug:
<source_repo>/runtime/bin/qros-update --host claude-code --cwd "$PWD"
This skill is for the agent, not the user. Do not surface common update errors immediately.
Before telling the user anything failed, automatically repair and retry these cases:
~/.codex/qros/install-manifest.json or ~/.claude/qros/install-manifest.json)source_repo_path./.qros/Default recovery order:
--host auto unless the user explicitly requested a host.source_repo_path when it exists.~/workspace/quant-research-os.origin/main.user-global.repo-local.Only stop and tell the user when there is no safe recovery path, for example:
After success, keep the user-facing message short:
./.qros/ runtime was refreshedDo not dump the full repair log unless the user asks.