/ti-edgeai-skills:ti-edgeai-generate-configfrom ti-edgeai-skills
Build, validate and run edgeai-gst-apps YAML configs (inputs, models, outputs, flows) on TI Edge AI boards with a C7x/MMA accelerator (TDA4VM, AM68A, AM69A, AM67A, AM62A): video file, image sequence, USB webcam, CSI camera, RTSP or test-pattern input; one or several models; display with FPS overlay, saved video/images, network stream or fakesink; mosaic layouts. Use this skill whenever the user wants to "run my model on the TI board", show live results on a display, use a webcam or camera with the TI demo app, record annotated video, stream detections, write an app_config / edgeai-gst-apps yaml, or asks how the TI GStreamer pipeline (tiovxmultiscaler, tiovxdlpreproc, kmssink) is assembled - even if they never say "config".
Ships in ti-edgeai-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
When this skill is active, read references/config-schema.md before writing a config by hand and run scripts/validate_config.py
before touching the board. Prerequisites and shared rules (SoC key, [H, W] order, display ownership): ti-edgeai-dev. The model
folder must already exist on the board (ti-edgeai-import-model).
BOARD=root@<board-ip> scripts/discover_cameras.sh (capture nodes, card names,
formats and sizes; codec nodes skipped) and choose a mode the camera really offers. Prefer the mode whose aspect matches the model input (16:9 -> 640x360 for a 640x352 model).
Codec nodes (hardware decoder/encoder) are not cameras; the discovery script skips them. YUYV-only webcams need format: auto
(not jpeg).python3 scripts/generate_config.py --input usb --source /dev/video<N> --width 640 --height 360 --format auto --model /opt/model_zoo/<model> --viz-threshold 0.3 --output display --perf-overlay graph -o my.yaml
(several --model flags tile them with mosaic rectangles). Edit by hand for anything the generator does not expose;
references/config-schema.md lists every key.python3 scripts/validate_config.py my.yaml --board root@<board-ip> (schema, name references, size/mosaic rules, and
a read-only SSH check that each model folder has param.yaml, dataset.yaml and a compiled net.bin). Fix every ERROR.Finite input, saved output (the safe first test; GST_SOC is the SoC key from ti-edgeai-dev/references/platforms.md):
scp my.yaml root@<board-ip>:/opt/edgeai-gst-apps/configs/
ssh root@<board-ip> 'cd /opt/edgeai-gst-apps/apps_python && export SOC=<GST_SOC> TERM=xterm &&
timeout 120 ./app_edgeai.py ../configs/my.yaml > /tmp/run.log 2>&1; echo exit=$?;
grep -aE "VX_ZONE_ERROR\]|rror|Fail" /tmp/run.log | grep -v -e curses -e setupterm'
Success: exit=0, Offloaded Nodes - N, Total Nodes - N, output files present (ls /opt/edgeai-test-data/output). Then scp a frame
back and look at it. Delete test outputs afterwards (small disk).
Camera to saved frames: the same with timeout -s INT 25 (cameras never finish; exit 124 is normal).
Live on a display. This changes the board's system state (the stock GUI is stopped and a transient unit is started), so:
edgeai-init on inference from an earlier request such as "show it on the display". The user must also be present
to watch.systemctl is-active edgeai-init; systemctl is-enabled edgeai-init
(and whether edgeai-demo already exists).ssh root@<board-ip> 'systemctl stop edgeai-init' # the stock GUI owns the screen
ssh root@<board-ip> 'systemd-run --unit=edgeai-demo --setenv=SOC=<GST_SOC> --setenv=TERM=xterm \
--setenv=PYTHONPATH=/usr/lib/python3.12/site-packages --working-directory=/opt/edgeai-gst-apps/apps_python \
script -qfc "./app_edgeai.py ../configs/my_display.yaml" /dev/null'
ssh root@<board-ip> 'systemctl is-active edgeai-demo' # confirm it is alive
systemctl stop edgeai-demo; systemctl start edgeai-init
(only if it was active before), then check systemctl is-active edgeai-init and report the state you left the board in.
Why a unit: the status screen needs a tty (script provides one) and nohup & children of an ssh command are killed when it ends.
The same consent rule covers firmware updates, reboots and USB/driver resets (ti-edgeai-dev, critical rule 11).Display status: not confirmed. With the stock GUI running, a display-sink run showed nothing on screen; after stopping it the
app ran as a unit without errors, but a picture was never confirmed. Report display runs as unconfirmed until the user says they
see video; if the screen stays blank check /sys/class/drm/card*-*/status and the connector: option
(references/camera-and-display.md).
With the right SOC the app builds tiovxdlcolorconvert ! tiovxmultiscaler -> {full-res branch, tiovxdlpreproc branch}. Print it:
grep -a "multifilesrc\|v4l2src\|tiovx" /tmp/run.log | cut -c1-300. videoscale ! videoconvert means the ARM-only path (missing SOC).
Details: references/pipeline-anatomy.md.
| File | Use when |
|---|---|
| references/config-schema.md | every config key and rule |
| references/pipeline-anatomy.md | elements, tracers, OpTIFlow, C++ app |
| references/camera-and-display.md | device discovery, formats, display ownership, USB failure modes |
scripts/generate_config.py, scripts/validate_config.py: PyYAML-serialized output; validator checks types and ranges (unit-tested).scripts/discover_cameras.sh: read-only V4L2 capture-device discovery (unit-tested with a simulated v4l2-ctl; not run on a board).assets/example_{image,video,classification,mosaic,webcam,webcam_display}.yaml: starting points using TI zoo models (adapt model paths).agents/openai.yaml (opens in a new tab)assets/example_classification.yaml (opens in a new tab)assets/example_image.yaml (opens in a new tab)assets/example_mosaic.yaml (opens in a new tab)assets/example_video.yaml (opens in a new tab)assets/example_webcam.yaml (opens in a new tab)assets/example_webcam_display.yaml (opens in a new tab)evals/evals.json (opens in a new tab)references/camera-and-display.md (opens in a new tab)references/config-schema.md (opens in a new tab)references/pipeline-anatomy.md (opens in a new tab)scripts/discover_cameras.sh (opens in a new tab)scripts/generate_config.py (opens in a new tab)scripts/validate_config.py (opens in a new tab)tests/test_config_tools.py (opens in a new tab)tests/test_discover_cameras.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
5 skills in this plugin
/ti-edgeai-devTexas Instruments Edge AI SDK development for Jacinto 7 / AM6xA processors with a C7x DSP + MMA deep-learning accelerator (TDA4VM, AM68A, AM69A, AM67A, AM62A): TIDL model compilation with edgeai-tidl-tools, the on-board runtime (ONNX Runtime with the TIDL execution provider), edgeai-gst-apps configs and tiovx* GStreamer plugins, model folders and param.yaml, tools-to-SDK version matching, and troubleshooting. Use this skill whenever the user mentions TIDL, C7x, MMA, TDA4VM, J721E, AM68A, AM69A, AM67A, AM62A, edgeai-tidl-tools, edgeai-gst-apps, /opt/model_zoo, tiovxmultiscaler, "TI edge NPU/accelerator", or asks how to run, deploy, debug or speed up a neural network on a TI Jacinto/Sitara board - even if they never say "skill". Start here, then hand off to ti-edgeai-import-model, ti-edgeai-generate-config, ti-edgeai-profile-pipeline or ti-edgeai-train-model.
/ti-edgeai-import-modelGet a trained neural network that exports to a static-shape ONNX (a classifier, a segmentation model, or a detector with a TIDL meta-architecture such as YOLOX/SSD/YOLOv5-style) running on a TI Edge AI board's C7x/MMA accelerator (TDA4VM, AM68A, AM69A, AM67A, AM62A): preflight the ONNX, fold input normalisation, compile and int8-calibrate with edgeai-tidl-tools in Docker (tools tag matched to the board SDK), verify offload and accuracy in host emulation, check board-vs-host outputs, package model/ artifacts/ param.yaml dataset.yaml, deploy to /opt/model_zoo and smoke-test with edgeai-gst-apps. Use this skill whenever the user wants to deploy, convert, compile, quantize, port or "put my model on" a TI Jacinto/AM6xA board, mentions TIDL compilation, artifacts, tidl_net.bin, meta_arch_type, a prototxt, calibration images, int8 accuracy loss on the TI device, or asks why a compiled model fails on the board - for any architecture within those contracts, and even if they only say "deploy to the TI device".
npx claudepluginhub saeedahmadicp/ti-edgeai-skills --plugin ti-edgeai-skills