tinyml-workflow-agent

tinyml-workflow-agent is a skill for Claude Code from TexasInstruments/tinyml-tensorlab. It costs 126 tokens per session (17,208 once invoked), scanned A, original, BSD-3-Clause.

A guided workflow for creating machine-learning models that run on small embedded devices such as microcontrollers. It covers preparing data, training and compiling a model, and deploying it to the device.

In plain words
What is it for?
Use it to validate datasets, extract features, create configuration files, train models, compile them, and deploy them to embedded hardware such as TI devices.
Why use it?
It organizes the many steps needed to move from a dataset to an embedded model, reducing setup mistakes and confusion about configuration and file locations.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths.

Part of the tinyml-agent-skills plugin — 3 skills shipped together

Good fit Use it to validate datasets, extract features, create configuration files, train models, compile them, and deploy them to embedded hardware such as TI devices.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/texasinstruments/tinyml-tensorlab/tinyml-workflow-agent
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add TexasInstruments/tinyml-tensorlab --skill tinyml-workflow-agent
Clone the repo
git clone --depth 1 https://github.com/TexasInstruments/tinyml-tensorlab

Made for: Claude Code.

Or install tinyml-agent-skills, the plugin that ships this one along with the rest of its 3 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for tinyml-workflow-agent

README.md
[![agentmods](https://agentmods.dev/badge/skills/texasinstruments/tinyml-tensorlab/tinyml-workflow-agent/github.svg)](https://agentmods.dev/skills/texasinstruments/tinyml-tensorlab/tinyml-workflow-agent)
Your own site
<a href="https://agentmods.dev/skills/texasinstruments/tinyml-tensorlab/tinyml-workflow-agent"><img src="https://agentmods.dev/badge/skills/texasinstruments/tinyml-tensorlab/tinyml-workflow-agent/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for tinyml-workflow-agent

Your own site · 80×15
<a href="https://agentmods.dev/skills/texasinstruments/tinyml-tensorlab/tinyml-workflow-agent"><img src="https://agentmods.dev/badge/skills/texasinstruments/tinyml-tensorlab/tinyml-workflow-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 126 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 17,208 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00126 $0.17208
Opus 5.5 $0.00050 $0.06883
Sonnet 5.5 $0.00025 $0.03442
Haiku 4.5 $0.00013 $0.01721

Measured 1mo ago against content hash 0710eec00a06, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tinyml-workflow-agent scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 17 executable files (scripts/__init__.py, scripts/common_section_tools.py, scripts/compilation.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

tinyml-agent-skills/plugins/tinyml-agent-skills/skills/tinyml-workflow-agent/SKILL.md · 1,429 lines

How it starts

The opening of the file, as written. The whole thing — 1,429 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Tiny ML Tensorlab Skill

Overview

Build, train, compile, and deploy ML models to embedded MCUs using Tiny ML tensorlab.


CRITICAL: Script Location

runner.py lives in this skill's scripts/ directory, not in tinyml-modelzoo.

SCRIPTS_DIR = ~/.claude/plugins/marketplaces/<plugin>/skills/tinyml-workflow-agent/scripts/

Session Setup step 1 shows how to discover this path automatically.


CRITICAL RULES — BLOCKING GATES

These two rules apply unconditionally. Read them before any workflow step. They exist because compiler environment state does not persist across shell sessions, and because proceeding to deployment with missing or failed compilation artifacts causes silent, hard-to-debug failures downstream.

Rule 1: Compiler path MUST be exported in the same shell session as the training script

Before running run_tinyml_modelzoo.sh, locate and export the compiler path in the exact same bash call that runs the script. Exporting env vars in a prior step is not sufficient — shell state does not carry across separate tool calls.

Use ccs-project → getCompilers (preferred — CCS already knows what's installed):

Call ccs-project → getCompilers

From the returned list, find the entry matching $TARGET_DEVICE family (e.g., TI C2000 CGT for F28xxx, TI ARM CGT or tiarmclang for MSPM0/AM26x). Extract its installation path. Strip to the root directory containing bin/. Store as CGT_ROOT.

If ccs-project MCP is unavailable, fall back to filesystem search:

# C2000 CGT
find /opt/ti ~/ti $HOME/ti /usr/local/opt/ti 2>/dev/null -name "cl2000" -type f 2>/dev/null | head -1
# ARM CGT
find /opt/ti ~/ti $HOME/ti /usr/local/opt/ti 2>/dev/null -name "armcl" -type f 2>/dev/null | head -1

Strip the binary name → get bin/ → strip bin/ → get CGT_ROOT.

Then export and run in one command:

export C2000_CGT_PATH=<CGT_ROOT>   # or ARM_CGT_PATH, per device — see references/example_running_guide.md
cd "$TINYML_MODELZOO_PATH" && ./run_tinyml_modelzoo.sh "$CCS_PROJECT_PATH/config.yaml"

Read the full file on GitHub · 1,429 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · +640 lines · +40 tokens per session scan C → A 0710eec00a06
  2. 2mo ago First seen · 789 lines · 86 tokens per session scan C 1181835897d1

Subscribe to this mod's changes

tinyml-workflow-agent is a skill published in the GitHub repository TexasInstruments/tinyml-tensorlab (52 stars, last pushed 1mo ago), licensed BSD-3-Clause. It adds 126 tokens to every session and 17,208 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

tinyml-workflow-agent compared with skills from other repositories

tinyml-workflow-agent next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tinyml-workflow-agentTexasInstruments/tinyml-tensorlabSkill521mo agoBSD-3-ClauseA126Claude Code
spark-environment-setupwshobson/agentsSkill42kyesterdayMITA76Claude Code
spark-memory-thermal-opswshobson/agentsSkill42kyesterdayMITA59Claude Code
spark-training-gotchaswshobson/agentsSkill42kyesterdayMITA63Claude Code
inference-serving-llama-cppdavila7/claude-code-templatesSkill33kyesterdayMITA80Claude Code, Codex
amc-run-rtsp-calibrationNVIDIA/skillsSkill3.9kyesterdayApache-2.0A59Claude Code, Codex
deepstream-generate-pipelineNVIDIA/skillsSkill3.9kyesterdayApache-2.0A108Claude Code