atmos-hooks

atmos-hooks is a skill for Claude Code from cloudposse/atmos. It costs 50 tokens per session (3,285 once invoked), scanned A, original, Apache-2.0.

A lifecycle automation system that runs configured actions before or after project operations. It can connect deployment work with commands, security checks, Git actions, and stored outputs.

In plain words
What is it for?
Use it to run scanners or policy checks, save outputs, perform Git actions, install needed tools, or run custom commands during workflows.
Why use it?
It removes repetitive manual steps around Terraform, Helm, Kubernetes, and other component commands. Conditions and scope controls help decide when an action runs.

Skill for Claude Code

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

Part of the atmos plugin — 57 skills shipped together

Good fit Use it to run scanners or policy checks, save outputs, perform Git actions, install needed tools, or run custom commands during workflows.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/cloudposse/atmos/atmos-hooks
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,424 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.

Any agent
npx skills add cloudposse/atmos --skill atmos-hooks
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 57 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-hooks

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/cloudposse/atmos/atmos-hooks"><img src="https://agentmods.dev/badge/skills/cloudposse/atmos/atmos-hooks.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,285 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00050 $0.03285
Opus 5.5 $0.00020 $0.01314
Sonnet 5.5 $0.00010 $0.00657
Haiku 4.5 $0.00005 $0.00329

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

Security

Grade A, and why

atmos-hooks 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 15d 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-hooks/SKILL.md · 276 lines

How it starts

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

Atmos Hooks

Use this skill for lifecycle hooks that run before or after component operations, for generation hooks declared in a scaffold template, or for repo-level hooks declared under docs.generate in atmos.yaml.

Hooks can run scanners, policy checks, store writes, Git actions, custom commands, or other toolchain-aware automation around Terraform, Helm, Kubernetes, and other component commands.

Need Load
Store output hooks atmos-stores
Shared step fields and kind: step payloads atmos-steps
Post-deployment smoke tests and integration checks atmos-tests
Git hooks and GitOps repositories atmos-git
Tool installation for hook commands atmos-toolchain
TFLint hooks, standalone linting, and rule configuration atmos-lint
CI summaries and Atmos Pro upload atmos-ci and atmos-pro

Hook Shape

Hooks are configured in stack manifests at global, component-type, or component scope.

hooks:
  store-vpc-outputs:
    events:
      - after.terraform.apply
    kind: store
    name: prod/ssm
    outputs:
      vpc_id: .vpc_id

components:
  terraform:
    vpc:
      hooks:
        scan-plan:
          events:
            - after.terraform.plan
          kind: trivy

Modern dotted event names such as after.terraform.plan are preferred. Legacy hyphenated event names may appear in older stacks; modernize them when editing nearby config.

Lifecycle Events

Use before/after events for component operations, for example:

  • before.terraform.init, after.terraform.init
  • before.terraform.plan, after.terraform.plan
  • before.terraform.apply, after.terraform.apply
  • before.terraform.deploy, after.terraform.deploy
  • before.terraform.test, after.terraform.test
  • before.terraform.output, after.terraform.output — fires for atmos terraform output, useful for backfilling a store from already-deployed infrastructure without an apply
  • before.terraform.refresh, after.terraform.refresh

Read the full file on GitHub · 276 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. 15d ago Changed · +52 lines · +4 tokens per session fc57b9540d94
  2. 1mo ago Changed · +3 lines bc7d91551ee8
  3. 1mo ago Changed · +16 lines 602cdbf79548
  4. 2mo ago Changed · +1 lines e08f495b78ce
  5. 2mo ago Changed · +10 lines dafd8783799a
  6. 2mo ago Changed · +2 lines 3c568b80a5c5
  7. 3mo ago First seen · 192 lines · 46 tokens per session scan A 3045de89a581

Subscribe to this mod's changes

atmos-hooks is a skill published in the GitHub repository cloudposse/atmos (1,424 stars, last pushed today), licensed Apache-2.0. It adds 50 tokens to every session and 3,285 once invoked, about $0.0002 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-03.

Related

atmos-hooks compared with skills from other repositories

atmos-hooks next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
atmos-hookscloudposse/atmosSkill1.4ktodayApache-2.0A50Claude Code
aiox-devopsSynkraAI/aiox-coreSkill3.2ktodaynoneA51Claude Code
aiox-devopsSynkraAI/aiox-coreSkill3.2ktodaynoneA41Codex
github-release-managementruvnet/RuViewSkill106ktodayMITA27Claude Code
csvx-cmd/x-cmdSkill4.8k10d agoApache-2.0A49Claude Code, Codex
gitx-cmd/x-cmdSkill4.8k10d agoApache-2.0A58Claude Code, Codex
workx-cmd/x-cmdSkill4.8k10d agoApache-2.0A29Claude Code, Codex