Getting started

Coding agents

Atmos notes each file your coding agent edits and, at the end of the turn, sends the findings in those files back to the agent, which fixes what it just wrote before it finishes.

Set it up#

Install atmos and sign in with the Quickstart, or run atmos self-update if atmos is already installed, then run this once in each repository:

Terminal
atmos agent setup

Setup writes these hook files, installs the Atmos skill and lists every file it wrote.

FileAgents
.claude/settings.local.jsonClaude Code, Cursor and GitHub Copilot CLI
.codex/hooks.jsonCodex
.cursor/hooks.jsonCursor, when setup finds it on your machine or in the repository
.opencode/plugins/atmos.jsOpenCode, when setup finds it on your machine or in the repository

Setup adds these files to the local exclude list of your git repository, so only you get the hook and your teammates see no change. Each teammate who wants the hook runs atmos agent setup on their own machine. Run it again after you install another agent, and in each repository after you upgrade atmos.

The hook scans only on a signed-in machine and in a repository with a git remote named origin, and setup warns when either is missing. The hook command always exits 0, so a failing atmos never stops the agent. On macOS and Linux the command runs atmos by its full path and ends in || exit 0. On Windows the command also runs atmos by its full path. When setup cannot write that path in a form every agent shell reads, it writes no hook and asks you to move atmos.exe to a folder whose path has only letters, digits, dots, underscores and hyphens.

What happens in a turn#

When a turn that edited files ends, Atmos scans the repository and sends the agent the findings in the files it edited, including findings those files already had. When the agent ran a command such as a package install, the lockfiles that command changed count as edited too.

Atmos asks the agent to fix each finding before it finishes, or, when you asked for that exact code or version, to leave it and tell you what Atmos found. Findings in files the agent did not edit, such as a branch you merged, are not sent, and neither are findings .atmos-ignore.yaml covers. A turn that edited no files is not scanned.

Agent turn scans upload no findings. They never compare with a baseline commit, even when the agent runs in a CI job of a pull request, so every finding in an edited file goes back to the agent. Notes Atmos writes for you appear where your agent shows messages from its hooks.

Replies and pauses#

  • Atmos sends findings back at most three times in a row within one prompt. Then Atmos shows you a note and lets the agent finish, and your next prompt starts the count again.
  • The agent waits at most 30 seconds for the scan. A longer scan finishes in the background, so the next check is faster.
  • When Atmos cannot be reached, or a scan takes longer than 30 seconds, Atmos shows you one note and pauses the checks on this machine for 10 minutes. The files the agent edits meanwhile are checked at the end of the first turn after the pause.
  • When a scan cannot run for another reason, for example because this machine is not signed in, Atmos shows you one note with the reason and never holds the agent back.

The Atmos skill#

Your agent reads the Atmos skill when you ask for a security scan, when the hook sends findings, or when you want a rule for your own conventions. The skill tells the agent to fix the cause, to ask you when a finding looks intended, and never to add entries to .atmos-ignore.yaml or weaken a rule to hide a finding.

Setup installs the skill in ~/.claude/skills/atmos/ and ~/.agents/skills/atmos/, where every supported agent looks for it. Without a network connection, setup installs the hook and tells you to run it again for the skill.

Turn it off#

Delete the Atmos entries under hooks.Stop and hooks.PostToolUse in .claude/settings.local.json and .codex/hooks.json, and the Atmos entry under hooks.afterFileEdit in .cursor/hooks.json. Delete .opencode/plugins/atmos.js. To remove the skill, delete ~/.claude/skills/atmos/ and ~/.agents/skills/atmos/.