loop
БесплатноБез исполняемых скриптовНе проверенSchedule the recurring autopilot heartbeat. Calls CronCreate to fire one autopilot tick every ~15 min. Triggers on: /loop, start the loop, run the loop…
от atrislabs★ 71 звезда на GitHubОб этом скилле
/loop
Schedules the recurring autopilot heartbeat. One tick fires roughly every 13–17 minutes via Claude Code's cron system.
What it does
- Calls
CronCreatewith a recurring schedule (off-clock minute to avoid fleet sync at :00 / :30) - The cron prompt first invokes
atris mission run --due --max-ticks 1 --complete-on-pass; if no mission is due, it invokes/autopilot - Returns the cron job id so the user can stop it later with
CronDelete - Lists the active cron jobs via
CronListso the user can see the heartbeat is alive - Runs from a dedicated active task for this loop; a completed task is never reused as the scheduler host
How to invoke
User says "run /loop", "start the loop", "kick off autonomous mode", or "make autopilot recurring".
The agent then:
- Checks that the current task is active and dedicated to this loop. If it is complete or belongs to other work, stop and create a new dedicated task before scheduling.
- Calls
CronCreatewith these args (use whatever off-clock minute you land on, do not pin to :00 or :30):cron:"*/13 * * * *"(every 13 min) for tight loops, or"7 * * * *"(hourly at :07) for slow loopsprompt:"First run: atris mission run --due --max-ticks 1 --complete-on-pass. If it reports no_due_mission, run /autopilot for one tick. One bounded goal only, then stop. Do not start a conversation."recurring:truedurable:false(in-memory only, gone when this Claude session ends)
- After creating, calls
CronListand shows the user the active cron jobs. - Tells the user: "loop is alive. job id
. fires roughly every minutes. say 'stop the loop' to kill it. auto-expires after 7 days."
Stopping the loop
When the user says "stop the loop", call CronDelete with the saved job id.
If the user says "kill all loops", call CronList, then CronDelete for every job.
Rules
- One tick at a time. Never schedule a cron that fires more than once per 10 min.
- One recurring monitor per dedicated active task. Never attach a new monitor to a completed task.
- Always pick an off-clock minute (avoid :00 and :30) to prevent the global fleet from hammering the API at the same instant.
- Use
durable: falseby default. Only usedurable: trueif the user explicitly says "make this survive restarts" or "persist this". - Auto-expires after 7 days. Tell the user.
- Cron only fires while Claude Code is idle (not mid-query). It will NOT run if Claude Code is closed.
- The CLI writes the heartbeat Notes block. Do not hand-write tick summaries to the journal.
Why this is the heartbeat
atris mission is the north star. /autopilot is the fallback tick. /loop is the schedule:
/loop → CronCreate('*/13 * * * *', 'atris mission run --due ... || /autopilot')
↓
every ~13 min while Claude Code is idle:
↓
due mission? → one mission tick
no mission? → one autopilot tick
↓
plan → do → review → stop
↓
(cron fires again next interval)
This is the autonomous mode. Without /loop, /autopilot only runs when a human invokes it.
The CLI front door and wiki upkeep
The CLI command atris loop is now the single front door to the self-improvement loop: atris loop start (local), atris loop start --overnight (durable heartbeat), atris loop status, atris loop stop. It delegates to the existing engines (run, pulse) rather than adding a new one.
Wiki upkeep (stale pages, orphans, ingest candidates) moved to atris loop wiki (or atris wiki loop). If the user wants wiki health, run that. If they want the autopilot heartbeat from inside Claude Code, invoke /loop here.
Установить loop в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл loop?
Schedule the recurring autopilot heartbeat. Calls CronCreate to fire one autopilot tick every ~15 min. Triggers on: /loop, start the loop, run the loop, autonomous mode, kick off the heartbeat.
Как установить скилл loop?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл loop запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic