tinyml-modelzoo-agent

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

A guide for adding a custom neural-network model to tinyml-modelzoo. A neural network is a machine-learning model, and tinyML refers to running such models on small, resource-limited devices.

In plain words
What is it for?
It helps register a model, add its device and pipeline information, and make it available to the model-zoo workflow.
Why use it?
It shows which model-zoo files need updating so a new architecture can be used through training, quantization, and compilation.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

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

Good fit It helps register a model, add its device and pipeline information, and make it available to the model-zoo workflow.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/texasinstruments/tinyml-tensorlab/tinyml-modelzoo-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-modelzoo-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-modelzoo-agent

README.md
[![agentmods](https://agentmods.dev/badge/skills/texasinstruments/tinyml-tensorlab/tinyml-modelzoo-agent/github.svg)](https://agentmods.dev/skills/texasinstruments/tinyml-tensorlab/tinyml-modelzoo-agent)
Your own site
<a href="https://agentmods.dev/skills/texasinstruments/tinyml-tensorlab/tinyml-modelzoo-agent"><img src="https://agentmods.dev/badge/skills/texasinstruments/tinyml-tensorlab/tinyml-modelzoo-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-modelzoo-agent

Your own site · 80×15
<a href="https://agentmods.dev/skills/texasinstruments/tinyml-tensorlab/tinyml-modelzoo-agent"><img src="https://agentmods.dev/badge/skills/texasinstruments/tinyml-tensorlab/tinyml-modelzoo-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 121 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,389 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.00121 $0.03389
Opus 5.5 $0.00048 $0.01356
Sonnet 5.5 $0.00024 $0.00678
Haiku 4.5 $0.00012 $0.00339

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

Security

Grade A, and why

tinyml-modelzoo-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.

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-modelzoo-agent/SKILL.md · 361 lines

How it starts

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

TinyML ModelZoo — Add Custom Model

Adds a new neural network architecture to tinyml-modelzoo so it works end-to-end with training, quantization, and compilation.

No changes needed in tinyml-modelmaker or tinyml-tinyverse — modelzoo only.


Session Prerequisites

Load TINYML_MODELZOO_PATH from ~/.tinyml-agent-skills/.env and activate the venv:

source ~/.tinyml-agent-skills/.env 2>/dev/null || true
source "$TINYML_MODELZOO_PATH/.venv/bin/activate" 2>/dev/null || true

If TINYML_MODELZOO_PATH is unset: stop and tell user to run /tinyml-agent-skills:setup first.


Files Modified (Overview)

File Purpose
tinyml_modelzoo/models/<task>.py Model class definition
tinyml_modelzoo/device_info/run_info.py Device performance info
tinyml_modelzoo/model_descriptions/<task>.py Pipeline + GUI integration

Step 1: Gather Requirements

Ask the user:

  1. Task type — classification / regression / anomaly detection / forecasting / image classification?
  2. Model name — choose a class name following SCREAMING_SNAKE_CASE with param count suffix:
    • Classification: CNN_TS_MY_MODEL_2K or CNN_TS_MY_MODEL_2K_NPU (if NPU-targeted)
    • Regression: REG_TS_MY_MODEL_2K
    • Anomaly detection: AE_MY_MODEL_4K
    • Forecasting: FC_MY_MODEL_13K
  3. Architecture approach — spec-based (recommended, uses standard layer blocks) or custom PyTorch?
  4. NPU target? — if yes, enforce NPU constraints (see Step 2C)
  5. Architecture details — how many layers, what types, approximate param count?

Set session variables:

TASK_TYPE=<classification|regression|anomalydetection|forecasting|image>
MODEL_CLASS_NAME=<e.g., CNN_TS_MY_MODEL_2K>
MODEL_GUI_NAME=<e.g., My_Model_2k_t>   # snake_case_t suffix for GUI name

Task → file mapping:

Task Model file Description file
classification models/classification.py model_descriptions/classification.py
regression models/regression.py model_descriptions/regression.py
anomalydetection models/anomalydetection.py model_descriptions/anomalydetection.py
forecasting models/forecasting.py model_descriptions/forecasting.py
image models/image.py model_descriptions/classification.py

Read the full file on GitHub · 361 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 First seen · 361 lines · 0 tokens per session scan A 604aaa49deff

Subscribe to this mod's changes

tinyml-modelzoo-agent is a skill published in the GitHub repository TexasInstruments/tinyml-tensorlab (52 stars, last pushed 1mo ago), licensed BSD-3-Clause. It adds 121 tokens to every session and 3,389 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-10-08.

Related

tinyml-modelzoo-agent compared with skills from other repositories

tinyml-modelzoo-agent next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tinyml-modelzoo-agentTexasInstruments/tinyml-tensorlabSkill521mo agoBSD-3-ClauseA121Claude 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