atmos-diagnostics

atmos-diagnostics is a skill for Claude Code from cloudposse/atmos. It costs 33 tokens per session (534 once invoked), scanned A, original, Apache-2.0.

A diagnostic event log for Atmos that records machine-readable details about commands and processes while they run.

In plain words
What is it for?
Use it to write JSON Lines records for process starts, finishes, and optional output, then inspect them with command-line tools or upload them as CI artifacts.
Why use it?
It makes failed or unexpected execution easier to investigate by showing what started, what finished, its output, timing, and exit status.

Skill for Claude Code

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

Part of the atmos plugin — 51 skills shipped together

About the project

Atmos is an infrastructure runtime that coordinates tools such as Terraform, OpenTofu, Kubernetes, Helm, Packer, Ansible, and containers through consistent commands and configuration. It is for teams running cloud infrastructure on laptops, in CI, or through AI agents across environments and regions. Its catalogue entries provide skills, agents, commands, and other add-ons for Atmos workflows.

cloudposse/atmos · 1,372 stars · on GitHub · atmos.tools

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/cloudposse/atmos/atmos-diagnostics
Any agent
npx skills add cloudposse/atmos --skill atmos-diagnostics
Clone the repo
git clone --depth 1 https://github.com/cloudposse/atmos

Made for: Claude Code.

Or install atmos, the plugin that ships this one along with the rest of its 51 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 atmos-diagnostics

README.md
[![agentmods](https://agentmods.dev/badge/skills/cloudposse/atmos/atmos-diagnostics.svg)](https://agentmods.dev/skills/cloudposse/atmos/atmos-diagnostics)
Your own site
<a href="https://agentmods.dev/skills/cloudposse/atmos/atmos-diagnostics"><img src="https://agentmods.dev/badge/skills/cloudposse/atmos/atmos-diagnostics.svg" alt="Measured on agentmods" height="20"></a>
Per session 33 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 534 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 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.1 $0.00033 $0.00534
Opus 5 $0.00016 $0.00267
Sonnet 5 $0.00007 $0.00107
Haiku 4.5 $0.00003 $0.00053

Measured 3d ago against content hash 8ad653419f7f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

atmos-diagnostics 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 3d 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.

agent-skills/skills/atmos-diagnostics/SKILL.md · 73 lines

What it actually says

Atmos Diagnostics

Use this skill when debugging what Atmos is doing at runtime with machine-readable diagnostics. Diagnostics are configuration-driven, not a standalone command.

Configuration

Enable diagnostics in atmos.yaml:

diagnostics:
  enabled: true
  file: .atmos/diagnostics/events.jsonl
  include_output: false

Or with environment variables:

export ATMOS_DIAGNOSTICS_ENABLED=true
export ATMOS_DIAGNOSTICS_FILE=/tmp/atmos-events.jsonl
export ATMOS_DIAGNOSTICS_INCLUDE_OUTPUT=false

Diagnostics are active only when enabled is true and file is non-empty.

Event Stream

Atmos appends one JSON object per line to the configured file. Events are flat JSON for easy inspection with jq, grep, and CI artifact upload.

Common event types include:

  • process.start
  • process.end
  • process.output when include_output: true

Fields can include type, time, id, command, args, cwd, TTY flags, started, success, canceled, exit_code, duration_ms, signal details, error, stream, data, bytes, and sequence.

Debugging Workflow

ATMOS_DIAGNOSTICS_ENABLED=true \
ATMOS_DIAGNOSTICS_FILE=/tmp/atmos-events.jsonl \
atmos terraform plan vpc -s plat-ue2-dev

jq . /tmp/atmos-events.jsonl

Set include_output: true only when command output is needed. Output events can be noisy, though Atmos masks sensitive values before writing diagnostics.

Guidance

  • Use diagnostics when a command runs a subprocess unexpectedly, exits with an unclear code, or behaves differently in CI and locally.
  • Attach the JSONL file as a CI artifact for failed runs.
  • Keep diagnostics files out of version control.
  • Diagnostics are best-effort and should not be used as a replacement for command exit codes.
  • If a user asks for a CLI diagnostics command, verify current atmos --help; the shipped surface is config/env driven unless a newer command exists.
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. 3d ago First seen · 73 lines · 33 tokens per session scan A 8ad653419f7f

Subscribe to this mod's changes

atmos-diagnostics is a skill published in the GitHub repository cloudposse/atmos (1,372 stars, last pushed today), licensed Apache-2.0. It adds 33 tokens to every session and 534 once invoked, about $0.0002 per session on Opus 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-03.

Related

Other skills, from other repositories

flow-nexus-swarm

Cloud-based AI swarm deployment and event-driven workflow automation with Flow Nexus platform.

ruvnet/ruflo · 20 tokens

trigger-cost-savings

Analyze Trigger.dev tasks, schedules, and runs for cost optimization opportunities. Use when asked to reduce spend, optimize costs, audit usage, right-size machines, or review task efficiency. Combines static source analysis with live run analysis via the Trigger.dev MCP tools (listruns, getrundetails…

triggerdotdev/trigger.dev · 68 tokens

claw-admin

Claw system administration: service management, IM connections, logs, cron, and workspace diagnostics. Use when the user asks to manage claw services, connect/disconnect IM platforms, view logs, or perform system-wide operations.

x-cmd/x-cmd · 48 tokens

optimize

Review code for efficiency and performance. Triggered by "/optimize" when user wants to identify bottlenecks or improve performance.

x-cmd/x-cmd · 29 tokens

vs-search-tuning-partial-case

Use when the user provides 1-50 concrete bad-case search queries for one Viking Search app and wants local deterministic fixes. This skill only verifies request-level fine-operation interventions against a read-only baseline scene and delivers a console-ready configuration sheet, validated payloads, and a replay…

volcengine/SearchCLI · 85 tokens

vs-project

Create Viking web projects, start and verify a local preview, or deploy a generated project to Volcengine IGA Pages when explicitly requested. Includes agent-guided feature, eligible application, dataset, scene, and authentication choices. Use only after confirming the installed CLI exposes vs project; otherwise stop…

volcengine/SearchCLI · 66 tokens