atmos-core-component-development

atmos-core-component-development is a skill for Claude Code, Codex from cloudposse/atmos. It costs 80 tokens per session (1,403 once invoked), scanned A, original, Apache-2.0.

A contributor guide for adding or changing a component type in the Atmos Go codebase. Atmos is a tool for managing infrastructure components such as Terraform, Helmfile, Packer, and Ansible.

In plain words
What is it for?
Use it when developing Atmos itself to add or modify a component type, including its provider, CLI commands, listing and description rules, inheritance, schema, and tests.
Why use it?
A new component type must be connected to several parts of the codebase, including its registry, commands, configuration, and tests. This guide identifies those integration points and their expected structure.

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

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 atmos-core-component-development

README.md
[![agentmods](https://agentmods.dev/badge/skills/cloudposse/atmos/atmos-core-component-development.svg)](https://agentmods.dev/skills/cloudposse/atmos/atmos-core-component-development)
Your own site
<a href="https://agentmods.dev/skills/cloudposse/atmos/atmos-core-component-development"><img src="https://agentmods.dev/badge/skills/cloudposse/atmos/atmos-core-component-development.svg" alt="Measured on agentmods" height="20"></a>
Per session 80 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,403 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 $0.00080 $0.01403
Opus 5 $0.00040 $0.00701
Sonnet 5 $0.00016 $0.00281
Haiku 4.5 $0.00008 $0.00140

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

Security

Grade A, and why

atmos-core-component-development 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 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.

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.

.claude/skills/atmos-core-component-development/SKILL.md · 96 lines

How it starts

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

Atmos Core: Component Type Development

Use this skill when developing Atmos itself — adding or modifying a component type (kind) in the Go codebase. This is contributor/core guidance, distinct from the user-facing atmos-components skill (which documents authoring terraform/helmfile/container components in stacks).

Start from docs/developing-component-plugins.md (the component-plugin development guide). The notes below capture the non-obvious wiring learned while adding the container component type.

The component provider (pkg/component)

A component type is a ComponentProvider (pkg/component/provider.go) registered via init() with component.Register(...) (pkg/component/registry.go). Reference impls:

  • pkg/component/ansible/ — typed-config built-in style.
  • pkg/component/mock/, pkg/component/custom/ — the Plugins-map plugin style.
  • pkg/component/container/ — provider + cmd/lifecycle split.

Layout per the guide: config.go (typed Config + parseConfig), <type>.go (provider + init), executor.go (verb implementations), <type>_test.go (>90% coverage). Wire a blank import into cmd/root.go so init() runs.

Reusable error sentinels live in errors/errors.go: ErrComponentExecutionFailed, ErrComponentConfigInvalid, ErrComponentValidationFailed, ErrComponentTypeEmpty.

First-class component config (NOT vars)

Per-instance config that is not arbitrary template data must be first-class top-level sections (siblings of metadata/env/composition), NOT nested under vars. For container, the config reuses the workflow container-step structs (schema.ContainerBuildStep/ContainerRunStep/ContainerMount/ ContainerPort in pkg/schema/workflow.go) for consistency. Decode a YAML-derived map[string]any into those structs with mapstructure using TagName: "yaml" so snake_case keys (build_args, read_only) map.

The CLI command group (cmd/)

Mirror cmd/ansible/: a base cobra.Command registered through the command registry (cmd/internal CommandProvider), persistent flags via flags.NewStandardParser() (NEVER viper.BindEnv/BindPFlag), one thin file per verb dispatching to component.MustGetProvider(<type>).Execute(&component.ExecutionContext{...}). Wire a blank import into cmd/root.go.

Read the full file on GitHub · 96 lines

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 · 96 lines · 80 tokens per session scan A 5ce757a76fcf

Subscribe to this mod's changes

atmos-core-component-development is a skill published in the GitHub repository cloudposse/atmos (1,369 stars, last pushed today), licensed Apache-2.0. It adds 80 tokens to every session and 1,403 once invoked, about $0.0004 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-08-30.