init-agent-sync

init-agent-sync is a skill for Claude Code, Codex from Hadi99K/AGENT_SKILLS. It costs 20 tokens per session (604 once invoked), scanned A, original, MIT.

A setup skill that creates an `AGENT_SYNC.md` file for coordinating AI assistants working on the same project. The file records instructions, project context, tasks, and handoffs.

In plain words
What is it for?
It is for starting an agent-coordination system in a repository and tracking tasks, progress, and handoff messages.
Why use it?
It reduces lost context when work moves between AI agents or across sessions.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/hadi99k/agent_skills/init-agent-sync
Any agent
npx skills add Hadi99K/AGENT_SKILLS --skill init-agent-sync
Clone the repo
git clone --depth 1 https://github.com/Hadi99K/AGENT_SKILLS

Made for: Claude Code, Codex.

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 init-agent-sync

README.md
[![agentmods](https://agentmods.dev/badge/skills/hadi99k/agent_skills/init-agent-sync.svg)](https://agentmods.dev/skills/hadi99k/agent_skills/init-agent-sync)
Your own site
<a href="https://agentmods.dev/skills/hadi99k/agent_skills/init-agent-sync"><img src="https://agentmods.dev/badge/skills/hadi99k/agent_skills/init-agent-sync.svg" alt="Measured on agentmods" height="20"></a>
Per session 20 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 604 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00020 $0.00604
Opus 5 $0.00010 $0.00302
Sonnet 5 $0.00004 $0.00121
Haiku 4.5 $0.00002 $0.00060

Measured 5d ago against content hash ab912b45ba89, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

init-agent-sync 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 5d 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.

init-agent-sync/SKILL.md · 62 lines

How it starts

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

What I do

  • Create an AGENT_SYNC.md file in the root of the project if one doesn't exist.
  • Populate it with standard AI agent instructions, context tracking, a session task board, and a handoff log.
  • Set up the foundation for multi-agent workflows so AI assistants can cleanly hand off tasks to one another.

When to use me

Use this when starting a new project, or when you want to introduce the AI agent synchronization system to an existing repository.

Execution Steps

When invoked, execute the following steps:

  1. Check for existing file: Check if AGENT_SYNC.md already exists in the project root. If it does, inform the user and ask if they want to overwrite it.
  2. Create the file: Use the Write tool to create AGENT_SYNC.md with the following template:
# 🤖 Agent Synchronization & Handoff Hub

**⚠️ INSTRUCTIONS FOR ALL AI AGENTS ⚠️**
1. **Read this file first** upon waking up or starting a new session.
2. **Check the Handoff Log** for context, recent changes, and messages directed at you.
3. **Master Trackers:** Always consult `progress.md` (or equivalent) for the *master project roadmap*. This file (`AGENT_SYNC.md`) is specifically for inter-agent communication, technical handoffs, and session-level tasks.
4. **Task Management:** When you start a task, update the Short-Term Tasks section (mark as `[~] In Progress`). When finished, mark as `[x] Completed`.
5. **Session Wrap-up:** Before ending your session or asking the user to switch agents, **append a brief summary** of what you accomplished and any blockers to the **Handoff Log**.

---

## 🎯 Current Context & Technical State
- **Active Branch:** `main`
- **Current Phase:** Initial Setup
- **Master Reference:** `progress.md`

---

## 📋 Session Task Board (Granular / Short-Term)
*Note: High-level goals live in master trackers. Use this for immediate, technical sub-tasks.*

- [ ] Define initial tasks here

---

## 💬 Handoff & Discussion Log
*Format: `**[YYYY-MM-DD] - [User/Agent Name]:** Message @Mention`*

**[Current Date] - Setup Agent:**
### Session Summary: Hub Initialization
**Objectives Accomplished:**
1. Initialized the AGENT_SYNC.md coordination hub.

Read the full file on GitHub · 62 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. 5d ago First seen · 62 lines · 20 tokens per session scan A ab912b45ba89

Subscribe to this mod's changes

init-agent-sync is a skill published in the GitHub repository Hadi99K/AGENT_SKILLS (2 stars, last pushed 4mo ago), licensed MIT. It adds 20 tokens to every session and 604 once invoked, about $0.0001 per session on Opus 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.