ucp

ucp is a skill for Claude Code, Codex from HorizonRobotics/OE-Skills. It costs 57 tokens per session (1,318 once invoked), scanned A, original, Apache-2.0.

A routing entry point for Horizon J6 development tasks. It sends requests to focused tools for model performance tests, HBM inference deployment, inference code generation, and Perfetto trace analysis.

In plain words
What is it for?
Use it when evaluating model speed, deploying inference with HBM, generating C++ inference code, or collecting and analyzing Perfetto traces.
Why use it?
It directs each request to the relevant specialist and avoids loading unrelated instructions into the agent's working context.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when evaluating model speed, deploying inference with HBM, generating C++ inference code, or collecting and analyzing Perfetto traces.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/horizonrobotics/oe-skills/ucp
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 ucp
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 ucp

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/horizonrobotics/oe-skills/ucp"><img src="https://agentmods.dev/badge/skills/horizonrobotics/oe-skills/ucp.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,318 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.00057 $0.01318
Opus 5 $0.00028 $0.00659
Sonnet 5 $0.00011 $0.00264
Haiku 4.5 $0.00006 $0.00132

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

Security

Grade A, and why

ucp 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 11d 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/ucp/SKILL.md · 80 lines

How it starts

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

UCP Skill

概述

本 skill 是地平线 J6 UCP 的统一入口,涵盖模型性能评测、HBM 推理部署、推理代码生成、Perfetto Trace 采集与分析等能力。通过内部路由机制将用户意图分发至对应的子 skill,仅加载命中的子 skill 以节省上下文开销。

路由职责

本文件是 UCP skill 的路由入口,负责:

  1. 根据用户意图将任务路由至对应的子 skill
  2. 仅加载命中路由的子 skill,避免未使用的 skill 占用上下文
  3. 规范路由表的注册与移除流程,路由表增删操作须严格执行 ROUTING_OPS.md 中的步骤,不得跳过
  4. 兼容不同来源的 skill(多源规范详见 ROUTING_OPS.md

路由表

路由表是子 skill 分发的唯一依据。

字段定义

字段 必填 说明
skill_name 子 skill 目录名,对应 .skills/<skill_name>/
trigger_keywords 触发关键词(逗号分隔),匹配任一即命中,不区分大小写
trigger_patterns 正则模式(| 分隔),用于精确意图识别
priority 优先级,数值越小越优先,多个子 skill 命中时按此排序
source 来源:local / shared(见「多源规范」)
enabled 是否参与路由,false 时跳过该条目

当前路由表

skill_name trigger_keywords trigger_patterns priority source enabled
j6-ucp-model-perf-eval 性能测试, perf评测, benchmark, 板端测试, 模型性能, hrt_model_exec hrt_model_exec.*perf\b|perf[_-]?(评测|测试|评估) 20 local true
j6-ucp-hbm-infer hbm_infer, HbmRpcSession, X86客户端, 模型部署 hbm_infer\w*|\bHbmRpcSession\b|\bHTensor\b 30 local true
j6-ucp-infer-generating UCP推理代码, C++推理, tensor内存, 推理任务, Cache同步, DNN接口, 代码生成 \b生成.*推理.*代码\b|\b推理.*C\+\+.*代码\b 40 local true
j6-ucp-perfetto-trace-catcher 抓trace, trace采集, Perfetto采集, pftrace采集, hrt_model_exec tracing, tracebox `\b(抓 采集 capture collect).*trace\b
j6-ucp-perfetto-trace-analysis Perfetto, pftrace, 性能瓶颈, 推理延迟, pipeline stalls, 有效占用率, trace分析 \.pftrace\b|\bperfetto\b 50 local true
j6-board-monitor BPU监控, DDR带宽, 内存使用, 资源监控, 设定帧率, hrt_ucp_monitor, hrut_ddr, 板端资源, 占用率监控 `\b(BPU DDR 内存).*(监控 监测

路由算法

输入: 用户消息
输出: 命中的子 skill 列表(按 priority 升序)

1. 遍历路由表中 enabled=true 的条目
2. 对每条规则:
   a. trigger_keywords: 用户消息是否包含任一关键词(不区分大小写)
   b. trigger_patterns: 用户消息是否匹配任一正则
   c. a 或 b 命中即记录该子 skill 及其 priority
3. 按 priority 升序排列命中结果
4. 返回排序列表

Read the full file on GitHub · 80 lines

Files

What ships with it

60 files 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.

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. 11d ago First seen · 80 lines · 57 tokens per session scan A a8e7ca23b012

Subscribe to this mod's changes

ucp is a skill published in the GitHub repository HorizonRobotics/OE-Skills (19 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 57 tokens to every session and 1,318 once invoked, about $0.0003 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

spark-environment-setup

Set up a working ML training/inference environment on NVIDIA DGX Spark (GB10, aarch64, CUDA 13). Use when installing PyTorch/Unsloth/TRL/vLLM on DGX Spark, hitting libcudart or wheel-ABI errors on aarch64, or choosing between NGC containers and bare pip installs.

wshobson/agents · 76 tokens

spark-memory-thermal-ops

Manage unified memory and thermals during long-running ML jobs on NVIDIA DGX Spark. Use when planning memory headroom for a training run on GB10, when a job OOMs on unified memory, or when monitoring temperature and power during multi-hour training.

wshobson/agents · 59 tokens

spark-training-gotchas

Preflight and diagnose the ten known failure modes for ML training on NVIDIA DGX Spark. Use when a training run on DGX Spark fails to start, OOMs below the 128GB limit, slows down mid-run, or before any multi-hour training job on GB10.

wshobson/agents · 63 tokens

llama-cpp

Runs LLM inference on CPU, Apple Silicon, and consumer GPUs without NVIDIA hardware. Use for edge deployment, M1/M2/M3 Macs, AMD/Intel GPUs, or when CUDA is unavailable. Supports GGUF quantization (1.5-8 bit) for reduced memory and 4-10× speedup vs PyTorch on CPU.

davila7/claude-code-templates · 76 tokens

minicpm5-deploy-vllm-ascend

Deploy MiniCPM5-2B with vLLM on Huawei Ascend NPU using vLLM-Ascend. Use when the user mentions vLLM-Ascend, Ascend NPU, Huawei Ascend, CANN, torchnpu, davinci devices, or wants an OpenAI-compatible MiniCPM5 server on Ascend hardware.

OpenBMB/MiniCPM · 87 tokens

amc-run-video-calibration

Calibrates pre-recorded cam.mp4 datasets through the AutoMagicCalib REST API. Use for user-supplied local MP4s; route live RTSP streams to amc-run-rtsp-calibration.

NVIDIA/skills · 57 tokens