sensors-add-skill

sensors-add-skill is a skill for Claude Code, Codex from toejough/engram. It costs 30 tokens per session (304 once invoked), scanned A, original, Apache-2.0.

A guided procedure for adding a new sensor type to a telemetry system, including registry data, generated type definitions, a database migration, a changelog entry, and validation. Telemetry is data collected from systems or devices for monitoring.

In plain words
What is it for?
Use it when adding a sensor identifier and version, updating the generated code, creating its migration, recording the change, and running validation without committing yet.
Why use it?
It reduces the chance of missing one of the several files and checks required to register a sensor correctly.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when adding a sensor identifier and version, updating the generated code, creating its migration, recording the change, and running validation without committing yet.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/toejough/engram/sensors-add-skill
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 toejough/engram --skill sensors-add-skill
Clone the repo
git clone --depth 1 https://github.com/toejough/engram

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 sensors-add-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/toejough/engram/sensors-add-skill/github.svg)](https://agentmods.dev/skills/toejough/engram/sensors-add-skill)
Your own site
<a href="https://agentmods.dev/skills/toejough/engram/sensors-add-skill"><img src="https://agentmods.dev/badge/skills/toejough/engram/sensors-add-skill/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 sensors-add-skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/toejough/engram/sensors-add-skill"><img src="https://agentmods.dev/badge/skills/toejough/engram/sensors-add-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 304 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.00030 $0.00304
Opus 5.5 $0.00012 $0.00122
Sonnet 5.5 $0.00006 $0.00061
Haiku 4.5 $0.00003 $0.00030

Measured 25d ago against content hash 848377a58be2, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sensors-add-skill 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 25d 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.

dev/eval/cumulative/runbook_vs_skill/fixture-vaults/skill/sensors-add-skill/SKILL.md · 23 lines

What it actually says

Add Sensor Type to Telemetry System

Register a new sensor type in the telemetry system following the project's established conventions.

Procedure

  1. Add a new entry to lib/sensors/registry.txt in tab-separated format: <sensor_id>:\t<sensor_name>\t. Example line: pressure_v2:1.0\tpressure\t2024-02-01

  2. Run the codegen script to update type definitions: python3 scripts/sensors.py

  3. Create a migration file in migrations/ with naming pattern NNNN_sensor_<sensor_id>.go where NNNN is the next 4-digit sequence number (the first migration is 0001; use the next 4-digit number after the highest existing one). Example: for sensor_id pressure_v2 with no prior migrations, create 0001_sensor_pressure_v2.go. The migration must contain a func init() block that calls registerSensor(<sensor_id>).

  4. Add an entry to TELEMETRY_CHANGELOG.log with exact format: [YYYY-MM-DD HH:MM:SS] <operator> Added sensor <id>:<version>

  5. Verify all changes are staged in git (do not commit yet).

  6. Run make validate to verify the sensor registration is complete and correct.

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. 25d ago First seen · 23 lines · 30 tokens per session scan A 848377a58be2

Subscribe to this mod's changes

sensors-add-skill is a skill published in the GitHub repository toejough/engram (8 stars, last pushed yesterday), licensed Apache-2.0. It adds 30 tokens to every session and 304 once invoked, about $0.0001 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-09-21.