首页 / 市场 / setup

setup

Provisions the oracle ML inference daemon with onnxruntime via uv

skill★ 00 dlclawhubMIT-0用寰宇一键安装查看上游源码

说明与配置预览

--- name: setup description: Provisions the oracle ML inference daemon with onnxruntime via uv version: 1.10.3 triggers:

metadata: {"openclaw": {"homepage": "https://github.com/athola/claude-night-market/tree/master/plugins/oracle", "emoji": "\ud83e\udd9e"}} source: claude-night-market source_plugin: oracle

---

> Night Market Skill: ported from claude-night-market/oracle. For the full experience with agents, hooks, and commands, install the Claude Code plugin.

Oracle Setup

Provision the ML inference environment.

When NOT To Use

What This Does

  1. Creates a Python 3.11+ virtual environment using uv
  2. Installs onnxruntime and pyyaml into the venv
  3. Verifies the installation

Prerequisites

Steps

  1. Run provisioning:
cd plugins/oracle && uv run python -c "
from oracle.provision import provision_venv, get_venv_path
result = provision_venv(get_venv_path())
print(result.message)
"
  1. Report result to the user.
  2. If successful, tell the user the daemon starts on the next

session once a models/ directory exists in the plugin. None ships yet, so until then the hook logs "models directory missing" to daemon.log and consumers use local scoring.

  1. If failed, show the error and suggest checking uv and network.

Exit Criteria

and the venv path exists on disk under plugins/oracle/

verified by uv run python -c "import onnxruntime" exiting 0

models/ directory to start, or a failure message citing the specific error and whether it is a uv or network issue

prevent a clean retry