atmos: Skill for Claude Code

.claude/skills/lint/SKILL.md

lint is a skill for Claude Code from cloudposse/atmos. It costs 66 tokens per session (1,408 once invoked), scanned A, original, Apache-2.0.

A Go code checker that runs the same customized lint rules used by the repository’s continuous-integration checks. By default, it examines only changed lines compared with `origin/main`, the main remote branch.

In plain words
What is it for?
Use it to run the project’s normal lint check, fix findings in changed Go code, or explicitly inspect the entire repository when requested.
Why use it?
It finds style, correctness, and possible bug issues before code review while keeping checks focused on the current change.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is cloudposse/atmos's own configuration. It tells Claude Code how to work on atmos itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything atmos configures →

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

Reuse

Borrowing it

Nothing to install: this file belongs to cloudposse/atmos. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/cloudposse/atmos/main/.claude/skills/lint/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/cloudposse/atmos

Made for: Claude Code.

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 lint

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/cloudposse/atmos/lint"><img src="https://agentmods.dev/badge/skills/cloudposse/atmos/lint.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,408 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.00066 $0.01408
Opus 5.5 $0.00026 $0.00563
Sonnet 5.5 $0.00013 $0.00282
Haiku 4.5 $0.00007 $0.00141

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

Security

Grade A, and why

lint 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 1mo 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/lint/SKILL.md · 107 lines

How it starts

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

Lint (patch-aware by default)

Runs this repo's real lint gate — the custom golangci-lint binary with the lintroller plugin (.custom-gcl.yml), the same one .github/workflows/codeql.yml's lint-golangci job runs — and fixes what it finds.

Default mode: patch-aware

Run:

atmos fix lint

This delegates to the existing atmos lint --changed (.atmos.d/lint.yaml), which builds go.mod compatibility checks, then builds ./custom-gcl — staleness-guarded: it only rebuilds when the binary is missing or older than its build inputs (.custom-gcl.yml or the lintroller plugin sources), so this is cheap in the common case, not a fresh clone-and-compile every cycle. No separate "is it built" precondition needed; atmos fix lint handles that safely on its own.

The underlying lint run is scoped to --new-from-rev=origin/main — only findings on lines changed vs origin/main, exactly matching CI's real gate (.github/workflows/codeql.yml's lint-golangci job).

Zero findings → one-line no-op summary, done.

Repository checks and commit hooks

For the complete pre-commit suite, use atmos check staged (the index), atmos check pr (changes since origin/main), or atmos check all (all tracked files). These commands are read-only, including checks that normally fix files. Use --base-ref <branch-or-SHA> for another comparison base, including a parent branch in a PR stack. Missing refs must be resolved explicitly; checks never fetch.

The catalog is .atmos-git-hooks.yaml. It declares each check's handler, file patterns, exclusions, and whether it fixes files. The handlers in checks.star run sequentially through Atmos's test UI. Preserve each check's exclusions when editing the catalog; snapshots and fixtures have intentional formatting. branch-file-limit allows at most 150 changed files against the merge base, including staged changes; split larger diffs into PRs.

Use atmos format staged|pr|all to apply formatting and module cleanup. Review the diff, then stage only intended changes. A failed commit may already have returned fixes as unstaged edits; inspect those before retrying. Hooks never change the index. If a fix overlaps unstaged or concurrent edits, the original file is kept and the diagnostic names a recovery directory with a proposed patch and before/after files. Review and reconcile it manually. Never blindly stage all changes or bypass the hook with --no-verify.

Read the full file on GitHub · 107 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. 1mo ago Changed · +31 lines e1a07b045135
  2. 3mo ago First seen · 76 lines · 66 tokens per session scan A 078c050ceaed

Subscribe to this mod's changes

lint is a skill published in the GitHub repository cloudposse/atmos (1,424 stars, last pushed today), licensed Apache-2.0. It adds 66 tokens to every session and 1,408 once invoked, about $0.0003 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-08-30.

Related

lint compared with skills from other repositories

lint next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
lintcloudposse/atmosSkill1.4ktodayApache-2.0A66Claude Code
author-labelsvercel/vercelSkill17k2d agoApache-2.0A25Claude Code, Codex
yfmx-cmd/x-cmdSkill4.8k11d agoApache-2.0A74Claude Code, Codex
checkx-cmd/x-cmdSkill4.8k11d agoApache-2.0A29Claude Code, Codex
reviewx-cmd/x-cmdSkill4.8k11d agoApache-2.0A27Claude Code, Codex
simplifyx-cmd/x-cmdSkill4.8k11d agoApache-2.0A36Claude Code, Codex
gitx-cmd/x-cmdSkill4.8k11d agoApache-2.0A58Claude Code, Codex