Skip to content

CLI Overview

atl installs agent teams, keeps them updated, circulates the gains your agents learn, and runs itself in the background so you can focus on your project.

Commands fall into three groups: team commands you run by hand, the gain-circulation ring that promotes and shares what your agents learn, and automation that Claude Code triggers for you. Everything operates on the current project (the directory you ran atl in) unless noted, with a second user-global layer that the project shadows (nearest wins).

Team commands

CommandWhat it does
atl installInstall a team by handle (resolved against the GitHub-backed index) into the current scope.
atl listShow teams installed in this project.
atl removeUninstall a team.
atl updatePull latest for one or all installed teams.
atl searchSearch the team catalog (the GitHub-backed index).

Gain-circulation commands

As your agents work, they accumulate gains — new learnings, sharpened skills, project-local rules. These commands move those gains outward through the three-ring ladder.

CommandWhat it does
atl promoteLift project-local gains to the user-global layer (so every project benefits).
atl publishPublish your global-layer gains — re-publish your own team, or propose them upstream as a GitHub PR.
atl pinKeep a project-local path from being promoted to global.
atl unpinAllow a previously pinned path to be promoted again.
atl learningsInspect the durable learning queue: status (pending per channel/project), peek (list items, used by the /drain skill), ack <id> (mark an item processed).

Automation commands

These are wired to Claude Code hooks by atl setup-hooks and run unattended — you normally never type them. They are listed here only so you recognize them in hook output or reach for them when troubleshooting.

CommandWhat it does
atl setup-hooksOne-time install/remove of the Claude Code hooks (SessionStart, UserPromptSubmit) that drive the automation below.
atl session-startBoot-time maintenance run by the SessionStart hook (cache refresh + auto-update + previous-transcript marker scan + self-version check).
atl tickThe in-session maintenance tick (every 5–10 minutes via prompt-piggyback): drains throttled background work.
atl doctorThe self-heal daemon — diagnoses drift and repairs the install automatically.

Compared with v1, there is no config, migrate, or learning-capture command. Learning capture is now automatic (markers land in a durable queue that atl learnings inspects and the /drain skill processes); configuration and state-file migration are not part of the v2 surface.

Companion skills

atl is the deterministic half of the platform; the judgment-heavy half lives in Claude Code skills the teams install:

  • /drain — process the learning queue into agent knowledge bases (the v1 /save-learnings).
  • /create-pr — branch → review → commit → PR.
  • /create-code-diagram — generate an architecture/class diagram of the codebase.
  • /brainstorm, /rule, /rule-wizard — design, author, and scaffold rules.

The split is deliberate: the CLI is deterministic (same inputs, same result, no LLM), skills are LLM-driven (they reason about your specific code).

Global flags

FlagEffect
--help, -hPrint usage and exit.
--version, -vPrint the installed atl version.

Each command has its own --help page: atl install --help, atl publish --help, and so on.

State atl keeps

Assets live in Claude Code's own directories, in one of two scopes — there is no separate ATL-owned asset store:

~/.claude/                 ← user-global layer (agents/skills/rules shared across all projects)
<project>/.claude/         ← project layer (shadows global; nearest wins)

atl's own bookkeeping lives under ~/.atl/ (user-global) and <project>/.atl/ (per-project):

~/.atl/
├── queue.db               ← the durable learning queue (bbolt)
├── index.json             ← cached team catalog (refreshed by atl update)
├── generation             ← global-layer change counter (drives every-prompt fan-out)
├── pins.json              ← paths held back from promotion
├── cache/                 ← cache stamps
└── installed/             ← per-team install manifests + integrity baselines

Philosophy

  • Deterministic. Same inputs, same result. No hidden state.
  • Observable. Every action prints what it did. Use the output, not a spinner.
  • Hands-off. The automation commands keep things current without you thinking about them.

Next

Released under the MIT License.