llm-interface-control

llm-interface-control is a skill for Claude Code, Codex from Seeed-Projects/Seeed-Jetson-DevelopTool. It costs 67 tokens per session (1,161 once invoked), scanned D, original, MIT.

A local language-model system for turning natural-language instructions into JSON commands that control hardware on an NVIDIA Jetson Orin NX. It connects to hardware interfaces such as GPIO, PWM, and I2C through a FastAPI service and uses a confidence check before execution.

In plain words
What is it for?
It helps build controls for devices such as lights, fans, thermostats, and speakers, using Ollama, FastAPI, Python 3.8 or newer, JetPack, and the specified Jetson hardware.
Why use it?
It gives hardware-control applications a way to accept ordinary language while requiring a confidence threshold before a command runs. Keeping the language model on the Jetson supports a locally accessible setup.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/seeed-projects/seeed-jetson-developtool/llm-interface-control
Any agent
npx skills add Seeed-Projects/Seeed-Jetson-DevelopTool --skill llm-interface-control
Clone the repo
git clone --depth 1 https://github.com/Seeed-Projects/Seeed-Jetson-DevelopTool

Made for: Claude Code, Codex.

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 llm-interface-control

README.md
[![agentmods](https://agentmods.dev/badge/skills/seeed-projects/seeed-jetson-developtool/llm-interface-control.svg)](https://agentmods.dev/skills/seeed-projects/seeed-jetson-developtool/llm-interface-control)
Your own site
<a href="https://agentmods.dev/skills/seeed-projects/seeed-jetson-developtool/llm-interface-control"><img src="https://agentmods.dev/badge/skills/seeed-projects/seeed-jetson-developtool/llm-interface-control.svg" alt="Measured on agentmods" height="20"></a>
Per session 67 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,161 The whole file, excluding the scripts and references it only reads on demand.
Security scan D 3 findings. Scan, not verified.
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 $0.00067 $0.01161
Opus 5 $0.00034 $0.00580
Sonnet 5 $0.00013 $0.00232
Haiku 4.5 $0.00007 $0.00116

Measured 4d ago against content hash 6c396cda59d8, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade D, and why

llm-interface-control scanned grade D with 3 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 4d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

| GPIO/hardware errors | Mock hardware during development. Ensure Jetson GPIO permissions: `sudo usermod -aG gpio $USER`. |

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -fsSL https://ollama.com/install.sh | sh

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsSL https://ollama.com/install.sh | sh
seeed_jetson_develop/skills/openclaw/llm-interface-control/SKILL.md · 146 lines

How it starts

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

Local LLM Agent for Hardware Interface Control on Jetson

Use a local LLM running on Jetson to translate natural language commands into structured JSON for controlling hardware interfaces (lights, fans, thermostats, speakers) via GPIO, PWM, and I2C. The system uses Ollama with a custom prompt, FastAPI for the API layer, and confidence-based safety gating.


Execution model

Run one phase at a time. After each phase:

  • Relay all output to the user.
  • If output contains [STOP] → stop, consult the failure decision tree.
  • If output ends with [OK] → tell the user "Phase N complete" and proceed.

Prerequisites

Requirement Detail
Hardware NVIDIA Jetson (Orin NX recommended) with JetPack
Python 3.8+
LLM Server Ollama (installed in Phase 1)
Network Local access for API calls

Phase 1 — Install Ollama (~2 min)

curl -fsSL https://ollama.com/install.sh | sh

Verify:

ollama --version

[OK] when Ollama version is printed. [STOP] if install fails — check network connectivity.


Phase 2 — Clone the project and install dependencies (~2 min)

git clone https://github.com/kouroshkarimi/llm_interface_controll.git
cd llm_interface_controll
pip install -r requirements.txt

[OK] when all packages install (FastAPI, uvicorn, etc.). [STOP] if pip fails — check Python version.


Phase 3 — Create the custom Ollama model (~2 min)

The project includes a system prompt file that constrains the LLM to output only structured JSON with fields: intent, device, action, location, parameters, confidence.

cd llm_interface_controll
ollama create jetson-controller -f models/jetson-controller.txt

Verify:

ollama list | grep jetson-controller

[OK] when jetson-controller appears in the model list. [STOP] if creation fails — ensure the base model (llama3.2:1b) is available: ollama pull llama3.2:1b.


Phase 4 — Start the FastAPI server (~1 min)

Read the full file on GitHub · 146 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 4d ago First seen · 146 lines · 67 tokens per session scan D 6c396cda59d8

Subscribe to this mod's changes

llm-interface-control is a skill published in the GitHub repository Seeed-Projects/Seeed-Jetson-DevelopTool (54 stars, last pushed today), licensed MIT. It adds 67 tokens to every session and 1,161 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it D with 3 findings (asks for root, downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

planning-with-files-ar

تخطيط مستمر قائم على الملفات لعمل وكلاء الذكاء الاصطناعي متعدد الخطوات. يحتفظ بملفات taskplan.md و findings.md و progress.md على القرص، وتحقن خطافات دورة الحياة سياق التخطيط المحدد للمشروع. تقرأ الاستعادة التلقائية ملفات تخطيط المشروع فقط. يمكن للأمر الصريح session-catchup.py --metadata فحص بيانات وصفية لجلسات الوكيل…

OthmanAdi/planning-with-files · 189 tokens

kl-consistency-test

Write, calibrate, and debug the prefill-vs-decode logprob (KL) consistency tests in sglang -- the two independent conditions a zero requires (every operator batch-invariant, and the two paths computing the same function), which helper separates them, how to pick a threshold once they hold, and how to localize a…

sgl-project/sglang · 108 tokens

i18n-localization

Internationalization and localization patterns. Detecting hardcoded strings, managing translations, locale files, RTL support.

vudovn/ag-kit · 27 tokens

baoyu-youtube-transcript

Downloads YouTube video transcripts/subtitles and cover images by URL or video ID. Supports multiple languages, translation, chapters, and speaker identification. Caches raw data for fast re-formatting. Use when user asks to "get YouTube transcript", "download subtitles", "get captions", "YouTube字幕", "YouTube封面"…

JimLiu/baoyu-skills · 107 tokens

seedance-vocab-ja

This skill should be used when the user asks for Japanese Seedance 2.0 prompt wording, Japanese cinematic vocabulary, or translation of camera, lighting, action, VFX, audio, and production terms into Japanese.

Emily2040/seedance-2.0 · 50 tokens

asc-subscription-localization

Bulk-localize subscription, subscription-group, and in-app purchase display names across App Store locales using asc, including API 4.4.1 version-scoped v2 resources. Use when filling or updating subscription/IAP names and descriptions without App Store Connect UI work.

rorkai/app-store-connect-cli-skills · 60 tokens