Skills logo

Skills

Organization
HorizonRobotics
skills

HBDK4模型编译工具的使用指南索引,按任务场景组织

Overview

PublisherHorizonRobotics
RepositoryOE-Skills
Skill nameskills
Stars
28
Forks
4
Bundled files
13
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.

  • 13 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 Skills 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/hbdk/hbdk-manual
  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/hbdk/hbdk-manual .claude/skills/skills
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Skills 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 Skills 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 Skills 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.

基于HBDK4版本 4.9.7 编写,Docker镜像版本 v3.9.0_rc4。

流程总览

.bc模型有两个来源:

  • PTQ流程:ONNX模型通过 hbdk4.compiler.onnx.export 导出(ptq.onnx → ptq.bc)
  • QAT流程:由其它模块从 torch.nn.Module 导出(qat.bc),该torch模型不在hbdk工作流内,由外部提供
PTQ: ONNX模型(ptq.onnx) → 导出HBIR(ptq.bc) ─┐
                                              ├→ 定点化(quantized.bc) → 编译(HBM) → 部署
QAT: torch.nn.Module → qat.bc(外部提供) ────┘
                                                    │              │
                                               插入预处理节点    性能评估
                                               查询/修改模型     推理验证
                                                                    │
                          完整工作流参考 → references/workflow_reference.md

Skill列表

模型导入与序列化

Skill说明
model-export.md将ONNX模型导出为伪量化HBIR模型(.bc文件),支持模型统计和可视化
model-serialization.md将HBIR模型保存到.bc文件,或从.bc文件加载HBIR模型

模型转换与编译

Skill说明
model-convert.md将伪量化HBIR模型转换为指定march的定点模型
model-compile.md将定点化HBIR模型编译为HBM文件

模型修改

Skill说明
model-info-query.md查询和修改HBIR模型的输入输出、march信息、tensor名称、精度配置等
insert-nodes.md在HBIR模型输入输出参数上插入预处理节点(pyramid/preprocess/resize/transpose/split/rle)
remove-io-nodes.md删除HBIR模型输入输出相邻节点或指定类型/名称的节点

HBM模型

Skill说明
model-inference.md推理HBIR和HBM模型,包括本地推理和远程BPU推理
hbm-perf.md对HBM模型进行性能分析,包括静态perf和动态perf
hbm-modify.md修改HBM模型描述信息和名称,查询量化信息

参考

文档说明
references/api_reference.mdAPI快速参考
references/workflow_reference.md端到端工作流参考

快速入门路径

场景:我有一个ONNX模型,想部署到BPU

  1. model-export.md — 导出ONNX为HBIR
  2. model-convert.md — 定点化转换
  3. model-compile.md — 编译为HBM
  4. hbm-perf.md — 评估性能

场景:我需要在模型输入上插入预处理(如NV12输入、归一化)

  1. model-info-query.md — 查看模型输入输出
  2. insert-nodes.md — 插入预处理节点
  3. model-convert.md — 定点化(insert节点必须在convert前)

场景:我有一个QAT模型(qat.bc),想部署到BPU

  1. model-serialization.md — 加载qat.bc
  2. model-convert.md — 定点化转换
  3. model-compile.md — 编译为HBM
  4. hbm-perf.md — 评估性能

场景:我有一个已编译的HBM,想修改描述或验证推理

  1. hbm-modify.md — 修改HBM描述
  2. model-inference.md — 推理验证

场景:我想了解完整的端到端流程

→ references/workflow_reference.md

Bundled files

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

Frequently asked questions

What does the Skills AI skill do?

HBDK4模型编译工具的使用指南索引,按任务场景组织

Why use Skills on TypingMind?

Because you install it once and use it with any model. Skills 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 Skills in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/HorizonRobotics/OE-Skills/tree/main/horizon/skills/hbdk/hbdk-manual. 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 Skills?

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 Skills?

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

Is the Skills 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 👇