Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add HorizonRobotics/OE-Skills --skill oe-package-installgit clone --depth 1 https://github.com/HorizonRobotics/OE-SkillsWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/horizonrobotics/oe-skills/oe-package-install)<a href="https://agentmods.dev/skills/horizonrobotics/oe-skills/oe-package-install"><img src="https://agentmods.dev/badge/skills/horizonrobotics/oe-skills/oe-package-install/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/horizonrobotics/oe-skills/oe-package-install"><img src="https://agentmods.dev/badge/skills/horizonrobotics/oe-skills/oe-package-install.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00071 | $0.02293 |
| Opus 5 | $0.00036 | $0.01146 |
| Sonnet 5 | $0.00014 | $0.00459 |
| Haiku 4.5 | $0.00007 | $0.00229 |
Grade D, and why
oe-package-install scanned grade D with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Asks for rootmediumPrivilege escalation
A mod that escalates privileges can change anything on the machine, not only the project.
**原因**:系统缺少 `python3.10-venv` 包,且可能无 sudo 权限无法安装。 Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
- **卸载**:`rm -rf .horizon/venv`,删除 `.env.oe-package` 中的 `VENV_DIR` 和 `VENV_ACTIVATE_CMD`,将 `EXECUTION_MODE` 改回 `docker` How it starts
The opening of the file, as written. The whole thing — 192 lines — stays where its author put it; the contents beside it link to each section on GitHub.
OE 包本地安装
执行方式
本 Skill 应通过 subagent 执行。 主 agent 在用户确认本地安装后,应将本文件的完整内容作为 subagent prompt 派发执行。subagent 负责环境检测、venv 创建、组件安装和验证,完成后汇报安装结果,主 agent 读取更新后的
.env.oe-package继续后续流程。
目标
在用户环境中创建 Python venv,将 OE 包内的所有组件 whl 安装到 venv 中,使后续工具链命令可以本地执行(无需 Docker)。
触发条件
oe-package-detection 完成后(.horizon/.env.oe-package 已生成),向用户询问是否本地安装:
- 用户选择本地安装 → 进入本 Skill
- 用户选择不安装 → 维持
EXECUTION_MODE=docker,继续后续任务
安装流程
1. 读取 OE 包信息
从 .horizon/.env.oe-package 读取 OE_DIR,扫描 <OE_DIR>/package/host/ai_toolchain/ 下所有 .whl 文件。
2. 检测本地环境
逐项采集:
| 检测项 | 命令 | 要求 |
|---|---|---|
| Python 版本 | python3 --version |
必须为 3.10 或 3.11 |
| CUDA 版本 | nvidia-smi(右上角)或 nvcc --version |
必须为 11.8 / 12.6 / 12.8 之一 |
| PyTorch 版本 | python3 -c "import torch; print(torch.__version__, torch.version.cuda)" |
必须与 OE 包提供的组合匹配 |
3. 版本匹配
OE 包提供的版本组合由 horizon_plugin_pytorch 的 wheel 文件名决定硬性约束:
匹配规则:
- 扫描
<OE_DIR>/package/host/ai_toolchain/下所有horizon_plugin_pytorch-*.whl文件名 - 从文件名提取 CUDA 版本(
cuXXX)、PyTorch 版本(torchXXX)、Python 版本(cpXXX) - 对比本地环境的 CUDA / PyTorch / Python 版本,选择匹配的 wheel
- 任一不匹配 → 终止,输出当前环境和所需版本的对比表
匹配失败时的提示模板:
当前环境不满足 OE 包要求:
| 项目 | 当前版本 | 需要版本 |
|------|---------|---------|
| Python | 3.x | 3.10 或 3.11 |
| CUDA | x.x | 11.8 / 12.6 / 12.8 |
| PyTorch | x.x.x | 2.3 / 2.6 / 2.8(需与 CUDA 匹配) |
请先安装对应版本后重试。
4. 创建 venv 并安装
运行自动化脚本完成 venv 创建、组件安装、验证和 .env.oe-package 更新:
# 从 .horizon/.env.oe-package 读取 OE_DIR
OE_DIR=$(grep '^OE_DIR=' .horizon/.env.oe-package | cut -d= -f2)
bash .horizon/skills/horizon-router/oe-package-install/install.sh "$OE_DIR"
脚本内置的固定规则(已固化在 install.sh 中,无需手动处理):
--without-pip --system-site-packages创建 venv,继承系统 PyTorch,避免 ensurepip 不可用python3 -m pip而非裸pip,避免--without-pipvenv 中 pip 路径回退到系统constraints.txt锁 torch 版本 +--no-deps安装 hmct/hmct_gpu,防止依赖解析拉入新版 torch--no-deps安装 horizon_torch_samples,避免 pycocotools 编译失败
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 12d ago First seen · 192 lines · 71 tokens per session scan D 8188b5b2bae8
oe-package-install is a skill published in the GitHub repository HorizonRobotics/OE-Skills (19 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 71 tokens to every session and 2,293 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it D with 2 findings (asks for root, recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
systematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.
local-ai-agents
Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…
next-cache-components-adoption
Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…
chat-pet-sprite-creation
Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.
cpu-profile-analysis
Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…
insight-error-page
Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…