agent-loop

agent-loop is a skill for Claude Code from MIK-HEAL/SyncPoint. It costs 41 tokens per session (385 once invoked), scanned A, original, Apache-2.0.

A skill for coordinating work between multiple AI agents through a SyncPoint loop, with task ownership, checkpoints, and handoffs.

In plain words
What is it for?
It helps boot a task, claim files or other resources, check status, save checkpoints, hand work to another agent, resume it, and release resources.
Why use it?
It keeps agents from conflicting over shared files and preserves progress when work is paused or transferred.

Skill for Claude Code

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

Part of the syncpoint-ai-skill plugin — 9 skills shipped together

Good fit It helps boot a task, claim files or other resources, check status, save checkpoints, hand work to another agent, resume it, and release resources.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mik-heal/syncpoint/agent-loop
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 MIK-HEAL/SyncPoint --skill agent-loop
Clone the repo
git clone --depth 1 https://github.com/MIK-HEAL/SyncPoint

Made for: Claude Code.

Or install syncpoint-ai-skill, the plugin that ships this one along with the rest of its 9 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 agent-loop

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/mik-heal/syncpoint/agent-loop"><img src="https://agentmods.dev/badge/skills/mik-heal/syncpoint/agent-loop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 385 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.
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.00041 $0.00385
Opus 5.5 $0.00016 $0.00154
Sonnet 5.5 $0.00008 $0.00077
Haiku 4.5 $0.00004 $0.00038

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

Security

Grade A, and why

agent-loop 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 11d 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.

packages/syncpoint-ai-skill/skills/agent-loop/SKILL.md · 59 lines

What it actually says

Agent Orchestration Loop

The core SyncPoint cycle: boot → claim resources → work → checkpoint → handoff or resume.

Step 1: Boot the Loop

syncpoint loop boot --task <taskId> --agent <agentId>
syncpoint loop status --agent <agentId> --task <taskId>

Step 2: Claim Resources

Declare what files/resources you will touch before editing:

syncpoint claim <file> --agent <agentId> --task <taskId>
syncpoint status

If a SyncGate is created due to conflict, use /syncpoint-ai-skill:sync to resolve it.

Step 3: Work and Checkpoint

Do your work, then save progress:

syncpoint loop checkpoint --task <taskId> --agent <agentId> --summary "Progress summary"
syncpoint loop status --agent <agentId> --task <taskId>

Step 4: Handoff or Resume

Transfer to another agent:

syncpoint loop handoff --task <taskId> --from <agentId> --to <otherAgentId> --context "Handoff summary"

Or resume from latest checkpoint:

syncpoint loop resume --task <taskId> --agent <agentId>

Step 5: Release Resources

syncpoint release --all --task <taskId> --agent <agentId>

Verification

syncpoint loop status --agent <agentId> --task <taskId>
syncpoint status
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. 11d ago Changed · -1 lines f2d9ddd9500f
  2. 1mo ago First seen · 60 lines · 41 tokens per session scan A 8664e8400669

Subscribe to this mod's changes

agent-loop is a skill published in the GitHub repository MIK-HEAL/SyncPoint (6 stars, last pushed 10d ago), licensed Apache-2.0. It adds 41 tokens to every session and 385 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-08-31.

Related

Other skills, from other repositories