ae-support-agent

star 0

Use the AE 技术支持 Agent to answer customer technical questions based on Doxygen docs and SDK. Use when the user is an AE engineer, needs chip technical support, or asks about Linux kernel development, peripheral drivers, ISP 3A algorithms, ONNX/model conversion for their chip.

KianWeng By KianWeng schedule Updated 3/2/2026

name: ae-support-agent description: Use the AE 技术支持 Agent to answer customer technical questions based on Doxygen docs and SDK. Use when the user is an AE engineer, needs chip technical support, or asks about Linux kernel development, peripheral drivers, ISP 3A algorithms, ONNX/model conversion for their chip.

AE 技术支持 Agent

基于 Doxygen 文档和 SDK 源码,回答客户关于 Ambarella Cooper/CV7x 芯片开发的技术问题。通过 Linux 工具搜索资料,遇 PDF/Excel 等需工具打开的文档时调用相关 skill 处理。

触发场景

当用户提到以下场景时应用本技能:

  • AE 工程师、技术支持、客户技术问题
  • Linux 内核开发、外设驱动、ISP 3A(AE/AWB/AF)、模型转换(ONNX 等)
  • Doxygen 文档、SDK 源码、芯片开发文档
  • Cooper SDK、CV7x、CV72、CV75、CVflow、IDSP、VDSP

知识库结构

知识来源详见 .cursor/skills/ae-support-agent/materials-guide.md,概要如下:

资料来源 路径 覆盖内容
sdk_doc data/doxygen/html/sdk_doc/ SDK 完整说明,13 模块
cvflow_cnngen_documents data/doxygen/html/cvflow_cnngen_documents/ CVFlow/模型转换、NN 支持
PDF 文档 data/doxygen/PDF/ 硬件手册、IDSP/ISP、图像调优、SDK 入门等(18 份)
Release Note data/doxygen/Cooper_SDK_2.5.3_CV7x_ReleaseNote_*.txt 版本更新、修复、已知问题
SDK 源码 data/sdk/cooper_linux_sdk_2.5.3_cv7x/ambarella/ 应用、驱动、packages、boot、kernel 等
外部代码 data/sdk/cooper_linux_sdk_2.5.3_cv7x/external/ TC377 单片机等

sdk_doc 十三模块

模块 内容
application 应用层
bsp 板级支持包
cooper Cooper 相关
cvflow CVFlow(CNN 推理)
hardware 硬件相关
introduction 简介/入门
optimization 优化
peripheral 外设
security 芯片安全启动
software 软件
style 编码风格等
video IDSP、VDSP(VIN → IDSP raw→YUV → VDSP 编码)

问题类型 → 资料来源

问题类型 建议查阅
模型转换、ONNX、CNNGen、NN 支持 cvflow_cnngen_documents、ambarella/packages/cnngen_prep、cvflow_cnngen_samples
IDSP/ISP、图像调优、AE/AWB/AF、CE/ASF/CFA sdk_doc/video、sdk_doc 相关、PDF(IDSP/Image Tuning)
VIN/VDSP、视频采集编码 sdk_doc/video、drv_modules/platform/vin、vout
安全启动、Secure Boot sdk_doc/security、ambarella/security
驱动、VIN/VOUT、Gyro、EIS ambarella/drv_modules、sdk_doc/peripheral
板级、设备树、boards ambarella/boards、sdk_doc/bsp
构建、Yocto、Code Building ambarella/build、PDF(Getting Started、Code Building)
版本差异、Release Note Cooper_SDK_*ReleaseNote*.txt
TC377 等外部 MCU data/sdk/.../external/tc377

项目结构

/work/cursor/ae/
├── .cursor/skills/ae-support-agent/   # 本技能
│   ├── SKILL.md
│   ├── reference.md
│   └── materials-guide.md              # 资料详细说明
└── data/
    ├── doxygen/
    │   ├── html/sdk_doc/               # SDK 文档
    │   ├── html/cvflow_cnngen_documents/
    │   ├── PDF/                        # 18 份 PDF
    │   └── Cooper_SDK_*_ReleaseNote_*.txt
    └── sdk/
        ├── cooper_linux_sdk_2.5.3_cv7x/
        │   ├── ambarella/              # 核心源码
        │   └── external/               # 外部代码(如 TC377)
        └── cvflow_cnngen_samples_1.8

资料检索流程

1. 使用 Linux 工具搜索

需要查找资料时,优先使用以下命令在 /work/cursor/ae/data/ 下检索:

操作 命令示例
列出目录 ls -la data/doxygen/html/sdk_doc/doc/
按路径/名称查找 find data/ -name "*.html" -path "*idsp*"
按内容搜索 grep -r "关键词" data/doxygen/ --include="*.md" --include="*.txt" -l
按扩展名查找 find data/doxygen/PDF -name "*.pdf"

先查阅 materials-guide.md 确定目标路径,再结合 findgrepls 定位具体文件。

2. 文本类资料(直接读取)

.txt.md.c.h.cpp.py.html 等可直接用 read_file 读取。

3. PDF、Excel 等需工具打开的文档

遇到以下格式时,调用可读取该格式的 skill 处理,不要尝试用 read_file 直接解析:

  • PDFdata/doxygen/PDF/ 下 18 份手册,如硬件参考、IDSP 流程、Image Tuning 等
  • Excel.xlsx.xls):表格类资料

若当前环境无对应 skill,可告知用户文件路径,由用户自行打开。

技术领域

  1. Linux 内核:设备树、内核模块、启动
  2. 外设驱动:platform、I2C/SPI/UART、VIN/VOUT、字符/块设备
  3. ISP 3A / IDSP:AE/AWB/AF、图像调优、CE/ASF/CFA
  4. Video:VIN 采集、IDSP 处理、VDSP 编码
  5. 模型转换:ONNX、CNNGen、CVFlow
  6. 安全:芯片安全启动

注意事项

  • 敏感内容勿放入知识库
  • 搜索时优先用 grepfindls,避免盲目遍历
  • PDF/Excel 务必通过相关 skill 或工具打开,勿当文本读取
Install via CLI
npx skills add https://github.com/KianWeng/skills --skill ae-support-agent
Repository Details
star Stars 0
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator