Ucp logo

Ucp

Organization
HorizonRobotics
ucp

地平线 J6 UCP 技能入口,通过路由机制将用户意图分发至对应子 skill,涵盖模型性能评测、HBM 推理部署、推理代码生成、Perfetto Trace 采集与分析等能力。

Overview

PublisherHorizonRobotics
RepositoryOE-Skills
Skill nameucp
Stars
28
Forks
4
Bundled files
79
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 79 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by HorizonRobotics on GitHub. Read the source before you install it.

Installation

Install the Ucp AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/HorizonRobotics/OE-Skills/tree/main/horizon/skills/ucp
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/HorizonRobotics/OE-Skills.git /tmp/OE-Skills
mkdir -p .claude/skills
cp -r /tmp/OE-Skills/horizon/skills/ucp .claude/skills/ucp
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Ucp in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Ucp on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Ucp is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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_nametrigger_keywordstrigger_patternsprioritysourceenabled
j6-ucp-model-perf-eval性能测试, perf评测, benchmark, 板端测试, 模型性能, hrt_model_exechrt_model_exec.*perf\b|perf[_-]?(评测|测试|评估)20localtrue
j6-ucp-hbm-inferhbm_infer, HbmRpcSession, X86客户端, 模型部署hbm_infer\w*|\bHbmRpcSession\b|\bHTensor\b30localtrue
j6-ucp-infer-generatingUCP推理代码, C++推理, tensor内存, 推理任务, Cache同步, DNN接口, 代码生成\b生成.*推理.*代码\b|\b推理.*C\+\+.*代码\b40localtrue
j6-ucp-perfetto-trace-catcher抓trace, trace采集, Perfetto采集, pftrace采集, hrt_model_exec tracing, tracebox`\b(抓采集capturecollect).*trace\b
j6-ucp-perfetto-trace-analysisPerfetto, pftrace, 性能瓶颈, 推理延迟, pipeline stalls, 有效占用率, trace分析\.pftrace\b|\bperfetto\b50localtrue
j6-board-monitorBPU监控, DDR带宽, 内存使用, 资源监控, 设定帧率, hrt_ucp_monitor, hrut_ddr, 板端资源, 占用率监控`\b(BPUDDR内存).*(监控监测

路由算法

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

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

路由决策

  • 有命中:按 priority 顺序全量加载所有命中的子 skill。命中的子 skill 均与用户意图相关,应全部加载
  • 无命中:不加载任何子 skill,按常规方式处理

加载方式

路由命中后,全量读取 .skills/<skill_name>/ 下所有文件(SKILL.md 须存在且作为主文件优先加载):

要求说明
SKILL.md须存在,包含子 skill 的适用场景、流程、约束
其余文件按需加载,不限制文件名和结构,各子 skill 自行组织

未命中路由的子 skill 目录不做任何读取。

路由表增删

注册、移除流程及多源规范详见 ROUTING_OPS.md。修改路由表时须按该文件步骤执行,不得跳过。

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

and 19 more files.

Frequently asked questions

What does the Ucp AI skill do?

地平线 J6 UCP 技能入口,通过路由机制将用户意图分发至对应子 skill,涵盖模型性能评测、HBM 推理部署、推理代码生成、Perfetto Trace 采集与分析等能力。

Why use Ucp on TypingMind?

Because you install it once and use it with any model. Ucp is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Ucp in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/HorizonRobotics/OE-Skills/tree/main/horizon/skills/ucp. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Ucp?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Ucp?

As many as you like. As long as a model supports skills, you can use Ucp with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Ucp AI skill free?

Yes. It is published on GitHub by HorizonRobotics under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇