跳到主要内容
知仓学习社ZHICANG

setup

Provisions the oracle ML inference daemon with onnxruntime via uv. Use when setting up local ONNX model inference for skill quality evaluation.

不碰外部(只输出文字)无严重或高危命中athola/claude-night-market

它会碰到什么

扫了多少1 个文本文件,2 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

Oracle Setup

Provision the ML inference environment.

When NOT To Use

  • The daemon is already provisioned and only needs to be used
  • Evaluating skill quality itself (use abstract:skills-eval)

What This Does

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

Prerequisites

  • uv must be installed
  • Internet connection for initial download

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 will start on next session.
  3. If failed, show the error and suggest checking uv and network.

Exit Criteria

  • [ ] provision_venv() returns a result with a non-error message

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

  • [ ] onnxruntime is importable inside the provisioned venv;

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

  • [ ] User receives a clear success message stating the daemon will

start on next session, or a clear failure message citing the

specific error and whether it is a uv or network issue

  • [ ] On failure, no partial venv left in a broken state that would

prevent a clean retry

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。