Foundation Models On Device
affaan-m/ECC
Apple FoundationModels framework for on-device LLM — text generation, guided generation with @Generable, tool calling, and snapshot streaming in iOS 26+.
Add a new sensor device to CLOiSim, including the Device subclass, SDF pipeline wiring, and transport plugin.
$ npx skills add lge-ros2/cloisim --skill add-new-sensor -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install lge-ros2/cloisim add-new-sensor --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/lge-ros2/cloisim.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.github/skills/add-new-sensor .claude/skills/add-new-sensor && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "add-new-sensor" agent skill from https://github.com/lge-ros2/cloisim/tree/main/.github/skills/add-new-sensor into .claude/skills/add-new-sensor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-new-sensor", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/lge-ros2/cloisim/tree/main/.github/skills/add-new-sensorType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add lge-ros2/cloisim --skill add-new-sensor -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install lge-ros2/cloisim add-new-sensor --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/lge-ros2/cloisim.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.github/skills/add-new-sensor .agents/skills/add-new-sensor && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "add-new-sensor" agent skill from https://github.com/lge-ros2/cloisim/tree/main/.github/skills/add-new-sensor into .agents/skills/add-new-sensor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-new-sensor", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add lge-ros2/cloisim --skill add-new-sensor -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install lge-ros2/cloisim add-new-sensor --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/lge-ros2/cloisim.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.github/skills/add-new-sensor .cursor/skills/add-new-sensor && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "add-new-sensor" agent skill from https://github.com/lge-ros2/cloisim/tree/main/.github/skills/add-new-sensor into .cursor/skills/add-new-sensor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-new-sensor", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/lge-ros2/cloisim.git --path .github/skills/add-new-sensor--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add lge-ros2/cloisim --skill add-new-sensor -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install lge-ros2/cloisim add-new-sensor --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/lge-ros2/cloisim.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.github/skills/add-new-sensor .gemini/skills/add-new-sensor && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "add-new-sensor" agent skill from https://github.com/lge-ros2/cloisim/tree/main/.github/skills/add-new-sensor into .gemini/skills/add-new-sensor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-new-sensor", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install lge-ros2/cloisim add-new-sensorInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add lge-ros2/cloisim --skill add-new-sensor -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/lge-ros2/cloisim.git skills-src && mkdir -p .github/skills && cp -r skills-src/.github/skills/add-new-sensor .github/skills/add-new-sensor && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "add-new-sensor" agent skill from https://github.com/lge-ros2/cloisim/tree/main/.github/skills/add-new-sensor into .github/skills/add-new-sensor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-new-sensor", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add lge-ros2/cloisim --skill add-new-sensor -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install lge-ros2/cloisim add-new-sensor --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/lge-ros2/cloisim.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.github/skills/add-new-sensor .opencode/skills/add-new-sensor && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "add-new-sensor" agent skill from https://github.com/lge-ros2/cloisim/tree/main/.github/skills/add-new-sensor into .opencode/skills/add-new-sensor/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "add-new-sensor", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
add-new-sensorAdd a new sensor device to CLOiSim, including the Device subclass, SDF pipeline wiring, and transport plugin.
Add New Sensor is an agent skill from lge-ros2/cloisim. Add a new sensor device to CLOiSim, including the Device subclass, SDF pipeline wiring, and transport plugin. Use when: adding a new sensor type, implementing a new SDF sensor, creating a new device class.
Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
The repository describes itself as: Unity 6 based multi-robot simulator for ROS 2, SDFormat/SDF, LiDAR, camera, depth, IMU, GPS, and large-scale robotics simulation. The licence is MIT.
7 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit f4c1f0b. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are csharp).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Add New Sensor loads about 1.6k tokens when it runs. Until then it costs about 55 tokens; SKILL.md has 315 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from lge-ros2/cloisim at commit f4c1f0b, republished under its MIT licence (© lge-ros2). 315 words, ~1,643 tokens.
.claude/skills/add-new-sensor/SKILL.md (or your agent's skills folder).End-to-end procedure for adding a new sensor type to CLOiSim. This requires coordinated changes across 4 layers: Device, Implement, Import, and Plugin.
Create Assets/Scripts/Devices/MyNewSensor.cs:
/*
* Copyright (c) 2026 LG Electronics Inc.
*
* SPDX-License-Identifier: MIT
*/
using UnityEngine;
using messages = cloisim.msgs;
namespace SensorDevices
{
public partial class MyNewSensor : Device
{
private messages.MyMessage _msg;
// Per-axis noise holders (if applicable)
private Noise _noiseX;
protected override void OnAwake()
{
Mode = ModeType.TX_THREAD;
DeviceName = name;
}
protected override void OnStart()
{
// Cache initial transforms, register with managers
}
protected override void OnReset()
{
// Restore initial state
}
protected override void InitializeMessages()
{
_msg = new messages.MyMessage();
_msg.Stamp = new messages.Time();
// Allocate all nested sub-messages explicitly
}
protected override void SetupMessages()
{
_msg.EntityName = DeviceName;
}
// For timer-polled TX_THREAD: override GenerateMessage
protected override void GenerateMessage()
{
// Populate message fields from current state
_msg.Stamp.Set(GetNextSyntheticTime());
PushDeviceMessage<messages.MyMessage>(_msg);
}
// For event-driven TX_THREAD: call EnqueueMessage() from
// async callbacks instead, and let default GenerateMessage drain the queue
private void FixedUpdate()
{
// Physics-based sensing here (IMU, force/torque)
// Apply noise: _noiseX.Apply<float>(ref value, Time.fixedDeltaTime);
}
}
}Key decisions:
GenerateMessage() to build + push messages directly. TX thread calls it at UpdateRate.EnqueueMessage() from async callbacks (e.g., AsyncGPUReadback). Default GenerateMessage() drains the queue.FixedUpdate() for transform/velocity sampling. Non-physics: use Update().If the sensor needs noise, add setup methods:
public void SetupNoise(in SDFormat.Noise noise)
{
_noiseX = new Noise(noise);
}
// Or per-axis:
public void SetupNoises(in SDFormat.XxxSensor sensor)
{
if (sensor.XNoise != null)
_noiseX = new Noise(sensor.XNoise);
}Apply noise in FixedUpdate() or GenerateMessage():
_noiseX.Apply<float>(ref value, Time.fixedDeltaTime); // single value
_noise.Apply<double>(dataArray); // array (parallelized)Edit Assets/Scripts/Tools/SDF/Implement/Implement.Sensor.cs — add a new static extension method:
public static Device AddMyNewSensor(this GameObject targetObject, in SDFormat.MyNewSensorType element)
{
var newSensorObject = new GameObject();
targetObject.AttachSensor(newSensorObject);
var sensor = newSensorObject.AddComponent<SensorDevices.MyNewSensor>();
sensor.DeviceName = newSensorObject.GetFrameName();
// Configure sensor-specific parameters from SDF element
// sensor.SomeParameter = element.SomeField;
// Setup noise if applicable
if (element.Noise != null)
sensor.SetupNoise(element.Noise);
return sensor;
}Edit Assets/Scripts/Tools/SDF/Import/Import.Sensor.cs — add a case in the sensor type switch:
case "my_new_sensor":
var myData = sensor.GetMyNewSensorData(); // or sensor.MyNewSensorData
device = targetObject.AddMyNewSensor(myData);
break;The import layer automatically handles after the switch:
UpdateRate from SDFEnableVisualize"Sensor"Create Assets/Scripts/CLOiSimPlugins/MyNewSensorPlugin.cs:
/*
* Copyright (c) 2026 LG Electronics Inc.
*
* SPDX-License-Identifier: MIT
*/
using System.Collections;
using UnityEngine;
public class MyNewSensorPlugin : CLOiSimPlugin
{
private SensorDevices.MyNewSensor _sensor;
protected override void OnAwake()
{
_type = ICLOiSimPlugin.Type.SENSOR; // or a new specific type
_sensor = gameObject.GetComponent<SensorDevices.MyNewSensor>();
}
protected override IEnumerator OnStart()
{
if (RegisterServiceDevice(out var portService, "Info"))
{
AddThread(portService, ServiceThread);
}
if (RegisterTxDevice(out var portTx, "Data"))
{
AddThread(portTx, SenderThread, _sensor);
}
yield return null;
}
protected override void HandleCustomRequestMessage(
in string requestType, in Any requestValue, ref DeviceMessage response)
{
switch (requestType)
{
case "request_transform":
var devicePose = _sensor.GetPose();
var deviceName = _sensor.DeviceName;
SetTransformInfoResponse(ref response, deviceName, devicePose, _parentLinkName);
break;
default:
break;
}
}
}Ensure the com.lge-ros2.sdformat package supports the sensor type. If not:
The SDF <plugin filename="MyNewSensorPlugin"> attribute must match the C# class name exactly, since the importer uses Type.GetType(pluginLibraryName).
Devices/ with correct Mode, OnAwake, InitializeMessages, SetupMessages, GenerateMessageAddMyNewSensor() extension method in Implement.Sensor.csImport.Sensor.cs type-switchCLOiSimPlugins/ with OnAwake, OnStart, HandleCustomRequestMessage.gen_proto_code.sh)<plugin filename="..."> attribute© lge-ros2, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .github/skills/add-new-sensor of lge-ros2/cloisim.
Open the folder on GitHubat commit f4c1f0b
Add New Sensor next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Add New Sensor this skilllge-ros2/cloisim | 176 | — | ~1.6k | Automated safety check: Pass | MIT | |
| Foundation Models On Deviceaffaan-m/ECC | 276k | 4 repos | ~2.1k | Automated safety check: Pass | MIT | |
| Sdfautonomous-ai/openharness | 1.2k | — | ~2.1k | Automated safety check: Pass | MIT | |
| Mdm Device Managementsickn33/agentic-awesome-skills | 47k | 1 repos | ~3k | Automated safety check: Notes | MIT | |
| Foundation Models On Deviceaffaan-m/ECC | 276k | 3 repos | ~1.5k | Automated safety check: Pass | MIT | |
| Developer Device Platform Basicsgoogle/skills | 21k | — | ~2.5k | Automated safety check: Pass | Apache-2.0 |
affaan-m/ECC
Apple FoundationModels framework for on-device LLM — text generation, guided generation with @Generable, tool calling, and snapshot streaming in iOS 26+.
autonomous-ai/openharness
SDFormat/SDF model and world authoring, validation, and simulator handoff.
sickn33/agentic-awesome-skills
Manage and secure company devices with MDM solutions. An agent skill from sickn33/agentic-awesome-skills.
affaan-m/ECC
苹果FoundationModels框架用于设备上的LLM——文本生成、使用@Generable进行引导生成、工具调用,以及在iOS 26+中的快照流。
google/skills
Provides guidance and instructions on managing remote devices on Developer Device Platform (DDP).
mukul975/Anthropic-Cybersecurity-Skills
Implements USB device control policies to restrict unauthorized removable media access on endpoints, preventing data exfiltration and malware introduction via USB devices.
lge-ros2/cloisim
Add or modify SDF actors with skeletal animation and waypoint-based navigation.
lge-ros2/cloisim
Add a new compute or surface shader for sensor data processing or visualization.
lge-ros2/cloisim
Import 3D mesh files into CLOiSim via the Assimp pipeline, including collision generation and procedural meshes.
lge-ros2/cloisim
Add a new motor or drive controller for robot locomotion. An agent skill from lge-ros2/cloisim.
lge-ros2/cloisim
Add a new CLOiSimPlugin for bridging a device to the ROS 2 transport layer.
lge-ros2/cloisim
Add a custom noise model for sensor data simulation. An agent skill from lge-ros2/cloisim.
Add a new sensor device to CLOiSim, including the Device subclass, SDF pipeline wiring, and transport plugin. Add New Sensor is an agent skill from lge-ros2/cloisim. Add a new sensor device to CLOiSim, including the Device subclass, SDF pipeline wiring, and transport plugin.
Add New Sensor fits situations like: : adding a new sensor type; implementing a new SDF sensor; creating a new device class.
Run `npx skills add lge-ros2/cloisim --skill add-new-sensor -a claude-code`. Or copy the skill folder (.github/skills/add-new-sensor in lge-ros2/cloisim) into .claude/skills/add-new-sensor in your project. Claude Code loads it when a task matches its description.
Run `npx skills add lge-ros2/cloisim --skill add-new-sensor -a codex`. Or copy the skill folder (.github/skills/add-new-sensor in lge-ros2/cloisim) into .agents/skills/add-new-sensor in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add lge-ros2/cloisim --skill add-new-sensor -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/add-new-sensor, .gemini/skills/add-new-sensor, .github/skills/add-new-sensor and .opencode/skills/add-new-sensor in your project.
SKILL.md names no scripts, command-line tools or credentials: Add New Sensor is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Add New Sensor is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.6k tokens (SKILL.md is roughly 6.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Add New Sensor: Foundation Models On Device (affaan-m/ECC, 276k stars), Sdf (autonomous-ai/openharness, 1.2k stars), Mdm Device Management (sickn33/agentic-awesome-skills, 47k stars) and Foundation Models On Device (affaan-m/ECC, 276k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
lge-ros2 (a GitHub organization) maintains it in lge-ros2/cloisim, which has 176 GitHub stars. The repository holds 18 skills in this directory. The repository was last updated on October 6, 2026.
Source: lge-ros2/cloisim on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.