oe-package-detection

oe-package-detection is a skill for Claude Code, Codex from HorizonRobotics/OE-Skills. It costs 72 tokens per session (2,350 once invoked), scanned A, original, Apache-2.0.

An environment checker for the OpenExplorer toolchain, a collection of tools for quantizing, compiling, deploying, and evaluating machine-learning models. It finds the package, records its version, checks the local setup, and writes the results to an environment file.

In plain words
What is it for?
Use it before OpenExplorer compilation, quantization, deployment, board inference, or performance and accuracy checks.
Why use it?
It prevents toolchain tasks from starting with missing or incompatible package information. When the package cannot be found, it asks for its location or lets you skip setup for that task.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md; mentions subagents.

Good fit Use it before OpenExplorer compilation, quantization, deployment, board inference, or performance and accuracy checks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/horizonrobotics/oe-skills/oe-package-detection
Install

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.

Any agent
npx skills add HorizonRobotics/OE-Skills --skill oe-package-detection
Clone the repo
git clone --depth 1 https://github.com/HorizonRobotics/OE-Skills

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for oe-package-detection

README.md
[![agentmods](https://agentmods.dev/badge/skills/horizonrobotics/oe-skills/oe-package-detection/github.svg)](https://agentmods.dev/skills/horizonrobotics/oe-skills/oe-package-detection)
Your own site
<a href="https://agentmods.dev/skills/horizonrobotics/oe-skills/oe-package-detection"><img src="https://agentmods.dev/badge/skills/horizonrobotics/oe-skills/oe-package-detection/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.

agentmods 80×15 button for oe-package-detection

Your own site · 80×15
<a href="https://agentmods.dev/skills/horizonrobotics/oe-skills/oe-package-detection"><img src="https://agentmods.dev/badge/skills/horizonrobotics/oe-skills/oe-package-detection.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 72 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,350 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00072 $0.02350
Opus 5 $0.00036 $0.01175
Sonnet 5 $0.00014 $0.00470
Haiku 4.5 $0.00007 $0.00235

Measured 12d ago against content hash f816dd0e5ac8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

oe-package-detection scanned grade A with 0 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

horizon/skills/horizon-router/oe-package-detection/SKILL.md · 177 lines

How it starts

The opening of the file, as written. The whole thing — 177 lines — stays where its author put it; the contents beside it link to each section on GitHub.

OE 包环境检测

执行方式

本 Skill 应通过 subagent 执行。 主 agent 在前置检查中发现 .env.oe-package 缺失或不完整时,应将本文件的完整内容作为 subagent prompt 派发执行。subagent 完成后汇报写入结果(OE 路径、版本、执行模式),主 agent 读取 .env.oe-package 继续后续流程。

目标

检测 OE 包路径、版本及本地环境匹配情况,写入 .horizon/.env.oe-package,供后续所有工具链任务直接使用。

触发条件

任何涉及量化、编译、部署、板端推理、性能/精度评估的任务进入 horizon-router 前,如果 .horizon/.env.oe-package 不存在,顶层 Skill 会中断任务并提示用户

未检测到 OE 包环境配置(.horizon/.env.oe-package)。请提供 OE 包路径,或回复"跳过"暂不配置。

  • 用户提供路径 → 进入本检测流程
  • 用户回复"跳过" → 记录跳过(仅当次对话有效,下次仍会提示),继续后续任务

检测流程

1. 检查 .horizon/.env.oe-package 是否存在

  • 文件存在且内容完整(包含 OE_DIROE_VERSIONEXECUTION_MODE 等字段)→ 直接读取,跳过后续步骤
  • 文件不存在或不完整 → 进入步骤 2

2. 定位 OE 包路径

按优先级查找:

  1. 环境变量OE_DIROPEN_EXPLORER_DIRHORIZON_OE_DIR
  2. 项目配置文件.env.horizon/oe.envCLAUDE.md 中声明的路径
  3. 常见路径探测/open_explorer~/open_explorer/opt/openexplorer
  4. 以上都没有 → 询问用户 OE 包路径

找到路径后,验证目录中存在 OE 包的标志性文件(如 run_docker.shsamples/docs/toolchain/ 等至少两个),否则提示用户确认路径是否正确。

3. 采集 OE 版本信息

从 OE 包目录中提取以下信息:

OE 包整体版本

  • 检查 version.txtVERSIONrelease_notes.mdrelease_notes.txt
  • 从文件名推断(如 OpenExplorer_v3.9.0_rc4
  • 以上都无法确定时询问用户

各组件版本(通过 pip show 检查已安装版本,同时记录 OE 包内 whl 文件名中的版本):

组件 pip 包名 说明
horizon_tc_ui horizon-tc-ui 模型集成工具
hmct hmct 模型转换/量化工具
horizon_plugin_pytorch horizon-plugin-pytorch PyTorch 量化插件(QAT)
hbdk4_compiler hbdk4-compiler 编译器

Docker 信息

  • 检查 run_docker.sh 是否存在
  • run_docker.sh 内容或 OE 版本推断 Docker 镜像名称:
    • CPU:openexplorer/ai_toolchain_ubuntu_22_j6_cpu:{version}
    • GPU:openexplorer/ai_toolchain_ubuntu_22_j6_gpu:{version}

4. 本地环境匹配检查

在当前环境中逐项检测:

  1. Python 版本python3 --version,要求 >= 3.8
  2. pip 组件:对每个组件执行 pip show <包名>,记录:
    • 是否安装
    • 版本号是否与 OE 包声明一致
  3. CLI 工具可用性:检查以下命令是否可执行:
    • hb_compile --version(或 which hb_compile
    • hb_model_info --version(或 which hb_model_info
    • hmct-debugger --version(或 which hmct-debugger

Read the full file on GitHub · 177 lines

Changes

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.

  1. 12d ago First seen · 177 lines · 72 tokens per session scan A f816dd0e5ac8

Subscribe to this mod's changes

oe-package-detection is a skill published in the GitHub repository HorizonRobotics/OE-Skills (19 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 72 tokens to every session and 2,350 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

deploy-docker-compose

Run the Omnigent server as a Docker compose stack (server + Postgres) on any Docker host — your laptop, a VPS, EC2 by hand, or as the base layer of any container-platform deploy. Invoke when the user wants to build the image, bring up the compose stack, debug the stack on a host they already have, or extend the stack…

omnigent-ai/omnigent · 84 tokens

compute-env-setup

Set up a reproducible Feynman compute environment for research jobs. Use when a task needs Python/R packages, GPU libraries, containers, Modal, SSH, caches, or managed model runtime setup.

companion-inc/feynman · 45 tokens

securing-kubernetes-on-cloud

This skill covers hardening managed Kubernetes clusters on EKS, AKS, and GKE by implementing Pod Security Standards, network policies, workload identity, RBAC scoping, image admission controls, and runtime security monitoring. It addresses cloud-specific security features including IRSA for EKS, Workload Identity for…

xalgorix/xalgorix · 80 tokens

detecting-privilege-escalation-in-kubernetes-pods

Detect and prevent privilege escalation in Kubernetes pods by monitoring security contexts, capabilities, and syscall patterns with Falco and OPA policies.

xalgorix/xalgorix · 40 tokens

implementing-rbac-hardening-for-kubernetes

Harden Kubernetes Role-Based Access Control by implementing least-privilege policies, auditing role bindings, eliminating cluster-admin sprawl, and integrating external identity providers.

xalgorix/xalgorix · 41 tokens

docker-socket-mount

Docker / containerd socket mounted into a container → host RCE. Common in CI runners, GitOps controllers (ArgoCD, Flux), and 'Docker-in-Docker' setups. Single-command escape via docker run --rm --privileged -v /:/host alpine chroot /host.

PurpleAILAB/Decepticon · 67 tokens