environment

environment is a skill for Claude Code, Codex from autonomous-ai/autonomous-os. It costs 83 tokens per session (2,478 once invoked), scanned A, original, Apache-2.0.

A guide for interpreting environmental sensor readings such as temperature, humidity, carbon dioxide, and air quality. It uses the device's available sensors and its operating-system status service.

In plain words
What is it for?
Use it to read the current room environment, explain sensor availability, and compare a new reading with an existing event after ventilation or air cleaning.
Why use it?
It helps answer comfort and air-quality questions without assuming the device has sensors it does not provide or repeatedly polling for data.

Skill for Claude CodeCodex

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

Good fit Use it to read the current room environment, explain sensor availability, and compare a new reading with an existing event after ventilation or air cleaning.

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

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 environment

README.md
[![agentmods](https://agentmods.dev/badge/skills/autonomous-ai/autonomous-os/environment/github.svg)](https://agentmods.dev/skills/autonomous-ai/autonomous-os/environment)
Your own site
<a href="https://agentmods.dev/skills/autonomous-ai/autonomous-os/environment"><img src="https://agentmods.dev/badge/skills/autonomous-ai/autonomous-os/environment/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 environment

Your own site · 80×15
<a href="https://agentmods.dev/skills/autonomous-ai/autonomous-os/environment"><img src="https://agentmods.dev/badge/skills/autonomous-ai/autonomous-os/environment.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,478 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00083 $0.02478
Opus 5 $0.00042 $0.01239
Sonnet 5 $0.00017 $0.00496
Haiku 4.5 $0.00008 $0.00248

Measured today against content hash ea56a96fb066, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

environment scanned grade A with 1 finding 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 today.

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.

Makes network callslowCapability

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

curl --fail --silent --show-error --max-time 5 http://127.0.0.1:5000/api/environment/status
skills/environment/SKILL.md · 99 lines

How it starts

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

Environment

Scope and data

Work from the device's declared environment capability and the measurements actually present. Do not require a camera, microphone, emotion marker, or a particular sensor model. If the capability is absent, explain that this device has no available environment sensing; do not enable hardware or edit its declaration.

For a direct question or a requested current comparison, read the OS environment status API once:

curl --fail --silent --show-error --max-time 5 http://127.0.0.1:5000/api/environment/status

This read-only route admits local device callers and checks the environment capability. It returns the OS envelope {"status":1,"data":{...HAL snapshot...},"message":null}; inspect data. A non-2xx response or status:0 means unavailable. Do not bypass a denial through HAL or fetch credentials for the browser's authenticated hardware proxy.

Use the existing snapshot in an automatic event unless it is stale or the user explicitly requests a fresh check. Do not run a polling loop, start a cron job, invent a history endpoint, or promise a timed follow-up: OS owns polling, thresholds, sustained-change detection and cooldowns.

A usable snapshot has enabled: true, state: "ready", stale: false, and a non-null sample. Check age_s and sample.timestamp before describing it as current. Disabled, starting, stopped, error, missing or stale data is unavailable, not zero pollution. Say so briefly on a direct question; stay silent on an unusable automatic event. Individual null or absent measurements are unknown: retain the other valid readings. For a multi-component snapshot, sources[metric] identifies its entry in components; check that component's state, age and stale flag, plus metric_timestamps[metric]. The aggregate timestamp may belong to another sensor and does not establish freshness for every field. One failed component does not invalidate another healthy component.

Sample field Meaning
pm1_0_ug_m3, pm2_5_ug_m3, pm4_0_ug_m3, pm10_ug_m3 Particle mass concentrations, µg/m³
temperature_c Temperature near the installed sensor, °C
humidity_pct Relative humidity, %
voc_index, nox_index Relative gas indices, not gas concentrations
co2_ppm Measured carbon dioxide concentration, ppm, when a CO₂ component is available

Read the full file on GitHub · 99 lines

Files

What ships with it

1 file 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. today First seen · 99 lines · 83 tokens per session scan A ea56a96fb066

Subscribe to this mod's changes

environment is a skill published in the GitHub repository autonomous-ai/autonomous-os (325 stars, last pushed yesterday), licensed Apache-2.0. It adds 83 tokens to every session and 2,478 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-12.

Related

Other skills, from other repositories

rosclaw-embodied

A set of rules for completing robot tasks in ROSClaw, a system for running and checking robot work. It covers approved robot files, acceptance evidence, and separate rules for simulation and real hardware.

ros-claw/rosclaw · 54 tokens

bambu-labs

Dry-run, upload, and cautiously initiate local Bambu Lab print jobs from validated plain .gcode, using Bambu LAN FTPS/MQTT handoffs.

earthtojake/text-to-cad · 38 tokens

cad-viewer

Start CAD Viewer and return review links for CAD and robot-description files. Use when visually reviewing .step, .stp, .glb, .stl, .3mf, .dxf, .urdf, .srdf, or .sdf files, especially when handed off from CAD, URDF, SRDF, or SDF generation skills.

earthtojake/text-to-cad · 79 tokens

srdf

MoveIt2 SRDF authoring, validation, and planning-semantics workflow. Use when creating, editing, inspecting, or validating .srdf files, MoveIt planning groups, virtual joints, passive joints, end effectors, group states, disabled collisions, URDF-paired planning semantics, or SRDF handoff for live review. Use the URDF…

earthtojake/text-to-cad · 103 tokens

urdf

URDF robot description authoring and validation. Use when creating, editing, inspecting, validating, or debugging .urdf files, robot links, joints, limits, inertials, visual/collision geometry, mesh references, frame conventions, or robot-description artifacts. Use the SRDF skill for MoveIt2 semantic groups and…

earthtojake/text-to-cad · 92 tokens

gcode

Generate, inspect, dry-run, and statically validate plain FDM .gcode from 3D mesh files by orchestrating real slicer CLIs. Use when Codex needs to slice .stl, .obj, unsliced .3mf, .ply, .glb, or .gltf into printer-profiled G-code, discover local slicer backends, inspect whether a mesh is slice-ready, or validate…

earthtojake/text-to-cad · 102 tokens