Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Triages git drift since last sync and patches only the affected AGENTS.md onboarding sections, advancing the state pointer.
23% 73%+50 ptsof test cases passed
Passed 16 of 22 test cases with the skill, and 5 of 22 without it.
3 of 3 safety checks passed
Not used yet
Keep AGENTS.md current as the project evolves, without re-grilling the whole repo.
Announce at start: "Using update-agent-onboarding to triage onboarding drift."
Works under Claude Code, Codex, Copilot CLI, or any SKILL.md-compatible agent - the triage and patch logic below has no Claude Code dependency. Only the drift nudge that usually leads here is a Claude Code hook; on other runtimes, run this skill manually after meaningful commits.
Read last_synced_commit from .aiboarding/state.json (NOT from any instruction
file - the pointer lives only in the sidecar).
If state.json is missing or the pointer is missing/empty, the repo was never
properly synced or the state was lost (fresh clone of a repo where state was
gitignored, hand-edited state, or the drift hook fired as a repair signal). Do NOT
take the No-op branch - go straight to the Targeted-delta patch for a full
re-validation of all nine sections, then reseed state.json.
If the repo has AIBOARDING.md and no AGENTS.md, it is on the legacy layout:
stop and run migrate-aiboarding instead.
git diff <last_synced_commit>..HEAD and
git diff --name-only <last_synced_commit>..HEAD. Drop paths matching
config.json:ignored_paths plus the always-ignored set (AGENTS.md,
CLAUDE.md, .aiboarding/*). Reflect on the current conversation - it is the
"chat log" and is already in your context (after compaction, use the summary).AGENTS.md sections:
Stack and Runtime / Build, Test, Run - stack, tooling, or commands changed?Architecture Map - boundaries, directories, data flow moved?Project Purpose / Domain Model - new concepts or changed behavior?Agent Guardrails / Known Failure Modes - new gotchas or constraints?Verification Before Completion / Escalation - done-criteria or stop-and-ask
cases changed?Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.