Skip to content

aaditya-v-more/worldquant-orchestrator / skills/wqo-cli

wqo-cli

Flagged

Set up and use the WQO command-line client for WorldQuant BRAIN research. Use for CLI installation, authentication onboarding, command discovery, or research workflows spanning data discovery, simulations, analysis and explicitly confirmed submission.

FileKindSize
SKILL.mdskill md2.3 KB
references/runtime.mdmarkdown3.0 KB
scripts/wqo.shexecutablescript2.0 KB

scripts/wqo.sh

View on GitHub
#!/usr/bin/env bash
# Portable CLI runner. Missing WQO installs into the current project's .wqo/venv.
set -euo pipefail
umask 077
compatible() {
  local version
  version="$("$1" --version 2>/dev/null)" || return 1
  printf '%s\n' "$version" | awk '
    /^wqo [0-9]+\.[0-9]+\.[0-9]+$/ {
      split($2,v,"."); if (v[1]>0 || v[2]>=1) ok=1
    } END {exit !ok}'
}
if command -v wqo >/dev/null 2>&1 && compatible "$(command -v wqo)"; then
  exec wqo "$@"
fi
project="${WQO_PROJECT_DIR:-$PWD}"
if [[ ! -d "$project" ]]; then
  echo "WQO_PROJECT_DIR must name an existing project directory." >&2
  exit 1
fi
project="$(cd "$project" && pwd -P)"
venv="$project/.wqo/venv"
if [[ -x "$venv/bin/wqo" ]] && compatible "$venv/bin/wqo"; then
  exec "$venv/bin/wqo" "$@"
fi
mkdir -p "$project/.wqo"
# Fail rather than run two concurrent installers against the same environment.
if ! mkdir "$project/.wqo/install.lock" 2>/dev/null; then
  echo "WQO setup is already running, or was interrupted. Check it before removing .wqo/install.lock." >&2
  exit 1
fi
trap 'rmdir "$project/.wqo/install.lock"' EXIT
if command -v uv >/dev/null 2>&1; then
  uv venv --python 3.12 --allow-existing "$venv" >&2
  uv pip install --python "$venv/bin/python" --default-index https://pypi.org/simple 'wqo==0.1.1' >&2
else
  python_bin=""
  for candidate in python3.14 python3.13 python3.12 python3; do
    if command -v "$candidate" >/dev/null 2>&1 && "$candidate" -c 'import sys; sys.exit(sys.version_info < (3,12))' 2>/dev/null; then
      python_bin="$candidate"; break
    fi
  done
  if [[ -z "$python_bin" ]]; then
    echo "WQO requires uv or Python 3.12+. Install uv from https://docs.astral.sh/uv/getting-started/installation/ and retry." >&2
    exit 1
  fi
  "$python_bin" -m venv "$venv" >&2
  "$venv/bin/python" -m pip install --index-url https://pypi.org/simple 'wqo==0.1.1' >&2
fi
if ! compatible "$venv/bin/wqo"; then
  echo "WQO installation did not provide a compatible CLI; command was not run." >&2
  exit 1
fi
rmdir "$project/.wqo/install.lock"
trap - EXIT
exec "$venv/bin/wqo" "$@"
add-product-e2e-evalpaperclipai/paperclipAdd or extend a Paperclip full-stack runner E2E workflow, fixture, matcher, or report evidence path for local or Daytona execution.Stars: 115kUpdated Claude CodeCodexVerifiedInstall
add-runner-evalpaperclipai/paperclipAdd or extend a Paperclip Runner protocol evaluation definition, roster, assertion, or report fixture with provenance and narrow validation.Stars: 115kUpdated Claude CodeCodexVerifiedInstall
diagnose-why-work-stoppedpaperclipai/paperclipCompatibility entry point for failed, stalled, looping, or over-recovered Paperclip work. Use fix-failed-paperclip-run for the full diagnosis, regression, repair, real verification, and green-PR workflow; honor an explicitly requested diagnosis-only scope.Stars: 115kUpdated Claude CodeCodexVerifiedInstall
fix-failed-paperclip-runpaperclipai/paperclipDiagnose and fix failed, stuck, slow, or incorrectly blocked Paperclip tasks and runs. Use with a task/run URL or failure report to trace the root cause, prove a regression red then green, check second-order effects, verify the real workflow, and deliver a PR with passing checks.Stars: 115kUpdated Claude CodeCodexVerifiedInstall