AGENT SKILL

agent-sync

Synchronize a shared repository after switching between Codex and Claude. Use when the user invokes `$agent-sync check` after returning from the other AI, `$agent-sync end` before handing work off, or when another agent may have changed files since this session was last synchronized.

License 许可
MIT
最近更新
2026-08-04
Stars
★ 0
Forks
0

01 前言 Front Matter

name
agent-sync
description
Synchronize a shared repository after switching between Codex and Claude. Use when the user invokes `$agent-sync check` after returning from the other AI, `$agent-sync end` before handing work off, or when another agent may have changed files since this session was last synchronized.

03 SKILL.md 正文

Agent Sync

Use the project files as the source of truth. Do not rely on stale chat context.

Modes

$agent-sync check

Use after an agent switch and before repository-changing work when another AI may have worked since the last sync.

  1. Read AGENTS.md, CLAUDE.md when present, AGENT_HANDOFF.md, and the relevant part of PROJECT_PLAN.md.
  2. Inspect git status, recent commits, and diffs. Read files named under Active Work or open Review Ledger rows.
  3. Review the other agent's proposed change or request. Record a concise result in its ledger row: agree, needs change, implemented, or not applicable, with the reviewed paths.
  4. Update only the current agent's line in Sync State. Do not create artificial history entries.
  5. Report the actual state succinctly. Do not implement new website work unless the user explicitly authorizes it.

Do not commit, push, stage unrelated files, or erase another agent's uncommitted work during check.

$agent-sync end

Use before handing work to the other AI.

  1. Run the same reconciliation checks as check; resolve or clearly leave open every relevant ledger row.
  2. Update Active Work, Next Step, Sync State, and only the handoff details needed by the next agent.
  3. Keep AGENT_HANDOFF.md compact. The proposing agent removes a resolved ledger row after the other AI's review has been consumed. Non-core resolved notes may be removed immediately; preserve user decisions, active blockers, and one-line delivery history.
  4. Verify work in proportion to risk. Stage explicit owned paths only; inspect staged diff; commit and push only when the user has authorized it. Never use git add -A in a shared tree.
  5. State what remains open and the exact next action.

Ledger Rules

  • Put temporary proposals, review requests, and cross-agent questions in Review Ledger, not AGENTS.md.
  • The agent that created a row owns its deletion after both agents have reviewed it or it is cleanly resolved.
  • Move permanent, user-approved constraints to User Decisions. Do not delete those without user direction.
  • If another agent's changes are unclear, leave the row open and ask rather than guessing.

04 同仓库更多 Skills

shabanakhtar
shabanakhtar/ai-agent-skills

codex

暂无简介

★ 0
shabanakhtar
shabanakhtar/ai-agent-skills

project-kickoff

Use immediately when starting a new software project, setting up a repo, kicking off a project, creating a fresh codebase, or preparing Claude Code and Codex to collaborate on the same project. This skill is intentionally proactive: trigger on requests like "new project", "start a project", "set up a repo", "project kickoff", "bootstrap this app", or similar phrasing even if the user does not name this skill.

★ 0
shabanakhtar
shabanakhtar/ai-agent-skills

my-voice

Write or rewrite text in Shaban's natural voice. Use only when he manually invokes `$my-voice`, explicitly says "write like me", or explicitly says "in my voice". Apply to any writing format, including LinkedIn posts, captions, messages, and project copy. Do not apply to ordinary writing requests without one of those explicit triggers.

★ 0
shabanakhtar
shabanakhtar/ai-agent-skills

my-voice

Write or rewrite text in Shaban's natural voice. Use only when he manually invokes `/my-voice`, explicitly says "write like me", or explicitly says "in my voice". Apply to any writing format, including LinkedIn posts, captions, messages, and project copy. Do not apply to ordinary writing requests without one of those explicit triggers.

★ 0
shabanakhtar
shabanakhtar/ai-agent-skills

humanizer

Remove signs of AI-generated writing from text. Use when editing or reviewing text to make it sound more natural and human-written. Based on Wikipedia's comprehensive "Signs of AI writing" guide. Detects and fixes patterns including: inflated symbolism, promotional language, superficial -ing analyses, vague attributions, em dash overuse, rule of three, AI vocabulary words, passive voice, negative parallelisms, and filler phrases.

★ 0
shabanakhtar
shabanakhtar/ai-agent-skills

humanizer

Remove signs of AI-generated writing from text. Use when editing or reviewing text to make it sound more natural and human-written. Based on Wikipedia's comprehensive "Signs of AI writing" guide. Detects and fixes patterns including: inflated symbolism, promotional language, superficial -ing analyses, vague attributions, em dash overuse, rule of three, AI vocabulary words, passive voice, negative parallelisms, and filler phrases.

★ 0