Skip to content
Development
Skill

/tinymaix-integration

Use when integrating, porting, configuring, or debugging TinyMaix MCU inference, model loading, tensor shapes, memory, quantization, or TinyML runtime issues

From plugin
aix-skills
3976 skills

Claude Code

$ npx -y skills add easyzoom/aix-skills --skill tinymaix-integration --agent claude-code

SKILL.md

tinymaix-integration.SKILL.md
name: tinymaix-integration
description: Use when integrating, porting, configuring, or debugging TinyMaix MCU inference, model loading, tensor shapes, memory, quantization, or TinyML runtime issues

TinyMaix Integration

Overview

Use this skill to integrate TinyMaix by proving the model, tensor shapes, preprocessing, memory buffers, and target backend before optimizing inference speed. TinyML failures usually come from mismatched input format, quantization, or insufficient memory.

When To Use

Use this skill when:

  • The user wants to run TinyMaix on an MCU.
  • The issue involves model conversion, `tm_load`, `tm_preprocess`, `tm_run`, tensor dimensions, quantized data, RAM/flash limits, or wrong inference results.
  • The target has strict RAM, flash, CPU, or accelerator constraints.

Do not use this skill for full ML framework training or model design beyond embedded deployment checks.

First Questions

Ask for:

  • Target MCU/core, RAM/flash, compiler, and whether SIMD/FPU/DSP extensions exist.
  • TinyMaix version/source and model format.
  • Input shape, data type, quantization, preprocessing, and expected output.
  • Memory allocation strategy and inference buffer sizes.
  • Current symptom: compile error, load error, run error, wrong output, or too slow.

Integration Checklist

1. Confirm model compatibility. Verify operator set, quantization type, input/output shapes, and converted model files.

1. Prove preprocessing. Normalize, resize, color order, layout, and quantization must match training/export assumptions.

1. Budget memory. Account for model, activations, input/output tensors, stack, and any temporary buffers.

1. Bring up one known sample. Run a golden input with expected output before using live sensor data.

1. Optimize only after correctness. CPU extensions, fixed-point paths, and memory placement come after correct inference.

Common Failures

  • Wrong NHWC/NCHW layout or color order.
  • Input values are float-scaled but model expects int8/uint8 quantized data.
  • Activation buffers overflow RAM.
  • Model uses unsupported operations.
  • Output interpretation ignores quantization scale/zero point.
  • Benchmark uses live noisy data before golden-vector validation.

Verification

Before claiming TinyMaix works:

  • State model, input/output shapes, data type, quantization, and memory budget.
  • Confirm a golden input produces expected class/value within tolerance.
  • Confirm stack/heap/activation usage fits the target.
  • Report inference time if performance is part of the task.

Example

User:

TinyMaix 跑起来了但识别结果全错。

Agent:

1. Asks for model format, input shape, preprocessing, quantization, and golden sample. 1. Checks layout, scale/zero-point, and output decoding. 1. Verifies with a known input before optimizing speed.

Read more
@easyzoom
Ships withaix-skills

AIX Skills is a public collection of Agent Skills, templates, and references for building repeatable AI workflows.

Stars on GitHub

Momentum

stars in total
39
Star history of easyzoom/aix-skills on GitHub, a chart by star-history.com

Other skills on aix-skills.

8051-mcu-debug

8051-mcu-debug

Use when debugging 8051-compatible microcontrollers, 51 MCU firmware, STC download issues, Keil C51 projects, interrupts, timers,…

@easyzoom@easyzoomInstall Skill
avem-integration

avem-integration

Use when integrating, evaluating, configuring, or debugging Avem embedded C framework modules, event-driven components, drivers,…

@easyzoom@easyzoomInstall Skill
ble-gatt-integration

ble-gatt-integration

Use when integrating, designing, or debugging BLE GATT services, characteristics, descriptors, MTU, notifications, indications,…

@easyzoom@easyzoomInstall Skill
bootloader-debug

bootloader-debug

Use when debugging embedded bootloaders, application jumps, vector table offsets, firmware upgrade flow, OTA state, image…

@easyzoom@easyzoomInstall Skill
canbus-integration

canbus-integration

Use when integrating, porting, configuring, or debugging CAN bus libraries, CANBus-Triple, MCP2515, CAN frames, bit timing,…

@easyzoom@easyzoomInstall Skill

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills2w309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc2w293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react5d252k
@facebook@facebookInstall Skill

Questions about tinymaix-integration.

Which coding agents can use tinymaix-integration?
tinymaix-integration installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.